Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411351 - net-dns/avahi-0.6.30-r3 - /bin/sh: line 0: cd: /var/tmp/portage/net-dns/avahi-0.6.30-r3/image///usr/bin: No such file or directory
Summary: net-dns/avahi-0.6.30-r3 - /bin/sh: line 0: cd: /var/tmp/portage/net-dns/avahi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-09 14:45 UTC by Robert Cabrera
Modified: 2012-05-01 00:15 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,53.38 KB, text/plain)
2012-04-09 14:51 UTC, Robert Cabrera
Details
build environment (environment,211.99 KB, text/plain)
2012-04-09 14:57 UTC, Robert Cabrera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cabrera 2012-04-09 14:45:57 UTC
I updated to portage 2.2.0_alphaXX this past weekend. After the upgrade, portage output suggested rebuilding my system in order to fully take advantage of its new features.

During this procedure the already previously installed avahi-0.6.30-r3 failed to re-emerge. With the following error:

Making install in gentoo
 /bin/mkdir -p '/var/tmp/portage/net-dns/avahi-0.6.30-r3/image//etc/init.d'
 /usr/bin/install -c avahi-daemon avahi-dnsconfd '/var/tmp/portage/net-dns/avahi-0.6.30-r3/image//etc/init.d'
Making install in avahi-dnsconfd
 /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/avahi'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c avahi-dnsconfd '/var/tmp/portage/net-dns/avahi-0.6.30-r3/image//usr/sbin'
 /usr/bin/install -c avahi-dnsconfd.action '/var/tmp/portage/net-dns/avahi-0.6.30-r3/image//etc/avahi'
libtool: install: warning: `../avahi-common/libavahi-common.la' has not been installed in `/usr/lib64'
libtool: install: /usr/bin/install -c .libs/avahi-dnsconfd /var/tmp/portage/net-dns/avahi-0.6.30-r3/image//usr/sbin/avahi-dnsconfd
Making install in avahi-utils
/bin/sh: line 0: cd: /var/tmp/portage/net-dns/avahi-0.6.30-r3/image///usr/bin: No such file or directory
make[2]: *** [install-exec-local] Error 1
make[2]: *** Waiting for unfinished jobs....
 /bin/mkdir -p '/var/tmp/portage/net-dns/avahi-0.6.30-r3/image//usr/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c avahi-browse avahi-resolve avahi-publish avahi-set-host-name '/var/tmp/portage/net-dns/avahi-0.6.30-r3/image//usr/bin'
libtool: install: warning: `../avahi-client/libavahi-client.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: warning: `../avahi-common/libavahi-common.la' has not been installed in `/usr/lib64'
libtool: install: /usr/bin/install -c .libs/avahi-browse /var/tmp/portage/net-dns/avahi-0.6.30-r3/image//usr/bin/avahi-browse
libtool: install: warning: `../avahi-client/libavahi-client.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: warning: `../avahi-common/libavahi-common.la' has not been installed in `/usr/lib64'
libtool: install: /usr/bin/install -c .libs/avahi-resolve /var/tmp/portage/net-dns/avahi-0.6.30-r3/image//usr/bin/avahi-resolve
libtool: install: warning: `../avahi-client/libavahi-client.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: warning: `../avahi-common/libavahi-common.la' has not been installed in `/usr/lib64'
libtool: install: /usr/bin/install -c .libs/avahi-publish /var/tmp/portage/net-dns/avahi-0.6.30-r3/image//usr/bin/avahi-publish
libtool: install: warning: `../avahi-client/libavahi-client.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: warning: `../avahi-common/libavahi-common.la' has not been installed in `/usr/lib64'
libtool: install: /usr/bin/install -c .libs/avahi-set-host-name /var/tmp/portage/net-dns/avahi-0.6.30-r3/image//usr/bin/avahi-set-host-name
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
emake failed
 * ERROR: net-dns/avahi-0.6.30-r3 failed (install phase):
 *   make install failed
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_install
 *   environment, line 5596:  Called die
 * The specific snippet of code:
 *       emake install DESTDIR="${D}" || die "make install failed";

Reproducible: Always

Steps to Reproduce:
1.emerge -1 avahi
2.build crashes
3.
Actual Results:  
Build crashes with above mentioned error.

Expected Results:  
Successfully emerging of net-dns/avahi-0.6.30-r3

My emerge --info:
Portage 2.2.0_alpha100 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.2, glibc-2.14.1-r2, 3.2.13-zen+ x86_64)
=================================================================
System uname: Linux-3.2.13-zen+-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.1
Timestamp of tree: Mon, 09 Apr 2012 13:15:01 +0000
app-shells/bash:          4.2_p24
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2-r1
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.4
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4.2
sys-devel/make: 3.82-r3                                                                                                    
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo sunrise my_local_overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="!* /etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="!* /etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy collision-protect distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.wetzlmayr.com/ http://osmirrors.cerias.purdue.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.hoobly.com/ ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--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="/var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac aacplus aacs acl acpi alsa amd64 amr attica avahi berkdb bidi bittorrent bluetooth bluray branding bzip2 cairo cdda cddb cdr chm cli consolekit cracklib crypt cups curl cxx dbus declarative dell designer-plugin desktopglobe djvu dri dts dv dvd dvdr ebook emboss emovix encode exif fam fbcondecor fbsplash ffmpeg firefox fits flac fortran g3dvl gdbm gdu gif glibc-omitfp gnutls gphoto2 groupwise gstreamer httpd iconv ieee1394 imagemagick indi ipv6 java java6 javascript jce jpeg jpeg2k kde kipi lame laptop latex lcdfilter lcms ldap libnotify live lm_sensors lto lzma lzo mad matroska mdnsresponder-compat meanwhile mjpeg mms mmx mng modplug modules mp3 mp4 mpeg msn mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly nsplugin ntp nvidia offensive offlinehelp ogg openal opencl openexr opengl openmp oscar otr pam pango parse-clocks pcre pdf phonon plasma png policykit postproc ppds pppd ps python3 qalculate qt3support qt4 quicktime qwt rdesktop readline samba scanner schroedinger scim sdl semantic-desktop session skype smp sms sndfile solver sox spell sqlite sse sse2 sse3 ssl ssse3 startup-notification stream svg symlink sysfs taglib tcpd templates theora thumbnail tidy tiff timidity truetype twolame udev unicode upnp usb vcd vcdx video vlm vnc vorbis vpx wavpack webpresence webstart wicd wifi winpopup x264 xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid xvmc yahoo zeroconf 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 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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 keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nv" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Robert Cabrera 2012-04-09 14:51:21 UTC
Created attachment 308303 [details]
build.log

Attached build log
Comment 2 Robert Cabrera 2012-04-09 14:57:55 UTC
Created attachment 308305 [details]
build environment

attached build environment
Comment 3 Albert W. Hopkins 2012-04-09 20:11:26 UTC
Try with MAKEOPTS="-j1"
Comment 4 Robert Cabrera 2012-04-10 02:49:38 UTC
(In reply to comment #3)
> Try with MAKEOPTS="-j1"

OK I just tried as suggested and viola!!! It emerges without issues. Then I tried, this time with MAKEOPTS="-j2" (On my core2 duo laptop) and it fails in the same spot as it does with MAKEOPTS="j3".

I hope this info helps in solving this issue. TIA
Comment 5 Marcel Högl 2012-04-10 07:43:05 UTC
(In reply to comment #3)
> Try with MAKEOPTS="-j1"

I can confirm this. It builds with MAKEOPTS="-j1" but not with -j4 as this is my  setting in make.conf
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-05-01 00:15:57 UTC
Fix in-tree, and patch sent upstream.