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

Bug 2902

Summary: PAN needs to depend on esound
Product: Gentoo Linux Reporter: J Robert Ray <jrray>
Component: New packagesAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description J Robert Ray 2002-05-21 21:38:12 UTC
Building pan from pan-0.11.3.ebuild, the compile fails because it is trying to
link in esd, but I don't have esound installed.  I don't have esound in my USE
variable either.

i686-pc-linux-gnu-gcc  -march=i686 -O3 -pipe -Wall -Wunused   -o pan 
article-actions.o article-find.o article-filter-ui.o article-toolbar.o
article-list-toolbar-mediator.o articlelist.o auth-spa.o filter-ui.o
filter-edit-ui.o group-action.o group-ui.o grouplist.o gui.o gui-headers.o
gui-notebook.o gui-paned.o message-check-ui.o message-send.o message-window.o
nntp.o newsrc-ui.o pan.o prefs.o print.o queue.o save-ui.o server-ui.o smtp.o
sockets.o status-item-view.o task.o task-bodies.o task-body.o task-save.o
task-func-ptr.o task-grouplist.o task-group-count.o task-headers.o
task-manager.o text.o thread-watch.o util.o dialogs/libdialogs.a  
rules/librules.a   filters/libfilters.a   identities/libidentities.a  
base/libpanbase.a   ../gmime/libgmime.a      -rdynamic -L/usr/lib
-L/usr/X11R6/lib   -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk
-lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile
-lm -ldb1 -lglib   -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib  
-L/usr/lib -lgdk_pixbuf -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm   -L/usr/lib -lxml -lz   -L/usr/lib
-lgthread -lglib -lpthread -lpthread
/usr/i686-pc-linux-gnu/bin/ld: cannot find -lesd
collect2: ld returned 1 exit status
make[3]: *** [pan] Error 1
make[3]: Leaving directory `/var/tmp/portage/pan-0.11.3/work/pan-0.11.3/pan'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/pan-0.11.3/work/pan-0.11.3/pan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pan-0.11.3/work/pan-0.11.3'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/net-news/pan/pan-0.11.3.ebuild .
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-22 14:54:19 UTC
Hiya

I have checked the pan configure script, and generated Makefiles.  By itself
it do not look for esound, or include it.  The only way that it is
included is through:

# gnome-config --cflags foo

Meaning at some point in time you possibly had esound installed, and then
later unmerged it, but some or other gnome lib is still linked against it.

To find out which these are, try the following:

nosferatu root # grep -l lesd /usr/lib/*.sh
/usr/lib/appletsConf.sh
/usr/lib/bonoboConf.sh
/usr/lib/bonobo_confConf.sh
/usr/lib/bonoboxConf.sh
/usr/lib/bonobox_printConf.sh
/usr/lib/cappletConf.sh
/usr/lib/dockletsConf.sh
/usr/lib/eelConf.sh
/usr/lib/galConf.sh
/usr/lib/gnomeConf.sh
/usr/lib/gtkhtmlConf.sh
/usr/lib/libgladeConf.sh
/usr/lib/libguppiConf.sh
/usr/lib/nautilusConf.sh
/usr/lib/printConf.sh
nosferatu root # 

Like you can see most of my gnome stuff have it as depend :)
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-26 14:12:38 UTC
Reopen if you still have issues, or mail me privately.