| Summary: | baselayout-1.13.0_alpha5 fails during pkg_postinst with USE=bootstrap | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christian Heim (RETIRED) <phreak> |
| Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 2006.1 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Don't create /proc | ||
Yeah, so post an error from alpha5. That code is from alpha3, and the portage tempdir thinks it is too
Roy, you are absolutely right ... here's what is currently failing with _alpha5:
make: Entering directory `/var/tmp/portage/baselayout-1.13.0_alpha5/temp'
# Create base filesytem layout
for x in /boot /home /mnt /root /usr/local/bin /usr/local/sbin /usr/local/share/doc /usr/local/share/man /var/lock /var/run /dev /proc /sys ; do \
install -m 0755 -d "/"$x || exit $? ; \
touch "/"$x/.keep || exit $? ; \
done
touch: cannot touch `//proc/.keep': No such file or directory
make: *** [layout] Error 1
make: Leaving directory `/var/tmp/portage/baselayout-1.13.0_alpha5/temp'
!!! ERROR: sys-apps/baselayout-1.13.0_alpha5 failed.
Call stack:
ebuild.sh, line 1527: Called pkg_postinst
baselayout-1.13.0_alpha5.ebuild, line 146: Called die
!!! failed to layout filesystem
!!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 101267 [details, diff]
Don't create /proc
See if this fixes
(In reply to comment #3) > Created an attachment (id=101267) [edit] > Don't create /proc > > See if this fixes Yup, that works. Fixed in -r1 |
I tried to bootstrap a new stage3 today, and while running that baselayout-1.13.0_alpha5 failed within postinst. * Creating dev nodes install -m 0755 -d "/var/tmp/portage/baselayout-1.13.0_alpha3/image/"/dev ln -snf ../sbin/MAKEDEV "/var/tmp/portage/baselayout-1.13.0_alpha3/image/"/dev/MAKEDEV \ ( curdir=`pwd` ; cd "/var/tmp/portage/baselayout-1.13.0_alpha3/image/"/dev ; \ suffix= ; \ case "x86" in \ arm*) suffix=-arm ;; \ alpha) suffix=-alpha ;; \ amd64) suffix=-i386 ;; \ hppa) suffix=-hppa ;; \ ia64) suffix=-ia64 ;; \ m68k) suffix=-m68k ;; \ mips*) suffix=-mips ;; \ ppc*) suffix=-powerpc ;; \ s390*) suffix=-s390 ;; \ sh*) suffix=-sh ;; \ sparc*) suffix=-sparc ;; \ x86) suffix=-i386 ;; \ esac ; \ $curdir/sbin/MAKEDEV generic$suffix ; \ $curdir/sbin/MAKEDEV sg scd rtc hde hdf hdg hdh ; \ $curdir/sbin/MAKEDEV input audio video ; \ ) /bin/sh: -c: line 1: syntax error near unexpected token `(' /bin/sh: -c: line 1: `( curdir=`pwd` ; cd "/var/tmp/portage/baselayout-1.13.0_alpha3/image/"/dev ; \' make: *** [dev-Linux] Error 2 !!! ERROR: sys-apps/baselayout-1.13.0_alpha3 failed. Call stack: ebuild.sh, line 1562: Called dyn_preinst ebuild.sh, line 1038: Called pkg_preinst baselayout-1.13.0_alpha3.ebuild, line 108: Called die !!! failed to create /dev nodes !!! If you need support, post the topmost build error, and the call stack if relevant.