Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177879 - net-dns/avahi-0.6.19 build fails with mono USE flag
Summary: net-dns/avahi-0.6.19 build fails with mono USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-10 00:43 UTC by Jose daLuz
Modified: 2007-05-10 20:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix race condition in makefile (avahi-0.6.19-sharp-ui-makefile.patch,503 bytes, patch)
2007-05-10 08:08 UTC, Lars Schünzel
Details | Diff
avahi-0.6.19.ebuild (avahi-0.6.19.ebuild,4.17 KB, text/plain)
2007-05-10 08:10 UTC, Lars Schünzel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose daLuz 2007-05-10 00:43:26 UTC
Updating avahi from 0.6.18 to 0.6.19, I ran into this error:

make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.19/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/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
mcs -out:zssh.exe zssh.cs -r:./avahi-ui-sharp.dll -pkg:gtk-sharp-2.0 -r:Mono.Posix
error CS0006: cannot find metadata file `./avahi-ui-sharp.dll'
Compilation failed: 1 error(s), 0 warnings
make[2]: *** [zssh.exe] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.19/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/work/avahi-0.6.19'
make: *** [all] Error 2

!!! ERROR: net-dns/avahi-0.6.19 failed.

I'm running mono 1.2.3.1.

Portage 2.1.2.7 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21-gentoo x86_64)
=================================================================
System uname: 2.6.21-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 2.0.0_alpha2
Timestamp of tree: Wed, 09 May 2007 23:20:02 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4
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.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ggdb"
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/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120"
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/wrobel /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/xeffects /usr/portage/local/layman/sunrise /usr/local/overlays/myoverlay /usr/local/overlays/bmg-main"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bitmap-fonts bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility kerberos ldap libg++ libnotify mad midi mikmod mmx mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl pic png pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 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="en" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Lars Schünzel 2007-05-10 08:08:54 UTC
Created attachment 118722 [details, diff]
fix race condition in makefile

There is a problem with the ordering when building avahi-ui-sharp.dll (only when using MAKEOPTS="-j2" and above). I am no makefile guru and I do not know if this is the right way to fix this. Maybe someone who knows his makefiles could check this patch...
Comment 2 Lars Schünzel 2007-05-10 08:10:28 UTC
Created attachment 118723 [details]
avahi-0.6.19.ebuild

new ebuild
Comment 3 Sven Wegener gentoo-dev 2007-05-10 20:12:39 UTC
This has just been fixed in upstream SVN, I added a patch. Thanks for reporting!