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

Bug 218877

Summary: baselayout-2.0.0 fails with USE="build"
Product: Gentoo Linux Reporter: Kevin Cody Jr. <kcodyjr>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: blocker CC: corsair, hollow
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch against baselayout-2.0.0.ebuild

Description Kevin Cody Jr. 2008-04-22 12:48:32 UTC
Doing a catalyst stage1 using stage3-amd64-hardened-2007.0 as seed.

Very short package.keywords file; baselayout and its deps.

In pkg_preinst:

1. make_opts is not defined anywhere
2. emake tries to run in ${T}, with no Makefile

I could be missing something or doing something drastically wrong.

Let me know if you need stuff pasted or anything.

Reproducible: Always

Steps to Reproduce:
1. set up catalyst stage1 spec file
2. invoke catalyst, wait, wait, wait...
3. watch the fireworks
4. chdir to seed root; chroot; ln -s /bin/true /bin/make_opts
5. invoke catalyst
6. watch the fireworks

Actual Results:  
make: Entering directory `/var/tmp/portage/sys-apps/baselayout-2.0.0/temp'
make: *** No rule to make target `layout'.  Stop.
make: Leaving directory `/var/tmp/portage/sys-apps/baselayout-2.0.0/temp'
Comment 1 Kevin Cody Jr. 2008-04-23 00:29:06 UTC
Created attachment 150665 [details]
patch against baselayout-2.0.0.ebuild


Changes emake line to one that works for me.

Also, dismounts and remounts ${ROOT}proc, as catalyst bind-mounts it.
Comment 2 SpanKY gentoo-dev 2008-05-10 10:03:02 UTC
$S wont be available for binpkgs ... ive fixed this in cvs, please test

http://sources.gentoo.org/sys-apps/baselayout/baselayout-2.0.0.ebuild?r1=1.4&r2=1.5