Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

amarok-1.4.6-r1 fails to compile

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
andyknownasabu
Apprentice
Apprentice
User avatar
Posts: 281
Joined: Thu Feb 06, 2003 3:21 pm
Location: Zurich, Switzerland

amarok-1.4.6-r1 fails to compile

  • Quote

Post by andyknownasabu » Sat Jul 07, 2007 9:11 am

Hi all,

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 2
paludis --info:

Code: 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
Please, also have a look at:
Global Marshall Plan Initiative
http://www.globalmarshallplan.org/
Top
didymos
Advocate
Advocate
User avatar
Posts: 4798
Joined: Mon Oct 10, 2005 2:09 am
Location: California

  • Quote

Post by didymos » Sat Jul 07, 2007 10:00 am

Looks like tunepimp is broken. I'd emerge it again, or just do a revdep-rebuild. See this bug:
[bug=184244]media-sound/amarok-1.4.6-r1 fails to compile w/ <media-libs/tunepimp-0.5.3[/bug]
Thomas S. Howard
Top
andyknownasabu
Apprentice
Apprentice
User avatar
Posts: 281
Joined: Thu Feb 06, 2003 3:21 pm
Location: Zurich, Switzerland

  • Quote

Post by andyknownasabu » Sat Jul 07, 2007 10:09 am

Thanks for your reply!
Sorry for not having seen the mentioned bug despite the fact that I actually checked the bug database before posting... :(
Please, also have a look at:
Global Marshall Plan Initiative
http://www.globalmarshallplan.org/
Top
didymos
Advocate
Advocate
User avatar
Posts: 4798
Joined: Mon Oct 10, 2005 2:09 am
Location: California

  • Quote

Post by didymos » Sat Jul 07, 2007 10:19 am

All the useful bugs get hidden by default, because a normal search only shows open bugs. You need to do an advanced search, then have it look through all the bug types. If they want people to use bugzilla, they should really change that. It'd certainly cut down on the number of duplicates filed.
Thomas S. Howard
Top
a_l_a_n
n00b
n00b
Posts: 49
Joined: Sat Dec 16, 2006 5:35 pm

  • Quote

Post by a_l_a_n » Sat Jul 07, 2007 11:30 am

Oh, I just posted a message about this ... see "Problem upgrading to amarok-1.4.6-r1 - SOLVED".
Top
msubzwari
n00b
n00b
User avatar
Posts: 9
Joined: Tue Sep 14, 2004 11:16 am
Location: Karachi, Pakistan

  • Quote

Post by msubzwari » Thu Aug 16, 2007 4:58 pm

Amarok compiles fine after re-emerging tunepimp.
Top
Kulfaangaren!
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 11, 2003 5:53 am
Location: Borås, Sweden

  • Quote

Post by Kulfaangaren! » Wed Aug 29, 2007 9:06 am

Thanks,
Found that I had the same problem after trying to upgrade...I'm going to try your solution.

// Fredrik
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic