SBo scripts not building on current (read 1st post, pls)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Making all in config
make[1]: Entering directory '/tmp/SBo/log4cpp-1.0/config'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/SBo/log4cpp-1.0/config'
Making all in src
make[1]: Entering directory '/tmp/SBo/log4cpp-1.0/src'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include -I../include -pthread -O2 -fPIC -O2 -DNDEBUG -Wall -Wno-unused -pedantic -MT Appender.lo -MD -MP -MF .deps/Appender.Tpo -c -o Appender.lo Appender.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I../include -I../include -pthread -O2 -fPIC -O2 -DNDEBUG -Wall -Wno-unused -pedantic -MT Appender.lo -MD -MP -MF .deps/Appender.Tpo -c Appender.cpp -fPIC -DPIC -o .libs/Appender.o
In file included from ../include/log4cpp/Appender.hh:21,
from Appender.cpp:11:
../include/log4cpp/Priority.hh:107:9: error:
107 | throw(std::invalid_argument);
| ^~~~~
make[1]: *** [Makefile:424: Appender.lo] Error 1
make[1]: Leaving directory '/tmp/SBo/log4cpp-1.0/src'
make: *** [Makefile:356: all-recursive] Error 1
I don't know enough about C++ to correct the 'throw' lines. Some search result suggestions say to wrap it in a try/catch, and others say to just delete the throw() line [107] altogether.
Hi , today cffi and pycparser was added to -current , y suggest rename the existing 2 in SBo , like python2-cffi and python2-pycparser , and remove python3 support from script.
And then need check REQUIRES , in other slackbuilds to point to python2 - news
I'm the maintainer of this slackbuild and I have already been able to update to version 1.1.3. Given submissions to SBo are currently closed, do I wait until they open again, or is there a way to contribute to Ponce's github repository to see it appear in SBo later on? (I have been updating other packages I maintain too).
I'm the maintainer of this slackbuild and I have already been able to update to version 1.1.3. Given submissions to SBo are currently closed, do I wait until they open again, or is there a way to contribute to Ponce's github repository to see it appear in SBo later on? (I have been updating other packages I maintain too).
Pedro
just send me patches based on what is already on SBo's git master branch: for log4cpp, if it's ok for you, I already pushed the update on SBo (the link in the post above is the commit on SBo's git -it shows also my address).
clone locally SBo's master branch ("git clone git://git.slackbuilds.org/slackbuilds.git"), apply your desired modifications over what's already there and send me the relative patches for every interested SlackBuild.
just send me patches based on what is already on SBo's git master branch: for log4cpp, if it's ok for you, I already pushed the update on SBo (the link in the post above is the commit on SBo's git -it shows also my address).
clone locally SBo's master branch ("git clone git://git.slackbuilds.org/slackbuilds.git"), apply your desired modifications over what's already there and send me the relative patches for every interested SlackBuild.
Your patches for log4cpp are perfect and so it seems I don't have to do anything for that one. I'll go over the other ones and do as you said. Thanks!
Hi, recompiling gdal after the latest current-updates incl. the poppler-upgrade gave this :
Quote:
cc1plus: warning: /usr/lib64/include: No such file or directory [-Wmissing-include-dirs]
cc1plus: warning: /usr/lib64/include: No such file or directory [-Wmissing-include-dirs]
pdfdataset.cpp: In static member function ‘static PDFDataset* PDFDataset::Open(GDALOpenInfo*)’:
pdfdataset.cpp:4966:59: error: cannot convert ‘std::unique_ptr<GooString>’ to ‘GooString*’ in initialization
4966 | GooString* poMetadata = poCatalogPoppler->readMetadata();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| std::unique_ptr<GooString>
make[2]: *** [../../GDALmake.opt:648: ../o/pdfdataset.lo] Error 1
make[2]: Leaving directory '/tmp/SBo/gdal-3.3.0/frmts/pdf'
make[1]: *** [GNUmakefile:15: pdf-install-obj] Error 2
make[1]: Leaving directory '/tmp/SBo/gdal-3.3.0/frmts'
make: *** [GNUmakefile:114: frmts-target] Error 2
gdal:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
(Y)es to continue, (N)o to abort, (R)etry the build?:
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.
checking attr/xattr.h usability... no
checking attr/xattr.h presence... no
checking for attr/xattr.h... no
configure: error: attr/xattr.h not found. you may have to install a package called attr, libattr, libattr-devel
checking attr/xattr.h usability... no
checking attr/xattr.h presence... no
checking for attr/xattr.h... no
configure: error: attr/xattr.h not found. you may have to install a package called attr, libattr, libattr-devel
I didn't install "attr, libattr, libattr-devel" either, v0.8.6 installed with VERSION=0.8.6 ./fsarchiver.SlackBuild
Do you have the stock "kernel-source" installed?
Edit: NM. I see you tried 0.8.6 and it also worked.
Last edited by Hangaber; 10-05-2021 at 10:28 AM.
Reason: Submitted before reading the next post.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.