the recent amarok version fails to compile:
Code: Select all
/bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../amarok/src/amarokcore -I../../amarok/src/magnatunebrowser -I../../amarok/src/amarokcore -I../../amarok/src/analyzers -I../../amarok/src/plugin -I../../amarok/src/statusbar -I../../amarok/src/mediadevice -I../../amarok/src/device -I../../amarok/src -I/usr/kde/3.5/include/arts -I/usr/include/taglib -I../../amarok/src/sqlite -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -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 -mcpu=i686 -pipe -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 mediabrowser.lo mediabrowser.cpp
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
ktrm.cpp:57: error: variable or field 'TRMNotifyCallback' declared void
ktrm.cpp:57: error: 'tunepimp_t' was not declared in this scope
ktrm.cpp:57: error: expected primary-expression before 'void'
ktrm.cpp:57: error: 'TPCallbackEnum' was not declared in this scope
ktrm.cpp:57: error: expected primary-expression before 'int'
ktrm.cpp:57: error: initializer expression list treated as compound expression
ktrm.cpp:129: error: ISO C++ forbids declaration of 'tunepimp_t' with no type
ktrm.cpp:129: error: expected ';' before '&' token
ktrm.cpp:134: error: expected `;' before 'protected'
ktrm.cpp:201: error: 'tunepimp_t' does not name a type
ktrm.cpp: In member function 'int KTRMRequestHandler::startLookup(KTRMLookup*)':
ktrm.cpp:84: error: 'm_pimp' was not declared in this scope
ktrm.cpp:84: error: 'tp_AddFile' was not declared in this scope
ktrm.cpp:90: error: 'm_pimp' was not declared in this scope
ktrm.cpp:90: error: 'tp_IdentifyAgain' was not declared in this scope
ktrm.cpp: In member function 'void KTRMRequestHandler::endLookup(KTRMLookup*)':
ktrm.cpp:98: error: 'm_pimp' was not declared in this scope
ktrm.cpp:98: error: 'tp_GetTrack' was not declared in this scope
ktrm.cpp:98: error: 'tp_ReleaseTrack' was not declared in this scope
ktrm.cpp:99: error: 'tp_Remove' was not declared in this scope
ktrm.cpp: In constructor 'KTRMRequestHandler::KTRMRequestHandler()':
ktrm.cpp:137: error: 'm_pimp' was not declared in this scope
ktrm.cpp:137: error: 'tp_New' was not declared in this scope
ktrm.cpp:140: error: 'tp_SetTRMCollisionThreshold' was not declared in this scope
ktrm.cpp:141: error: 'tp_SetAutoFileLookup' was not declared in this scope
ktrm.cpp:143: error: 'tp_SetAutoSaveThreshold' was not declared in this scope
ktrm.cpp:144: error: 'tp_SetMoveFiles' was not declared in this scope
ktrm.cpp:145: error: 'tp_SetRenameFiles' was not declared in this scope
ktrm.cpp:149: error: 'tp_SetUseUTF8' was not declared in this scope
ktrm.cpp:151: error: 'tp_SetNotifyCallback' was not declared in this scope
ktrm.cpp:163: error: 'tp_GetServer' was not declared in this scope
ktrm.cpp:187: error: 'tp_SetProxy' was not declared in this scope
ktrm.cpp: In destructor 'KTRMRequestHandler::~KTRMRequestHandler()':
ktrm.cpp:197: error: 'm_pimp' was not declared in this scope
ktrm.cpp:197: error: 'tp_Delete' was not declared in this scope
ktrm.cpp: At global scope:
ktrm.cpp:319: error: variable or field 'TRMNotifyCallback' declared void
ktrm.cpp:319: error: redefinition of 'int TRMNotifyCallback'
ktrm.cpp:57: error: 'int TRMNotifyCallback' previously defined here
ktrm.cpp:319: error: 'tunepimp_t' was not declared in this scope
ktrm.cpp:319: error: expected primary-expression before 'void'
ktrm.cpp:319: error: 'TPCallbackEnum' was not declared in this scope
ktrm.cpp:319: error: expected primary-expression before 'int'
ktrm.cpp: In member function 'virtual void KTRMLookup::recognized()':
ktrm.cpp:583: error: 'metadata_t' was not declared in this scope
ktrm.cpp:583: error: 'metaData' was not declared in this scope
ktrm.cpp:583: error: 'md_New' was not declared in this scope
ktrm.cpp:584: error: 'track_t' was not declared in this scope
ktrm.cpp:584: error: expected `;' before 'track'
ktrm.cpp:585: error: 'track' was not declared in this scope
ktrm.cpp:585: error: 'tr_Lock' was not declared in this scope
ktrm.cpp:586: error: 'tr_GetServerMetadata' was not declared in this scope
ktrm.cpp:598: error: 'md_Delete' was not declared in this scope
ktrm.cpp:599: error: 'tr_Unlock' was not declared in this scope
ktrm.cpp: In member function 'virtual void KTRMLookup::collision()':
ktrm.cpp:641: error: 'track_t' was not declared in this scope
ktrm.cpp:641: error: expected `;' before 'track'
ktrm.cpp:643: error: 'track' was not declared in this scope
ktrm.cpp:648: error: 'track' was not declared in this scope
ktrm.cpp:648: error: 'tr_Lock' was not declared in this scope
ktrm.cpp:649: error: 'tr_GetNumResults' was not declared in this scope
ktrm.cpp:653: error: 'metadata_t' was not declared in this scope
ktrm.cpp:653: error: 'mdata' was not declared in this scope
ktrm.cpp:653: error: 'md_New' was not declared in this scope
ktrm.cpp:657: error: 'md_Clear' was not declared in this scope
ktrm.cpp:660: error: 'TPResultType' was not declared in this scope
ktrm.cpp:660: error: expected `;' before 'type'
ktrm.cpp:661: error: 'result_t' was not declared in this scope
ktrm.cpp:661: error: expected type-specifier before 'result_t'
ktrm.cpp:661: error: expected `;' before 'result_t'
ktrm.cpp:662: error: 'type' was not declared in this scope
ktrm.cpp:662: error: 'tr_GetResults' was not declared in this scope
ktrm.cpp:665: error: 'eNone' was not declared in this scope
ktrm.cpp:668: error: 'eArtistList' was not declared in this scope
ktrm.cpp:671: error: 'eAlbumList' was not declared in this scope
ktrm.cpp:674: error: 'eTrackList' was not declared in this scope
ktrm.cpp:677: error: 'albumtrackresult_t' was not declared in this scope
ktrm.cpp:677: error: 'tracks' was not declared in this scope
ktrm.cpp:677: error: expected type-specifier before 'albumtrackresult_t'
ktrm.cpp:677: error: expected `>' before 'albumtrackresult_t'
ktrm.cpp:677: error: expected `(' before 'albumtrackresult_t'
ktrm.cpp:677: error: expected primary-expression before '>' token
ktrm.cpp:677: error: expected `)' before ';' token
ktrm.cpp:703: error: 'eMatchedTrack' was not declared in this scope
ktrm.cpp:708: error: type '<unresolved overloaded function type>' argument given to 'delete', expected pointer
ktrm.cpp:711: error: 'tr_Unlock' was not declared in this scope
ktrm.cpp:712: error: 'class KTRMRequestHandler' has no member named 'tunePimp'
ktrm.cpp:712: error: 'tp_ReleaseTrack' was not declared in this scope
ktrm.cpp: In member function 'virtual void KTRMLookup::error()':
ktrm.cpp:811: error: 'track_t' was not declared in this scope
ktrm.cpp:811: error: expected `;' before 'track'
ktrm.cpp:813: error: 'track' was not declared in this scope
ktrm.cpp:813: error: 'tr_GetError' was not declared in this scope
make[4]: *** [ktrm.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
make[4]: Leaving directory `/var/tmp/paludis/media-sound/amarok-1.4.6-r1/work/amarok-1.4.6/amarok/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/paludis/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/paludis/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/paludis/media-sound/amarok-1.4.6-r1/work/amarok-1.4.6'
make: *** [all] Error 2Code: Select all
paludis 0.24.2
Built by paludisbuild@phoenix on 2007-05-10T00:05:50+0200
CXX: i686-pc-linux-gnu-g++ 4.1.2 (Gentoo 4.1.2)
CXXFLAGS: -O2 -mcpu=i686 -pipe
LDFLAGS:
DATADIR: /usr/share
LIBDIR: /usr/lib
LIBEXECDIR: /usr/libexec
SYSCONFDIR: /etc
stdlib: GNU libstdc++ 20070214
libebt: 1.3.0
libwrapiter: 1.0.0
sandbox: enabled
Repository virtuals:
Configuration information:
format: virtuals
Repository installed_virtuals:
Configuration information:
format: installed_virtuals
Repository gentoo:
Configuration information:
buildroot: /var/tmp/paludis
cache: /usr/portage/metadata/cache
distdir: /usr/portage/distfiles
eclassdirs: /usr/portage/eclass
format: ebuild
location: /usr/portage
names_cache: /var/empty
newsdir: /usr/portage/metadata/news
pkgdir: /usr/portage/packages
profiles: /usr/portage/profiles/default-linux/x86/2006.0
securitydir: /usr/portage/metadata/glsa
setsdir: /usr/portage/sets
sync: rsync://rsync.europe.gentoo.org/gentoo-portage
sync_options:
write_cache: /var/empty
Package information:
app-admin/eselect-compiler: (none)
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.3.6-r2, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r7
dev-util/confcache: (none)
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.21
Variable information:
ACCEPT_KEYWORDS:
AUTOCLEAN:
CBUILD: i686-pc-linux-gnu
CFLAGS: -march=athlon-xp -O3 -pipe -fomit-frame-pointer
CHOST: i686-pc-linux-gnu
CONFIG_PROTECT:
CONFIG_PROTECT_MASK:
CTARGET:
CXXFLAGS: -O2 -mcpu=i686 -pipe
DISTDIR: /usr/portage/distfiles
FEATURES:
GENTOO_MIRRORS:
INSTALL_MASK:
LANG:
LC_ALL:
LDFLAGS:
LINGUAS:
MAKEOPTS: -j3
PKGDIR:
PORTAGE_COMPRESS:
PORTAGE_COMPRESS_FLAGS:
PORTAGE_RSYNC_EXTRA_OPTS:
PORTAGE_RSYNC_OPTS:
PORTAGE_TMPDIR: /var/tmp/paludis
PORTDIR: /usr/portage
PORTDIR_OVERLAY:
SYNC:
USE:
Repository installed:
Configuration information:
buildroot: /var/tmp/paludis
format: vdb
location: /var/db/pkg
names_cache: /var/empty
provides_cache: /var/empty
root: /
world: /var/db/pkg/world
Repository own:
Configuration information:
buildroot: /var/tmp/paludis
cache: /var/empty
distdir: /usr/portage/distfiles
eclassdirs: /usr/portage/eclass
format: ebuild
location: /usr/portage/local/own
names_cache: /var/empty
newsdir: /usr/portage/local/own/metadata/news
pkgdir: /usr/portage/local/own/packages
profiles: /usr/portage/profiles/default-linux/x86/2006.0
securitydir: /usr/portage/local/own/metadata/glsa
setsdir: /usr/portage/local/own/sets
sync:
sync_options:
write_cache: /var/empty


