Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183607 - emerge net-dns/avahi-0.6.19-r1 fails on missing gtk-sharp-2
Summary: emerge net-dns/avahi-0.6.19-r1 fails on missing gtk-sharp-2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
: 183611 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-29 07:37 UTC by Sergej Pisarenko
Modified: 2007-06-29 18:19 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 Sergej Pisarenko 2007-06-29 07:37:25 UTC
Emerge of net-dns/avahi-0.6.19-r1 fails.

Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge avahi

Actual Results:  
fails

Expected Results:  
package emerged

1. LOG:
---------------------------------------------------

Making all in service-type-database
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/service-type-database'
sed -e 's,@PYTHON\@,/usr/bin/python,g' \
            -e 's,@DBM\@,gdbm,g' build-db.in > build-db
chmod +x build-db
/usr/bin/python build-db service-types service-types.db.coming
mv service-types.db.coming service-types.db
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/service-type-database'
Making all in avahi-compat-libdns_sd
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/avahi-compat-libdns_sd'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/avahi-compat-libdns_sd'
Making all in avahi-compat-howl
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/avahi-compat-howl'
Making all in .
make[3]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/avahi-compat-howl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/avahi-compat-howl'
Making all in samples
make[3]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/avahi-compat-howl/samples'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/avahi-compat-howl/samples'
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/avahi-compat-howl'
Making all in avahi-autoipd
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/avahi-autoipd'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/avahi-autoipd'
Making all in avahi-ui
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/avahi-ui'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/avahi-ui'
Making all in avahi-ui-sharp
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/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
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19/avahi-ui-sharp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.19-r1/work/avahi-0.6.19'
make: *** [all] Error 2

!!! ERROR: net-dns/avahi-0.6.19-r1 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  avahi-0.6.19-r1.ebuild, line 147:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-dns/avahi-0.6.19-r1/temp/build.log'.

2. emerge --info:
---------------------------------------------------

Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 29 Jun 2007 05:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -msse3 -mfpmath=sse -fomit-frame-pointer"
CHOST="i686-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/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -msse3 -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS=" http://ds.thn.htu.se/linux/gentoo http://mirror.gentoo.no http://mirror.switch.ch/ftp/mirror/gentoo"
LANG="en_US.UTF-8"
LINGUAS="ru en en_US en_GB se lv"
MAKEOPTS="-j3"
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/portage/local/layman/voip /usr/portage/local/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi aiglx alsa amr apache2 avahi berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cli cracklib crypt cups db2 dbus dri dts dvd dvdr dvdread emboss encode evo exif fam ffmpeg firefox flac fortran ftp fuse gd-external gdbm gif gpm gstreamer hal hdaps iconv imagemagick isdnlog java java5 javascript jpeg kde kerberos latex lcms ldap libcaca libg++ lirc lua lzo mad matroska midi mikmod mime mmx mng mono mp3 mpeg mudflap musepack musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp oss pcmcia pcre pdf perl php png portaudio pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sasl sdl server session slp speex spell spl sse sse2 ssl svg tcl tcpd theora thinkpad tidy tiff timidity truetype truetype-fonts type1-fonts unicode usb v4l2 vcd vhosts vorbis wifi win32codecs wmf x86 xine xinerama xml xorg xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en en_US en_GB se lv" LIRC_DEVICES="sir" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-29 07:40:30 UTC
You don't have dev-dotnet/gtk-sharp-2.x installed, do you?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-29 07:58:01 UTC
*** Bug 183611 has been marked as a duplicate of this bug. ***
Comment 3 Sergej Pisarenko 2007-06-29 08:13:22 UTC
Oh, shit. Sorry guys for this mess.
Comment 4 Sergej Pisarenko 2007-06-29 08:14:33 UTC
Yes, gtk-sharp is missing but it is not pulled out by dependencies so this seems as a mistake in the ebuild.
Comment 5 Sergej Pisarenko 2007-06-29 10:16:06 UTC
modify ebuild:

FROM:

...
        mono? (
                >=dev-lang/mono-1.1.10
                gtk? ( dev-dotnet/gtk-sharp )
        )
...

TO:

...
        mono? (
                >=dev-lang/mono-1.1.10
                dev-dotnet/gtk-sharp
        )
...
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-06-29 10:23:50 UTC
(In reply to comment #5)
> modify ebuild:

That's wrong; it apparently needs =dev-dotnet/gtk-sharp-2* (and not 1.x).
Comment 7 Sergej Pisarenko 2007-06-29 11:53:37 UTC
Yes, seems like that.
Comment 8 Sven Wegener gentoo-dev 2007-06-29 14:07:08 UTC
The problem is that i wants to use gtk-sharp with --enable-mono --disable-gtk.
Comment 9 Davide Pesavento gentoo-dev 2007-06-29 17:12:47 UTC
net-dns/avahi-0.6.20 build fails with the same error... Please change summary accordingly.

[ebuild     U ] net-dns/avahi-0.6.20 [0.6.18] USE="autoipd dbus gdbm mono python qt3 qt4 -bookmarks -doc -gtk -howl-compat -mdnsresponder-compat -test"

[...]
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.20/work/avahi-0.6.20/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
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.20/work/avahi-0.6.20/avahi-ui-sharp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.20/work/avahi-0.6.20'
make: *** [all] Error 2
 *
 * ERROR: net-dns/avahi-0.6.20 failed.
 * Call stack:
 *   ebuild.sh, line 1642:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   avahi-0.6.20.ebuild, line 141:   Called die
 *


emerge --info:
Portage 2.1.3_rc6 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r3 i686)
=================================================================
System uname: 2.6.21-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 2.0.0_alpha3
Timestamp of tree: Fri, 29 Jun 2007 13:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-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 /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.unina.it/pub/linux/distributions/gentoo http://gentoo.osuosl.org/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa audiofile avahi bash-completion bitmap-fonts bzip2 cairo caps cddb cdinstall cdparanoia cdr cli cracklib crypt cups curl curlwrappers dbus directfb dri dts dv dvd dvdr dvdread emacs emboss encode exif expat fam fbcon ffmpeg fftw firefox flac ftp gd gdbm gif glut gnutls gpm graphviz gstreamer hal iconv icq idn ieee1394 imagemagick imlib innodb ipv6 isdnlog jabber jack java javascript jbig jpeg jpeg2k kde kdeenablefinal kdexdeltas ladspa lcms libg++ libsamplerate lua mad matroska midi mikmod mmx mng mono mp3 mpeg mplayer msn mudflap mule musepack musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin ocaml offensive ogg opengl openmp oscar oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection ruby samba sasl sdl session slang sndfile snmp socks5 speex spell spl sqlite sqlite3 sse sse2 ssl svg svga tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs wmf x264 x86 xcomposite xine xml xorg xosd xpm xv xvid zlib" ALSA_CARDS="intel8x0" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 10 Sven Wegener gentoo-dev 2007-06-29 18:19:08 UTC
I added a patch to disable avahi-ui-sharp when USE="-gtk" is set.