Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 119158

Summary: amarok-1.3.8 fails to compile with USE="postgres"
Product: Gentoo Linux Reporter: Guy <notellin>
Component: [OLD] KDEAssignee: Diego Elio Pettenò (RETIRED) <flameeyes>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: kde, sound
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Guy 2006-01-15 20:41:15 UTC
/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 -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=k8 -O2 -pipe -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    -o amarokapp -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 actionclasses.o app.o browserbar.o clicklineedit.o collectionbrowser.o collectiondb.o collectionreader.o configdialog.o contextbrowser.o coverfetcher.o covermanager.o pixmapviewer.o cuefile.o directorylist.o effectwidget.o enginecontroller.o engineobserver.o equalizergraph.o equalizerpresetmanager.o equalizersetup.o fht.o filebrowser.o k3bexporter.o kbookmarkhandler.o ktrm.o mediabrowser.o metabundle.o multitabbar.o osd.o party.o playerwindow.o playlist.o playlistbrowser.o playlistbrowseritem.o playlistitem.o playlistloader.o playlistwindow.o pluginmanager.o podcastsettings.o prettypopupmenu.o queuemanager.o refreshimages.o scriptmanager.o scrobbler.o sliderwidget.o smartplaylisteditor.o socketserver.o streamprovider.o systray.o tagdialog.o threadweaver.o tracktooltip.o trackpickerdialog.o Options1.o Options2.o Options4.o Options5.o Options7.o Options8.o dbsetup.o firstrunwizard.o partydialogbase.o podcastsettingsbase.o scriptmanagerbase.o tagdialogbase.o trackpickerdialogbase.o ../../amarok/src/amarokcore/libamarokcore.la ../../amarok/src/analyzers/libanalyzers.la ../../amarok/src/engine/libengine.la ../../amarok/src/plugin/libplugin.la ../../amarok/src/ipod/libipod.la ../../amarok/src/ipod/itunesdb/libitunesdb.la ../../amarok/src/statusbar/libstatusbar.la -lkutils -lkio -lkdeui -lkdecore -lkhtml -lknewstuff -L/usr/lib64 -ltag -lGL  ../../amarok/src/sqlite/libsqlite.la  -L/usr/lib/mysql -lmysqlclient -L/usr/lib64 -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto
collectiondb.o: In function `PostgresqlConnection::setPostgresqlError()':
collectiondb.cpp:(.text+0x146a): undefined reference to `PQerrorMessage'
collectiondb.o: In function `PostgresqlConnection::PostgresqlConnection(PostgresqlConfig*)':
collectiondb.cpp:(.text+0x15aa): undefined reference to `PQconnectdb'
collectiondb.cpp:(.text+0x15c4): undefined reference to `PQerrorMessage'
collectiondb.cpp:(.text+0x1633): undefined reference to `PQstatus'
collectiondb.cpp:(.text+0x1685): undefined reference to `PQerrorMessage'
collectiondb.cpp:(.text+0x16eb): undefined reference to `PQfinish'
collectiondb.o: In function `PostgresqlConnection::PostgresqlConnection(PostgresqlConfig*)':
collectiondb.cpp:(.text+0x17ca): undefined reference to `PQconnectdb'
collectiondb.cpp:(.text+0x17e4): undefined reference to `PQerrorMessage'
collectiondb.cpp:(.text+0x1853): undefined reference to `PQstatus'
collectiondb.cpp:(.text+0x18a5): undefined reference to `PQerrorMessage'
collectiondb.cpp:(.text+0x190b): undefined reference to `PQfinish'
collectiondb.o: In function `PostgresqlConnection::~PostgresqlConnection()':
collectiondb.cpp:(.text+0x1958): undefined reference to `PQfinish'
collectiondb.o: In function `PostgresqlConnection::~PostgresqlConnection()':
collectiondb.cpp:(.text+0x1998): undefined reference to `PQfinish'
collectiondb.o: In function `PostgresqlConnection::~PostgresqlConnection()':
collectiondb.cpp:(.text+0x19e1): undefined reference to `PQfinish'
collectiondb.o: In function `PostgresqlConnection::insert(QString const&, QString const&)':
collectiondb.cpp:(.text+0x1a5b): undefined reference to `PQexec'
collectiondb.cpp:(.text+0x1a77): undefined reference to `PQresultStatus'
collectiondb.cpp:(.text+0x1a90): undefined reference to `PQerrorMessage'
collectiondb.cpp:(.text+0x1af5): undefined reference to `PQclear'
collectiondb.cpp:(.text+0x1b36): undefined reference to `PQclear'
collectiondb.cpp:(.text+0x1bf2): undefined reference to `PQexec'
collectiondb.cpp:(.text+0x1c0e): undefined reference to `PQresultStatus'
collectiondb.cpp:(.text+0x1c25): undefined reference to `PQerrorMessage'
collectiondb.cpp:(.text+0x1c8a): undefined reference to `PQclear'
collectiondb.cpp:(.text+0x1caa): undefined reference to `PQerrorMessage'
collectiondb.cpp:(.text+0x1d14): undefined reference to `PQnfields'
collectiondb.cpp:(.text+0x1d24): undefined reference to `PQntuples'
collectiondb.cpp:(.text+0x1d38): undefined reference to `PQgetvalue'
collectiondb.cpp:(.text+0x1d69): undefined reference to `PQclear'
collectiondb.cpp:(.text+0x1d8e): undefined reference to `PQerrorMessage'
collectiondb.o: In function `PostgresqlConnection::query(QString const&)':
collectiondb.cpp:(.text+0x137e4): undefined reference to `PQexec'
collectiondb.cpp:(.text+0x13800): undefined reference to `PQresultStatus'
collectiondb.cpp:(.text+0x13818): undefined reference to `PQnfields'
collectiondb.cpp:(.text+0x13823): undefined reference to `PQntuples'
collectiondb.cpp:(.text+0x138b9): undefined reference to `PQfname'
collectiondb.cpp:(.text+0x13904): undefined reference to `PQfname'
collectiondb.cpp:(.text+0x1393b): undefined reference to `PQerrorMessage'
collectiondb.cpp:(.text+0x139a0): undefined reference to `PQclear'
collectiondb.cpp:(.text+0x13a2d): undefined reference to `PQclear'
collectiondb.cpp:(.text+0x13a6a): undefined reference to `PQgetvalue'
collectiondb.cpp:(.text+0x13aa2): undefined reference to `PQerrorMessage'
collect2: ld returned 1 exit status
make[4]: *** [amarokapp] Error 1
make[4]: Leaving directory `/var/tmp/portage/amarok-1.3.8/work/amarok-1.3.8/amarok/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amarok-1.3.8/work/amarok-1.3.8/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amarok-1.3.8/work/amarok-1.3.8/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amarok-1.3.8/work/amarok-1.3.8'
make: *** [all] Error 2

!!! ERROR: media-sound/amarok-1.3.8 failed.
!!! Function kde_src_compile, Line 175, Exitcode 2

.oOo.

Portage 2.1_pre3-r1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14.6 x86_64)
=================================================================
System uname: 2.6.14.6 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.12.0_pre14
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib accessibility acl acpi aim alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bmp bonobo browserplugin bzip2 cdparanoia cdr chroot crypt cups curl curlwrappers directfb divx4linux dv dvd dvdr dvdread eds emboss encode esd ethereal examples exif expat fam fbcon ffmpeg flac flash foomaticdb fortran gcj gd gd-external gdbm gif gimp gimpprint glut gmp gnome gnutils gpm gstreamer gtk gtk2 gtkhtml guile hal hardenedphp icq idn imagemagick imlib ipv6 irc jabber java javascript jikes jpeg junit kde kerberos lcms ldap libcaca libedit libwww lm_sensors lzw lzw-tiff mad mhash mikmod mime ming mmap mng motif mozcalendar mozilla mozsvg mp3 mpeg mysql nas ncurses nls nptl nsplugin odbc offensive ogg oggvorbis openal opengl pam pcre pda pdflib perl php png portaudio posix postgres ppds python qt quicktime readline recode ruby samba scanner sdl shorten simplexml slang slp sndfile snmp sockets sox speex spell spl sqlite ssl svg tckltk tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd vchroot verbose vhosts videos vorbis wmf wxgtk1 xface xine xinerama xml xml2 xmlrpc xmms xpm xprint xscreensaver xsl xv xvid yahoo zeo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-10 14:21:18 UTC
Can you test with amarok 1.4_beta3-r1 ? It builds and works fine here.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-12 14:31:07 UTC
What Postgres version are you using? Did you maybe update Postgres and thought it'd be a good idea to symlink so.X to so.X+1 instead to rebuild against the new version?

Postgres works just fine with Amarok 1.3.x here.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-14 07:51:13 UTC
Please try with 1.4_beta3-r1.