LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-24-2020, 01:24 PM   #2401
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784

It seems the situation is more complex as luajit must be compiled in Lua 5.2 mode in order to use the system's lua.
 
Old 01-24-2020, 01:31 PM   #2402
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
works fine here on cryptography in current. No need to install wheel
 
Old 01-24-2020, 01:47 PM   #2403
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
hi unInstance,

have you by any chance read the first post of the thread?

Quote:
Originally Posted by unInstance View Post
How to build openresolv:
Open openresolv.SlackBuild and remove
Code:
cp README $PKG/usr/doc/$PRGNAM-$VERSION
this is an issue not current-specific, you should report it to the openresolv maintainer: there's actually no README in the tarball, but there's a README.md...

Quote:
How to build neomutt:
Open neomutt.SlackBuild in vim and apply the following command
Code:
:%s/PRGNAM/PKGNAM/g
this builds fine here, I have no idea why you have to do that there...
 
Old 01-24-2020, 02:55 PM   #2404
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
this builds fine here, I have no idea why you have to do that there...
This is what I am facing with while trying to build:
Code:
neomutt.SlackBuild.build: line 111: PKGNAM: unbound variable
 
Old 01-24-2020, 03:26 PM   #2405
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by unInstance View Post
How to build openresolv:
Open openresolv.SlackBuild and remove
Code:
cp README $PKG/usr/doc/$PRGNAM-$VERSION
Quote:
Originally Posted by ponce View Post
this is an issue not current-specific, you should report it to the openresolv maintainer: there's actually no README in the tarball, but there's a README.md...
I'm the maintainer of openresolv. I forgot about this issue when I submitted my last update. I fixed the script and submitted a pull request to fix it today.
 
Old 01-24-2020, 11:33 PM   #2406
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by unInstance View Post
This is what I am facing with while trying to build:
Code:
neomutt.SlackBuild.build: line 111: PKGNAM: unbound variable
I think you are using an old version of the repository: this has been fixed eight days ago.
 
Old 01-25-2020, 01:38 AM   #2407
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by ponce View Post
it seems that there are problems in the headers generated by glib-mkenums (a generated line starts with a backslash) and build breaks at the start, but I wasn't able to find a solution yet...
Well, just crap. If I'd read this about thirty minutes ago, I could have saved the last thirty minutes I've spent figuring out that very thing. However, I think it's a problem with the new make-4.3:
Code:
* WARNING: Backward-incompatibility!
  Number signs (#) appearing inside a macro reference or function invocation
  no longer introduce comments and should not be escaped with backslashes:
  thus a call such as:
    foo := $(shell echo '#')
  is legal.  Previously the number sign needed to be escaped, for example:
    foo := $(shell echo '\#')
  Now this latter will resolve to "\#".  If you want to write makefiles
  portable to both versions, assign the number sign to a variable:
    H := \#
    foo := $(shell echo '$H')
  This was claimed to be fixed in 3.81, but wasn't, for some reason.
  To detect this change search for 'nocomment' in the .FEATURES variable.
I too was unable to fix it, at least not without breaking something else that made the build fail. :/
 
2 members found this post helpful.
Old 01-25-2020, 01:38 AM   #2408
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
SBo scripts not building on current (read 1st post, pls)

Indeed, for neomutt I reported it to maintainer who fixed it ;-)
 
Old 01-25-2020, 02:01 AM   #2409
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by Nille_kungen View Post
I had problems building cryptography.
It needs wheel as dependency on current.
Cryptography also needs version 2.8 to build with python 3.8
https://cryptography.io/en/latest/changelog/#v2-8
as willysr said the old version seems to build fine here too, but if also upstream says that version 2.8 is needed by python 3.8 I suppose it's better to bump it: yes, according to pyproject.toml, it actually needs wheel as a dependency...

thanks for the report!
 
Old 01-25-2020, 03:09 AM   #2410
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by rworkman View Post
Well, just crap. If I'd read this about thirty minutes ago, I could have saved the last thirty minutes I've spent figuring out that very thing. However, I think it's a problem with the new make-4.3:
Code:
* WARNING: Backward-incompatibility!
  Number signs (#) appearing inside a macro reference or function invocation
  no longer introduce comments and should not be escaped with backslashes:
  thus a call such as:
    foo := $(shell echo '#')
  is legal.  Previously the number sign needed to be escaped, for example:
    foo := $(shell echo '\#')
  Now this latter will resolve to "\#".  If you want to write makefiles
  portable to both versions, assign the number sign to a variable:
    H := \#
    foo := $(shell echo '$H')
  This was claimed to be fixed in 3.81, but wasn't, for some reason.
  To detect this change search for 'nocomment' in the .FEATURES variable.
I too was unable to fix it, at least not without breaking something else that made the build fail. :/
reporting it upstream will be difficult because they moved to meson removing all the make stuff...

...but that seems to help here too indeed: I've tried to switch to meson and gst-plugins-bad seems to build fine!
 
2 members found this post helpful.
Old 01-25-2020, 01:56 PM   #2411
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
reporting it upstream will be difficult because they moved to meson removing all the make stuff...

...but that seems to help here too indeed: I've tried to switch to meson and gst-plugins-bad seems to build fine!
Thanks for the meson tip, works here as well.

Only problem is now reading the log and figuring out what is getting built is EXTREMELY more difficult. Instead of a nice list of what is getting built after the config process, you need to read through the entire config process and see what is found and being built. Great job freedesktop.org!
 
Old 01-28-2020, 08:58 AM   #2412
lioh
Member
 
Registered: Aug 2019
Location: Switzerland
Distribution: Slackware
Posts: 194

Rep: Reputation: Disabled
gedit

gedit is not building. It fails with the following error:

Code:
if ! test -d ar/; then mkdir ar/; fi
if [ -f "C/gedit.xml" ]; then d="../"; else d="/tmp/SBo/gedit-2.30.4/help/"; fi; \
mo="ar/ar.mo"; \
if [ -f "${mo}" ]; then mo="../${mo}"; else mo="/tmp/SBo/gedit-2.30.4/help/${mo}"; fi; \
(cd ar/ && \
  `which xml2po` -m docbook -e -t "${mo}" \
    "${d}C/gedit.xml" > gedit.xml.tmp && \
    cp gedit.xml.tmp gedit.xml && rm -f gedit.xml.tmp)
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 191, in <module>
    main(sys.argv[1:])
  File "/usr/bin/xml2po", line 88, in main
    from xml2po import Main
ModuleNotFoundError: No module named 'xml2po'
make[2]: *** [Makefile:756: ar/gedit.xml] Error 1
make[2]: Leaving directory '/tmp/SBo/gedit-2.30.4/help'
make[1]: *** [Makefile:445: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/gedit-2.30.4'
make: *** [Makefile:374: all] Error 2
 
Old 01-28-2020, 12:19 PM   #2413
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by lioh View Post
gedit is not building. It fails with the following error:

Code:
if ! test -d ar/; then mkdir ar/; fi
if [ -f "C/gedit.xml" ]; then d="../"; else d="/tmp/SBo/gedit-2.30.4/help/"; fi; \
mo="ar/ar.mo"; \
if [ -f "${mo}" ]; then mo="../${mo}"; else mo="/tmp/SBo/gedit-2.30.4/help/${mo}"; fi; \
(cd ar/ && \
  `which xml2po` -m docbook -e -t "${mo}" \
    "${d}C/gedit.xml" > gedit.xml.tmp && \
    cp gedit.xml.tmp gedit.xml && rm -f gedit.xml.tmp)
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 191, in <module>
    main(sys.argv[1:])
  File "/usr/bin/xml2po", line 88, in main
    from xml2po import Main
ModuleNotFoundError: No module named 'xml2po'
make[2]: *** [Makefile:756: ar/gedit.xml] Error 1
make[2]: Leaving directory '/tmp/SBo/gedit-2.30.4/help'
make[1]: *** [Makefile:445: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/gedit-2.30.4'
make: *** [Makefile:374: all] Error 2
You have linuxdox-tools installed, right?
 
Old 01-28-2020, 12:38 PM   #2414
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
ModuleNotFoundError: No module named 'xml2po'
 
Old 01-28-2020, 01:05 PM   #2415
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
The problem is xml2po is compiled as a python2 package in the linuxdoc-tools package, but /usr/bin/xml2po expects it to by python3. The reason behind this is an issue is the ./configure for gnome-doc-utils will autodetect the default python version, which on Slackware, is python2. If you set PYTHON=python3 when running ./configure for it, it will then compile xml2po as a python3 module.

Code:
--- ./trackbuild.linuxdoc-tools
+++ ./trackbuild.linuxdoc-tools
@@ -1047,6 +1047,7 @@
 CFLAGS="$SLKCFLAGS" \
 CXXFLAGS="$SLKCFLAGS" \
 CPPFLAGS="$SLKCFLAGS" \
+PYTHON=python3 \
 ./configure \
   --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
 
1 members found this post helpful.
  


Reply

Tags
current, sbo, sbopkg, slackrepo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration