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 10-05-2021, 04:12 PM   #4336
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239

Quote:
Originally Posted by brobr View Post
Hi, recompiling gdal after the latest current-updates incl. the poppler-upgrade gave this :


Any ideas what needs correcting? (the dependencies had been recompiled beforehand)

EDIT:
same fault when using latest gdal-3.3.2
patch described at https://bugs.freebsd.org/bugzilla/ has already been applied to gdal-3.3.[0,2]
Without configuration option --with-poppler, compilation finishes ok.
According to upstream the next release would deal with this....:
Quote:
This was fixed in master a few days ago per 9c09870e374ca21d558101af3f4c09a6164fdfc3 and I've just backported it in 3.3 branch for 3.3.3
 
Old 10-05-2021, 04:52 PM   #4337
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Quote:
Originally Posted by brobr View Post
According to upstream the next release would deal with this....:
it's the same patch I added above...
 
1 members found this post helpful.
Old 10-05-2021, 04:54 PM   #4338
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
Quote:
Originally Posted by ponce View Post
Hi Meska ( )! I cannot see no error in that log: maybe it's above in the output?
FWIW transcode builds fine here...
Now build fine, i have a multilib system, so it search on /usr/lib and make some problems.
With this workaround build

Code:
mv /usr/lib /usr/lib.old
sbopkg -B -i transcode
mv /usr/lib.old /usr/lib
only transcode and a few software give me this problem with multilib environment
 
Old 10-05-2021, 09:16 PM   #4339
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204

Rep: Reputation: 44
enblend-enfuse

enblend-enfuse does not build, it fails with errors on vigra (though vigra itself builds without errors):

Code:
/usr/include/vigra/separableconvolution.hxx:1413:13: error: ISO C++17 does not allow dynamic exception specifications
 1413 |             throw(PreconditionViolation)
      |             ^~~~~
In file included from /usr/include/vigra/convolution.hxx:41,
                 from openmp_vigra.h:32,
                 from enblend.h:40,
                 from enblend.cc:191:
/usr/include/vigra/stdconvolution.hxx:796:13: error: ISO C++17 does not allow dynamic exception specifications
  796 |             throw(PreconditionViolation)
      |             ^~~~~
 
Old 10-06-2021, 06:07 PM   #4340
CaceK
LQ Newbie
 
Registered: Feb 2008
Distribution: Slackware
Posts: 22

Rep: Reputation: 9
libtorrent-rasterbar not building on current
Code:
Checking for boost libraries:
checking for boostlib >= 1.58 (105800)... yes
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes

Checking for pkg-config:
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes

Checking for functions and headers:
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for clock_gettime... yes

Checking build options:
checking whether deprecated functions should be enabled... yes
checking whether debug build should be enabled... no
checking whether invariant check should be enabled... no
checking whether logging to disk should be enabled... yes

Checking features to be enabled:
checking whether encryption support should be enabled... yes
configure: encryption support: now checking for the OpenSSL library...
checking for pkg-config... /usr/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking whether dht support should be enabled... yes

Checking for extra build files:
checking whether example files should be built... no
checking whether test files should be built... no
checking whether python bindings should be built... yes
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for python2.7... (cached) /usr/bin/python
checking for a version of Python >= '2.1.0'... yes
checking for a version of Python >= '2.4'... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python2.7
checking for Python library path... -L/usr/lib64 -lpython2.7
checking for Python site-packages path... /usr/lib64/python2.7/site-packages
checking python extra libraries... -lpthread -ldl  -lutil -lm
checking python extra linking flags... -Xlinker -export-dynamic
checking consistency of all components of python development environment... yes
checking whether the Boost::Python library is available... yes
checking whether boost_python is the correct library... no
checking whether boost_python27 is the correct library... no
checking whether boost_python27 is the correct library... (cached) no
checking whether boost_python27 is the correct library... (cached) no
checking whether boost_python39 is the correct library... no
checking whether boost_python39 is the correct library... (cached) no
checking whether boost_python39 is the correct library... (cached) no
checking whether boost_python is the correct library... (cached) no
checking whether boost_python3 is the correct library... no
configure: error: Boost.Python library not found. Try using --with-boost-python=lib.

Last edited by CaceK; 10-06-2021 at 06:09 PM.
 
Old 10-07-2021, 04:53 PM   #4341
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by ponce View Post
it's the same patch I added above...
Sure (I missed your post, sorry); will use it now; Thanks. A lot (it worked fine;-).

Last edited by brobr; 10-07-2021 at 06:29 PM.
 
Old 10-08-2021, 08:44 AM   #4342
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
I'm having a problem building virtualbox. The build fails but does not actually print any error message. Here are the last lines before it fails:
Code:
  INST    VirtualBoxVM => {C}/out/linux.amd64/release/bin/VirtualBoxVM.so
  LD      VirtualBox
  INST    VirtualBox => {C}/out/linux.amd64/release/bin/VirtualBox
/tmp/SBo/VirtualBox-6.1.26/out/linux.amd64/release/bin
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/vboxapi
copying vboxapi/VirtualBox_constants.py -> build/lib/vboxapi
copying vboxapi/__init__.py -> build/lib/vboxapi
running install_lib
creating /tmp/SBo/package-virtualbox/usr/lib64/python3.9
creating /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages
creating /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages/vboxapi
copying build/lib/vboxapi/VirtualBox_constants.py -> /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages/vboxapi
copying build/lib/vboxapi/__init__.py -> /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages/vboxapi
byte-compiling /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages/vboxapi/VirtualBox_constants.py to VirtualBox_constants.cpython-39.pyc
byte-compiling /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages/vboxapi/__init__.py to __init__.cpython-39.pyc
running install_egg_info
Writing /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages/vboxapi-1.0-py3.9.egg-info
/tmp/SBo/VirtualBox-6.1.26/out/linux.amd64/release/bin
If I comment the `set -e` line in the SlackBuild, it works fine. I think the offending line that is returning a nonzero code is this:

Code:
python3 ./vboxapisetup.py install --prefix "/usr" --root $PKG
 
Old 10-08-2021, 09:18 AM   #4343
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Quote:
Originally Posted by montagdude View Post
I'm having a problem building virtualbox. The build fails but does not actually print any error message. Here are the last lines before it fails:
Code:
  INST    VirtualBoxVM => {C}/out/linux.amd64/release/bin/VirtualBoxVM.so
  LD      VirtualBox
  INST    VirtualBox => {C}/out/linux.amd64/release/bin/VirtualBox
/tmp/SBo/VirtualBox-6.1.26/out/linux.amd64/release/bin
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/vboxapi
copying vboxapi/VirtualBox_constants.py -> build/lib/vboxapi
copying vboxapi/__init__.py -> build/lib/vboxapi
running install_lib
creating /tmp/SBo/package-virtualbox/usr/lib64/python3.9
creating /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages
creating /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages/vboxapi
copying build/lib/vboxapi/VirtualBox_constants.py -> /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages/vboxapi
copying build/lib/vboxapi/__init__.py -> /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages/vboxapi
byte-compiling /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages/vboxapi/VirtualBox_constants.py to VirtualBox_constants.cpython-39.pyc
byte-compiling /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages/vboxapi/__init__.py to __init__.cpython-39.pyc
running install_egg_info
Writing /tmp/SBo/package-virtualbox/usr/lib64/python3.9/site-packages/vboxapi-1.0-py3.9.egg-info
/tmp/SBo/VirtualBox-6.1.26/out/linux.amd64/release/bin
If I comment the `set -e` line in the SlackBuild, it works fine. I think the offending line that is returning a nonzero code is this:

Code:
python3 ./vboxapisetup.py install --prefix "/usr" --root $PKG
don't uncomment the 'set -e' or it just won't stop when erroring, use a single build job to spot the error: virtualbox uses the JOBS variable (use JOBS=1).
 
Old 10-08-2021, 09:20 AM   #4344
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Quote:
Originally Posted by CaceK View Post
libtorrent-rasterbar not building on current
Code:
Checking for boost libraries:
checking for boostlib >= 1.58 (105800)... yes
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes

Checking for pkg-config:
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes

Checking for functions and headers:
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for clock_gettime... yes

Checking build options:
checking whether deprecated functions should be enabled... yes
checking whether debug build should be enabled... no
checking whether invariant check should be enabled... no
checking whether logging to disk should be enabled... yes

Checking features to be enabled:
checking whether encryption support should be enabled... yes
configure: encryption support: now checking for the OpenSSL library...
checking for pkg-config... /usr/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking whether dht support should be enabled... yes

Checking for extra build files:
checking whether example files should be built... no
checking whether test files should be built... no
checking whether python bindings should be built... yes
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for python2.7... (cached) /usr/bin/python
checking for a version of Python >= '2.1.0'... yes
checking for a version of Python >= '2.4'... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python2.7
checking for Python library path... -L/usr/lib64 -lpython2.7
checking for Python site-packages path... /usr/lib64/python2.7/site-packages
checking python extra libraries... -lpthread -ldl  -lutil -lm
checking python extra linking flags... -Xlinker -export-dynamic
checking consistency of all components of python development environment... yes
checking whether the Boost::Python library is available... yes
checking whether boost_python is the correct library... no
checking whether boost_python27 is the correct library... no
checking whether boost_python27 is the correct library... (cached) no
checking whether boost_python27 is the correct library... (cached) no
checking whether boost_python39 is the correct library... no
checking whether boost_python39 is the correct library... (cached) no
checking whether boost_python39 is the correct library... (cached) no
checking whether boost_python is the correct library... (cached) no
checking whether boost_python3 is the correct library... no
configure: error: Boost.Python library not found. Try using --with-boost-python=lib.
hi CaceK,

libtorrent-rasterbar seems to build fine here
Code:
[...]
checking consistency of all components of python development environment... yes                                                                                                                                                                                                                    
checking whether the Boost::Python library is available... yes                                                                                                                                                                                                                                     
checking whether boost_python is the correct library... no                                                  
checking whether boost_python27 is the correct library... yes
 
Old 10-08-2021, 09:36 AM   #4345
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Quote:
Originally Posted by metageek View Post
enblend-enfuse does not build, it fails with errors on vigra (though vigra itself builds without errors):

Code:
/usr/include/vigra/separableconvolution.hxx:1413:13: error: ISO C++17 does not allow dynamic exception specifications
 1413 |             throw(PreconditionViolation)
      |             ^~~~~
In file included from /usr/include/vigra/convolution.hxx:41,
                 from openmp_vigra.h:32,
                 from enblend.h:40,
                 from enblend.cc:191:
/usr/include/vigra/stdconvolution.hxx:796:13: error: ISO C++17 does not allow dynamic exception specifications
  796 |             throw(PreconditionViolation)
      |             ^~~~~
this is a bit of a mess because the latest released version won't build with c++14 or c++17 and the version in their mercurial won't build either as it requires an unreleased exiv2 version, so I actually don't have a way to build it, sorry...
 
Old 10-08-2021, 10:35 AM   #4346
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by ponce View Post
don't uncomment the 'set -e' or it just won't stop when erroring, use a single build job to spot the error: virtualbox uses the JOBS variable (use JOBS=1).
JOBS=1 doesn't make a difference. It fails after the build step on the python3 line I reported in my previous post. I think there's not actually an error, but the command is returning 1 for some reason.
 
Old 10-08-2021, 10:59 AM   #4347
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
it should be a local issue on your side: I just tried to build virtualbox on two different virtual machines with the latest slackware64-current updates and everything went fine both times.
 
Old 10-08-2021, 11:10 AM   #4348
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by ponce View Post
it should be a local issue on your side: I just tried to build virtualbox on two different virtual machines with the latest slackware64-current updates and everything went fine both times.
Okay, fine with me then. I was able to work around it.
 
Old 10-08-2021, 02:11 PM   #4349
CaceK
LQ Newbie
 
Registered: Feb 2008
Distribution: Slackware
Posts: 22

Rep: Reputation: 9
Quote:
Originally Posted by ponce View Post
hi CaceK,

libtorrent-rasterbar seems to build fine here
Code:
[...]
checking consistency of all components of python development environment... yes                                                                                                                                                                                                                    
checking whether the Boost::Python library is available... yes                                                                                                                                                                                                                                     
checking whether boost_python is the correct library... no                                                  
checking whether boost_python27 is the correct library... yes
hi, it must be something on my end then. Sorry for taking your time. I'll try to figure out what went wrong.
 
Old 10-09-2021, 01:00 AM   #4350
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,978

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by ponce View Post
this is a bit of a mess because the latest released version won't build with c++14 or c++17 and the version in their mercurial won't build either as it requires an unreleased exiv2 version, so I actually don't have a way to build it, sorry...
Concur with this. I tried all three as well and even went back to an early commit (Same one that Arch Linux is using.) that doesn't require an unreleased exiv2 version. I have a few other ideas but want to try them first.
 
  


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 07:24 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