Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240007 - media-gfx/graphviz-2.20.2 ebuild failed
Summary: media-gfx/graphviz-2.20.2 ebuild failed
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-05 17:12 UTC by Henry
Modified: 2008-10-05 20:11 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 Henry 2008-10-05 17:12:29 UTC
When attempting to emerge this package, compilation fails with the following message:

gv_python.cpp:1209: error: invalid conversion from 'const char*' to 'char*'
gv_python.cpp: In function 'void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)':
gv_python.cpp:5826: error: invalid conversion from 'const char*' to 'char*'





Reproducible: Always

Steps to Reproduce:
1. just emerge it.

Actual Results:  
Ebuild fails.

Expected Results:  
Ebuild should succeed.

Full error context:
gv_python.cpp: In function 'int SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)':
gv_python.cpp:1209: error: invalid conversion from 'const char*' to 'char*'
gv_python.cpp: In function 'void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)':
gv_python.cpp:5826: error: invalid conversion from 'const char*' to 'char*'
make[4]: *** [libgv_python_la-gv_python.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.20.2/work/graphviz-2.20.2/tclpkg/gv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.20.2/work/graphviz-2.20.2/tclpkg/gv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.20.2/work/graphviz-2.20.2/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.20.2/work/graphviz-2.20.2'
make: *** [all] Error 2
 *
 * ERROR: media-gfx/graphviz-2.20.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2881:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake 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/media-gfx/graphviz-2.20.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/graphviz-2.20.2/temp/environment'.
 *

 * Messages for package media-gfx/graphviz-2.20.2:

 *
 * ERROR: media-gfx/graphviz-2.20.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2881:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake 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/media-gfx/graphviz-2.20.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/graphviz-2.20.2/temp/environment'.
 *


emerge --info:
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+
Timestamp of tree: Sun, 05 Oct 2008 12:34:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r9, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ "
LINGUAS="en de"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amd64 apache arts asf audiofile avi berkdb bzip2 cairo cdparanoia cdr cli cracklib crypt ctype cups dbus divx dri dssi dv dvb dvd dvdr dvdread eds emboss encode esd evo fam firefox flash foomatic fortran fping ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkghtml hal iconv icq imagemagick imap ipv6 isdnlog jack java javascript joystick jpeg jpeg2k kde kerberos ladspa ldap libwww lm_sensors mad midi mikmod mime ming mjpeg mmx motif mp3 mpeg mplayer msn mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia odbc ogg openal opengl openmp oss pam pango pcre pdf perl php png posix ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session sndfile sockets spell spl sqlite sqlite3 sse sse2 ssl subtitles subversion svg symlink tcl tcltk tcpd tetex theora tiff truetype unicode usb v4l vcd videos vorbis wmf workbench xine xml xmlrpe xorg xpm xv xvid yahoo 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-05 20:11:50 UTC
Please run python-updater and try to emerge media-gfx/graphviz again. If it still fails, then please reopen this bug report.