Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203610 - net-dns/avahi needs >=dev-dotnet/gtk-sharp-2.0.0 w/ USE=mono
Summary: net-dns/avahi needs >=dev-dotnet/gtk-sharp-2.0.0 w/ USE=mono
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-28 20:35 UTC by Mark Glines
Modified: 2008-01-03 17: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 Mark Glines 2007-12-28 20:35:28 UTC
When USE=gtk and USE=mono are set, avahi depends on dev-dotnet/gtk-sharp.  My system has version 1.0.10 of gtk-sharp installed; the latest version is 2.10.0.  So, my old version satisfied the ebuild dependency, but a build failure resulted:

Making all in avahi-ui-sharp
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.22/work/avahi-0.6.22/avahi-ui-sharp'
mcs -keyfile:../avahi-sharp/avahi.snk -target:library -out:avahi-ui-sharp.dll -debug ./ServiceDialog.cs -pkg:gtk-sharp-2.0 -r:../avahi-sharp/avahi-sharp.dll -r:Mono.Posix
./gencfg.sh ../avahi-common/libavahi-common.la < avahi-ui-sharp.dll.config.in > avahi-ui-sharp.dll.config
Package gtk-sharp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk-sharp-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk-sharp-2.0' found
error CS8027: Error running pkg-config. Check the above output.
make[2]: *** [avahi-ui-sharp.dll] Error 1

To fix this, I believe the dependency on dev-dotnet/gtk-sharp should be changed to >=dev-dotnet/gtk-sharp-2.0.0.  When I make this change locally, the build succeeds.


Portage 2.1.4_rc11 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.23.8 x86_64)
=================================================================
System uname: 2.6.23.8 x86_64 Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz
Timestamp of tree: Thu, 27 Dec 2007 18:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.3-r4, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-overlay/layman/catalystframework /usr/local/portage-overlay/layman/gentoo-de /usr/local/portage-overlay/layman/zugaina /usr/local/portage-overlay/layman/sunrise /usr/local/portage-overlay/layman/philantrop"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi adns agg aio akode alsa amd64 amr ansi aotuv apache2 arts atlas avahi avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cdda cddb cdinstall cdio cdparanoia clamav cli cpanplus cpudetection cracklib crypt cups curl dbus dga divx4linux dri dts dv dvb dvd dvdnav dvdread effects emerald enca encode esd ethereal exif exscalibar fbcon fbdev ffmpeg fftw firefox flac flash foomaticdb fortran gcc4 gdbm gif gimp glib glitz glut gnome gphoto2 gpm gps gstreamer gtk gtk2 gvim hal hou hpn httpd iconv id3 id3tag ifp imap ipod ipv6 ipw4965 isdnlog ithreads jpeg jpeg2k kerberos kqemu kvm lame libcaca libgda libsamplerate lirc live lzo mad madwifi matroska md5sum midi mikmod mjpeg mmx mmxext mng mod modperl modplug mono mozdevelop mozilla moznoirc mozsvg mp2 mp3 mp3id3 mp4 mpeg mplayer mpm-worker mtp mudflap musepack musicbrainz nativecode ncurses netjack network nfsv4 normalize nptl nptlonly offensive ofx ogg oggvorbis openal opengl openmp pam pcmcia pcre pdf perl plugins png pnm pnp ppds pppd pulseaudio python qemu quicktime quotes readline reflection rsync rtc rtp rtsp ruby samba scanner scim sdl server session shout skins slp sndfile sockets sou spamassassin speex spell spl sqlite sqlite3 srt sse sse2 ssl startup-notification stream subtitles svg tcltk tcpd theora threads tiff tordns truetype truetype-fonts type1-fonts uim unicode upnp usb v4l v4l2 vcd vdr vhosts vorbis vorbis-psy wavpack x264 xanim xcomposite xine xinerama xml xml2 xorg xpm xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Piotr Stachura 2008-01-02 15:23:29 UTC
I'm confirming this bug!
Comment 2 Sven Wegener gentoo-dev 2008-01-03 17:53:35 UTC
Thanks, fixed.