Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 326095

Summary: media-gfx/graphviz-2.26.3-r1 fails to build
Product: Gentoo Linux Reporter: water <waterloo2005>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description water 2010-06-29 06:54:49 UTC
Below is part of install information: How to do with it ? thanks
=========================================================
--- replaced obj /usr/bin/bcomps
--- replaced obj /usr/bin/acyclic
--- replaced dir /usr/bin
--- replaced dir /usr
 * 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 3372:  Called python_mod_cleanup '/usr/lib64/python2.6/site-packages/gv.py'
 *   environment, line 4478:  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/log/port/media-gfx:graphviz-2.26.3-r1:20100628-055148.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'
!!! FAILED postrm: 1
 * 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.
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 * ERROR: media-gfx/graphviz-2.26.3-r1 failed:
 *   python_mod_optimize(): Paths of directories / files in site-packages directories must be relative to site-packages directories
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called pkg_postinst
 *   environment, line 3367:  Called python_mod_optimize '/usr/lib64/python2.6/site-packages/gv.py'
 *   environment, line 4637:  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/log/port/media-gfx:graphviz-2.26.3-r1:20100628-075826.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/graphviz-2.26.3-r1/temp/environment'.
 * S: '/var/tmp/portage/media-gfx/graphviz-2.26.3-r1/work/graphviz-2.26.3'
!!! FAILED postinst: 1
>>> Regenerating /etc/ld.so.cache...

>>> Recording media-gfx/graphviz in "world" favorites file...

 * Messages for package media-gfx/graphviz-2.26.3-r1:

 * 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 3372:  Called python_mod_cleanup '/usr/lib64/python2.6/site-packages/gv.py'
 *   environment, line 4478:  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/log/port/media-gfx:graphviz-2.26.3-r1:20100628-055148.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.

 * Messages for package media-gfx/graphviz-2.26.3-r1:

 * ERROR: media-gfx/graphviz-2.26.3-r1 failed:
 *   python_mod_optimize(): Paths of directories / files in site-packages directories must be relative to site-packages directories
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called pkg_postinst
 *   environment, line 3367:  Called python_mod_optimize '/usr/lib64/python2.6/site-packages/gv.py'
 *   environment, line 4637:  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/log/port/media-gfx:graphviz-2.26.3-r1:20100628-075826.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/graphviz-2.26.3-r1/temp/environment'.
 * S: '/var/tmp/portage/media-gfx/graphviz-2.26.3-r1/work/graphviz-2.26.3'
=========================================================
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-06-29 07:07:45 UTC
Need emerge --info and full build.log, the above has nothing useful to tell us about the problem.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-06-29 07:17:17 UTC
reopen with requested attachments (emerge --info, build.log)
Comment 3 water 2010-06-29 07:43:24 UTC
#emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.2, glibc-2.11.2-r0, 2.6.31-gentoo-r10 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 29 Jun 2010 00:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.2-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-O2 -march=core2 -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://mirrors.xmu.edu.cn/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en zh zh_CN zh_TW"
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="/usr/local/portage/layman/science /usr/local/portage/layman/sunrise /usr/local/portage/layman/devnull /usr/local/portage/layman/sectools /usr/local/portage/layman/gentoo-china /usr/portage"
SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 asf avahi bash-completion berkdb bitmap-fonts blas bzip2 cdparanoia cdr chm cjk cli cracklib crypt cups cxx dbus divx4linux dri dv dvd dvdread emacs encode examples exif ffmpeg firefox flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gtk hal hdaps iconv ieee1394 java jpeg lame laptop lm_sensors mad midi mjpeg mmx modules mp3 mp4 mpeg msn mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qq quicktime rar readline reflection session spell spl sse sse2 sse3 ssl startup-notification svg sysfs tcpd threads tiff unicode wifi xft xine xinerama xml xorg xscreensaver xv xvid zip 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh zh_CN zh_TW" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon vesa intel" 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, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 water 2010-06-29 07:52:14 UTC
Created attachment 236887 [details]
build.log