LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problem building kodi on -current (https://www.linuxquestions.org/questions/slackware-14/problem-building-kodi-on-current-4175576496/)

coralfang 04-02-2016 10:59 AM

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?

coralfang 04-02-2016 11:08 AM

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


ponce 04-02-2016 11:36 AM

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.

coralfang 04-02-2016 11:42 AM

Quote:

Originally Posted by ponce (Post 5525132)
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.

55020 04-02-2016 11:43 AM

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?

ponce 04-02-2016 02:12 PM

I think it's pretty much normal forgetting to have done a commit when you do thousands ;)

coralfang 04-04-2016 04:18 AM

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.


All times are GMT -5. The time now is 10:01 PM.