While emerge , at the 'installation' phase, the python_mod_optimize function [python_mod_cleanup] the ebuild fails. Reproducible: Always Steps to Reproduce: 1.emerge media-gfx/graphviz Actual Results: * ERROR: media-gfx/graphviz-2.26.3-r1 failed: * python_mod_cleanup(): Paths of directories / files in site-packages directories must be relative to site-packages directories * * Call stack: * ebuild.sh, line 54: Called pkg_postrm * environment, line 3366: Called python_mod_cleanup '/usr/lib64/python2.6/site-packages/gv.py' * environment, line 4472: Called die * The specific snippet of code: * die "${FUNCNAME}(): Paths of directories / files in site-packages directories must be relative to site-packages directories"; * * If you need support, post the output of 'emerge --info =media-gfx/graphviz-2.26.3-r1', * the complete build log and the output of 'emerge -pqv =media-gfx/graphviz-2.26.3-r1'. * The complete build log is located at '/var/tmp/binpkgs/media-gfx/graphviz-2.26.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/binpkgs/media-gfx/graphviz-2.26.3-r1/temp/environment'. * S: '/var/tmp/binpkgs/media-gfx/graphviz-2.26.3-r1/work/graphviz-2.26.3' * The 'postrm' phase of the 'media-gfx/graphviz-2.26.3-r1' package has * failed with exit value 1. * * The problem occurred while executing the ebuild file named * 'graphviz-2.26.3-r1.ebuild' located in the '/var/db/pkg/media- * gfx/graphviz-2.26.3-r1' directory. If necessary, manually remove the * environment.bz2 file and/or the ebuild file located in that directory. * * Removal of the environment.bz2 file is preferred since it may allow the * removal phases to execute successfully. The ebuild will be sourced and * the eclasses from the current portage tree will be used when necessary. * Removal of the ebuild file will cause the pkg_prerm() and pkg_postrm() * removal phases to be skipped entirely. I tried removing 'python' from $USE flag, but still the same.
Need full build.log and emerge --info. Reopen the bug when you have attached them.
$ emerge --info media-gfx/graphviz Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.5, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.34-gentoo-r1-x86_64-AMD_Turion-tm-_X2_Dual-Core_Mobile_RM-72-with-gentoo-2.0.1 Timestamp of tree: Sun, 27 Jun 2010 01:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.4.6, 2.6.5-r2, 3.1.2-r3 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.5, 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -msse3 -Os -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -msse3 -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/ http://gentoo.arcticnetwork.ca/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/" LANG="pt_BR.ISO-8859-1" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="en pt_BR" MAKEOPTS="-j5" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X aalib acl alsa amd64 bash-completation berkdb bluetooth bzip2 cdr cli cracklib crypt cups cxx dbus directfb dri dvd fbcon fortran gdbm gpm gtk hal iconv ipv6 libcaca lirc mikmod mmx modules mp3 mp4 mudflap multilib musepack ncurses nls nptl nptlonly opengl openmp pam pcre perl pidgin png pppd python qt3 qt3support qt4 readline reflection sdl session spl sse sse2 ssl symlink sysfs tcpd threads unicode usb v41 v4l2 vim-syntax vorbis wavpack wma xfce xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-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_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt_BR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa fbdev fglrx radeon" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ================================================================= Package Settings ================================================================= media-gfx/graphviz-2.26.3-r1 was built with the following: USE="gtk (multilib) nls perl -cairo -doc -examples -java -lasi -python -ruby -static-libs -tcl"