Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380705 - dev-libs/nss-3.12.9-r1 failed (compile phase)
Summary: dev-libs/nss-3.12.9-r1 failed (compile phase)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-26 01:50 UTC by ta2002
Modified: 2011-08-27 23:48 UTC (History)
1 user (show)

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 ta2002 2011-08-26 01:50:03 UTC
Trying to install gentoo from the newly released (11.2) live dvd.



Reproducible: Always

Steps to Reproduce:
Copied a world of a few basic applications (not requiring x) to /var/lib/portage/world, and then did emerge world.
Actual Results:  
 * Package:    dev-libs/nss-3.12.9-r1
 * Repository: gentoo
 * Maintainer: mozilla@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux userland_GNU utils
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking nss-3.12.9.with.ckbi.1.82.tar.gz to /var/tmp/portage/dev-libs/nss-3.12.9-r1/work
>>> Source unpacked in /var/tmp/portage/dev-libs/nss-3.12.9-r1/work
>>> Preparing source in /var/tmp/portage/dev-libs/nss-3.12.9-r1/work/nss-3.12.9 ...
 * Applying nss-3.12.5-gentoo-fixups.diff ...                                                                                                                                [ ok ]
 * Applying nss-3.12.6-gentoo-fixup-warnings.patch ...                                                                                                                       [ ok ]
 * Applying nss-3.12.4-solaris-gcc.patch ...                                                                                                                                 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/nss-3.12.9-r1/work/nss-3.12.9 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/nss-3.12.9-r1/work/nss-3.12.9 ...
make -j3 -j1 CC=x86_64-pc-linux-gnu-gcc 
../coreconf/config.mk:71: ../coreconf/Linux3.0.mk: No such file or directory
make: *** No rule to make target ../coreconf/Linux3.0.mk.  Stop.
make: *** [../coreconf/Linux3.0.mk] Error 1
emake failed
 * ERROR: dev-libs/nss-3.12.9-r1 failed (compile phase):
 *   coreconf make failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2556:  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.9-r1',
 * the complete build log and the output of 'emerge -pqv =dev-libs/nss-3.12.9-r1'.
 * The complete build log is located at '/var/log/portage/dev-libs:nss-3.12.9-r1:20110825-174854.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/nss-3.12.9-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/nss-3.12.9-r1/work/nss-3.12.9'

Expected Results:  
Should compile without error!
Comment 1 Rafał Mużyło 2011-08-26 04:22:27 UTC
As per ChangeLog, you need 3.12.10 for >=3.0 kernels.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-08-27 09:55:34 UTC
That's a problem, because the LiveDVD comes with kernel 3.0
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-08-27 14:34:47 UTC
(In reply to comment #2)
> That's a problem, because the LiveDVD comes with kernel 3.0

Why?
The live-dvd includes a few testing applications as that was deemed to be more interesting for anyone using it. If the problem is that the new version of nss is still in the testing branch, nothing prevents a user from either keywording the new version or from installing the stable branch, reboot and then install nss.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-08-27 17:55:04 UTC
Because dev-libs/nss-3.12.9-r1 does not build when running kernel 3.0, which is the case when you chroot from LiveDVD during installation.
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-08-27 18:04:14 UTC
(In reply to comment #4)
> Because dev-libs/nss-3.12.9-r1 does not build when running kernel 3.0, which is
> the case when you chroot from LiveDVD during installation.

Then either build the unstable version or fix your system, reboot and build it.
Comment 6 Andreis Vinogradovs ( slepnoga ) 2011-08-27 18:38:40 UTC
cp linux2.mk linux.mk; build and install. 
Good luck :)
Comment 7 Jory A. Pratt gentoo-dev 2011-08-27 23:48:32 UTC
Mixing a testing enviroment with a stable is not supported by mozilla products. Either use unstable nss, or use a livedvd that makes use of 2.6 kernel. I have already stated I do not mind if nss-3.12.10/nspr-4.8.8 is stabilized.