Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360445 - dev-dotnet/gnome-sharp may require net-dns/avahi but it is not a dependency
Summary: dev-dotnet/gnome-sharp may require net-dns/avahi but it is not a dependency
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-25 17:00 UTC by CatBox360
Modified: 2011-12-30 10:42 UTC (History)
1 user (show)

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 CatBox360 2011-03-25 17:00:13 UTC
while attempting to emerge dev-util/monodevelop-2.4.2 I encountered a build fail
with dev-dotnet/gnome-sharp-2.24.2

Peeked through the text a bit and noticed it was complaining about not finding "lavahi-glib". Did a quick google search and figured out that it was a glib library for avahi. Emerged net-dns/avahi, then attempted to emerge gnome-sharp again and the build completed successfully.




Reproducible: Always

Steps to Reproduce:
1.Attempt to emerge dev-dotnet/gnome-sharp-2.24.2 without net-dns/avahi installed



/bin/sh ../../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs  -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -module -avoid-version -no-undefined -Wl,-O1 -Wl,--as-needed -o libgnomesharpglue-2.la -rpath /usr/lib64 canvasitem.lo canvaspoints.lo program.lo generated.lo -pthread -Wl,--export-dynamic -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgconf-2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lrt -lglib-2.0   
libtool: link: x86_64-pc-linux-gnu-gcc -shared  .libs/canvasitem.o .libs/canvaspoints.o .libs/program.o .libs/generated.o   -Wl,--as-needed /usr/lib64/libgnomeui-2.so -L/usr/lib64 /usr/lib64/libgnome-keyring.so /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so /usr/lib64/libbonoboui-2.so -lSM -lICE /usr/lib64/libgnomecanvas-2.so /usr/lib64/libgailutil.so -lXext -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes /usr/lib64/libgnome-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libxml2.so -lavahi-glib -lavahi-client -ldbus-glib-1 -lssl -lcrypto -lavahi-common -ldbus-1 -lutil /usr/lib64/libcanberra.so /usr/lib64/libltdl.so -lvorbisfile -lvorbis -logg /usr/lib64/libpopt.so /usr/lib64/libbonobo-2.so /usr/lib64/libbonobo-activation.so /usr/lib64/libORBitCosNaming-2.so /usr/lib64/libart_lgpl_2.so /usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so -lresolv /usr/lib64/libcairo.so -lpixman-1 -lEGL -lxcb-shm -lxcb-render -lXrender -lX11 -lGL /usr/lib64/libpng14.so /usr/lib64/libpango-1.0.so -lm /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -lz /usr/lib64/libexpat.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgthread-2.0.so -lpthread /usr/lib64/libgmodule-2.0.so -ldl -lrt /usr/lib64/libglib-2.0.so  -Wl,-O1 -pthread -Wl,--export-dynamic   -pthread -Wl,-soname -Wl,libgnomesharpglue-2.so -o .libs/libgnomesharpglue-2.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lavahi-glib
collect2: ld returned 1 exit status
make[1]: *** [libgnomesharpglue-2.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-dotnet/gnome-sharp-2.24.2/work/gnome-sharp-2.24.2/gnome/glue'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: dev-dotnet/gnome-sharp-2.24.2 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3238:  Called gtk-sharp-module_src_compile
 *   environment, line 2506:  Called die
 * The specific snippet of code:
 *       emake CSC=/usr/bin/gmcs || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-dotnet/gnome-sharp-2.24.2',
 * the complete build log and the output of 'emerge -pqv =dev-dotnet/gnome-sharp-2.24.2'.
 * The complete build log is located at '/var/tmp/portage/dev-dotnet/gnome-sharp-2.24.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-dotnet/gnome-sharp-2.24.2/temp/environment'.
 * S: '/var/tmp/portage/dev-dotnet/gnome-sharp-2.24.2/work/gnome-sharp-2.24.2'

>>> Failed to emerge dev-dotnet/gnome-sharp-2.24.2, Log file:

>>>  '/var/tmp/portage/dev-dotnet/gnome-sharp-2.24.2/temp/build.log'
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2011-04-02 16:25:19 UTC
please post the output of:
pkg-config --libs libgnomecanvas-2.0
pkg-config --libs libgnomeui-2.0
pkg-config --libs gtk+-2.0
pkg-config --libs gmodule-2.0
Comment 2 CatBox360 2011-04-04 03:34:50 UTC
Sorry for the late delay, went away for the weekend. Anyways here's the output:

pkg-config --libs libgnomecanvas-2.0

-pthread -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0  


pkg-config --libs libgnomeui-2.0

-pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lpng14 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0  


pkg-config --libs gtk+-2.0

-pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0  


pkg-config --libs gmodule-2.0

-Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglib-2.0
Comment 3 Pacho Ramos gentoo-dev 2011-04-13 17:01:18 UTC
Not sure where is exactly the problem, but others like libgnome are also affected, maybe someone in gnome team has some idea about this :-/
Comment 4 Pacho Ramos gentoo-dev 2011-06-21 18:59:53 UTC
I think this us caused by avahi-glib references in /usr/lib/*.la files
Comment 5 Pacho Ramos gentoo-dev 2011-12-12 11:18:12 UTC
Show the output of:
grep -r "avahi-glib" /usr/lib/*.la