View previous topic :: View next topic |
Author |
Message |
kEiNsTeiN Guru
Joined: 29 Apr 2005 Posts: 361 Location: Germany
|
Posted: Mon Jul 03, 2006 12:58 am Post subject: [solved] amarok-svn build error |
|
|
Hi! I'm using http://www.jordswart.org/archives/35 since a while, now suddenly it fails with the following error:
Code: | [...STUFF...]checking systems.h usability... no
checking systems.h presence... no
checking for systems.h... no
checking for mp4.h... yes
checking for MP4Read in -lmp4v2... yes
checking if amarok should be compiled... yes
configure: creating ./config.status
wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1386.
==========================
=== Amarok - PLUGINS ========================================================
==========================
=
= The following extra functionality will NOT be included:
= - NMM-engine
= - Helix-engine
= - Postgresql Support
= - iPod Support
= - iRiver iFP Support
= - Creative Nomad Jukebox Support
=
= The following extra functionality will be included:
= + xine-engine
= + libvisual Support
= + XMMS Visualization Wrapper
= + MySql Support
= + Konqueror Sidebar
= + MusicBrainz Support
= + MP4/AAC Tag Write Support
=
===============================================================================
Good - your configure finished. Start make now
cd . && /bin/sh ./config.status Makefile
config.status: creating Makefile
cd . && /bin/sh /var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/admin/missing --run autoheader
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4'
Making all in amarok
make[2]: Entering directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/amarok'
cd .. && \
/bin/sh /var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/admin/missing --run automake-1.7 --foreign amarok/Makefile
cd .. && /bin/sh ./config.status amarok/Makefile
config.status: creating amarok/Makefile
make[2]: Leaving directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/amarok'
make[2]: Entering directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/amarok'
Making all in src
make[3]: Entering directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/amarok/src'
cd ../.. && \
/bin/sh /var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/admin/missing --run automake-1.7 --gnu amarok/src/Makefile
cd ../.. && /bin/sh ./config.status amarok/src/Makefile depfiles
config.status: creating amarok/src/Makefile
config.status: executing depfiles commands
make[3]: Leaving directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/amarok/src'
make[3]: Entering directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/amarok/src'
Making all in amarokcore
make[4]: Entering directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/amarok/src/amarokcore'
cd ../../.. && \
/bin/sh /var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/admin/missing --run automake-1.7 --gnu amarok/src/amarokcore/Makefile
cd ../../.. && /bin/sh ./config.status amarok/src/amarokcore/Makefile depfiles
config.status: creating amarok/src/amarokcore/Makefile
config.status: executing depfiles commands
make[4]: Leaving directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/amarok/src/amarokcore'
make[4]: Entering directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/amarok/src/amarokcore'
/bin/sh ../../../libtool --silent --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../amarok/src -I../../../amarok/src/amarokcore -I../../../amarok/src -I../../../amarok/src/engine -I../../../amarok/src/plugin -I../../../amarok/src/statusbar -I../../../amarok/src/mediadevice -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Os -pipe -march=pentium4m -fomit-frame-pointer -fno-inline -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 amarokdcophandler.lo `test -f 'amarokdcophandler.cpp' || echo './'`amarokdcophandler.cpp
/bin/sh ../../../libtool --silent --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../amarok/src -I../../../amarok/src/amarokcore -I../../../amarok/src -I../../../amarok/src/engine -I../../../amarok/src/plugin -I../../../amarok/src/statusbar -I../../../amarok/src/mediadevice -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Os -pipe -march=pentium4m -fomit-frame-pointer -fno-inline -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 crashhandler.lo `test -f 'crashhandler.cpp' || echo './'`crashhandler.cpp
make[4]: *** No rule to make target `amarokconfig.h', needed by `all-am'. Stop.
make[4]: *** Waiting for unfinished jobs....
crashhandler.cpp:12:26: error: amarokconfig.h: No such file or directory
amarokdcophandler.cpp:22:26: error: amarokconfig.h: No such file or directory
In file included from amarokdcophandler.cpp:35:
../../../amarok/src/playlist.h:23:26: error: amarokconfig.h: No such file or directory
crashhandler.cpp: In static member function 'static void amaroK::Crash::crashHandler(int)':
crashhandler.cpp:98: error: 'AmarokConfig' has not been declared
crashhandler.cpp:178: error: 'AmarokConfig' has not been declared
amarokdcophandler.cpp:922:33: error: amarokdcophandler.moc: No such file or directory
make[4]: *** [crashhandler.lo] Error 1
../../../amarok/src/playlist.h:117: error: incomplete type 'AmarokConfig' used in nested name specifier
../../../amarok/src/playlistbrowser.h:74: error: incomplete type 'AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function 'virtual bool amaroK::DcopPlayerHandler::equalizerEnabled()':
amarokdcophandler.cpp:80: error: incomplete type 'AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function 'virtual bool amaroK::DcopPlayerHandler::osdEnabled()':
amarokdcophandler.cpp:87: error: incomplete type 'AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function 'virtual bool amaroK::DcopPlayerHandler::randomModeStatus()':
amarokdcophandler.cpp:97: error: incomplete type 'AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function 'virtual QString amaroK::DcopPlayerHandler::engine()':
amarokdcophandler.cpp:206: error: incomplete type 'AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function 'virtual QString amaroK::DcopPlayerHandler::setContextStyle(const QString&)':
amarokdcophandler.cpp:236: error: incomplete type 'AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function 'virtual void amaroK::DcopPlayerHandler::enableOSD(bool)':
amarokdcophandler.cpp:286: error: incomplete type 'AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function 'virtual void amaroK::DcopPlayerHandler::enableRandomMode(bool)':
amarokdcophandler.cpp:292: error: 'struct AmarokConfig::EnumRandomMode' has not been declared
amarokdcophandler.cpp:292: error: 'struct AmarokConfig::EnumRandomMode' has not been declared
amarokdcophandler.cpp: In member function 'virtual void amaroK::DcopPlayerHandler::enableRepeatPlaylist(bool)':
amarokdcophandler.cpp:298: error: 'struct AmarokConfig::EnumRepeat' has not been declared
amarokdcophandler.cpp:298: error: 'struct AmarokConfig::EnumRepeat' has not been declared
amarokdcophandler.cpp: In member function 'virtual void amaroK::DcopPlayerHandler::enableRepeatTrack(bool)':
amarokdcophandler.cpp:304: error: 'struct AmarokConfig::EnumRepeat' has not been declared
amarokdcophandler.cpp:304: error: 'struct AmarokConfig::EnumRepeat' has not been declared
amarokdcophandler.cpp: In member function 'virtual void amaroK::DcopPlayerHandler::setEqualizerEnabled(bool)':
amarokdcophandler.cpp:384: error: incomplete type 'AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function 'virtual QString amaroK::DcopScriptHandler::readConfig(const QString&)':
amarokdcophandler.cpp:816: error: 'KConfigSkeletonItem' was not declared in this scope
amarokdcophandler.cpp:816: error: 'configItem' was not declared in this scope
amarokdcophandler.cpp:816: error: incomplete type 'AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function 'virtual QStringList amaroK::DcopScriptHandler::readListConfig(const QString&)':
amarokdcophandler.cpp:826: error: 'KConfigSkeletonItem' was not declared in this scope
amarokdcophandler.cpp:826: error: 'configItem' was not declared in this scope
amarokdcophandler.cpp:826: error: incomplete type 'AmarokConfig' used in nested name specifier
amarokdcophandler.cpp: In member function 'virtual QString amaroK::DcopScriptHandler::readConfig(const QString&)':
amarokdcophandler.cpp:821: warning: control reaches end of non-void function
make[4]: *** [amarokdcophandler.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/amarok/src/amarokcore'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amarok-svn-1.4-r7/work/amarok-svn-1.4'
make: *** [all] Error 2
!!! ERROR: media-sound/amarok-svn-1.4-r7 failed.
Call stack:
ebuild.sh, line 1545: Called dyn_compile
ebuild.sh, line 940: Called src_compile
amarok-svn-1.4-r7.ebuild, line 97: Called kde_src_compile
kde.eclass, line 164: Called kde_src_compile 'all'
kde.eclass, line 306: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 302: Called die
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/portage' |
WTF?
Any ideas? _________________ make me a sandwich. - what? make it yourself. - sudo make me a sandwich. - okay.
Last edited by kEiNsTeiN on Wed Jul 05, 2006 4:35 pm; edited 1 time in total |
|
Back to top |
|
|
hadur n00b
Joined: 04 Nov 2004 Posts: 8
|
Posted: Mon Jul 03, 2006 3:10 am Post subject: |
|
|
I tried building it manually and it failed again. I would assume that it is just a tmeporary problem with the SVN sources (they are development-not-even-alpha sources, after all).
If you take a look at the SVN commits http://cia.navi.cx/stats/project/kde/amarok , there have been lots of activity with compile errors, error checking, and code checking. One commit affected 62 files! Often, those large commits end up breaking something unexpected.
Try again in a couple days. |
|
Back to top |
|
|
s|mon Apprentice
Joined: 04 Jul 2004 Posts: 209 Location: Bayern [de]
|
Posted: Mon Jul 03, 2006 7:52 pm Post subject: |
|
|
I'm havin the same problem. But when i try it manually it seems to build fine.
With fresh and after configure, with the configure options taken from portage log file.
Code: | make
Makefile:1018: warning: overriding commands for target `clean-bcheck'
Makefile:981: warning: ignoring old commands for target `clean-bcheck'
Makefile:1023: warning: overriding commands for target `bcheck-am'
Makefile:986: warning: ignoring old commands for target `bcheck-am'
make all-recursive
make[1]: Entering directory `/home/simon/tmp/amarok/multimedia'
Makefile:1018: warning: overriding commands for target `clean-bcheck'
Makefile:981: warning: ignoring old commands for target `clean-bcheck'
Makefile:1023: warning: overriding commands for target `bcheck-am'
Makefile:986: warning: ignoring old commands for target `bcheck-am'
Making all in amarok
make[2]: Entering directory `/home/simon/tmp/amarok/multimedia/amarok'
Making all in src
make[3]: Entering directory `/home/simon/tmp/amarok/multimedia/amarok/src'
Making all in amarokcore
make[4]: Entering directory `/home/simon/tmp/amarok/multimedia/amarok/src/amarokcore'
/usr/kde/3.5/bin/kconfig_compiler ./amarok.kcfg ./amarokconfig.kcfgc; ret=$?; \
if test "$ret" != 0; then rm -f amarokconfig.h ; exit $ret ; fi
/usr/qt/3/bin/moc ./amarokdcophandler.h -o amarokdcophandler.moc
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../amarok/src -I../../../amarok/src/amarokcore -I../../../amarok/src -I../../../amarok/src/engine -I../../../amarok/src/plugin -I../../../amarok/src/statusbar -I../../../amarok/src/mediadevice -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -g3 -fno-inline -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 amarokdcophandler.lo amarokdcophandler.cpp
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../amarok/src -I../../../amarok/src/amarokcore -I../../../amarok/src -I../../../amarok/src/engine -I../../../amarok/src/plugin -I../../../amarok/src/statusbar -I../../../amarok/src/mediadevice -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -g3 -fno-inline -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 crashhandler.lo crashhandler.cpp
...
|
And it compiles fine.
It's calling the kconfig_compile and moc there which builds the missing .h as it should. So the questions is why isn't it doing this when using the ebuild and emerge?
Any ideas? |
|
Back to top |
|
|
radfoj Guru
Joined: 31 Dec 2004 Posts: 490 Location: Tísek, Czech Republic
|
Posted: Mon Jul 03, 2006 9:07 pm Post subject: |
|
|
I had problems with amarok-svn ebuild for last 3 day as well. I wasnt allone SVN will not make. I solved it with adding export WANT_AUTOMAKE=1.9 to the ebuild (before line "make -f Makefile.cvs") |
|
Back to top |
|
|
s|mon Apprentice
Joined: 04 Jul 2004 Posts: 209 Location: Bayern [de]
|
Posted: Tue Jul 04, 2006 7:37 am Post subject: |
|
|
Thx a lot, it worked now.
i've tried setting WANT_AUTOMAKE=1.9 before, but not at this line in the script, i just substituted the original 1.6.
The before ... is important. |
|
Back to top |
|
|
radfoj Guru
Joined: 31 Dec 2004 Posts: 490 Location: Tísek, Czech Republic
|
Posted: Tue Jul 04, 2006 11:28 pm Post subject: |
|
|
I edited several things in jordswart's ebuild according to flameeyes official ebuild. Here is amarok-svn-1.4-r9.ebuild |
|
Back to top |
|
|
kEiNsTeiN Guru
Joined: 29 Apr 2005 Posts: 361 Location: Germany
|
|
Back to top |
|
|
|