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.
I don't know what you are talking about? Its a source archive that I uploaded to their github page myself. Regardless, this is the wrong thread for this, you should e-mail the maintainer directly unless it only affects current. (It was only chance I read here)
I don't know what you are talking about? Its a source archive that I uploaded to their github page myself. Regardless, this is the wrong thread for this, you should e-mail the maintainer directly unless it only affects current. (It was only chance I read here)
Well, you got me "only not working on current", I don't have a reference installation for that.
But what I am talking about is:
It doesn't build.
I am the maintainer so you don't need to e-mail this time, but next time the maintainer might not read here.
1.7.7 is the last release archive I made for RetroArch and it seems no one else has cared to keep this up after I stopped, so the 1.8.1 download on github will not work and is incomplete. There are also major unfixed regressions upstream so updating the script may never be a good idea... I also can not reproduce your issue with the 1.7.7 script from SBo on current so please share a full log if you can still reproduce it with the untouched SBo script.
/usr/include/c++/9.2.0/ostream:691:5: note: template argument deduction/substitution failed:
/usr/include/c++/9.2.0/ostream: In substitution of ‘template<class _Ostream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = std::basic_ostream<char>&; _Tp = std::basic_ostream<char>]’:
src/mod_video/crrc_animation.cpp:87:43: required from here
/usr/include/c++/9.2.0/ostream:691:5: error: no type named ‘type’ in ‘struct std::enable_if<false, std::basic_ostream<char>&>’
make[2]: *** [Makefile:2775: crrcsim-crrc_animation.o] Error 1
make[2]: Leaving directory '/tmp/SBo/crrcsim-0.9.13'
make[1]: *** [Makefile:3257: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/crrcsim-0.9.13'
make: *** [Makefile:949: all] Error 2
Error: build failed.
Some quick googling seems to indicate this is related to boost. It worked fine on 14.2. However, my -current is not clean. Can anyone confirm the error?
/usr/include/c++/9.2.0/ostream:691:5: note: template argument deduction/substitution failed:
/usr/include/c++/9.2.0/ostream: In substitution of ‘template<class _Ostream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = std::basic_ostream<char>&; _Tp = std::basic_ostream<char>]’:
src/mod_video/crrc_animation.cpp:87:43: required from here
/usr/include/c++/9.2.0/ostream:691:5: error: no type named ‘type’ in ‘struct std::enable_if<false, std::basic_ostream<char>&>’
make[2]: *** [Makefile:2775: crrcsim-crrc_animation.o] Error 1
make[2]: Leaving directory '/tmp/SBo/crrcsim-0.9.13'
make[1]: *** [Makefile:3257: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/crrcsim-0.9.13'
make: *** [Makefile:949: all] Error 2
Error: build failed.
Some quick googling seems to indicate this is related to boost. It worked fine on 14.2. However, my -current is not clean. Can anyone confirm the error?
I can confirm it, and it seems related to the newer gcc exposing an error in the code (probably a typo): archlinux has a patch for that (that I will apply too)
I can confirm it, and it seems related to the newer gcc exposing an error in the code (probably a typo): archlinux has a patch for that (that I will apply too)
Thanks, the patch works. I will see if I can report it upstream.
Edit: except I'm getting a segfault when running the game. I will see if I can track it down.
Edit2: seems to have been caused by something in my ~/.crrcsim directory, so ignore that.
Last edited by montagdude; 12-08-2019 at 06:45 AM.
vegastrike cannot be built in -current. Looks like the culprit is the newer boost.
Code:
/tmp/SBo/vegastrike-src-0.5.1.r1/src/audio/Source.h:243:76: error: use of deleted function ‘boost::shared_ptr<Audio::RenderableSource>::shared_ptr(const boost::shared_ptr<Audio::RenderableSource>&)’
243 | SharedPtr<RenderableSource> getRenderable() const throw() { return rendererDataPtr; }
| ^~~~~~~~~~~~~~~
In file included from /tmp/SBo/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
from /tmp/SBo/vegastrike-src-0.5.1.r1/src/faction_generic.h:5,
from /tmp/SBo/vegastrike-src-0.5.1.r1/src/universe_generic.h:29,
from /tmp/SBo/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
from /tmp/SBo/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
from /tmp/SBo/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/tmp/SBo/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:168:25: note: ‘boost::shared_ptr<Audio::RenderableSource>::shared_ptr(const boost::shared_ptr<Audio::RenderableSource>&)’ is implicitly declared as deleted because ‘boost::shared_ptr<Audio::RenderableSource>’ declares a move constructor or move assignment operator
i'm getting errors when trying to build perl-http-server-simple:
Code:
HTTP-Server-Simple-0.51/ex/sample_server
Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
Cleaning up...
perl-http-server-simple:
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?:
This is SOLVED when i'm install perl-Module-Install.
i'm getting errors when trying to build perl-http-server-simple:
Code:
HTTP-Server-Simple-0.51/ex/sample_server
Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
Cleaning up...
perl-http-server-simple:
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?:
This is SOLVED when i'm install perl-Module-Install.
that's actually not necessary as the error is because the version of perl-http-server-simple hasn't been patched yet for the @INC of the newer perls that doesn't include the current directory anymore (the needed module is already there): waiting for an upstream version that fixes this you can build it just passing the perl-http-server-simple.SlackBuild an additional environment variable, PERL_USE_UNSAFE_INC=1
if you're using sbopkg you can also do it like this
vegastrike cannot be built in -current. Looks like the culprit is the newer boost.
Code:
/tmp/SBo/vegastrike-src-0.5.1.r1/src/audio/Source.h:243:76: error: use of deleted function ‘boost::shared_ptr<Audio::RenderableSource>::shared_ptr(const boost::shared_ptr<Audio::RenderableSource>&)’
243 | SharedPtr<RenderableSource> getRenderable() const throw() { return rendererDataPtr; }
| ^~~~~~~~~~~~~~~
In file included from /tmp/SBo/vegastrike-src-0.5.1.r1/boost/1_45/boost/shared_ptr.hpp:17,
from /tmp/SBo/vegastrike-src-0.5.1.r1/src/faction_generic.h:5,
from /tmp/SBo/vegastrike-src-0.5.1.r1/src/universe_generic.h:29,
from /tmp/SBo/vegastrike-src-0.5.1.r1/src/vs_globals.h:6,
from /tmp/SBo/vegastrike-src-0.5.1.r1/src/cmd/unit_generic.h:41,
from /tmp/SBo/vegastrike-src-0.5.1.r1/src/networking/fileutil.cpp:1:
/tmp/SBo/vegastrike-src-0.5.1.r1/boost/1_45/boost/smart_ptr/shared_ptr.hpp:168:25: note: ‘boost::shared_ptr<Audio::RenderableSource>::shared_ptr(const boost::shared_ptr<Audio::RenderableSource>&)’ is implicitly declared as deleted because ‘boost::shared_ptr<Audio::RenderableSource>’ declares a move constructor or move assignment operator
There are various error messages after this one.
I'm sorry but I haven't found anything to let vegastrike build on current...
have you tried pinging the maintainer about it?
I'm sorry but I haven't found anything to let vegastrike build on current...
have you tried pinging the maintainer about it?
No, but I have checked the upstream website and indeed this was the latest release back in 2014. So I think we should give up and remove it until the project revives again.
No, but I have checked the upstream website and indeed this was the latest release back in 2014. So I think we should give up and remove it until the project revives again.
maybe there are working forks, I really have no idea... please try getting in touch with the maintainer: if there are no alternatives I'll drop it.
I am the maintainer so you don't need to e-mail this time, but next time the maintainer might not read here.
1.7.7 is the last release archive I made for RetroArch and it seems no one else has cared to keep this up after I stopped, so the 1.8.1 download on github will not work and is incomplete. There are also major unfixed regressions upstream so updating the script may never be a good idea... I also can not reproduce your issue with the 1.7.7 script from SBo on current so please share a full log if you can still reproduce it with the untouched SBo script.
I think the video and audio filter makefiles don't detect my platform correctly, since DYLIB ends up as dll every time, as well as getting the extra flags.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.