Gentoo Forums
Gentoo Forums
Quick Search: in
media-gfx/graphviz-2.12 emerge failed due to gv_perl[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 603
Location: Manchester, CT, USA

PostPosted: Wed Nov 21, 2007 1:18 am    Post subject: media-gfx/graphviz-2.12 emerge failed due to gv_perl[SOLVED] Reply with quote

I'm trying to emerge inkscape. Its dependency graphviz-2.12 failed. Here's the relevant snippet of the error:
Code:
/bin/sh ../../libtool --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -O2 -pipe   -o libgv_python.la -rpath /usr/lib64/python2.5/site-packages gv.lo gv_python.lo  ../../lib/gvc/libgvc.la -L/usr/lib64 -lpython2.5 -lc
gv_perl.cpp:1761: error: invalid use of 'static' in linkage specification
make[3]: *** [gv_perl.lo] Error 1


My troubleshooting so far -
  • Checking forum for similar issues...none relate

  • revdep-rebuild...dll linking 100% consistent (so no effect)

  • emerge -v inkscape...same error

  • emerge -Dv perl...dev-lang/python-2.4.4-r7 successful - (I need v2.4 for another program so I cannot run python-updater)

  • emerge -Dv python...dev-lang/perl-5.8.8-r4 successful

  • revdep-rebuild...dll linking 100% consistent (so no effect)

  • emerge -v graphviz...same error

  • Checking Bugzilla for graphviz-2.12 bugs...none relate

:?

Here's the full error from emerge -v graphviz-2.12 in case I assumed wrongly assumed gv_perl to be the trouble
Code:
/bin/sh ../../libtool --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE   -I/usr/include/python2.5      -O2 -pipe -MT gv.lo -MD -MP -MF .deps/gv.Tpo -c -o gv.lo gv.cpp
swig -c++ -perl -o gv_perl.cpp ./gv.i
swig -c++ -python -o gv_python.cpp ./gv.i
mkdir .libs
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE -I/usr/include/python2.5 -O2 -pipe -MT gv.lo -MD -MP -MF .deps/gv.Tpo -c gv.cpp  -fPIC -DPIC -o .libs/gv.o
/bin/sh ../../libtool --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE   -I/usr/include/python2.5      -O2 -pipe -MT gv_perl.lo -MD -MP -MF .deps/gv_perl.Tpo -c -o gv_perl.lo gv_perl.cpp
gv.cpp: In function 'char* myagxget(void*, Agsym_t*)':
gv.cpp:130: warning: deprecated conversion from string constant to 'char*'
gv.cpp:133: warning: deprecated conversion from string constant to 'char*'
gv.cpp: In function 'char* setv(Agraph_t*, char*, char*)':
gv.cpp:189: warning: deprecated conversion from string constant to 'char*'
gv.cpp: In function 'char* setv(Agnode_t*, char*, char*)':
gv.cpp:226: warning: deprecated conversion from string constant to 'char*'
gv.cpp: In function 'char* setv(Agedge_t*, char*, char*)':
gv.cpp:263: warning: deprecated conversion from string constant to 'char*'
mv -f .deps/gv.Tpo .deps/gv.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE   -I/usr/include/python2.5      -O2 -pipe -MT gv_python.lo -MD -MP -MF .deps/gv_python.Tpo -c -o gv_python.lo gv_python.cpp
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE -I/usr/include/python2.5 -O2 -pipe -MT gv_perl.lo -MD -MP -MF .deps/gv_perl.Tpo -c gv_perl.cpp  -fPIC -DPIC -o .libs/gv_perl.o
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE -I/usr/include/python2.5 -O2 -pipe -MT gv_python.lo -MD -MP -MF .deps/gv_python.Tpo -c gv_python.cpp  -fPIC -DPIC -o .libs/gv_python.o
mv -f .deps/gv_python.Tpo .deps/gv_python.Plo
/bin/sh ../../libtool --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -O2 -pipe   -o libgv_python.la -rpath /usr/lib64/python2.5/site-packages gv.lo gv_python.lo  ../../lib/gvc/libgvc.la -L/usr/lib64 -lpython2.5 -lc
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....
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/crtbeginS.o  .libs/gv.o .libs/gv_python.o  -Wl,--rpath -Wl,/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/lib/gvc/.libs ../../lib/gvc/.libs/libgvc.so -L/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/lib/graph/.libs -L/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/lib/cdt/.libs -L/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/lib/pathplan/.libs -L/usr/lib64 -lpython2.5 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/crtfastmath.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../lib64/crtn.o  -Wl,-soname -Wl,libgv_python.so.0 -o .libs/libgv_python.so.0.0.0
(cd .libs && rm -f libgv_python.so.0 && ln -s libgv_python.so.0.0.0 libgv_python.so.0)
(cd .libs && rm -f libgv_python.so && ln -s libgv_python.so.0.0.0 libgv_python.so)
creating libgv_python.la
(cd .libs && rm -f libgv_python.la && ln -s ../libgv_python.la libgv_python.la)
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
 *
 * ERROR: media-gfx/graphviz-2.12 failed.
 * Call stack:
 *              ebuild.sh, line 1701:  Called dyn_compile
 *              ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *              ebuild.sh, line   44:  Called src_compile
 *   graphviz-2.12.ebuild, line  162:  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.12/temp/build.log'.
 *

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

 *
 * ERROR: media-gfx/graphviz-2.12 failed.
 * Call stack:
 *              ebuild.sh, line 1701:  Called dyn_compile
 *              ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *              ebuild.sh, line   44:  Called src_compile
 *   graphviz-2.12.ebuild, line  162:  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.12/temp/build.log'.


Last edited by OmSai on Sun Nov 25, 2007 5:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Wed Nov 21, 2007 7:26 am    Post subject: Reply with quote

Bug:
media-gfx/graphviz-2.12


So far, unsolved. Resolved as NEEDINFO, so I'd add yours to the mix.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 603
Location: Manchester, CT, USA

PostPosted: Wed Nov 21, 2007 4:44 pm    Post subject: Reply with quote

Thanks, I added my info in.

By the way, what search criteria did you use to find that bug?
It did not show up using "graphviz" or "gv_perl"
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 6348

PostPosted: Thu Nov 22, 2007 1:13 am    Post subject: Reply with quote

The quicksearch only finds bugs in the UNCONFIRMED, NEW, ASSIGNED, and REOPENED states. That bug is RESOLVED/NEEDINFO, so quicksearch does not see it.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu Nov 22, 2007 1:48 am    Post subject: Reply with quote

Yeah, I never use the quicksearch. It's mostly useless. I always use the advanced search and select for UNCONFIRMED, NEW, ASSIGNED, REOPENED, RESOLVED, VERIFIED, and CLOSED. What's annoying about the default search is that if the bug has been fixed, it's marked RESOLVED and you won't see the report. The basic search should at least include the RESOLVED/FIXED state by default. Often you can find solutions in the other resolution states, or enough info to solve a problem yourself.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
johnnyboyro
n00b
n00b


Joined: 19 Sep 2003
Posts: 57
Location: Iasi, Romania

PostPosted: Sat Nov 24, 2007 1:50 am    Post subject: Reply with quote

didymos wrote:
Bug:
media-gfx/graphviz-2.12


So far, unsolved. Resolved as NEEDINFO, so I'd add yours to the mix.


It was just resolved ;)
Check it again in bugzilla ...
The problem is with swig-1.3.32, which generates a wrong file in graphviz compilation. You have two options then: block swig-1.3.32 and reinstall an older version, or use the patch from bugzilla and rebuild the swig, then the graphviz.
I attached two files (the patch and the ebuild). Needless to say that you need to put them in your overlay.
Back to top
View user's profile Send private message
jbofill
n00b
n00b


Joined: 24 Oct 2005
Posts: 3
Location: Barcelona, Catalunya

PostPosted: Wed Nov 28, 2007 2:33 pm    Post subject: Reply with quote

dev-lang/swig-1.3.33 is on portage.
I emerge swig and media-gfx/graphviz builds correctly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum