Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75735 - ebuild <package> digest fails when called with sudo
Summary: ebuild <package> digest fails when called with sudo
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-26 16:02 UTC by Roel Brook
Modified: 2005-02-03 17:17 UTC (History)
2 users (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 Roel Brook 2004-12-26 16:02:53 UTC
When using the command

sudo ebuild <package> filename.ebuild digest, the command fails with the following error message:
>>> Generating digest file...
<<< linux-2.6.10.tar.bz2
<<< patch-2.6.10-nitro1.bz2
!!! Filesystem error skipping generation. (Read-Only?)
!!! [Errno 13] Permission denied: '/usr/local/portage/sys-kernel/nitro-sources/files/digest-nitro-sources-2.6.10-r1'

When using "su" to get root priviliges, it does work:
root@Medusa# ebuild nitro-sources-2.6.10-r1.ebuild digest
>>> Generating digest file...
<<< linux-2.6.10.tar.bz2
<<< patch-2.6.10-nitro1.bz2
>>> Generating manifest file...
<<< nitro-sources-2.6.10-r1.ebuild
<<< nitro-sources-2.6.10_rc3-r2.ebuild
<<< files/digest-nitro-sources-2.6.10-r1
<<< files/digest-nitro-sources-2.6.10_rc3-r2
>>> Computed message digests.



Reproducible: Always
Steps to Reproduce:




I'm actually using the unstable portage version, so it shouldn't affect most users.

root@Medusa# emerge info                       (...ge/sys-kernel/nitro-sources)
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0,
2.6.10-rc3-nitro2 i686)
=================================================================
System uname: 2.6.10-rc3-nitro2 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 24 2004, 18:21:57)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.90.0.1.1-r3
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/fax /usr/share/config /var/qmail/alias
/var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acl alsa apache2 apm arts avi bitmap-fonts bzlib calender
cdparanoia cdr crypt cups dba directfb divx4linux dvd dvdr encode esd fam
filepro flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2
guile imagemagick imlib insecure-drivers java jpeg junit kde ldap libwww live
mad mikmod mime mmx motif mpeg msn mysql ncurses nptl odbc offensive oggvorbis
ooo-kde opengl pam pdflib perl pic png postgres python qmail qt quicktime
readline real rplay samba scanner sdk sdl session slang softmmu spell sse ssl
stroke svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb xine
xinerama xml xml2 xmms xprint xscreensaver xv xvid zlib"
Comment 1 Roel Brook 2005-02-03 17:17:06 UTC
I am no longer able to reproduce this, so I'm closing this one.