Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257856 - media-gfx/graphviz-2.20.3 fails to build with >=dev-lang/swig-1.3.38 with USE=tcl
Summary: media-gfx/graphviz-2.20.3 fails to build with >=dev-lang/swig-1.3.38 with USE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-06 04:18 UTC by Jonathan Callen (RETIRED)
Modified: 2009-04-06 19:41 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 Jonathan Callen (RETIRED) gentoo-dev 2009-02-06 04:18:59 UTC
Because the "tcl" USE-flag for dev-lang/swig has been dropped, media-gfx/graphviz fails to build with USE=tcl, as it dies in pkg_setup due to built_with_use being called on a package that no longer has that USE flag.

The easiest way to fix this would probably be to either change "built_with_use dev-lang/swig tcl" to "built_with_use --missing true dev-lang/swig tcl", or to drop the requirement, per bug 249565.
Comment 1 Markus Meier gentoo-dev 2009-02-07 21:10:27 UTC
fixed in cvs, thanks for the report.
Comment 2 Pavel Vondricka 2009-04-06 19:41:28 UTC
For me, the recompilation now fails with the following problem, but it was OK before. (I just recompile because of libXaw update.) Couldn't it be related to this bug? Or is it a problem with the newly stabilised GCC 4.3?

gv_tcl.cpp:2052: error: expected unqualified-id before ‘%’ token                                                                                            
gv_tcl.cpp:2056: error: expected unqualified-id before ‘%’ token                                                                                            
make[4]: *** [libgv_tcl_la-gv_tcl.lo] Error 1                                                                                                               
make[4]: *** Waiting for unfinished jobs....                                                                                                                
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/crtbeginS.o  .libs/libgv_java_la-gv.o .libs/libgv_java_la-gv_dummy_init.o .libs/libgv_java_la-gv_java.o  -Wl,--rpath -Wl,/var/tmp/portage/media-gfx/graphviz-2.20.3/work/graphviz-2.20.3/lib/gvc/.libs -Wl,--rpath -Wl,/var/tmp/portage/media-gfx/graphviz-2.20.3/work/graphviz-2.20.3/lib/graph/.libs -Wl,--rpath -Wl,/var/tmp/portage/media-gfx/graphviz-2.20.3/work/graphviz-2.20.3/lib/cdt/.libs -L/var/tmp/portage/media-gfx/graphviz-2.20.3/work/graphviz-2.20.3/lib/graph/.libs -L/var/tmp/portage/media-gfx/graphviz-2.20.3/work/graphviz-2.20.3/lib/cdt/.libs ../../lib/gvc/.libs/libgvc.so -L/var/tmp/portage/media-gfx/graphviz-2.20.3/work/graphviz-2.20.3/lib/pathplan/.libs -L/usr/lib64 ../../lib/graph/.libs/libgraph.so ../../lib/cdt/.libs/libcdt.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/crtfastmath.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/crtn.o  -march=athlon64 -Wl,-O1 -Wl,-soname -Wl,libgv_java.so -o .libs/libgv_java.so                                                                                                                                             
creating libgv_java.la                                                                                                                                      
(cd .libs && rm -f libgv_java.la && ln -s ../libgv_java.la libgv_java.la)                                                                                   
make[4]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.20.3/work/graphviz-2.20.3/tclpkg/gv'                                                      
make[3]: *** [all-recursive] Error 1                                                                                                                        
make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.20.3/work/graphviz-2.20.3/tclpkg/gv'                                                      
make[2]: *** [all-recursive] Error 1                                                                                                                        
make[2]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.20.3/work/graphviz-2.20.3/tclpkg'                                                         
make[1]: *** [all-recursive] Error 1                                                                                                                        
make[1]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.20.3/work/graphviz-2.20.3'                                                                
make: *** [all] Error 2