Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73271 - coreutils permisions error
Summary: coreutils permisions error
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-03 15:48 UTC by Matei Daniel
Modified: 2007-01-11 11:01 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 Matei Daniel 2004-12-03 15:48:24 UTC
during an world update coreutils failed to compile giving me errors regarding permisions.

The problem is that if I try to get over this problem the emerge warns me about this:

Calculating world dependencies ...done!
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2

INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
INCOMPLETE MERGE: /var/db/pkg/sys-apps/-MERGING-coreutils-5.2.1-r2
[ebuild     U ] sys-apps/coreutils-5.2.1-r2 [5.2.1]
[ebuild     U ] app-shells/bash-3.0-r7 [2.05b-r9]


Reproducible: Always
Steps to Reproduce:
1. emerge -u coreutils
2.
3.

Actual Results:  
   usr/bin/test
   usr/bin/tsort
   usr/bin/unexpand
   usr/bin/users
>>> Completed installing into /var/tmp/portage/coreutils-5.2.1-r2/image/

>>> Merging sys-apps/coreutils-5.2.1-r2 to /

!!! Cannot write to '/bin'.
!!! Please check permissions and directories for broken symlinks.
!!! You may start the merge process again by using ebuild:
!!! ebuild /usr/portage/sys-apps/coreutils/coreutils-5.2.1-r2.ebuild merge
!!! And finish by running this: env-update


issued the command: ebuild
/usr/portage/sys-apps/coreutils/coreutils-5.2.1-r2.ebuild merge
I get the same result.




Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.4.26-gentoo-r13 i586)
=================================================================
System uname: 2.4.26-gentoo-r13 i586 Pentium MMX
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.13,sys-devel/autoconf-2.59-r6
Automake:
sys-devel/automake-1.8.5-r2,sys-devel/automake-1.9.3,sys-devel/automake-1.4_p6,sys-devel/automake-1.5,sys-devel/automake-1.6.3,sys-devel/automake-1.7.9
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.10
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=i386 -O3 -pipe"
CHOST="i386-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apm berkdb bitmap-fonts crypt encode f77 foomaticdb fortran gdbm gif gpm
imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss
pam pdflib perl png python readline sdl spell ssl tcpd truetype x86 xml2 xv zlib"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-12-04 15:24:18 UTC
Is /bin mounted readonly? What are the permissions?
Comment 2 Matei Daniel 2004-12-05 05:00:44 UTC
drwxr-xr-x   2 root     root         4096 Dec  2 22:04 /bin

Anyway...it does writes the new bins in there but at the end it says it fails.
Comment 3 Stian Skjelstad 2004-12-06 05:20:23 UTC
And you also now that there is enough disk-space and tried to fsck the filesystem to be certain that there is no user-error here?
Comment 4 SpanKY gentoo-dev 2004-12-20 05:18:50 UTC
get back to us and make sure that your drives are sane

try this for example:
chmod 555 /bin
chmod 755 /bin

those should not fail
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 11:01:19 UTC
Closing due to old age