Tim, Darrell,
Looks like there is a conversion error in the amarok code:
[ 70%] Building CXX object amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o cd /build/src/build/amarok/src/engine/xine && /usr/bin/c++ -Dlibamarok_xine_engine_module_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/amarok/src/engine/xine -I/build/src/build -I/build/src/build/amarok/src/amarokcore -I/build/src/amarok/amarok/src -I/build/src/amarok/amarok/src/amarokcore -I/opt/trinity/include -I/opt/tqt3/include -I/opt/trinity/include/tqt -o CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o -c /build/src/build/amarok/src/engine/xine/xinecfg.cpp /usr/bin/cmake -E cmake_progress_report /build/src/build/CMakeFiles [ 70%] Building CXX object amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o cd /build/src/build/amarok/src/engine/xine && /usr/bin/c++ -Dlibamarok_xine_engine_module_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/amarok/src/engine/xine -I/build/src/build -I/build/src/build/amarok/src/amarokcore -I/build/src/amarok/amarok/src -I/build/src/amarok/amarok/src/amarokcore -I/opt/trinity/include -I/opt/tqt3/include -I/opt/trinity/include/tqt -o CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o -c /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp: In static member function 'static void XineEngine::XineEventListener(void*, const xine_event_t*)': /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp:940:85: warning: 'xine_mrl_reference_data_t' is deprecated (declared at /usr/include/xine.h:1985) [-Wdeprecated-declarations] /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp: In member function 'virtual bool XineEngine::getAudioCDContents(const TQString&, KURL::List&)': /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp:1151:58: error: invalid conversion from 'const char* const*' to 'char**' [-fpermissive] make[2]: *** [amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
I'm not sure what to do with this one. Is this an amarok error or xine?
On 03/13/2012 11:57 PM, David C. Rankin wrote:
Tim, Darrell,
Looks like there is a conversion error in the amarok code:
[ 70%] Building CXX object amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o cd /build/src/build/amarok/src/engine/xine && /usr/bin/c++ -Dlibamarok_xine_engine_module_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/amarok/src/engine/xine -I/build/src/build -I/build/src/build/amarok/src/amarokcore -I/build/src/amarok/amarok/src -I/build/src/amarok/amarok/src/amarokcore -I/opt/trinity/include -I/opt/tqt3/include -I/opt/trinity/include/tqt -o CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o -c /build/src/build/amarok/src/engine/xine/xinecfg.cpp /usr/bin/cmake -E cmake_progress_report /build/src/build/CMakeFiles [ 70%] Building CXX object amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o cd /build/src/build/amarok/src/engine/xine && /usr/bin/c++ -Dlibamarok_xine_engine_module_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/amarok/src/engine/xine -I/build/src/build -I/build/src/build/amarok/src/amarokcore -I/build/src/amarok/amarok/src -I/build/src/amarok/amarok/src/amarokcore -I/opt/trinity/include -I/opt/tqt3/include -I/opt/trinity/include/tqt -o CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o -c /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp: In static member function 'static void XineEngine::XineEventListener(void*, const xine_event_t*)': /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp:940:85: warning: 'xine_mrl_reference_data_t' is deprecated (declared at /usr/include/xine.h:1985) [-Wdeprecated-declarations] /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp: In member function 'virtual bool XineEngine::getAudioCDContents(const TQString&, KURL::List&)': /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp:1151:58: error: invalid conversion from 'const char* const*' to 'char**' [-fpermissive] make[2]: *** [amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
I'm not sure what to do with this one. Is this an amarok error or xine?
turned xine off and got:
[ 74%] Building CXX object amarok/src/mediadevice/mtp/CMakeFiles/libamarok_mtp-mediadevice-module.dir/mtpmediadevice.cpp.o cd /build/src/build/amarok/src/mediadevice/mtp && /usr/bin/c++ -Dlibamarok_mtp_mediadevice_module_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/amarok/src/mediadevice/mtp -I/build/src/build -I/build/src/amarok/amarok/src -I/opt/trinity/include -I/opt/tqt3/include -I/opt/trinity/include/tqt -o CMakeFiles/libamarok_mtp-mediadevice-module.dir/mtpmediadevice.cpp.o -c /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'uint32_t MtpMediaDevice::getDefaultParentId()': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:384:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'LIBMTP_album_t* MtpMediaDevice::getOrCreateAlbum(TQPtrList<MediaItem>*)': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:512:128: error: 'realloc' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:528:85: error: 'malloc' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'void MtpMediaDevice::playlistFromItem(MtpMediaItem*)': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:895:81: error: 'malloc' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'virtual bool MtpMediaDevice::openDevice(bool)': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:1146:21: error: 'free' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'virtual void MtpMediaDevice::customClicked()': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:1254:21: error: 'free' was not declared in this scope make[2]: *** [amarok/src/mediadevice/mtp/CMakeFiles/libamarok_mtp-mediadevice-module.dir/mtpmediadevice.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [amarok/src/mediadevice/mtp/CMakeFiles/libamarok_mtp-mediadevice-module.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
then turned mtp off:
[ 78%] Built target libamarok_daap-mediadevice-module make -f amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/build.make amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/depend make[2]: Entering directory `/build/src/build' cd /build/src/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/src/amarok /build/src/amarok/amarok/src/mediadevice/daap/mongrel/http11 /build/src/build /build/src/build/amarok/src/mediadevice/daap/mongrel/http11 /build/src/build/amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/DependInfo.cmake --color= Scanning dependencies of target http11-shared make[2]: Leaving directory `/build/src/build' make -f amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/build.make amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/build make[2]: Entering directory `/build/src/build' /usr/bin/cmake -E cmake_progress_report /build/src/build/CMakeFiles [ 78%] Building C object amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/http11.c.o cd /build/src/build/amarok/src/mediadevice/daap/mongrel/http11 && /usr/bin/gcc -Dhttp11_shared_EXPORTS -DHAVE_CONFIG_H -Dinline=__inline__ -Dasm=__asm__ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/ruby/1.9.1/x86_64-linux -o CMakeFiles/http11-shared.dir/http11.c.o -c /build/src/amarok/amarok/src/mediadevice/daap/mongrel/http11/http11.c /build/src/amarok/amarok/src/mediadevice/daap/mongrel/http11/http11.c:5:18: fatal error: ruby.h: No such file or directory compilation terminated. make[2]: *** [amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/http11.c.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
all in all it looks like amarok needs help! This build was done with the following :
msg "Starting cmake..." cmake ${srcdir}/${pkgname#*-} \ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DWITH_LIBVISUAL=ON \ -DWITH_KONQSIDEBAR=OFF \ -DWITH_XINE=OFF \ -DWITH_YAUAP=ON \ -DWITH_IPOD=ON \ -DWITH_IFP=ON \ -DWITH_NJB=ON \ -DWITH_MTP=OFF \ -DWITH_RIOKARMA=OFF \ -DWITH_DAAP=ON \ -DBUILD_ALL=ON
Looks like there is a conversion error
in the amarok code:
[ 70%] Building CXX object
amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o
cd /build/src/build/amarok/src/engine/xine &&
/usr/bin/c++
-Dlibamarok_xine_engine_module_EXPORTS -DHAVE_CONFIG_H
-march=x86-64
-mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT
-D_REENTRANT -include
tqt.h -fPIC -I/build/src/build/amarok/src/engine/xine
-I/build/src/build
-I/build/src/build/amarok/src/amarokcore
-I/build/src/amarok/amarok/src
-I/build/src/amarok/amarok/src/amarokcore
-I/opt/trinity/include
-I/opt/tqt3/include -I/opt/trinity/include/tqt
-o
CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o -c
/build/src/build/amarok/src/engine/xine/xinecfg.cpp /usr/bin/cmake -E cmake_progress_report
/build/src/build/CMakeFiles
[ 70%] Building CXX object
amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o
cd /build/src/build/amarok/src/engine/xine &&
/usr/bin/c++
-Dlibamarok_xine_engine_module_EXPORTS -DHAVE_CONFIG_H
-march=x86-64
-mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT
-D_REENTRANT -include
tqt.h -fPIC -I/build/src/build/amarok/src/engine/xine
-I/build/src/build
-I/build/src/build/amarok/src/amarokcore
-I/build/src/amarok/amarok/src
-I/build/src/amarok/amarok/src/amarokcore
-I/opt/trinity/include
-I/opt/tqt3/include -I/opt/trinity/include/tqt
-o
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o -c
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp: In static member
function 'static void
XineEngine::XineEventListener(void*, const xine_event_t*)':
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp:940:85: warning:
'xine_mrl_reference_data_t' is deprecated (declared at
/usr/include/xine.h:1985)
[-Wdeprecated-declarations]
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp: In member function
'virtual bool XineEngine::getAudioCDContents(const
TQString&, KURL::List&)':
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp:1151:58: error: invalid
conversion from 'const char* const*' to 'char**'
[-fpermissive]
make[2]: ***
[amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o]
Error 1 make[2]: Leaving directory `/build/src/build' make[1]: ***
[amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/all] Error 2
make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
I'm not sure what to do with this one.
Is this an amarok error or xine?
turned xine off and got:
[ 74%] Building CXX object amarok/src/mediadevice/mtp/CMakeFiles/libamarok_mtp-mediadevice-module.dir/mtpmediadevice.cpp.o cd /build/src/build/amarok/src/mediadevice/mtp && /usr/bin/c++ -Dlibamarok_mtp_mediadevice_module_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/amarok/src/mediadevice/mtp -I/build/src/build -I/build/src/amarok/amarok/src -I/opt/trinity/include -I/opt/tqt3/include -I/opt/trinity/include/tqt -o CMakeFiles/libamarok_mtp-mediadevice-module.dir/mtpmediadevice.cpp.o -c /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'uint32_t MtpMediaDevice::getDefaultParentId()': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:384:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'LIBMTP_album_t* MtpMediaDevice::getOrCreateAlbum(TQPtrList<MediaItem>*)': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:512:128: error: 'realloc' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:528:85: error: 'malloc' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'void MtpMediaDevice::playlistFromItem(MtpMediaItem*)': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:895:81: error: 'malloc' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'virtual bool MtpMediaDevice::openDevice(bool)': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:1146:21: error: 'free' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'virtual void MtpMediaDevice::customClicked()': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:1254:21: error: 'free' was not declared in this scope make[2]: *** [amarok/src/mediadevice/mtp/CMakeFiles/libamarok_mtp-mediadevice-module.dir/mtpmediadevice.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [amarok/src/mediadevice/mtp/CMakeFiles/libamarok_mtp-mediadevice-module.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
then turned mtp off:
[ 78%] Built target libamarok_daap-mediadevice-module make -f amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/build.make amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/depend make[2]: Entering directory `/build/src/build' cd /build/src/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/src/amarok /build/src/amarok/amarok/src/mediadevice/daap/mongrel/http11 /build/src/build /build/src/build/amarok/src/mediadevice/daap/mongrel/http11 /build/src/build/amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/DependInfo.cmake --color= Scanning dependencies of target http11-shared make[2]: Leaving directory `/build/src/build' make -f amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/build.make amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/build make[2]: Entering directory `/build/src/build' /usr/bin/cmake -E cmake_progress_report /build/src/build/CMakeFiles [ 78%] Building C object amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/http11.c.o cd /build/src/build/amarok/src/mediadevice/daap/mongrel/http11 && /usr/bin/gcc -Dhttp11_shared_EXPORTS -DHAVE_CONFIG_H -Dinline=__inline__ -Dasm=__asm__ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/ruby/1.9.1/x86_64-linux -o CMakeFiles/http11-shared.dir/http11.c.o -c /build/src/amarok/amarok/src/mediadevice/daap/mongrel/http11/http11.c /build/src/amarok/amarok/src/mediadevice/daap/mongrel/http11/http11.c:5:18: fatal error: ruby.h: No such file or directory compilation terminated. make[2]: *** [amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/http11.c.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
all in all it looks like amarok needs help! This build was done with the following :
msg "Starting cmake..." cmake ${srcdir}/${pkgname#*-} \ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DWITH_LIBVISUAL=ON \ -DWITH_KONQSIDEBAR=OFF \ -DWITH_XINE=OFF \ -DWITH_YAUAP=ON \ -DWITH_IPOD=ON \ -DWITH_IFP=ON \ -DWITH_NJB=ON \ -DWITH_MTP=OFF \ -DWITH_RIOKARMA=OFF \ -DWITH_DAAP=ON \ -DBUILD_ALL=ON
I'm not having any of these build problems. :) With that said, I'm running a full build set tonight while I sleep so I can test several patches. I'm going to bed and will let you know how that goes tomorrow.
Darrell
On Wed, 14 Mar 2012 00:24:36 -0500 "David C. Rankin" drankinatty@suddenlinkmail.com wrote:
On 03/13/2012 11:57 PM, David C. Rankin wrote:
Tim, Darrell,
Looks like there is a conversion error in the amarok code:
[ 70%] Building CXX object amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o cd /build/src/build/amarok/src/engine/xine && /usr/bin/c++ -Dlibamarok_xine_engine_module_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/amarok/src/engine/xine -I/build/src/build -I/build/src/build/amarok/src/amarokcore -I/build/src/amarok/amarok/src -I/build/src/amarok/amarok/src/amarokcore -I/opt/trinity/include -I/opt/tqt3/include -I/opt/trinity/include/tqt -o CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o -c /build/src/build/amarok/src/engine/xine/xinecfg.cpp /usr/bin/cmake -E cmake_progress_report /build/src/build/CMakeFiles [ 70%] Building CXX object amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o cd /build/src/build/amarok/src/engine/xine && /usr/bin/c++ -Dlibamarok_xine_engine_module_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/amarok/src/engine/xine -I/build/src/build -I/build/src/build/amarok/src/amarokcore -I/build/src/amarok/amarok/src -I/build/src/amarok/amarok/src/amarokcore -I/opt/trinity/include -I/opt/tqt3/include -I/opt/trinity/include/tqt -o CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o -c /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp: In static member function 'static void XineEngine::XineEventListener(void*, const xine_event_t*)': /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp:940:85: warning: 'xine_mrl_reference_data_t' is deprecated (declared at /usr/include/xine.h:1985) [-Wdeprecated-declarations] /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp: In member function 'virtual bool XineEngine::getAudioCDContents(const TQString&, KURL::List&)': /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp:1151:58: error: invalid conversion from 'const char* const*' to 'char**' [-fpermissive] make[2]: *** [amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
I'm not sure what to do with this one. Is this an amarok error or xine?
turned xine off and got:
[ 74%] Building CXX object amarok/src/mediadevice/mtp/CMakeFiles/libamarok_mtp-mediadevice-module.dir/mtpmediadevice.cpp.o cd /build/src/build/amarok/src/mediadevice/mtp && /usr/bin/c++ -Dlibamarok_mtp_mediadevice_module_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/amarok/src/mediadevice/mtp -I/build/src/build -I/build/src/amarok/amarok/src -I/opt/trinity/include -I/opt/tqt3/include -I/opt/trinity/include/tqt -o CMakeFiles/libamarok_mtp-mediadevice-module.dir/mtpmediadevice.cpp.o -c /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'uint32_t MtpMediaDevice::getDefaultParentId()': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:384:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'LIBMTP_album_t* MtpMediaDevice::getOrCreateAlbum(TQPtrList<MediaItem>*)': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:512:128: error: 'realloc' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:528:85: error: 'malloc' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'void MtpMediaDevice::playlistFromItem(MtpMediaItem*)': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:895:81: error: 'malloc' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'virtual bool MtpMediaDevice::openDevice(bool)': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:1146:21: error: 'free' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'virtual void MtpMediaDevice::customClicked()': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:1254:21: error: 'free' was not declared in this scope make[2]: *** [amarok/src/mediadevice/mtp/CMakeFiles/libamarok_mtp-mediadevice-module.dir/mtpmediadevice.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [amarok/src/mediadevice/mtp/CMakeFiles/libamarok_mtp-mediadevice-module.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
then turned mtp off:
[ 78%] Built target libamarok_daap-mediadevice-module make -f amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/build.make amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/depend make[2]: Entering directory `/build/src/build' cd /build/src/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/src/amarok /build/src/amarok/amarok/src/mediadevice/daap/mongrel/http11 /build/src/build /build/src/build/amarok/src/mediadevice/daap/mongrel/http11 /build/src/build/amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/DependInfo.cmake --color= Scanning dependencies of target http11-shared make[2]: Leaving directory `/build/src/build' make -f amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/build.make amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/build make[2]: Entering directory `/build/src/build' /usr/bin/cmake -E cmake_progress_report /build/src/build/CMakeFiles [ 78%] Building C object amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/http11.c.o cd /build/src/build/amarok/src/mediadevice/daap/mongrel/http11 && /usr/bin/gcc -Dhttp11_shared_EXPORTS -DHAVE_CONFIG_H -Dinline=__inline__ -Dasm=__asm__ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/ruby/1.9.1/x86_64-linux -o CMakeFiles/http11-shared.dir/http11.c.o -c /build/src/amarok/amarok/src/mediadevice/daap/mongrel/http11/http11.c /build/src/amarok/amarok/src/mediadevice/daap/mongrel/http11/http11.c:5:18: fatal error: ruby.h: No such file or directory compilation terminated. make[2]: *** [amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/http11.c.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
all in all it looks like amarok needs help! This build was done with the following :
msg "Starting cmake..." cmake ${srcdir}/${pkgname#*-} \ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DWITH_LIBVISUAL=ON \ -DWITH_KONQSIDEBAR=OFF \ -DWITH_XINE=OFF \ -DWITH_YAUAP=ON \ -DWITH_IPOD=ON \ -DWITH_IFP=ON \ -DWITH_NJB=ON \ -DWITH_MTP=OFF \ -DWITH_RIOKARMA=OFF \ -DWITH_DAAP=ON \ -DBUILD_ALL=ON
First error: in C++ you have to do an explicit cast to remove a const qualifier. Second error: a <cstdlib> include is missing.
On 03/14/2012 07:56 AM, /dev/ammo42 wrote:
First error: in C++ you have to do an explicit cast to remove a const qualifier. Second error: a <cstdlib> include is missing.
Thanks,
How/where so I fix the improper type cast, and which header would be the proper place to include cstdlib with a patch? IIRC I used to build trinity-amarok without issue from svn. It looks like these errors are probably due to gcc changes in the last year.
I'll have more time to look at this later today. If you have any thoughts, feel free to let me know.
Also, the daap cmake files need updating. they call a deprecated ruby config function:
-e:1: Use RbConfig instead of obsolete and deprecated Config. -e:1: Use RbConfig instead of obsolete and deprecated Config. -- Found RUBY: /usr/bin/ruby -- RUBY_INCLUDE_DIR: /usr/lib/ruby/1.9.1/x86_64-linux -- RUBY_LDFLAGS: -lruby
This looks to be leaving the RUBY_INCLUDE_DIR pointing to the ruby libs???
Looks like there is a conversion error
in the amarok code:
[ 70%] Building CXX object
amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o
cd /build/src/build/amarok/src/engine/xine &&
/usr/bin/c++
-Dlibamarok_xine_engine_module_EXPORTS -DHAVE_CONFIG_H
-march=x86-64
-mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT
-D_REENTRANT -include
tqt.h -fPIC -I/build/src/build/amarok/src/engine/xine
-I/build/src/build
-I/build/src/build/amarok/src/amarokcore
-I/build/src/amarok/amarok/src
-I/build/src/amarok/amarok/src/amarokcore
-I/opt/trinity/include
-I/opt/tqt3/include -I/opt/trinity/include/tqt
-o
CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o -c
/build/src/build/amarok/src/engine/xine/xinecfg.cpp /usr/bin/cmake -E cmake_progress_report
/build/src/build/CMakeFiles
[ 70%] Building CXX object
amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o
cd /build/src/build/amarok/src/engine/xine &&
/usr/bin/c++
-Dlibamarok_xine_engine_module_EXPORTS -DHAVE_CONFIG_H
-march=x86-64
-mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT
-D_REENTRANT -include
tqt.h -fPIC -I/build/src/build/amarok/src/engine/xine
-I/build/src/build
-I/build/src/build/amarok/src/amarokcore
-I/build/src/amarok/amarok/src
-I/build/src/amarok/amarok/src/amarokcore
-I/opt/trinity/include
-I/opt/tqt3/include -I/opt/trinity/include/tqt
-o
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o -c
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp: In static member
function 'static void
XineEngine::XineEventListener(void*, const xine_event_t*)':
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp:940:85: warning:
'xine_mrl_reference_data_t' is deprecated (declared at
/usr/include/xine.h:1985)
[-Wdeprecated-declarations]
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp: In member function
'virtual bool XineEngine::getAudioCDContents(const
TQString&, KURL::List&)':
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp:1151:58: error: invalid
conversion from 'const char* const*' to 'char**'
[-fpermissive]
make[2]: ***
[amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o]
Error 1 make[2]: Leaving directory `/build/src/build' make[1]: ***
[amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/all] Error 2
make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
I'm not sure what to do with this one.
Is this an amarok error or xine?
turned xine off and got:
[ 74%] Building CXX object amarok/src/mediadevice/mtp/CMakeFiles/libamarok_mtp-mediadevice-module.dir/mtpmediadevice.cpp.o cd /build/src/build/amarok/src/mediadevice/mtp && /usr/bin/c++ -Dlibamarok_mtp_mediadevice_module_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/amarok/src/mediadevice/mtp -I/build/src/build -I/build/src/amarok/amarok/src -I/opt/trinity/include -I/opt/tqt3/include -I/opt/trinity/include/tqt -o CMakeFiles/libamarok_mtp-mediadevice-module.dir/mtpmediadevice.cpp.o -c /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'uint32_t MtpMediaDevice::getDefaultParentId()': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:384:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'LIBMTP_album_t* MtpMediaDevice::getOrCreateAlbum(TQPtrList<MediaItem>*)': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:512:128: error: 'realloc' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:528:85: error: 'malloc' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'void MtpMediaDevice::playlistFromItem(MtpMediaItem*)': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:895:81: error: 'malloc' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'virtual bool MtpMediaDevice::openDevice(bool)': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:1146:21: error: 'free' was not declared in this scope /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp: In member function 'virtual void MtpMediaDevice::customClicked()': /build/src/amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp:1254:21: error: 'free' was not declared in this scope make[2]: *** [amarok/src/mediadevice/mtp/CMakeFiles/libamarok_mtp-mediadevice-module.dir/mtpmediadevice.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [amarok/src/mediadevice/mtp/CMakeFiles/libamarok_mtp-mediadevice-module.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
then turned mtp off:
[ 78%] Built target libamarok_daap-mediadevice-module make -f amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/build.make amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/depend make[2]: Entering directory `/build/src/build' cd /build/src/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/src/amarok /build/src/amarok/amarok/src/mediadevice/daap/mongrel/http11 /build/src/build /build/src/build/amarok/src/mediadevice/daap/mongrel/http11 /build/src/build/amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/DependInfo.cmake --color= Scanning dependencies of target http11-shared make[2]: Leaving directory `/build/src/build' make -f amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/build.make amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/build make[2]: Entering directory `/build/src/build' /usr/bin/cmake -E cmake_progress_report /build/src/build/CMakeFiles [ 78%] Building C object amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/http11.c.o cd /build/src/build/amarok/src/mediadevice/daap/mongrel/http11 && /usr/bin/gcc -Dhttp11_shared_EXPORTS -DHAVE_CONFIG_H -Dinline=__inline__ -Dasm=__asm__ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/ruby/1.9.1/x86_64-linux -o CMakeFiles/http11-shared.dir/http11.c.o -c /build/src/amarok/amarok/src/mediadevice/daap/mongrel/http11/http11.c /build/src/amarok/amarok/src/mediadevice/daap/mongrel/http11/http11.c:5:18: fatal error: ruby.h: No such file or directory compilation terminated. make[2]: *** [amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/http11.c.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [amarok/src/mediadevice/daap/mongrel/http11/CMakeFiles/http11-shared.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
What version of xine? Check bug report 845.
Always check the bug reports.... :)
Darrell
On Tue, 13 Mar 2012 23:57:56 -0500 "David C. Rankin" drankinatty@suddenlinkmail.com wrote:
Tim, Darrell,
Looks like there is a conversion error in the amarok code:
[...]
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp: In member function 'virtual bool XineEngine::getAudioCDContents(const TQString&, KURL::List&)': /build/src/amarok/amarok/src/engine/xine/xine-engine.cpp:1151:58: error: invalid conversion from 'const char* const*' to 'char**' [-fpermissive]
[...]
I'm not sure what to do with this one. Is this an amarok error or xine?
This looks similar to a problem we (the Gentoo group) had with xine support in kaffeine. If it's the same problem, it originates with xine—probably a change to their API between xine-lib 1.1.20 and 1.2.0, as compiling kaffeine against older versions worked. The code in both applications may need to be updated to compensate.