Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519164 - sys-libs/tevent-0.9.21-r1 FEATURES=distcc - Build failed: [Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/tevent-0.9.21-r1/work/tevent-0.9.21-abi_x86_64.amd64/bin/default/lib/replace/test/strptime_3.d'
Summary: sys-libs/tevent-0.9.21-r1 FEATURES=distcc - Build failed: [Errno 2] No such f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-05 20:50 UTC by eerorika
Modified: 2014-08-11 03:55 UTC (History)
1 user (show)

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


Attachments
build log (tevent-0.9.21-r1_build.log,41.16 KB, text/plain)
2014-08-05 20:53 UTC, eerorika
Details
emerge --info '=sys-libs/tevent-0.9.21-r1::gentoo' (tevent-0.9.21-r1_emerge-info,6.83 KB, text/plain)
2014-08-05 20:56 UTC, eerorika
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eerorika 2014-08-05 20:50:58 UTC
Emerge is successful when distcc is disabled, but fails when it's enabled.

Reproducible: Always

Steps to Reproduce:
1.Set FEATURES="distcc" in make.conf
2.emerge =sys-libs/tevent-0.9.21-r1
Actual Results:  
Build failed:
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/tevent-0.9.21-r1/work/tevent-0.9.21-abi_x86_64.amd64/bin/default/lib/replace/test/strptime_3.d'
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/tevent-0.9.21-r1/work/tevent-0.9.21-abi_x86_64.amd64/bin/default/lib/replace/test/getifaddrs_3.d'
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/tevent-0.9.21-r1/work/tevent-0.9.21-abi_x86_64.amd64/bin/default/tevent_debug_1.d'
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/tevent-0.9.21-r1/work/tevent-0.9.21-abi_x86_64.amd64/bin/default/tevent_fd_1.d'
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/tevent-0.9.21-r1/work/tevent-0.9.21-abi_x86_64.amd64/bin/default/lib/replace/test/os2_delete_3.d'
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/tevent-0.9.21-r1/work/tevent-0.9.21-abi_x86_64.amd64/bin/default/tevent_queue_1.d'
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/tevent-0.9.21-r1/work/tevent-0.9.21-abi_x86_64.amd64/bin/default/tevent_1.d'
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/tevent-0.9.21-r1/work/tevent-0.9.21-abi_x86_64.amd64/bin/default/tevent_immediate_1.d'
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/tevent-0.9.21-r1/work/tevent-0.9.21-abi_x86_64.amd64/bin/default/tevent_req_1.d'

Expected Results:  
Build succeeds

Portage 2.2.11-r1 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.15.8-gentoo x86_64)
=================================================================
System uname: Linux-3.15.8-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2
KiB Mem:     3082012 total,    930912 free
KiB Swap:     524284 total,    501752 free
Timestamp of tree: Tue, 05 Aug 2014 09:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p47
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -march=core2 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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/terminfo"
CPPFLAGS="-pipe -march=core2 -O2"
CXXFLAGS="-pipe -march=core2 -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --with-bdeps=y --keep-going=y"
FCFLAGS="-pipe -march=core2 -O2"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news nodoc parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-pipe -march=core2 -O2"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10 -l4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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.fi.gentoo.org/gentoo-portage"
USE="X aac aacplus alsa amd64 autoipd avahi berkdb bluray bzip2 caps cd cdrom cli cracklib crypt cxx dbus dri dvd flac fortran gdbm iconv inotify keymap lirc logrotate mad minimal mmx modules mp3 multilib ncurses nfsv4 nls nptl opengl openmp optimization optimized-qmake opus orc pam pcre python3 readline schroedinger session sse sse2 ssl ssse3 strong-optimization tcpd theora threads udev udisks unicode upnp vdpau vp9 x264 x265 xv zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en fi" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" 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"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 eerorika 2014-08-05 20:53:51 UTC
Created attachment 382360 [details]
build log
Comment 2 eerorika 2014-08-05 20:56:56 UTC
Created attachment 382362 [details]
emerge --info '=sys-libs/tevent-0.9.21-r1::gentoo'
Comment 3 eerorika 2014-08-05 21:08:02 UTC
Similar bug affects sys-libs/tdb-1.3.0-r1. Should I create a separate bug report for that package?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-06 09:30:06 UTC
What architecture is that other host running? Is cross-compiling over distcc set up properly?
Comment 5 eerorika 2014-08-06 09:33:55 UTC
Both hosts are amd64. I also tried stopping distccd daemon on the remote host and the build still fails.
Comment 6 Patrick Lauer gentoo-dev 2014-08-08 06:05:56 UTC
That looks like a race condition - can you please retry with MAKEOPTS="-j1" ?
Comment 7 eerorika 2014-08-08 10:25:39 UTC
`MAKEOPTS="-j1" emerge =sys-libs/tevent-0.9.21-r1` does succeed.
Comment 8 Patrick Lauer gentoo-dev 2014-08-11 03:55:56 UTC
+  11 Aug 2014; Patrick Lauer <patrick@gentoo.org> tdb-1.3.0-r1.ebuild:
+  Restrict parallel building #519164

That should make things build ...