Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372951 - net-irc/unrealircd-3.2.8.1-r2 access violation in src_install phase
Summary: net-irc/unrealircd-3.2.8.1-r2 access violation in src_install phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-25 09:12 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2011-06-26 04:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sandbox-19115.log (sandbox-19115.log,683 bytes, text/plain)
2011-06-25 09:12 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-06-25 09:12:01 UTC
>>> Install unrealircd-3.2.8.1-r2 into /var/tmp/portage/net-irc/unrealircd-3.2.8.1-r2/image/ category net-irc
ACCESS DENIED  rename:       /etc/unrealircd/sedUl5LKw
ACCESS DENIED  unlink:       /etc/unrealircd/sedUl5LKw
sed: cannot remove /etc/unrealircd/sedUl5LKw: Permission denied
 * ERROR: net-irc/unrealircd-3.2.8.1-r2 failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_install
 *   environment, line 3172:  Called die
 * The specific snippet of code:
 *       sed -i -e s:src/modules:"${EPREFIX}"/usr/$(get_libdir)/unrealircd/modules: -e s:ircd\.log:"${EPREFIX}"/var/log/unrealircd/ircd.log: "${ED}"/etc/unrealircd/unrealircd.conf || die;
 * 



# emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0/server, gcc-4.5.3, libc-0-r0, 2.6.35.13 x86_64)
=================================================================
System uname: Linux-2.6.35.13-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.0.2
Timestamp of tree: Sat, 25 Jun 2011 06:00:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1-r1, 3.1.3-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1::poly-c
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.3_pre::poly-c
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=atom -mtune=atom -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/ssl /etc/terminfo"
CXXFLAGS="-march=atom -mtune=atom -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --jobs=1"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/poly-c"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="acl acpi amd64 apache2 berkdb bzip2 caps cli cracklib crypt cups cxx dri fam gdbm gmp gnutls iconv idn innodb ipv6 libwww maildir mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre pppd readline session slang sse sse2 ssl sysfs truetype unicode xml xml2 xorg zlib" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard" KERNEL="linux" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-06-25 09:12:32 UTC
Created attachment 278087 [details]
sandbox-19115.log
Comment 2 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-06-26 04:19:03 UTC
Well, 3.2.8.1-r2's purpose was to fix compilation on prefix. I forgot to test the ebuild on real portage which doesn't set ED for EAPI=2, so the EAPI is now bumped to 3 in CVS and this should be fixed.

Thanks very much for the quick report!