Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 199831
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tobias Hunger <tobias@aquazul.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
swig-1.3.32-static.patch patch file patch Ioan Marius Curelariu 2007-11-24 01:27 0000 379 bytes Details | Diff
swig-1.3.32.ebuild ebuild text/plain Ioan Marius Curelariu 2007-11-24 01:28 0000 1.94 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 199831 depends on: Show dependency tree
Bug 199831 blocks:
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: 2007-11-20 21:27 0000
gv_perl.cpp:1761: error: invalid use of 'static' in linkage specification
make[3]: *** [gv_perl.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/gv_ruby.Tpo .deps/gv_ruby.Plo
make[3]: Leaving directory
`/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/tclpkg/gv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. emerge media-gfx/graphviz-2.12
2.
3.

------- Comment #1 From Tobias Hunger 2007-11-20 21:34:49 0000 -------
I am using ~x86. Emerging with USE="-perl" works.

------- Comment #2 From Jakub Moc (RETIRED) 2007-11-20 21:39:21 0000 -------
Post emerge --info output plus a couple lines above the error you get. Thanks.

------- Comment #3 From Pariksheet Nanda 2007-11-21 16:40:59 0000 -------
I am using AMD64. Emerging with USE='-perl' works for me too. But to help
resolve this bug I'm posting the details of my error and emerge --info

http://forums.gentoo.org/viewtopic-t-619295.html


$ emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r0,
2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3800+
Timestamp of tree: Tue, 20 Nov 2007 00:46:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4-r7, 2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/terminfo /etc/texmf/web2c
/etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ "
LINGUAS="hi"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/sunrise"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl alsa amd64 avi berkdb bitmap-fonts cdr cli
cracklib crypt cups dbus divx doc dri dts dvd dvdnav dvdread examples firefox
fortran gdbm gif gmedia gpm gtk hal iconv ipv6 isdnlog jpeg live mad matroska
midi mmx mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin oggvorbis
opengl openmp pam pcre pdf png pppd python qt3 qt4 quicktime readline realmedia
reflection sdl session spell spl sse sse2 ssl startup-notification svg symlink
tcpd theora tiff truetype truetype-fonts type1 type1-fonts unicode wma wmp
xanim xcomposite xorg xscreensaver xv 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 mulaw multi null plug rate
route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="hi" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #4 From Ioan Marius Curelariu 2007-11-24 00:25:10 0000 -------
In file ./tclpkg/gv/gv_perl.cpp, on line 996:
#define SWIGCLASS_STATIC extern "C" static SWIGUNUSED
The use of <extern "C"> part is not correct and should be removed.
I will attach a patch file as soon as I can.

------- Comment #5 From Ioan Marius Curelariu 2007-11-24 01:06:54 0000 -------
(In reply to comment #4)
> In file ./tclpkg/gv/gv_perl.cpp, on line 996:
> #define SWIGCLASS_STATIC extern "C" static SWIGUNUSED
> The use of <extern "C"> part is not correct and should be removed.
> I will attach a patch file as soon as I can.

Sorry for writting faster than thinking :(
The problem is with swig-1.3.32. If you use swig-1.3.31, then it works.
Note that the gv_perl.cpp file is generated with swig...

------- Comment #6 From Ioan Marius Curelariu 2007-11-24 01:27:52 0000 -------
Created an attachment (id=136835) [details]
patch file

patch file that fixes graphviz compilation with perl use flag enabled.

------- Comment #7 From Ioan Marius Curelariu 2007-11-24 01:28:58 0000 -------
Created an attachment (id=136836) [details]
ebuild

ebuild file that fixes graphviz compilation with perl use flag enabled; it uses
the patch attached earlier.

------- Comment #8 From Jakub Moc (RETIRED) 2007-11-24 08:25:17 0000 -------
*** Bug 200148 has been marked as a duplicate of this bug. ***

------- Comment #9 From Jakub Moc (RETIRED) 2007-11-24 08:26:09 0000 -------
Reopen...

------- Comment #10 From Ioan Marius Curelariu 2007-11-30 08:57:47 0000 -------
Fixed and working with swig-1.3.33.

------- Comment #11 From Ryan Hill 2007-12-16 20:47:33 0000 -------
CCing the swig maintainers.  this is fixed in >=graphviz-2.16.1 by depending on
swig-1.3.33, but the stable ebuild (2.12) is still affected.

------- Comment #12 From Ryan Hill 2007-12-16 22:24:35 0000 -------
i take that back.  keywords were dropped in swig-1.3.32 so i can't depend on
1.3.33.  we either need this patch applied or 1.3.32 removed.

------- Comment #13 From Marijn Schouten 2007-12-17 11:22:57 0000 -------
(In reply to comment #12)
> we either need this patch applied or 1.3.32 removed.

I don't see what good removing 1.3.32 will do; it has the same dropped keywords
as 1.3.33.

------- Comment #14 From Ryan Hill 2007-12-17 13:30:50 0000 -------
because i can't depend on >=dev-lang/swig-1.3.33 in graphviz.  the best i can
do is >=swig-1.3.31, which includes the broken version.

------- Comment #15 From Marijn Schouten 2007-12-17 15:37:45 0000 -------
Sorry for being slow. I have removed swig-1.3.32.

------- Comment #16 From Ryan Hill 2007-12-18 00:12:44 0000 -------
meh, it's monday. ;)

fixinated.

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