Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95885 - digikam fails to compile
Summary: digikam fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-12 11:32 UTC by Nir Dremer
Modified: 2005-07-09 03:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nir Dremer 2005-06-12 11:32:36 UTC
When compiling digikam 0.7.2 i get the following error:
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -DQT_CLEAN_NAMESPACE    -o libdigikam.la -rpath /usr/kde/3.4/lib
-L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib    -R /usr/kde/3.4/lib -R
/usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib -no-undefined -Wl,--no-undefined
-Wl,--allow-shlib-undefined albummanager.lo album.lo albumitemhandler.lo
albumdb.lo albumlister.lo albumfilecopymove.lo thumbnailjob.lo dragobjects.lo
listview.lo listitem.lo thumbview.lo thumbitem.lo digikamapp.lo digikamview.lo
albumfolderview.lo albumfolderitem.lo albumiconview.lo albumiconitem.lo
albumpropsedit.lo imagedescedit.lo albumsettings.lo imageproperties.lo
imagepropertiesgeneral.lo imagepropertiesexif.lo imagepropertieshistogram.lo
cameralist.lo cameratype.lo cameradragobject.lo digikamfirstrun.lo
kipiinterface.lo tagcreatedlg.lo thumbdb.lo albumfiletip.lo digikamio.lo
busyprogressbar.lo tagspopupmenu.lo syncjob.lo albumhistory.lo firstrunUI.lo
-lkio -lgdbm -lkexif   -lkipi   ../../digikam/sqlite/libsqlite.la
../../digikam/libs/histogram/libhistogram.la
../../digikam/libs/levels/liblevels.la ../../digikam/libs/curves/libcurves.la
../../digikam/libs/filters/libfilters.la
../../digikam/libs/themeengine/libthemeengine.la
../../digikam/libs/widgets/libwidgets.la
../../digikam/utilities/cameragui/libcameragui.la
../../digikam/utilities/imageeditor/libimagecanvas.la
../../digikam/utilities/imageeditor/libimageeditor.la
../../digikam/utilities/splashscreen/libsplashscreen.la
../../digikam/utilities/setup/libsetup.la
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -laudio
collect2: ld returned 1 exit status
make[4]: *** [libdigikam.la] Error 1
make[4]: Leaving directory
`/var/tmp/portage/digikam-0.7.2/work/digikam-0.7.2/digikam/digikam'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/digikam-0.7.2/work/digikam-0.7.2/digikam/digikam'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/digikam-0.7.2/work/digikam-0.7.2/digikam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/digikam-0.7.2/work/digikam-0.7.2'
make: *** [all] Error 2


i have two machines, they are supposed to be similar. on one it compiles and on
the other it does not.

on both machines i dont have this file, on works good and the other fails to
compile.

on both machines i have arts disabled and nas not emerged.

Reproducible: Always
Steps to Reproduce:
1.emerge digikam
2.
3.

Actual Results:  
compilation error.

Expected Results:  
successful compilation.

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0,
2.6.11.4 i686)
=================================================================
System uname: 2.6.11.4 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun 12 2005, 13:52:53)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium-m -fprefetch-loop-arrays -pipe -fomit-frame-pointer"
CHOST="i686-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/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium-m -fprefetch-loop-arrays -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks prelink sandbox
sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LDFLAGS=" -Wl,-O1 -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi bash-completion bidi bitmap-fonts cdr cups curl dvd dvdr
eds emboss encode fam flac foomaticdb fortran gd gdbm gif gphoto2 gpm gstreamer
gtk gtk2 imagemagick imlib irda jpeg kde lcd libwww mad mmx mmx2 motif mp3 mpeg
ncurses nls nptl ogg oggvorbis opengl pam pdflib pic png ppds radeon readline
samba sdl slang spell sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts
type1-fonts unicode usb vorbis wxwindows xine xml xml2 xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-06-12 13:57:55 UTC
Is this a KDE installation without aRts?
Comment 2 Nir Dremer 2005-06-12 21:19:04 UTC
yes, one of my use flags is "-arts".
Comment 3 Dan Armak (RETIRED) gentoo-dev 2005-06-30 08:42:16 UTC
Please find out in which .la file (in the workdir and/or in /usr/lib) 
-laudio is included. 
Comment 4 Nir Dremer 2005-06-30 09:35:48 UTC
thanks fo the tip.

I've found that it was libkexif.la.
I tried recompiling libexif and it didnt help.
I manually exited the file and removed -laudio and it worked.
Do you know which package contains it?

anyway, from my point of view the bug can be closed.

thanks!
Comment 5 Dan Armak (RETIRED) gentoo-dev 2005-06-30 10:16:09 UTC
You want the media-libs/libkexif package, not the libexif one, unless that was 
a typo on your part. 
Also, in such cases equery belongs foo helps. 
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-07-09 03:53:29 UTC
I assume this was fixed now, please reopen if not.