I'm installing Gentoo but being impossible to emerge avahi. Thanks! [code]Portage 2.1.10.65 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r2, 3.4.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.4.0-gentoo-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T3400_@_2.16GHz-with-gentoo-2.1 Timestamp of tree: Sun, 10 Jun 2012 12:45:01 +0000 ccache version 3.1.7 [enabled] app-shells/bash: 4.2_p29 dev-java/java-config: 2.1.12 dev-lang/python: 2.7.3-r2, 3.2.3-r1 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.8-r2 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.10.2 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.12.1 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.4 (virtual/os-headers) sys-libs/glibc: 2.15-r2 Repositories: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/conf.d /etc/init.d /usr/share/config/kdm" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/terminfo" CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs candy ccache config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://gentoo.c3sl.ufpr.br/gentoo/ http://gentoo.c3sl.ufpr.br/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ http://gentoo.lcc.ufmg.br/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo http://gentoo.localhost.net.ar/ http://ibiblio.org/pub/Linux/MIRRORS.html ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j3 -s" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage/" USE="7Zip X a52 aac acl acpi alsa amd64 audiofile avahi bash-completion berkdb branding btrfs bzip2 cairo cdda cddb cdparanoia cdr cli colord consolekit cracklib crypt css cups cxx dbus dga dri dts dvb dvd dvdr eds encode evo exif fam firefox flac foomaticdb ftp gdbm gif gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk gtk3 iconv imagemagick imap jabber java jpeg lame latex lcms libcanberra libnotify lm_sensors lzma lzo mad matroska mmx mng modules mp3 mp4 mpd mpeg mudflap multilib musepack musicbrainz nautilus ncurses networkmanager nls nptl nsplugin offensive ogg openal opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio quicktime raw readline samba sdl session slp socialweb spell sse sse2 ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb v4l v4l2 vorbis wavpack wifi wxwidgets x264 xcb xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="hda-intel loopback" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" USE_PYTHON="2.7" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS[/code] [code]Making install in avahi-discover-standalone Making install in avahi-daemon /bin/mkdir -p '/var/tmp/portage/net-dns/avahi-0.6.30-r3/image//usr/sbin' /bin/mkdir -p '/var/tmp/portage/net-dns/avahi-0.6.30-r3/image//etc/dbus-1/system.d' /bin/sh: /var/tmp/portage/net-dns/avahi-0.6.30-r3/image//var/run: No such file or directory make[2]: *** [install-data-local] Error 127 make[2]: *** Waiting for unfinished jobs.... /usr/bin/install -c -m 644 avahi-dbus.conf '/var/tmp/portage/net-dns/avahi-0.6.30-r3/image//etc/dbus-1/system.d' /bin/sh ../libtool --mode=install /usr/bin/install -c avahi-daemon '/var/tmp/portage/net-dns/avahi-0.6.30-r3/image//usr/sbin' libtool: install: warning: `../avahi-common/libavahi-common.la' has not been installed in `/usr/lib64' libtool: install: warning: `../avahi-core/libavahi-core.la' has not been installed in `/usr/lib64' libtool: install: warning: `/var/tmp/portage/net-dns/avahi-0.6.30-r3/work/avahi-0.6.30/avahi-common/libavahi-common.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/avahi-daemon /var/tmp/portage/net-dns/avahi-0.6.30-r3/image//usr/sbin/avahi-daemon make[1]: *** [install-am] Error 2 make: *** [install-recursive] Error 1 emake failed [31;01m*[0m ERROR: net-dns/avahi-0.6.30-r3 failed (install phase): [31;01m*[0m make install failed [31;01m*[0m [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 85: Called src_install [31;01m*[0m environment, line 5877: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake install DESTDIR="${D}" || die "make install failed"; [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=net-dns/avahi-0.6.30-r3'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=net-dns/avahi-0.6.30-r3'`. /usr/lib64/portage/bin/isolated-functions.sh: line 214: wait: `make install failed': not a pid or valid job spec [31;01m*[0m The complete build log is located at '/var/logs/portage/net-dns:avahi-0.6.30-r3:20120610-190805.log'. [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/net-dns/avahi-0.6.30-r3/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-dns/avahi-0.6.30-r3/temp/environment'. [31;01m*[0m Working directory: '/var/tmp/portage/net-dns/avahi-0.6.30-r3/work/avahi-0.6.30' [31;01m*[0m S: '/var/tmp/portage/net-dns/avahi-0.6.30-r3/work/avahi-0.6.30'[/code]
Same here, except it's an already installed system.
temporary removing automake:1.12 makes avahi build again
cat /etc/portage/env/net-dns/avahi-0.6.30-r3 pre_pkg_setup() { WANT_AUTOMAKE=1.11 }
I can confirm WANT_AUTOMAKE=1.11 fixes it for me as well. Can this be added to the ebuild?
WANT_AUTOMAKE=1.11 worked for me as well
WANT_AUTOMAKE=1.11 work for me too and also work for all others packages with automake-1.12 issues here.
*** Bug 420983 has been marked as a duplicate of this bug. ***
A proper fix would involve calling AC_PROG_MKDIR_P in configure.ac and changing in all of Makefile.am '$(mkdir_p)' to '$(MKDIR_P)'. Might be a bit of work, even though it's mostly janitorial.
Actually I committed the WANT_AUTOMAKE change myself today. I'll send a new patch to Avahi upstream to use 1.12, but until then there is no reason to spend more time on this as we gain very little at using 1.12 right now.