Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302383 - Compiling dev-libs/nss-3.12.5 fails
Summary: Compiling dev-libs/nss-3.12.5 fails
Status: RESOLVED DUPLICATE of bug 292050
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-26 22:44 UTC by Zbigniew Czernik
Modified: 2010-01-27 13:26 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 Zbigniew Czernik 2010-01-26 22:44:56 UTC
emerge -v nss
[ebuild     U ] dev-libs/nss-3.12.5 [3.12.3-r1] USE="-utils" 0 kB

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-libs/nss-3.12.5
 * nss-3.12.5.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                  [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                [ ok ]
 * CPV:  dev-libs/nss-3.12.5
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking nss-3.12.5.tar.gz to /var/tmp/portage/dev-libs/nss-3.12.5/work
 * Applying nss-3.12.5-gentoo-fixups.diff ...                                                                                                                                                          [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-libs/nss-3.12.5/work
>>> Compiling source in /var/tmp/portage/dev-libs/nss-3.12.5/work/nss-3.12.5 ...
make -j1 -j1 CC=i686-pc-linux-gnu-gcc
cd nsinstall; make export
make[1]: Wejście do katalogu `/var/tmp/portage/dev-libs/nss-3.12.5/work/nss-3.12.5/mozilla/security/coreconf/nsinstall'
make[1]: Nie ma nic do zrobienia w `export'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/dev-libs/nss-3.12.5/work/nss-3.12.5/mozilla/security/coreconf/nsinstall'
cd nsinstall; make libs
make[1]: Wejście do katalogu `/var/tmp/portage/dev-libs/nss-3.12.5/work/nss-3.12.5/mozilla/security/coreconf/nsinstall'
i686-pc-linux-gnu-gcc -o Linux2.6_x86_i686-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/nsinstall.o -c -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1  -ansi -Wall -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY -I/usr/include/nspr   -I../../dist/Linux2.6_x86_i686-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/include -I../../dist/public/coreconf -I../../dist/private/coreconf  -O2 -pipe -march=native nsinstall.c
i686-pc-linux-gnu-gcc -o Linux2.6_x86_i686-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/pathsub.o -c -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1  -ansi -Wall -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY -I/usr/include/nspr   -I../../dist/Linux2.6_x86_i686-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/include -I../../dist/public/coreconf -I../../dist/private/coreconf  -O2 -pipe -march=native pathsub.c
i686-pc-linux-gnu-gcc -o Linux2.6_x86_i686-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/nsinstall -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1  -ansi -Wall -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY -I/usr/include/nspr   -I../../dist/Linux2.6_x86_i686-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/include -I../../dist/public/coreconf -I../../dist/private/coreconf  -O2 -pipe -march=native Linux2.6_x86_i686-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/nsinstall.o Linux2.6_x86_i686-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/pathsub.o -Wl,-O1 -Wl,-R,//usr/lib/nspr     -lpthread  -ldl -lc
true -m 775 Linux2.6_x86_i686-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/nsinstall ../../dist/Linux2.6_x86_i686-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/bin
make[1]: Opuszczenie katalogu `/var/tmp/portage/dev-libs/nss-3.12.5/work/nss-3.12.5/mozilla/security/coreconf/nsinstall'
make -j1 -j1 CC=i686-pc-linux-gnu-gcc
cd include; make export
make[1]: Wejście do katalogu `/var/tmp/portage/dev-libs/nss-3.12.5/work/nss-3.12.5/mozilla/security/dbm/include'
Creating ../../dist/public/dbm
directory creation race: ../../dist
nsinstall: cannot mkdir -p ../../dist: No such file or directory
/bin/sh: line 3: 16050 Przerwane               ../../coreconf/nsinstall/Linux2.6_x86_i686-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/nsinstall -D ../../dist/public/dbm
make[1]: *** [../../dist/public/dbm] Błąd 134
make[1]: Opuszczenie katalogu `/var/tmp/portage/dev-libs/nss-3.12.5/work/nss-3.12.5/mozilla/security/dbm/include'
make: *** [export] Błąd 2
 * ERROR: dev-libs/nss-3.12.5 failed:
 *   dbm make failed
 *
 * Call stack:
 *     ebuild.sh, line  48:  Called src_compile
 *   environment, line 2611:  Called die
 * The specific snippet of code:
 *       emake -j1 CC="$(tc-getCC)" || die "dbm make failed";
 *
 * If you need support, post the output of 'emerge --info =dev-libs/nss-3.12.5',
 * the complete build log and the output of 'emerge -pqv =dev-libs/nss-3.12.5'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/nss-3.12.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/nss-3.12.5/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/nss-3.12.5/work/nss-3.12.5'

>>> Failed to emerge dev-libs/nss-3.12.5, Log file:

>>>  '/var/tmp/portage/dev-libs/nss-3.12.5/temp/build.log'

 * Messages for package dev-libs/nss-3.12.5:

 * ERROR: dev-libs/nss-3.12.5 failed:
 *   dbm make failed
 *
 * Call stack:
 *     ebuild.sh, line  48:  Called src_compile
 *   environment, line 2611:  Called die
 * The specific snippet of code:
 *       emake -j1 CC="$(tc-getCC)" || die "dbm make failed";
 *
 * If you need support, post the output of 'emerge --info =dev-libs/nss-3.12.5',
 * the complete build log and the output of 'emerge -pqv =dev-libs/nss-3.12.5'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/nss-3.12.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/nss-3.12.5/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/nss-3.12.5/work/nss-3.12.5'


My 'emerge --info' output: http://wklej.org/id/269414/
Comment 1 Viktor S 2010-01-27 00:53:48 UTC
Seems like a race condition (parallel make issues) to me?
Comment 2 Zbigniew Czernik 2010-01-27 01:01:56 UTC
(In reply to comment #1)
> Seems like a race condition (parallel make issues) to me?
> 

Do you mean MAKEOPTS="-j4"? I have tried 'MAKEOPTS="-j1" emerge nss' and I have the same effect.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-01-27 13:26:16 UTC
Thank you for report. This issue was already reported in our bugzilla.

BTW, please, do not reference nopaste sites from bugzilla. Information on such sites tend to disappear. Better attach emerge --info output. Also most of developers will have hard time reading "Przerwane" and similar, so if this is not locale-specific problem it's good idea to show build.log with LC_ALL set to C.

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