LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-02-2016, 10:59 AM   #1
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Problem building kodi on -current


Code:
<snip>

x.o gfontlib.o gfontrle.o goom_core.o graphic.o ifs.o lines.o mathtools.o sound_tester.o surf3d.o tentacle3d.o plugin_info.o v3d.o drawmethods.o cpu_info.o
libtool: link: ranlib .libs/libgoom2.a
libtool: link: ( cd ".libs" && rm -f "libgoom2.la" && ln -s "../libgoom2.la" "libgoom2.la" )
make[3]: Leaving directory '/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/Goom/goom2k4-0/src'
Making all in xmms-goom
make[3]: Entering directory '/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/Goom/goom2k4-0/xmms-goom'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/Goom/goom2k4-0/xmms-goom'
Making all in sdl-goom
CPP     xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitleParserSSA.o
make[3]: Entering directory '/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/Goom/goom2k4-0/sdl-goom'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/Goom/goom2k4-0/sdl-goom'
make[3]: Entering directory '/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/Goom/goom2k4-0'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/Goom/goom2k4-0'
make[2]: Leaving directory '/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/Goom/goom2k4-0'
/usr/bin/ccache g++  -fPIC goom2k4-0/src/*.o -shared -fPIC -O2 -DNDEBUG=1 -O2 -fPIC -I/tmp/SBo/xbmc-15.2-Isengard/include -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu++11 -o visualization.goom/Goom.vis Main.o      \
        `cat ../../cores/DllLoader/exports/wrapper.def` \
        ../../cores/DllLoader/exports/wrapper.o
CPP     xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxVobsub.o                      
make[1]: Leaving directory '/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/Goom'
CPP     xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamHttp.o
CPP     xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitleParserSubrip.o
CPP     xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitleParserVplayer.o
CPP     xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxCC.o
AR      xbmc/cores/dvdplayer/DVDCodecs/Video/Video.a
CPP     xbmc/cores/dvdplayer/DVDDemuxers/DVDFactoryDemuxer.o
CPP     xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamMemory.o
CPP     xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamNavigator.o
CPP     xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitleTagMicroDVD.o
CPP     xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamRTMP.o
CPP     xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitleTagSami.o
CPP     xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamPVRManager.o
CPP     xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitlesLibass.o
CPP     xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitleStream.o
CPP     xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamStack.o
CPP     xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamTV.o
CPP     xbmc/cores/dvdplayer/DVDInputStreams/DVDStateSerializer.o
AR      xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxers.a
AR      xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitles.a
AR      xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreams.a
Compilation just stops? As i don't get a message about a package being created, and cannot find one in /tmp

Using the slackbuild on x86_64. I have rebuilt all the dependencies before running the slackbuild, and not sure what the problem is, as it doesn't really mention an error.

Any ideas? Has anyone got kodi to compile on -current recently?
 
Old 04-02-2016, 11:08 AM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836

Original Poster
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Well, i just disabled MAKEFLAGS (which was set to -j9 in my /etc/profile)

Here's the full error i am getting now
Code:
[ 19%] Building CXX object CMakeFiles/projectM.dir/Preset.cpp.o
/usr/bin/g++   -DCMAKE_INSTALL_PREFIX="\"\\\"/usr\\\"\"" -DLINUX -DSTBI_NO_DDS -DUSE_FBO -DprojectM_EXPORTS -I/opt/local/include  -O2 -DNDEBUG=1 -O2 -fPIC -I/tmp/SBo/xbmc-15.2-Isengard/include -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu++11 -fPIC   -o CMakeFiles/projectM.dir/Preset.cpp.o -c /tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM/Preset.cpp
[ 22%] Building CXX object CMakeFiles/projectM.dir/BeatDetect.cpp.o
/usr/bin/g++   -DCMAKE_INSTALL_PREFIX="\"\\\"/usr\\\"\"" -DLINUX -DSTBI_NO_DDS -DUSE_FBO -DprojectM_EXPORTS -I/opt/local/include  -O2 -DNDEBUG=1 -O2 -fPIC -I/tmp/SBo/xbmc-15.2-Isengard/include -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu++11 -fPIC   -o CMakeFiles/projectM.dir/BeatDetect.cpp.o -c /tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM/BeatDetect.cpp
/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM/BeatDetect.cpp: In member function 'void BeatDetect::getBeatVals(float*, float*)':
/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM/BeatDetect.cpp:163:30: error: 'isnan' was not declared in this scope
    if ( projectM_isnan( treb ) ) {
                              ^
/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM/BeatDetect.cpp:163:30: note: suggested alternative:
In file included from /tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM/BeatDetect.cpp:36:0:
/usr/include/c++/5.3.0/cmath:641:5: note:   'std::isnan'
     isnan(_Tp __x)
     ^
/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM/BeatDetect.cpp:166:29: error: 'isnan' was not declared in this scope
    if ( projectM_isnan( mid ) ) {
                             ^
/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM/BeatDetect.cpp:166:29: note: suggested alternative:
In file included from /tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM/BeatDetect.cpp:36:0:
/usr/include/c++/5.3.0/cmath:641:5: note:   'std::isnan'
     isnan(_Tp __x)
     ^
/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM/BeatDetect.cpp:169:30: error: 'isnan' was not declared in this scope
    if ( projectM_isnan( bass ) ) {
                              ^
/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM/BeatDetect.cpp:169:30: note: suggested alternative:
In file included from /tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM/BeatDetect.cpp:36:0:
/usr/include/c++/5.3.0/cmath:641:5: note:   'std::isnan'
     isnan(_Tp __x)
     ^
CMakeFiles/projectM.dir/build.make:230: recipe for target 'CMakeFiles/projectM.dir/BeatDetect.cpp.o' failed
make[4]: *** [CMakeFiles/projectM.dir/BeatDetect.cpp.o] Error 1
make[4]: Leaving directory '/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM'
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/projectM.dir/all' failed
make[3]: *** [CMakeFiles/projectM.dir/all] Error 2
make[3]: Leaving directory '/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM'
Makefile:127: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM/libprojectM'
Makefile:26: recipe for target 'libprojectM/libprojectM.so' failed
make[1]: *** [libprojectM/libprojectM.so] Error 2
make[1]: Leaving directory '/tmp/SBo/xbmc-15.2-Isengard/xbmc/visualizations/XBMCProjectM'
Makefile:372: recipe for target 'xbmc/visualizations/XBMCProjectM' failed
make: *** [xbmc/visualizations/XBMCProjectM] Error 2

Last edited by coralfang; 04-02-2016 at 11:29 AM.
 
Old 04-02-2016, 11:36 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
coralfang, which repository are you using?
if you are on current you should be using the unofficial repository for current or, in this transitioning phase in which submissions are closed and SBo is getting ready for 14.2, its git master branch.

I'm telling this because I think what you report has been already fixed by David at the end of february...

https://slackbuilds.org/cgit/slackbu...62f7fbe83ae849

EDIT: I have just tried building kodi myself on slackware64-current and all went fine.

Last edited by ponce; 04-02-2016 at 11:43 AM.
 
2 members found this post helpful.
Old 04-02-2016, 11:42 AM   #4
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836

Original Poster
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Quote:
Originally Posted by ponce View Post
coralfang, which repository are you using?
if you are on current you should be using the repository for current or, in this transitioning phase in which submissions are closed and SBo is getting ready for 14.2, its git master branch.

I'm telling this because I think what you report has been already fixed by David at the end of february...

https://slackbuilds.org/cgit/slackbu...62f7fbe83ae849
You are right, i am using the slackbuilds for 14.1, i will try the git version.
 
Old 04-02-2016, 11:43 AM   #5
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Oh dear god, not another one. We've fixed lots of those, and lpsolve, hhvm and openscap are still 'todo'

The problem is caused by a recent conspiracy between gcc and glibc. A bad habit of lazy developers saying 'isnan' and 'isinf' instead of 'std::isnan' and 'std::isinf' suddenly stopped working in glibc-2.23.

kodi-15.2 builds ok for me, so I'm not sure what made the error happen in your build. I guess we must be using different optional dependencies. Anyway, I'll try to fix it tonight. Thanks for the report!

Edit: Thanks Matteo! maybe I'm starting with Alzheimer's?

Last edited by 55020; 04-02-2016 at 11:45 AM. Reason: Maybe I should try vitamin pills?
 
2 members found this post helpful.
Old 04-02-2016, 02:12 PM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
I think it's pretty much normal forgetting to have done a commit when you do thousands
 
Old 04-04-2016, 04:18 AM   #7
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836

Original Poster
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Ok thanks all. The program compiles fine and is working here now. I guess switching sbopkg to use the master branch is probably a good idea.
 
  


Reply



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
Building Trinity Desktop on Current ( 14.1+ ) kjhambrick Slackware 4 12-28-2014 02:13 PM
[SOLVED] building qt3 in latest -current with gcc >= 4.6 zakame Slackware 4 10-03-2012 07:42 AM
Error building Chromium 64-current sorinm Slackware 3 07-28-2012 01:45 PM
[SOLVED] Help building mumble 1.2.2 on Slackware -current 64 D1ver Slackware 12 01-10-2011 09:33 PM
[SOLVED] Building Kid3 in Slackware64-Current ack_iix Slackware 1 08-02-2009 04:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:51 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