Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326973 - media-gfx/graphviz emerged with ERROR
Summary: media-gfx/graphviz emerged with ERROR
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-05 11:15 UTC by Leonid Kopylov
Modified: 2010-07-05 12:50 UTC (History)
0 users

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 Leonid Kopylov 2010-07-05 11:15:00 UTC
media-gfx/graphviz emerged with ERROR

Reproducible: Always

Steps to Reproduce:
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 3352:  Called python_mod_cleanup '/usr/lib64/python2.6/site-packages/gv.py'
 *   environment, line 4458:  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'
!!! 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 3347:  Called python_mod_optimize '/usr/lib64/python2.6/site-packages/gv.py'
 *   environment, line 4617:  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/portage/media-gfx/graphviz-2.26.3-r1/temp/build.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...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.



Expected Results:  
media-gfx/graphviz emerged without errors

# emerge --info =media-gfx/graphviz-2.26.3-r1
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 05 Jul 2010 03:15:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     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.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="* -@EULA AdobeFlash-10.1 Nero-EULA-US skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en he ru"
MAKEOPTS="-j3"
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.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 audio audit autoipd automount avahi bash-completion bcmath berkdb bidi branding bzip2 cairo caps ccache cdda cddax cddb cdio cdparanoia cdr cli common-lisp consolekit cpudetection cracklib crypt ctype cuda cups curl curlwrappers cursors cxx dbus device-mapper directfb disk-partition doc dri dts dvd dvdr eds emacs emboss enca encode evo examples exif extra extras fam fbcon ffmpeg firefox flac fortran ftp gcj gd gdbm gdm gdu gif gmail gnokii gnome gnome-keyring gnutls google google-gadgets gpm grammar grub gstreamer gtk hal hddtemp hpijs icons iconv icq icu id3 id3tag idn ipv6 jack jadetex java javascript jpeg kde kdm kdrive kpathsea latex lcms libcaca libnotify lm_sensors lock mad math mdnsresponder-compat mikmod mmx mng modules mp3 mp4 mpeg mplayer mtp mudflap multilib musepack nautilus ncurses nethack network-cron networkmanager nfs nfsv3 nfsv4 nls nptl nptlonly nvidia offensive ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd prediction pulseaudio python qt3support qt4 radio readline recode reflection rpm samba sasl scanfolder sdl sdl-image semantic-desktop sendmail sensord session slp snmp sockets speech speex spell spl spoof-source sqlite sse sse2 ssl ssse3 startup-notification stream svg symlink sysfs syslog sysvipc tcpd threads thunar tiff tk truetype udev unicode usb utils v4l2 vcd vcdinfo video vim-syntax vorbis wav wavpack wma wmf x264 xattr xcb xfce xinetd xml xorg xosd xulrunner xv xvid xvmc zeroconf 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTDIR_OVERLAY

=================================================================
                        Package Settings
=================================================================

media-gfx/graphviz-2.26.3-r1 was built with the following:
USE="cairo doc examples gtk java (multilib) nls perl python -lasi -ruby -static-libs -tcl"
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-07-05 12:50:17 UTC
that's only notification that there was a error, not the error itself. 
reopen the bug with full build.log as attachment, thanks.