pkgsrc-Bugs archive

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

pkg/42252: net/vinagre requires audio/esound (+ FIX)



>Number:         42252
>Category:       pkg
>Synopsis:       net/vinagre requires audio/esound  (+ FIX)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 31 07:35: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:
        net/vinagre fails to link, with a reference to -lesd not found.
        That's from audio/esound which isn't included as a dependency of
        net/vinagre, but apparently should be.

>How-To-Repeat:
        I use pkg_comp (which starts with an almost empty sandbox, hence
        esound is not accidentally installed by something else), with
        libkver and NetBSD 4.0 release sets installed (except x*, I use
        pkgsrc modular xorg).   Aside from the "empty sandbox" none of
        that will be relevant here.

        Building net/vinagre I see ...

/bin/sh ../libtool --tag=CC   --mode=link cc -DORBIT2=1 -pthread -D_REENTRANT 
-I/usr/pkg/include/panel-2.0 -I/usr/pkg/include/gconf/2 
-I/usr/pkg/include/gtk-2.0 -I/usr/pkg/include/libbonoboui-2.0 
-I/usr/pkg/include/orbit-2.0 -I/usr/pkg/include/dbus-1.0 
-I/usr/pkg/lib/dbus-1.0/include -I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo 
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/pixman-1 
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12 
-I/usr/pkg/include/libxml2 -I/usr/pkg/include/libbonobo-2.0 
-I/usr/pkg/include/libgnomecanvas-2.0 -I/usr/pkg/include/libgnome-2.0 
-I/usr/pkg/include/bonobo-activation-2.0 -I/usr/pkg/include/gail-1.0 
-I/usr/pkg/include/libart-2.0 -I/usr/pkg/include/gnome-vfs-2.0 
-I/usr/pkg/lib/gnome-vfs-2.0/include   -D_REENTRANT -I/usr/pkg/include 
-I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0 -I/us!
 r/pkg/include/cairo -I/usr/pkg/include/pango-1.0 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 
-I/usr/pkg/include/libpng12    -O2 -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/nss -I/usr/pkg/include/nspr 
-I/usr/pkg/include/db4 -export-dynamic -no-undefined -export-symbols-regex 
"^[[^_]].*" -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib 
-L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss -L/usr/pkg/lib/nspr 
-Wl,-R/usr/pkg/lib/nspr -o vinagre-applet vinagre_applet-vinagre-applet.o 
vinagre_applet-vinagre-bookmarks.o vinagre_applet-vinagre-bookmarks-ui.o 
vinagre_applet-vinagre-connection.o vinagre_applet-vinagre-utils.o 
vinagre_applet-vinagre-enums.o vinagre_applet-vinagre-bookmarks-entry.o 
vinagre_applet-vinagre-bookmarks-tree.o 
vinagre_applet-vinagre-bookmarks-migration.o 
vinagre_applet-vinagre-plugins-engine.o vinagre_applet-vinagre-plugin.o 
vinagre_applet-vinag!
 re-plugin-loader.o vinagre_applet-vinagre-plugin-manager.o vin!
 agre_app
let-vinagre-plugin-dialog.o vinagre_applet-vinagre-debug.o 
vinagre_applet-vinagre-plugin-info.o vinagre_applet-vinagre-window.o 
vinagre_applet-vinagre-commands.o vinagre_applet-vinagre-notebook.o 
vinagre_applet-vinagre-tab.o vinagre_applet-vinagre-prefs.o 
vinagre_applet-vinagre-app.o vinagre_applet-vinagre-object-module.o 
vinagre_applet-vinagre-dirs.o vinagre_applet-vinagre-fav.o 
vinagre_applet-vinagre-connect.o vinagre_applet-vinagre-spinner.o  
vinagre_applet-vinagre-mdns.o view/libview.la -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 -pthread 
-L/usr/pkg/lib -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 -lgconf-2 -lgthread-2.0 -lgnome-keyring -lglib-2.0 -lintl -lxml2  
 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lavahi-ui -lgtk-x11-2.0 -lavahi-common 
-lavahi-client -lavahi-glib -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 -lavahi-gobject    
cc -DORBIT2=1 -pthread -D_REENTRANT 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/panel-2.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/gconf/2 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/gtk-2.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/libbonoboui-2.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/orbit-2.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/dbus-1.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/dbus-1.0/include 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/glib/glib-2.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/glib-2.0/include 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/gtk-2.0/include 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/atk-1.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/cairo 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/pango-1.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include -I/pkg_comp/obj/pk!
 gsrc/net/vinagre/4x/.buildlink/include/pixman-1 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/freetype2 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/libpng12 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/libxml2 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/libbonobo-2.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/libgnomecanvas-2.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/libgnome-2.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/bonobo-activation-2.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/gail-1.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/libart-2.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/gnome-vfs-2.0 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/gnome-vfs-2.0/include -O2 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/nss 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/include/nspr 
-I/pkg_comp/obj/pkgsrc/net/vinagre/4x/.!
 buildlink/include/db4 -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib/ns!
 s -Wl,-R
/usr/pkg/lib/nspr -o vinagre-applet vinagre_applet-vinagre-applet.o 
vinagre_applet-vinagre-bookmarks.o vinagre_applet-vinagre-bookmarks-ui.o 
vinagre_applet-vinagre-connection.o vinagre_applet-vinagre-utils.o 
vinagre_applet-vinagre-enums.o vinagre_applet-vinagre-bookmarks-entry.o 
vinagre_applet-vinagre-bookmarks-tree.o 
vinagre_applet-vinagre-bookmarks-migration.o 
vinagre_applet-vinagre-plugins-engine.o vinagre_applet-vinagre-plugin.o 
vinagre_applet-vinagre-plugin-loader.o vinagre_applet-vinagre-plugin-manager.o 
vinagre_applet-vinagre-plugin-dialog.o vinagre_applet-vinagre-debug.o 
vinagre_applet-vinagre-plugin-info.o vinagre_applet-vinagre-window.o 
vinagre_applet-vinagre-commands.o vinagre_applet-vinagre-notebook.o 
vinagre_applet-vinagre-tab.o vinagre_applet-vinagre-prefs.o 
vinagre_applet-vinagre-app.o vinagre_applet-vinagre-object-module.o 
vinagre_applet-vinagre-dirs.o vinagre_applet-vinagre-fav.o 
vinagre_applet-vinagre-connect.o vinagre_applet-vinagre-spinner.o vinagre_apple!
 t-vinagre-mdns.o -pthread -pthread -Wl,--export-dynamic  
-L/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib 
-L/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/nss 
-L/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/nspr view/.libs/libview.a 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libpanel-applet-2.so -lesd 
-lossaudio -laudiofile 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libbonoboui-2.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libSM.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libICE.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgnomecanvas-2.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgailutil.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgnome-2.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgnomevfs-2.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgnutls.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libtasn1.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libg!
 crypt.so /pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/li!
 bgpg-err
or.so -lutil -lrt /pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libpopt.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libart_lgpl_2.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libbonobo-2.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libbonobo-activation.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libORBitCosNaming-2.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgconf-2.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libORBit-2.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libdbus-glib-1.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgthread-2.0.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgnome-keyring.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libxml2.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libavahi-ui.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgtk-x11-2.0.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgdk-x11-2.0.so 
/pkg_comp/obj/pkgsrc/!
 net/vinagre/4x/.buildlink/lib/libatk-1.0.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgdk_pixbuf-2.0.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libpangocairo-1.0.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgio-2.0.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libXinerama.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libXi.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libXrandr.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libXext.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libXcursor.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libXfixes.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libpangoft2-1.0.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libcairo.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libpixman-1.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libglitz.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libpng12.so 
/pkg_comp/obj/pkgsrc/net/vina!
 gre/4x/.buildlink/lib/libXrender.so /pkg_comp/obj/pkgsrc/net/v!
 inagre/4
x/.buildlink/lib/libX11.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libXau.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libXdmcp.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libpango-1.0.so -lm 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libfontconfig.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libfreetype.so -lz 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libexpat.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgmodule-2.0.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libavahi-gobject.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libavahi-client.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libdbus-1.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libavahi-glib.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libavahi-common.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libgobject-2.0.so 
/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib/libglib-2.0.so 
/pkg_comp/obj/pkgsr!
 c/net/vinagre/4x/.buildlink/lib/libpcre.so -lintl   -Wl,--rpath 
-Wl,/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib -Wl,--rpath 
-Wl,/pkg_comp/obj/pkgsrc/net/vinagre/4x/.buildlink/lib
ld: cannot find -lesd
gmake[4]: *** [vinagre-applet] Error 1
gmake[4]: Leaving directory 
`/pkg_comp/obj/pkgsrc/net/vinagre/4x/vinagre-2.28.1/vinagre'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/pkg_comp/obj/pkgsrc/net/vinagre/4x/vinagre-2.28.1/vinagre'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/pkg_comp/obj/pkgsrc/net/vinagre/4x/vinagre-2.28.1/vinagre'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/net/vinagre/4x/vinagre-2.28.1'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/net/vinagre
*** Error code 1

Stop.

>Fix:
        The following patch corrects the problem and allows net/vinagre
        to build successfully.   I haven't considered full whether there
        is a need for a revbump as well - perhaps - binary packages built
        on a system that happened to have esound installed would have an
        undocumented (hidden) dependency upon esound, and so really need
        to be replaced - but I'll leave that for someone else to decide.

        Also note that while this fix works, I have not investigated whether
        or not it is the "correct" fix - other possibilities might be to
        configure to avoid use of esound (if that is possible easily), or
        even to make the sound daemon (esound, oss, ... ??) an option that
        can be selected at package build time.

Index: Makefile
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/net/vinagre/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile    29 Oct 2009 23:32:22 -0000      1.7
+++ Makefile    31 Oct 2009 06:48:12 -0000
@@ -19,6 +19,7 @@
 
 GCONF_SCHEMAS+=        vinagre.schemas
 
+.include "../../audio/esound/buildlink3.mk"
 .include "../../databases/shared-mime-info/mimedb.mk"
 BUILDLINK_API_DEPENDS.GConf+=  GConf>=2.16.0
 .include "../../devel/GConf/schemas.mk"



Home | Main Index | Thread Index | Old Index