Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98437 - baselayout emerge, bash unmerge postrm failure, cannot emerge Unable to run required binary.
Summary: baselayout emerge, bash unmerge postrm failure, cannot emerge Unable to run ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-09 02:26 UTC by Bryan
Modified: 2005-08-04 05:44 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 Bryan 2005-07-09 02:26:54 UTC
I tired updating my baselayout according to the handbook by using:
CONFIG_PROTECT="-*" emerge baselayout

of which this happend when unmergeing bash

<<<        obj /usr/share/info/bash.info.gz
<<<        obj /usr/share/doc/bash-2.05b-r9/Y2K.gz
<<<        obj /usr/share/doc/bash-2.05b-r9/README.gz
<<<        obj /usr/share/doc/bash-2.05b-r9/NEWS.gz
<<<        obj /usr/share/doc/bash-2.05b-r9/INTRO.gz
<<<        obj /usr/share/doc/bash-2.05b-r9/FAQ.gz
<<<        obj /usr/share/doc/bash-2.05b-r9/COMPAT.gz
<<<        obj /usr/share/doc/bash-2.05b-r9/CHANGES.gz
<<<        obj /usr/share/doc/bash-2.05b-r9/AUTHORS.gz
<<<        obj /usr/bin/bashbug
<<<        obj /bin/bash
<<<        sym /usr/share/info/bashref.info.gz
<<<        sym /bin/sh
<<<        sym /bin/rbash
<<<        dir /usr/share/doc/bash-2.05b-r9
--- !empty dir /usr/share/man/man1
--- !empty dir /usr/share/man
--- !empty dir /usr/share/info
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr/bin
--- !empty dir /usr
--- !empty dir /bin
!!! FAILED postrm: None

Afterwards emerge is unable to work:

# emerge gaim
Calculating dependencies ...done!
>>> emerge (1 of 1) net-im/gaim-1.3.1 to /
Unable to run required binary

# emerge bzflag
Calculating dependencies ...done!
>>> emerge (1 of 1) games-action/bzflag-2.0.2.20050318 to /
Unable to run required binary.

Reproducible: Always
Steps to Reproduce:
1.CONFIG_PROTECT="-*" emerge baselayout
2.try to emerge program


Actual Results:  
1. !!! FAILED postrm: None

2. Unable to run required binary.

Expected Results:  
Unmerge successfully
Emerge desired program

# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808
 2.6.11 i686)
=================================================================
System uname: 
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 15:25
]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/sh
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Li
distributions/gentoo"
LANG="C"
LC_ALL="C"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl emboss 
de esd foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imagemagick imlib ipv6
g kde ldap libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg ogg
is opengl oss pam pdflib perl png python qt quicktime readline sdl spell sql
ssl svga tcpd tiff truetype truetype-fonts type1-fonts vorbis xine xml xml2 
 xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-09 03:27:57 UTC
I'm pretty sure CONFIG_PROTECT="-*" is only valid during 'emerge system' in the
handbook.  If not that is a mistake ... can you point us to where you read that?

As this issue ... can you run:

 # emerge --debug bzflag

And attach the output here?
Comment 2 Bryan 2005-07-09 14:20:41 UTC
I tried upgrading baselayout after emerge system
section 6.e
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6

At first I tried it on my previous install to see if doing this with the
CONFIG_PROTECT was the prob I rm'ed the whole thing and started over, extract
stage, emerge system. But I still get the same thing.

# emerge --debug bzflag
Calculating dependencies  
Parent:    None
Depstring: games-action/bzflag
Candidates: ['games-action/bzflag']
ebuild: games-action/bzflag-2.0.2.20050318
binpkg: None
 -
Parent:    ebuild / games-action/bzflag-2.0.2.20050318 merge
Depstring: adns? ( net-libs/adns ) curl? ( net-misc/curl ) !dedicated? (
virtual/opengl media-libs/libsdl ) !bootstrap? ( sys-devel/patch ) !bootstrap? (
sys-devel/patch ) !bootstrap? ( sys-devel/patch ) sys-devel/gnuconfig adns? (
net-libs/adns ) curl? ( net-misc/curl ) !dedicated? ( virtual/opengl
media-libs/libsdl )
Exiting... None
 ...done!
>>> emerge (1 of 1) games-action/bzflag-2.0.2.20050318 to /
Unable to run required binary.
Comment 3 SpanKY gentoo-dev 2005-07-09 15:14:08 UTC
*which* stage ?

that error is because your bash was removed ... do you have any
/var/db/pkg/app-shells/bash* directories ?  if so, please post the CONTENTS file
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-08-04 05:44:33 UTC
No response from user...