Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 406187

Summary: sys-libs/talloc-2.0.8 - [Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/talloc-2.0.7/work/talloc-2.0.7/bin/default/lib/replace/getpass_2.d'
Product: Gentoo Linux Reporter: Tanktalus
Component: [OLD] LibraryAssignee: Patrick Lauer <patrick>
Severity: normal CC: netbox253, openhs, samba
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: build.log from failure

Description Tanktalus 2012-02-28 17:39:22 UTC
Now that talloc-2.0.7 is stabilised, I can't seem to merge it.  I keep getting the following error:

Checking project rules ...
Project rules pass
[ 1/15] Compiling lib/replace/replace.c
[ 2/15] Compiling lib/replace/snprintf.c
[ 3/15] Compiling lib/replace/getpass.c
Waf: Leaving directory `/var/tmp/portage/sys-libs/talloc-2.0.7/work/talloc-2.0.7/bin'
Build failed:
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/talloc-2.0.7/work/talloc-2.0.7/bin/default/lib/replace/getpass_2.d'
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/talloc-2.0.7/work/talloc-2.0.7/bin/default/lib/replace/snprintf_2.d'

If I check that directory, I see:

# ls /var/tmp/portage/sys-libs/talloc-2.0.7/work/talloc-2.0.7/bin/default/lib/replace
getpass_2.o  replace_2.d  replace_2.o  snprintf_2.o  system  test

Not sure why the build expects .d when I have .o?

Reproducible: Always

Steps to Reproduce:
1. emerge update

(I already manually removed -2.0.5 because of a blocker that didn't want to get auto-resolved, so now 2.0.7 is "N"ew instead of "U"pdate.)
Actual Results:  
Will attach build.log

Expected Results:  
talloc-2.0.7 merged

Portage 2.2.0_alpha89 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64)
System uname: Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 28 Feb 2012 08:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6-r1, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo private dev-jokey x11 qt kde
Installed sets: 
CFLAGS="-O3 -pipe -march=core2"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=core2"
FEATURES="assume-digests binpkg-logs collision-protect distcc distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13 -l25"
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"
PORTDIR_OVERLAY="/home/dmcbride/cvs/portdir-mine /usr/portage/local/layman/jokey /usr/portage/local/layman/x11 /usr/portage/local/layman/qting-edge /usr/portage/local/layman/kde"
USE="X a52 aac acl acpi alsa amd64 apache2 audiofile avahi avi bash-completion berkdb branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups cxx dbus dri dvd dvdr dvdread enca encode exif expat ffmpeg fftw firefox fontconfig fortran gd gdbm gif gimp gmp gnutls gpm gs handbook htmlhandbook iconv imagemagick ipv6 java jbig jpeg jpeg2k kde kipi lcms libnotify lzma lzo mad mjpeg mmx mng modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre perl png policykit pppd python qt4 rdesktop readline scanner sdl semantic-desktop session smp sse sse2 ssl subversion svg sysfs tcpd threads tiff truetype udev unicode vaapi vcd vorbis wmf x264 xcb xcomposite xinerama xml xorg xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x864_64" RUBY_TARGETS="ruby18" 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"
Comment 1 Tanktalus 2012-02-28 17:40:16 UTC
Created attachment 303611 [details]
build.log from failure
Comment 2 Tanktalus 2012-02-28 18:55:43 UTC
Also, I get the same error from tdb:

Waf: Leaving directory `/var/tmp/portage/sys-libs/tdb-1.2.9/work/tdb-1.2.9/bin'
Build failed:
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/tdb-1.2.9/work/tdb-1.2.9/bin/default/lib/replace/snprintf_2.d'
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/tdb-1.2.9/work/tdb-1.2.9/bin/default/lib/replace/getpass_2.d'

Probably related?
Comment 3 Roland Jax 2012-02-28 20:55:16 UTC
It builds successfully with 

# MAKEOPTS="-j1 -l1" emerge -1 talloc

(tdb too)
Comment 4 Tanktalus 2012-02-28 23:24:04 UTC
Yes, adding those MAKEOPTS to /etc/portage/env/sys-libs/{talloc,tdb} help.  And then a @preserved-rebuild gives me:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ltdb

Which may be a missing symlink?

$ ls -l /usr/lib64/libtdb*
lrwxrwxrwx 1 root root    15 Feb 12 10:36 /usr/lib64/ ->
-rwxr-xr-x 1 root root 71992 Feb 12 10:36 /usr/lib64/

Not sure if the .so file is required or not.  But when I add it, net-fs/samba-3.5.11 seems to compile afterward... and then portage tells me that tdb has preserved libs again.  Unmerge all three (tdb, talloc, samba), remerge, and now there's no /usr/lib64/libtdb* at all.  What?  And samba 3.5.11 won't install.

I'm not sure this is quite resolved :-S  Maybe I need to go to a higher level of samba?
Comment 5 Sergey Popov gentoo-dev 2013-05-27 09:06:24 UTC
Confirming this, talloc 2.0.8. Happens only with FEATURES="distcc"
Comment 6 Joe Breuer 2013-06-03 11:50:30 UTC
See also bug #379837
Comment 7 Sergey Popov gentoo-dev 2013-06-04 03:41:52 UTC

*** This bug has been marked as a duplicate of bug 379837 ***