Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267543 - app-emulation/xen-tools-3.3.0 fails to emerge on amd64-multilib
Summary: app-emulation/xen-tools-3.3.0 fails to emerge on amd64-multilib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-26 14:00 UTC by Charlie
Modified: 2009-05-01 15:06 UTC (History)
0 users

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


Attachments
Full build log (build.log,102.23 KB, text/plain)
2009-04-26 14:08 UTC, Charlie
Details
Full environment (environment,107.39 KB, text/plain)
2009-04-26 14:08 UTC, Charlie
Details
Full eclass-debug log (eclass-debug.log,1.18 KB, text/plain)
2009-04-26 14:09 UTC, Charlie
Details
Full Sandbox log (sandbox-8942.log,279 bytes, text/plain)
2009-04-26 14:11 UTC, Charlie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie 2009-04-26 14:00:09 UTC
Reproducible : Allways (tested on two different boxes)
Hints : System is already running xen, need to reemerge the tools for changed flags / new python version


When trying to (re)emerge xen-tools 3.3.0 on an amd64 platform the ebuild stops with the following results:

make[2]: Entering directory `/var/tmp/portage/app-emulation/xen-tools-3.3.0/work/xen-3.3.0/tools/fs-back'
gcc  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Werror -Wno-unused -fno-strict-aliasing -I../../tools/libxc -I../../tools/include -I../../tools/xenstore -I../../tools/include -I.. -I../lib -I. -D_GNU_SOURCE -Wp,-MD,.fs-xenbus.o.d -c -o fs-xenbus.o fs-xenbus.c
gcc  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Werror -Wno-unused -fno-strict-aliasing -I../../tools/libxc -I../../tools/include -I../../tools/xenstore -I../../tools/include -I.. -I../lib -I. -D_GNU_SOURCE -Wp,-MD,.fs-ops.o.d -c -o fs-ops.o fs-ops.c
gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Werror -Wno-unused -fno-strict-aliasing -I../../tools/libxc -I../../tools/include -I../../tools/xenstore -I../../tools/include -I.. -I../lib -I. -D_GNU_SOURCE -Wp,-MD,.fs-backend.d -o fs-backend fs-xenbus.o fs-ops.o -L. -L.. -L../lib -L../../tools/libxc -lxenctrl -L../../tools/xenstore -lxenstore -lpthread -lrt  fs-backend.c
make[2]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-3.3.0/work/xen-3.3.0/tools/fs-back'
make[1]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-3.3.0/work/xen-3.3.0/tools'
make[1]: Entering directory `/var/tmp/portage/app-emulation/xen-tools-3.3.0/work/xen-3.3.0/tools'
set -ex; \
        if test -d ioemu-qemu-xen; then \
                rm -f ioemu-dir; \
                ln -sf ioemu-qemu-xen ioemu-dir; \
        else \
                if [ ! -d ioemu-remote ]; then \
                        rm -rf ioemu-remote ioemu-remote.tmp; \
                        mkdir ioemu-remote.tmp; rmdir ioemu-remote.tmp; \
                        git clone ioemu-qemu-xen ioemu-remote.tmp; \
                        if [ "xen-3.3.0" ]; then                        \
                                cd ioemu-remote.tmp;                    \
                                git branch -D dummy >/dev/null 2>&1 ||:; \
                                git checkout -b dummy xen-3.3.0;        \
                                cd ..;                                  \
                        fi;                                             \
                        mv ioemu-remote.tmp ioemu-remote; \
                fi; \
                rm -f ioemu-dir; \
                ln -sf ioemu-remote ioemu-dir; \
        fi
+ test -d ioemu-qemu-xen
+ rm -f ioemu-dir
+ ln -sf ioemu-qemu-xen ioemu-dir
set -e; \
                case "../" in \
                /*)     XEN_ROOT=../ ;; \
                *)      XEN_ROOT=`pwd`/../ ;; \
                esac; \
                export XEN_ROOT; \
                cd ioemu-dir; \
                ./xen-setup
ACCESS DENIED  unlinkat:     /Makefile
rm: cannot remove `/Makefile': Permission denied
make[1]: *** [ioemu-dir-find] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-3.3.0/work/xen-3.3.0/tools'
make: *** [subdirs-all] Error 2
make: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-3.3.0/work/xen-3.3.0/tools'
 *
 * ERROR: app-emulation/xen-tools-3.3.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2756:  Called die
 * The specific snippet of code:
 *       emake -C tools ${myopt} || die "compile failed";
 *  The die message:
 *   compile failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/xen-tools-3.3.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-tools-3.3.0/temp/environment'.
 *
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-8942.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: unlinkat
S: deny
P: /Makefile
A: /Makefile
R: /Makefile
C: rm -f /Makefile
--------------------------------------------------------------------------------

emerge --info

Portage 2.1.6.7 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.8_p20080602-r1, 2.6.21-xen x86_64)
=================================================================
System uname: Linux-2.6.21-xen-x86_64-AMD_Phenom-tm-_9650_Quad-Core_Processor-with-glibc2.3.2
Timestamp of tree: Sat, 25 Apr 2009 01:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.16.1-r3, 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=athlon64 -O2 -pipe -fforce-addr -fomit-frame-pointer -m3dnow -msse -mmmx -falign-functions=4 -funroll-loop                         s -mfpmath=sse -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mtune=athlon64 -O2 -pipe -fforce-addr -fomit-frame-pointer -m3dnow -msse -mmmx -falign-functions=4 -funroll-lo                         ops -mfpmath=sse -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.private.cybearth.net/mirrors/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sun                         site.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LDFLAGS=""
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --t                         imeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 7zip acpi amd64 berkdb cdr cracklib crypt dvd hardened hvm justify midi mmx multilib multislot ncurses nls npt                         l nptlonly pam pic readline sdl ssl tcpd unicode urandom xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x                          ca0106 cmipci emu10k1x         ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3       trident u                         sb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks                          iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="                         actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfil                         e authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter fil                         e_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling statu                         s unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES=                         "bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus                          cyrix dummy fbdev glint i128 i810 intel mach64  mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis                                 sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_CO                         MPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-26 14:01:17 UTC
Please attach the build.log file of the failed emerge to this bug.
Comment 2 Charlie 2009-04-26 14:08:01 UTC
Created attachment 189496 [details]
Full build log
Comment 3 Charlie 2009-04-26 14:08:43 UTC
Created attachment 189497 [details]
Full environment
Comment 4 Charlie 2009-04-26 14:09:24 UTC
Created attachment 189499 [details]
Full eclass-debug log
Comment 5 Charlie 2009-04-26 14:11:29 UTC
Created attachment 189500 [details]
Full Sandbox log
Comment 6 Patrick Lauer gentoo-dev 2009-04-27 12:52:13 UTC
+  27 Apr 2009; Patrick Lauer <patrick@gentoo.org>                                                                                                                 
+  +files/xen-3.3.0-unexported-target-fix.patch, +xen-3.3.1-r1.ebuild:                                                                                             
+  Fix sandbox violation

3.3.1-r1 should have that fixed.
Comment 7 Charlie 2009-05-01 15:06:18 UTC
confirm fixed in 3.3.1 (sync from 30th Apr. 2009).
Thank you