pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42253: x11/gnome-applets needs audio/esound (+ FIX)



>Number:         42253
>Category:       pkg
>Synopsis:       x11/gnome-applets needs audio/esound (+ FIX)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 31 07:45:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386     pkgsrc current 2009-10-30
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        x11/gnome-applets attempts to link against -lesd which isn't
        found unless audio/esound is installed.

        This PR is essentially identical to pkg/42252 (on net/vinagre)
        so I won't repeat it all (look there is this isn't all obvious).

>How-To-Repeat:

/bin/sh ../libtool --tag=CC   --mode=link cc  -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.5 
-I/usr/pkg/include/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/db4  
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib 
-L/usr/pkg/lib/python2.5/config -Wl,-R/usr/pkg/lib/python2.5/config 
-L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss -L/usr/pkg/lib/nspr 
-Wl,-R/usr/pkg/lib/nspr -o charpick_applet2 charpick.o properties.o 
-Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lpanel-applet-2 -lgconf-2 
-lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXext 
-lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpangoft2-1.0 -lcairo 
-lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lbonobo-2 -lbonobo-activation 
-lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl    
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgucharmap -lgtk-x11-2.0 -lgdk-x11-2.0!
  -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXext -lXrender 
-lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpangoft2-1.0 -lcairo -lX11 
-lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 
-lintl   
mkdir .libs
cc -O2 -I/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/include 
-I/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/include/freetype2 
-I/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/include/python2.5 
-I/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/include/nss 
-I/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/include/nspr 
-I/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/include/db4 
-Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib/python2.5/config -Wl,-R/usr/pkg/lib/nss 
-Wl,-R/usr/pkg/lib/nspr -o charpick_applet2 charpick.o properties.o -pthread  
-L/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib 
-L/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/python2.5/config 
-L/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/nss 
-L/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/nspr 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libpanel-applet-2.so 
-lesd -lossaudio -laudiofile /pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.bui!
 ldlink/lib/libbonoboui-2.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libSM.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libICE.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgnomecanvas-2.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgailutil.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgnome-2.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgnomevfs-2.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libxml2.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgnutls.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libtasn1.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgcrypt.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgpg-error.so -lutil 
-lrt /pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgconf-2.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libdbus-glib-1.so 
/pkg_comp/obj/pkgsrc/x11/!
 gnome-applets/4x/.buildlink/lib/libdbus-1.so /pkg_comp/obj/pkg!
 src/x11/
gnome-applets/4x/.buildlink/lib/libpopt.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libart_lgpl_2.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libbonobo-2.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libbonobo-activation.so
 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libORBitCosNaming-2.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libORBit-2.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgthread-2.0.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgucharmap.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgtk-x11-2.0.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgdk-x11-2.0.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libatk-1.0.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgdk_pixbuf-2.0.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libpangocairo-1.0.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.!
 buildlink/lib/libgio-2.0.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libXinerama.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libXi.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libXrandr.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libXext.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libXcursor.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libXfixes.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libpangoft2-1.0.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libcairo.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libpixman-1.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libglitz.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libpng12.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libXrender.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libX11.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildli!
 nk/lib/libXau.so /pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.bu!
 ildlink/
lib/libXdmcp.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libpango-1.0.so -lm 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libfontconfig.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libfreetype.so -lz 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libexpat.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgobject-2.0.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libgmodule-2.0.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libglib-2.0.so 
/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib/libpcre.so -lintl   
-Wl,--rpath -Wl,/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib 
-Wl,--rpath -Wl,/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/.buildlink/lib
ld: cannot find -lesd
gmake[3]: *** [charpick_applet2] Error 1
gmake[3]: Leaving directory 
`/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/gnome-applets-2.28.0/charpick'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/gnome-applets-2.28.0/charpick'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/pkg_comp/obj/pkgsrc/x11/gnome-applets/4x/gnome-applets-2.28.0'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/gnome-applets
*** Error code 1

Stop.

>Fix:
        Same caveats wrt revbump and other possible fixed as in 42252

Index: Makefile
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/x11/gnome-applets/Makefile,v
retrieving revision 1.78
diff -u -r1.78 Makefile
--- Makefile    29 Oct 2009 22:55:00 -0000      1.78
+++ Makefile    31 Oct 2009 06:51:31 -0000
@@ -58,6 +58,7 @@
 PYTHON_PATCH_SCRIPTS+= invest-applet/invest/invest-applet.py
 PYTHON_PATCH_SCRIPTS+= invest-applet/invest/invest-chart
 
+.include "../../audio/esound/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 BUILDLINK_API_DEPENDS.glib2+=                  glib2>=2.18.0
 .include "../../devel/glib2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index