Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 148656
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
swig-python-2.5.patch SWIG patch for python-2.5 patch Helmut Jarausch 2006-09-25 02:02 0000 6.73 KB Details | Diff
graphviz-2.8-python25.patch Fixes on python2.5 patch Alex 2006-09-27 16:42 0000 1.23 KB Details | Diff
graphviz-2.8-r2.ebuild graphviz-2.8-r2.ebuild - includes touch to ensure swig rebuilds all components text/plain Mike Auty 2006-10-30 01:29 0000 2.54 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 148656 depends on: 148733 149064 Show dependency tree
Bug 148656 blocks: 148333
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-22 08:27 0000
emerge media-gfx/graphviz-2.8-r1
on a python-2.5 based system fails:
/bin/sh ../../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I. -I../..  -I../.. -I../../lib/gvc -I../../lib/common
-I../../lib/graph -I../../lib/cdt -I../../lib/pathplan
-I/usr/lib/perl5/5.8.8/i686-linux/CORE -I/usr/lib/ocaml -I/usr/include/php
-I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM
-I/usr/include/python2.5      -O2 -march=i686 -pipe -c -o gv_python.lo
gv_python.cpp
005094  i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../..
-I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt
-I../../lib/pathplan -I/usr/lib/perl5/5.8.8/i686-linux/CORE -I/usr/lib/ocaml
-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend
-I/usr/include/php/TSRM -I/usr/include/python2.5 -O2 -march=i686 -pipe -c
gv_python.cpp  -fPIC -DPIC -o .libs/gv_python.o
005095 gv_python.cpp: In function 'int SWIG_Python_ConvertPtr(PyObject*,
void**, swig_type_info*, int)':
005096 gv_python.cpp:1231: error: invalid conversion from 'const char*' to
'char*'
005097 gv_python.cpp: In function 'void SWIG_Python_FixMethods(PyMethodDef*,
swig_const_info*, swig_type_info**, swig_type_info**)':
005098 gv_python.cpp:5501: error: invalid conversion from 'const char*' to
'char*'
005099 make[3]: *** [gv_python.lo] Error 1
005100 make[3]: *** Waiting for unfinished jobs....
005101 make[3]: Leaving directory
`/var/tmp/portage/graphviz-2.8-r1/work/graphviz-2.8

==============================
emerge --info
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-
r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Xeon(TM) CPU 3.06GHz
Gentoo Base System version 1.12.5
Last Sync: Fri, 22 Sep 2006 07:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1, 2.5
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shu
tdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo
/et
c/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms
strict
"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LINGUAS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/d
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X berkdb bitmap-fonts cdr cli crypt cups dlloader doc dri dvd
elibc_gli
bc fortran gdbm gnome gpm gtk input_devices_evdev input_devices_keyboard
input_d
evices_mouse ipv6 isdnlog kde kernel_linux libg++ ncurses nls nptl nptlonly pam 
pcre perl ppds pppd python qt readline reflection session spl ssl tcpd tk
truety
pe-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark
v
ideo_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix
video_card
s_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740
vi
deo_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic
video_card
s_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge
vi
deo_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb
vi
deo_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng
video_cards
_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware
video_c
ards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTA
GE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #1 From Helmut Jarausch 2006-09-25 02:02:21 0000 -------
Created an attachment (id=98003) [details]
SWIG patch for python-2.5

The patch to swig-1.3.29 (taken from the CVS version of SWIG)
fixes the problems with lcms and graphviz

One still needs to touch some files to force make to rebuild the swig wrappers
with the new SWIG.

------- Comment #2 From Alex 2006-09-26 15:30:44 0000 -------
I too get this bug, hope it's fixed in portage shortly.

------- Comment #3 From Alex 2006-09-27 16:42:29 0000 -------
Created an attachment (id=98267) [details]
Fixes on python2.5

This worked for me, I just made it and testing it about 5 minutes ago.

------- Comment #4 From Mike Auty 2006-09-30 10:18:03 0000 -------
Updating the version number in the summary on this, since it's still a problem
with the latest ebuild.  The SWIG patch has gone in, so all that's required now
is either to touch the relevant files (hopefully Helmut can provide us with the
precise list) or apply Alex's patch...

------- Comment #5 From Alex 2006-10-15 23:48:06 0000 -------
Any news?

------- Comment #6 From Mike Auty 2006-10-29 14:56:49 0000 -------
Graphics guys, do you have any problems with me reassigning this to the python
guys?

It's been a month, and it's quite a quick fix to simply touch the *.i files.  I
just want to make sure nobody feels their toes are getting tread on if someone
else commits a fix to the tree?  I'll reassign this in a couple of days if I
don't hear anything...

------- Comment #7 From Mike Auty 2006-10-30 01:29:07 0000 -------
Created an attachment (id=100769) [details]
graphviz-2.8-r2.ebuild - includes touch to ensure swig rebuilds all components

Here's the proposed modification I'll be making to the ebuild.  This has only
one new line:

touch tclpkg/gv/gv.i

This will ensure that the swig wrapper is rebuilt (seeing as swig is a
dependency).  Ideally this would be included in a swig.eclass during the unpack
phase that simply touches *.i files.  However, this will at least allow people
to start using graphviz again... 

------- Comment #8 From Bryan Østergaard (RETIRED) 2007-01-07 13:33:56 0000 -------
SWIG and lcms was both fixed yesterday so I just added the 'touch
tclpkg/gv/gv.i' to force rebuilding.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug