Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393365 - dev-libs/nss-3.12.11-r1 - mkdir: cannot create directory `Linux2.6_x86_i486-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ': File exists
Summary: dev-libs/nss-3.12.11-r1 - mkdir: cannot create directory `Linux2.6_x86_i486-p...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-06 10:57 UTC by Julian Rüth
Modified: 2011-12-13 15:37 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Rüth 2011-12-06 10:57:15 UTC
Emerging dev-libs/nss-3.12.11-r1 fails with a make error:

mkdir: cannot create directory `Linux2.6_x86_i486-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ': File exists

Also tried dev-libs/nss-3.12.10 and dev-libs/nss-3.12.9-r1 which fail with the same error.

Reproducible: Always

Steps to Reproduce:
1. emerge nss
Actual Results:  
Emerge of dev-libs/nss-3.12.11-r1 fails.


# emerge --info =dev-libs/nss-3.12.11-r1
Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.12.2-r0, 2.6.36-gentoo-r5 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 05 Dec 2011 08:30:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r1, 2.7.2-r3, 3.1.4-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.1-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.3.4, 4.4.4-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: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de ar ja es es_MX"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa bash-completion berkdb branding bzip2 cjk cli cracklib crypt cups cxx dbus dri evdev fortran gdbm gif gpm gtk gtk2 hal iconv immqt-bc ipod ipv6 jpeg lm_sensors madwifi modules mp3 mudflap ncurses nforce2 nls nodrm nptl nptlonly ogg openmp pam pcre pmu png pppd readline session source ssl syntax sysfs tcpd tiff truetype type1 unicode vim x86 xfce xfce4 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="synaptics evdev void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de ar ja es es_MX" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga vesa radeon" 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

# cat /var/tmp/portage/dev-libs/nss-3.12.11-r1/temp/build.log
 * Package:    dev-libs/nss-3.12.11-r1
 * Repository: gentoo
 * Maintainer: mozilla@gentoo.org
 * USE:        elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   ccache sandbox
>>> Unpacking source...
>>> Unpacking nss-3.12.11.tar.gz to /var/tmp/portage/dev-libs/nss-3.12.11-r1/work
>>> Source unpacked in /var/tmp/portage/dev-libs/nss-3.12.11-r1/work
>>> Preparing source in /var/tmp/portage/dev-libs/nss-3.12.11-r1/work/nss-3.12.11 ...
 * Applying nss-3.12.5-gentoo-fixups.diff ...                                                                                                                 [ ok ]
 * Applying nss-3.12.6-gentoo-fixup-warnings.patch ...                                                                                                        [ ok ]
 * Applying nss-3.12.11-CVE-2011-3640.patch ...                                                                                                               [ ok ]
 * Applying nss-3.12.4-solaris-gcc.patch ...                                                                                                                  [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/nss-3.12.11-r1/work/nss-3.12.11 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/nss-3.12.11-r1/work/nss-3.12.11 ...
make -j3 -j3 -j1 CC=i486-pc-linux-gnu-gcc 
cd nsinstall; make -j3 export
make[1]: Entering directory `/var/tmp/portage/dev-libs/nss-3.12.11-r1/work/nss-3.12.11/mozilla/security/coreconf/nsinstall'
make[1]: Nothing to be done for `export'.
make[1]: Leaving directory `/var/tmp/portage/dev-libs/nss-3.12.11-r1/work/nss-3.12.11/mozilla/security/coreconf/nsinstall'
cd nsinstall; make -j3 libs
make[1]: Entering directory `/var/tmp/portage/dev-libs/nss-3.12.11-r1/work/nss-3.12.11/mozilla/security/coreconf/nsinstall'
i486-pc-linux-gnu-gcc -o Linux2.6_x86_i486-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/nsinstall.o -c -O2 -fno-strict-aliasing -ansi -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -Di386 -DLINUX2_1  -Wall -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX -Dlinux -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY -I/usr/include/nspr -I../../dist/Linux2.6_x86_i486-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/include -I../../dist/public/coreconf -I../../dist/private/coreconf -I/usr/include/nspr -I../../dist/Linux2.6_x86_i486-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/include/dbm  -O2 -mtune=pentium-m -pipe nsinstall.c
mkdir: cannot create directory `Linux2.6_x86_i486-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ': File exists
make[1]: *** [Linux2.6_x86_i486-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/pathsub.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/dev-libs/nss-3.12.11-r1/work/nss-3.12.11/mozilla/security/coreconf/nsinstall'
make: *** [libs] Error 2
emake failed
 * ERROR: dev-libs/nss-3.12.11-r1 failed (compile phase):
 *   coreconf make failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2525:  Called die
 * The specific snippet of code:
 *       emake -j1 CC="$(tc-getCC)" || die "coreconf make failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-libs/nss-3.12.11-r1',
 * the complete build log and the output of 'emerge -pqv =dev-libs/nss-3.12.11-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/nss-3.12.11-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/nss-3.12.11-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/nss-3.12.11-r1/work/nss-3.12.11'

# emerge -pqv =dev-libs/nss-3.12.11-r1
[ebuild     U ] dev-libs/nss-3.12.11-r1 [3.12.8] USE="-utils" 

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 1 Jory A. Pratt gentoo-dev 2011-12-06 23:09:44 UTC
attach a full build.log please.
Comment 2 Julian Rüth 2011-12-07 12:45:05 UTC
(In reply to comment #1)
> attach a full build.log please.

sorry, but I don't understand. My report contains the contents of /var/tmp/portage/dev-libs/nss-3.12.11-r1/temp/build.log

What else should I attach?
Comment 3 Jory A. Pratt gentoo-dev 2011-12-10 03:28:55 UTC
make[1]: *** [Linux2.6_x86_i486-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/pathsub.o]
Error 1
make[1]: *** Waiting for unfinished jobs....

suggest you are hitting a parallel bug, test with MAKEOPTS="-j1" emerge dev-libs/nss.
Comment 4 Julian Rüth 2011-12-13 15:37:15 UTC
> suggest you are hitting a parallel bug, test with MAKEOPTS="-j1" emerge
> dev-libs/nss.

Thanks. This led me to the cause of this error. I had MAKE set to "make -j3". Apparently the ebuild is aware of parallel problems but it couldn't handle my screwed up MAKE. So I guess this is just my fault. Thanks for helping with this and as I see it this can be closed now.