Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] amarok not compiling
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
sweetbrett
n00b
n00b


Joined: 15 Nov 2006
Posts: 15

PostPosted: Wed Jul 04, 2007 7:54 pm    Post subject: [solved] amarok not compiling Reply with quote

amarok was complaining about not being able to find libcurl.so.3, so I tried running revdep-rebuild but when it gets to recompiling amarok it fails with this error:

Code:
Making all in loader
make[4]: Entering directory `/var/tmp/portage/media-sound/amarok-1.4.5-r1/work/amarok-1.4.5/amarok/src/loader'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=nocona -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o loader.o loader.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=nocona -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o splash.o splash.cpp
/bin/sh ../../../libtool --silent --mode=link --tag=CXX x86_64-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=nocona -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o amarok -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -L/usr/kde/3.5/lib64 -R /usr/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 -R /usr/kde/3.5/lib64 loader.o splash.o -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore 
loader.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[4]: *** [amarok] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.5-r1/work/amarok-1.4.5/amarok/src/loader'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.5-r1/work/amarok-1.4.5/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.5-r1/work/amarok-1.4.5/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.5-r1/work/amarok-1.4.5'
make: *** [all] Error 2

!!! ERROR: media-sound/amarok-1.4.5-r1 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  amarok-1.4.5-r1.ebuild, line 76:   Called kde_src_compile
  kde.eclass, line 170:   Called kde_src_compile 'all'
  kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 336:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-sound/amarok-1.4.5-r1/temp/build.log'.


all the other packages that showed up with the libcurl.so.3 dependency recompiled fine. How can i fix this error?


Last edited by sweetbrett on Tue Jul 10, 2007 7:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Wed Jul 04, 2007 10:05 pm    Post subject: Reply with quote

Have you tried emerging again manually since revdep-rebuild died?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
sweetbrett
n00b
n00b


Joined: 15 Nov 2006
Posts: 15

PostPosted: Thu Jul 05, 2007 4:47 am    Post subject: Reply with quote

yes, emerge errors out with the same message
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu Jul 05, 2007 5:22 am    Post subject: Reply with quote

Did binutils get updated recently?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
sweetbrett
n00b
n00b


Joined: 15 Nov 2006
Posts: 15

PostPosted: Thu Jul 05, 2007 3:36 pm    Post subject: Reply with quote

it looks like 2.17 was update 6/25/07

without being at my machine currently to check, i'd say that is what I am running.
Back to top
View user's profile Send private message
sweetbrett
n00b
n00b


Joined: 15 Nov 2006
Posts: 15

PostPosted: Thu Jul 05, 2007 11:44 pm    Post subject: Reply with quote

yes, 2.17

Code:
[ebuild   R   ] sys-devel/binutils-2.17  USE="nls -multislot (-multitarget) -test -vanilla" 0 kB

and amarok
Code:
[ebuild   R   ] media-sound/amarok-1.4.5-r1  USE="aac ipod kde musicbrainz mysql njb opengl xinerama -arts -daap -debug -ifp -mtp -noamazon -postgres (-real) -visualization" LINGUAS="-af -ar -az -bg -br -ca -cs -cy -da -de -el -en_GB -es -et -fa -fi -fr -ga -gl -he -hi -hu -is -it -ja -ka -km -ko -lt -ms -nb -nl -nn -pa -pl -pt -pt_BR -ro -ru -rw -se -sk -sl -sq -sr -sr@Latn -sv -ta -tg -th -tr -uk -uz -zh_CN -zh_TW" 0 kB
btw, this was working fine before I rebuilt my kernel and rebooted. Could this have anything to do with my kernel?
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Fri Jul 06, 2007 12:22 am    Post subject: Reply with quote

It's possible, but I have no idea how that would work. I suspected binutils because it's a link error and the file format wasn't recognized. A Google search on the error turns up all sorts of possible causes. Based on some of those, I'd try rebuilding libtool, attempt the amarok compile again, then unmask and build amarok-1.4.6 if it still fails.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
eris23
n00b
n00b


Joined: 25 Jan 2007
Posts: 12

PostPosted: Sat Jul 07, 2007 9:58 pm    Post subject: AmaroK & libcurl Reply with quote

AmaroK 1.4.6 needs libcurl.so.3, unfortunately curl currently uses libcurl.so.4, so symlink libcurl.so.3 to libcurl.so (which links to libcurl.so.4.0.0) or libcurl.so.4 (same). Or to libcurl.so.4.0.0 directly.

It seems to work.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sat Jul 07, 2007 11:25 pm    Post subject: Reply with quote

Strange. The ebuild doesn't depend on curl at all.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
sweetbrett
n00b
n00b


Joined: 15 Nov 2006
Posts: 15

PostPosted: Sun Jul 08, 2007 3:12 pm    Post subject: Reply with quote

well, i rebuilt libtool, but amarok 1.4.5 still stopped with the same "loader.o" error, so I unmasked 1.4.6 and guess what...same error:

Code:
Making all in loader
make[4]: Entering directory `/var/tmp/portage/media-sound/amarok-1.4.6-r1/work/amarok-1.4.6/amarok/src/loader'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=nocona -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o loader.o loader.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=nocona -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o splash.o splash.cpp
/bin/sh ../../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=nocona -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o amarok -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -L/usr/kde/3.5/lib64 -R /usr/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 -R /usr/kde/3.5/lib64 loader.o splash.o -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore
loader.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[4]: *** [amarok] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.6-r1/work/amarok-1.4.6/amarok/src/loader'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.6-r1/work/amarok-1.4.6/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.6-r1/work/amarok-1.4.6/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.6-r1/work/amarok-1.4.6'
make: *** [all] Error 2

!!! ERROR: media-sound/amarok-1.4.6-r1 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  amarok-1.4.6-r1.ebuild, line 87:   Called kde_src_compile
  kde.eclass, line 170:   Called kde_src_compile 'all'
  kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 336:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-sound/amarok-1.4.6-r1/temp/build.log'.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sun Jul 08, 2007 8:44 pm    Post subject: Reply with quote

Something is going on between the compiler and bintuils. If you google the format message, it comes up with a variety of different possible causes. Has anything else failed to build? Also, was the current compiler built using the current binutils?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
sweetbrett
n00b
n00b


Joined: 15 Nov 2006
Posts: 15

PostPosted: Mon Jul 09, 2007 3:28 pm    Post subject: Reply with quote

didymos wrote:
Something is going on between the compiler and bintuils. If you google the format message, it comes up with a variety of different possible causes. Has anything else failed to build? Also, was the current compiler built using the current binutils?


nothing else has failed to build. and i'm not 100% sure if my current compiler was built with the current version of binutils, but I'd guess that is wasn't. I'll try to reemerge it tonight.
Back to top
View user's profile Send private message
sweetbrett
n00b
n00b


Joined: 15 Nov 2006
Posts: 15

PostPosted: Tue Jul 10, 2007 7:55 pm    Post subject: [solved] Reply with quote

re-emerging gcc fixed the problem. Thanks for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum