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.
Adding autoreconfig -fi won't help (indeed the aclocal issue seems solved, but another error overcomes). I tried previously googling the error and finding something here https://stackoverflow.com/questions/...-when-compilin
Adding '-Wno-error=incompatible-pointer-types' made the trick (added in both CFLAGS and CXXFLAGS)! Still some warning message, but at least it builds!
Thanks!
Programs shouldn't enable -Werror by default anyways, its just going to be non-portable for every compiler version the developers didn't test... Removing it turns the errors back into compiler warnings like they should be. Fixing the actual warnings would probably be less trivial and you should contact upstream if you want to pursue that.
I'm not sure if its safe or not, but its not the correct solution. I also don't see any clues in the config.log either, but I could just be missing them. Last time I saw an issue like that it was a problem with the program's autotools implementation and unfortunately I don't really recall if I found a fix. Just that I avoided the issue altogether by fixing the initial problem where it could not find aclocal-1.15. In my example I did that by using a system version of libltdl instead of the included internal version. I'm not sure that fix will work here and I later learned that it would of been even better to remove libltdl altogether since that is only needed for legacy systems no one really uses anymore (Beos and hp-ux).
I am rebuilding the few SBo Packages on my Slackware64 14+current system.
One of these packages is Alien Bob's gcc5 Package.
The Slackware 14.2+current gcc5 SlackBuild Package is in ~/development/gcc5/
However when I run `git log` I don't see a commit for it.
Maybe I am doing it wrong ?
Thanks.
-- kjh
all the branches are merge-squashed in the "current" branch in one big commit: if you want to see what changes for a single SlackBuild you should have a look at the various individual branches
libquvi builds fine here: there most probably breaks because of the reason that you can read in the log
Code:
make[4]: Nothing to be done for 'install-exec-am'.
** Old headers found in /usr/include/quvi-0.9/quvi. You should
** remove the contents of this directory and type 'make
** install' again.
make[4]: *** [Makefile:561: install-data-local] Error 1
(you should remove libquvi before building a new package)
libquvi builds fine here: there most probably breaks because of the reason that you can read in the log
Code:
make[4]: Nothing to be done for 'install-exec-am'.
** Old headers found in /usr/include/quvi-0.9/quvi. You should
** remove the contents of this directory and type 'make
** install' again.
make[4]: *** [Makefile:561: install-data-local] Error 1
(you should remove libquvi before building a new package)
Again, it works.
Quote:
Originally Posted by ponce
change this line in the SlackBuild
Code:
XSL_STYLESHEETS_VER=1.79.1
like
Code:
XSL_STYLESHEETS_VER=1.79.2
That's quite embarrassing, I should found it out by myself. Of course, it workd again!
Is libtxc_dxtn still required for current? Its not for the mesa master, but I'm not sure if that applies to any mesa releases yet? I asked in #dri-devel @ freenode and got this reply.
Code:
20:53 <orbea> is libtxc_dxtn still required for S3TC support with the mesa master?
20:56 <imirkin> it is not
20:56 <orbea> cool :)
Making all in spreadsheet
make[3]: Entering directory '/tmp/SBo/liborcus-0.13.4/src/spreadsheet'
CXX liborcus_spreadsheet_model_0.13_la-data_table.lo
CXX liborcus_spreadsheet_model_0.13_la-document.lo
CXX liborcus_spreadsheet_model_0.13_la-auto_filter.lo
CXX liborcus_spreadsheet_model_0.13_la-dumper_global.lo
CXX liborcus_spreadsheet_model_0.13_la-factory.lo
CXX liborcus_spreadsheet_model_0.13_la-factory_pivot.lo
CXX liborcus_spreadsheet_model_0.13_la-factory_sheet.lo
CXX liborcus_spreadsheet_model_0.13_la-formula_global.lo
CXX liborcus_spreadsheet_model_0.13_la-csv_dumper.lo
CXX liborcus_spreadsheet_model_0.13_la-json_dumper.lo
CXX liborcus_spreadsheet_model_0.13_la-pivot.lo
CXX liborcus_spreadsheet_model_0.13_la-shared_strings.lo
CXX liborcus_spreadsheet_model_0.13_la-sheet.lo
CXX liborcus_spreadsheet_model_0.13_la-sheet_properties.lo
CXX liborcus_spreadsheet_model_0.13_la-sheet_range.lo
CXX liborcus_spreadsheet_model_0.13_la-styles.lo
CXX liborcus_spreadsheet_model_0.13_la-table.lo
CXX liborcus_spreadsheet_model_0.13_la-view.lo
CXX liborcus_spreadsheet_model_0.13_la-global_settings.lo
sheet.cpp: In member function ‘void orcus::spreadsheet::sheet::set_date_time(orcus::spreadsheet::row_t, orcus::spreadsheet::col_t, int, int, int, int, int, double)’:
sheet.cpp:395:36: error: no matching function for call to ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(double&)’
posix_time::microseconds(ms)
^
In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16:0,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time.hpp:15,
from sheet.cpp:50:
/usr/include/boost/date_time/time_duration.hpp:285:14: note: candidate: template<class T> boost::date_time::subsecond_duration<base_duration, frac_of_second>::subsecond_duration(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)
explicit subsecond_duration(T const& ss,
^~~~~~~~~~~~~~~~~~
/usr/include/boost/date_time/time_duration.hpp:285:14: note: template argument deduction/substitution failed:
/usr/include/boost/date_time/time_duration.hpp: In substitution of ‘template<class T> boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(const T&, typename boost::enable_if<boost::is_integral<T> >::type*) [with T = double]’:
sheet.cpp:395:36: required from here
/usr/include/boost/date_time/time_duration.hpp:285:14: error: no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<double>, void>’
In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16:0,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time.hpp:15,
from sheet.cpp:50:
/usr/include/boost/date_time/time_duration.hpp:270:30: note: candidate: boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&)
class BOOST_SYMBOL_VISIBLE subsecond_duration : public base_duration
^~~~~~~~~~~~~~~~~~
/usr/include/boost/date_time/time_duration.hpp:270:30: note: no known conversion for argument 1 from ‘double’ to ‘const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&’
/usr/include/boost/date_time/time_duration.hpp:270:30: note: candidate: boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&&)
/usr/include/boost/date_time/time_duration.hpp:270:30: note: no known conversion for argument 1 from ‘double’ to ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&&’
sheet.cpp: In member function ‘orcus::date_time_t orcus::spreadsheet::sheet::get_date_time(orcus::spreadsheet::row_t, orcus::spreadsheet::col_t) const’:
sheet.cpp:735:63: error: no matching function for call to ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(double&)’
posix_time::time_duration td = posix_time::microsec(ms);
^
In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16:0,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time.hpp:15,
from sheet.cpp:50:
/usr/include/boost/date_time/time_duration.hpp:285:14: note: candidate: template<class T> boost::date_time::subsecond_duration<base_duration, frac_of_second>::subsecond_duration(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)
explicit subsecond_duration(T const& ss,
^~~~~~~~~~~~~~~~~~
/usr/include/boost/date_time/time_duration.hpp:285:14: note: template argument deduction/substitution failed:
/usr/include/boost/date_time/time_duration.hpp: In substitution of ‘template<class T> boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(const T&, typename boost::enable_if<boost::is_integral<T> >::type*) [with T = double]’:
sheet.cpp:735:63: required from here
/usr/include/boost/date_time/time_duration.hpp:285:14: error: no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<double>, void>’
In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16:0,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time.hpp:15,
from sheet.cpp:50:
/usr/include/boost/date_time/time_duration.hpp:270:30: note: candidate: boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&)
class BOOST_SYMBOL_VISIBLE subsecond_duration : public base_duration
^~~~~~~~~~~~~~~~~~
/usr/include/boost/date_time/time_duration.hpp:270:30: note: no known conversion for argument 1 from ‘double’ to ‘const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&’
/usr/include/boost/date_time/time_duration.hpp:270:30: note: candidate: boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&&)
/usr/include/boost/date_time/time_duration.hpp:270:30: note: no known conversion for argument 1 from ‘double’ to ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>&&’
sheet.cpp:743:42: error: no matching function for call to ‘boost::posix_time::seconds::seconds(double&)’
td -= posix_time::seconds(seconds);
^
In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:16:0,
from /usr/include/boost/date_time/posix_time/time_formatters.hpp:16,
from /usr/include/boost/date_time/posix_time/posix_time.hpp:24,
from sheet.cpp:50:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: candidate: template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T> >::type*)
explicit seconds(T const& s,
^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: template argument deduction/substitution failed:
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In substitution of ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T> >::type*) [with T = double]’:
sheet.cpp:743:42: required from here
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error: no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<double>, void>’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: boost::posix_time::seconds::seconds(const boost::posix_time::seconds&)
class BOOST_SYMBOL_VISIBLE seconds : public time_duration
^~~~~~~
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: no known conversion for argument 1 from ‘double’ to ‘const boost::posix_time::seconds&’
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: boost::posix_time::seconds::seconds(boost::posix_time::seconds&&)
/usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: no known conversion for argument 1 from ‘double’ to ‘boost::posix_time::seconds&&’
make[3]: *** [Makefile:658: liborcus_spreadsheet_model_0.13_la-sheet.lo] Error 1
make[3]: Leaving directory '/tmp/SBo/liborcus-0.13.4/src/spreadsheet'
make[2]: *** [Makefile:2037: all-recursive] Error 1
make[2]: Leaving directory '/tmp/SBo/liborcus-0.13.4/src'
make[1]: *** [Makefile:817: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/liborcus-0.13.4'
make: *** [Makefile:726: all] Error 2
Other victim of boost ---> libtorrent-rasterbar , first fails cause no "patches" , when slackbuild go to patch , and after remove the lines to patch , error related to boost.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.