LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-21-2018, 09:39 AM   #1096
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled

Quote:
Originally Posted by lord_ View Post
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

Here's the log: https://pastebin.com/raw/dpvVmYrQ
I couldn't reproduce this one. I tested manually without the SlackBuild and the following worked.
Code:
patch -p1 -i guile-2.2.patch
autoreconf -fi
./configure
make
 
Old 04-21-2018, 09:42 AM   #1097
lord_
Member
 
Registered: Apr 2018
Distribution: Slackware -current
Posts: 44

Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
for autogen, you need to patch against guile 2.2: http://cgit.ponce.cc/slackbuilds/commit/?h=autogen
The slackbuild I'm using already applies the patch!
Code:
patch -p1 < $CWD/guile-2.2.patch
 
Old 04-21-2018, 09:42 AM   #1098
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by lord_ View Post
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.
 
Old 04-21-2018, 09:47 AM   #1099
lord_
Member
 
Registered: Apr 2018
Distribution: Slackware -current
Posts: 44

Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
I couldn't reproduce this one. I tested manually without the SlackBuild and the following worked.
Code:
patch -p1 -i guile-2.2.patch
autoreconf -fi
./configure
make
Still getting the same error as before.
Here's /tmp/SBo/autogen-5.18.12/config.log : https://pastebin.com/4zvU4kig
 
Old 04-21-2018, 09:58 AM   #1100
lord_
Member
 
Registered: Apr 2018
Distribution: Slackware -current
Posts: 44

Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
I couldn't reproduce this one. I tested manually without the SlackBuild and the following worked.
Code:
patch -p1 -i guile-2.2.patch
autoreconf -fi
./configure
make
Adding '--disable-dependency-tracking' in 'configure' options (as configure itself suggests while failing), allows to build it. Is it safe?
 
Old 04-21-2018, 10:20 AM   #1101
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
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).
 
Old 04-21-2018, 10:43 AM   #1102
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
Quote:
Originally Posted by lord_ View Post
The slackbuild I'm using already applies the patch!
Code:
patch -p1 < $CWD/guile-2.2.patch
please see my updated post
 
Old 04-21-2018, 11:28 AM   #1103
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 kjhambrick View Post
ponce --

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

http://cgit.ponce.cc/slackbuilds/refs/heads
http://cgit.ponce.cc/slackbuilds/log/?h=gcc5
 
1 members found this post helpful.
Old 04-21-2018, 11:55 AM   #1104
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 lord_ View Post
add this line before the configure block
Code:
export LDFLAGS="-ldl -lm"
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)

contact the maintainer

change this line in the SlackBuild
Code:
XSL_STYLESHEETS_VER=1.79.1
like
Code:
XSL_STYLESHEETS_VER=1.79.2
 
1 members found this post helpful.
Old 04-21-2018, 12:19 PM   #1105
lord_
Member
 
Registered: Apr 2018
Distribution: Slackware -current
Posts: 44

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
add this line before the configure block
Code:
export LDFLAGS="-ldl -lm"
It works.

Quote:
Originally Posted by ponce View Post
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 View Post
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!
 
Old 04-21-2018, 12:36 PM   #1106
lord_
Member
 
Registered: Apr 2018
Distribution: Slackware -current
Posts: 44

Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
please see my updated post
You just added "autoreconf" before configure and added the --disable-dependency-tracking option, right?

I have already done it:
Quote:
Originally Posted by lord_ View Post
Adding '--disable-dependency-tracking' in 'configure' options (as configure itself suggests while failing), allows to build it. Is it safe?
 
Old 04-21-2018, 01:24 PM   #1107
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
yes, it worked and it's safe
 
Old 04-21-2018, 11:02 PM   #1108
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
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 :)
 
Old 04-22-2018, 11:56 PM   #1109
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
liborcus doesn't build in current due to the updated boost.

https://slackbuilds.org/repository/1...earch=liborcus

Code:
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
Full log - https://pastebin.com/gHN2Rxh5

An issue was made upstream, but doesn't seem to have made any progress yet.

https://gitlab.com/orcus/orcus/issues/60
 
Old 04-23-2018, 04:17 AM   #1110
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
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.
 
  


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:57 AM.

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