The build complains about a missing 'ua' Reproducible: Always Steps to Reproduce: 1.USE="lua" emerge graphviz 2. 3. Actual Results: swig -c++ -guile -o gv_guile.cpp gv.i swig -c++ -lua -o gv_lua.cpp gv.i swig -c++ -ocaml -o gv_ocaml.cpp gv.i :6: Error: Unable to find 'ua' make[3]: *** [gv_lua.cpp] Error 1 make[3]: *** Waiting for unfinished jobs.... /bin/sed -e 's/SWIG_GUILE_INIT_STATIC void/void/' <gv_guile.cpp >t mv -f t gv_guile.cpp 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/lib64/ocaml -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/python2.4 -I/usr/lib64/ruby/1.8/x86_64-linux -march=athlon64 -O2 -pipe -c gv.cpp -fPIC -DPIC -o .libs/gv.o make[3]: Leaving directory `/var/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8/tclpkg/gv' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8/tclpkg' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8' make: *** [all] Error 2 !!! ERROR: media-gfx/graphviz-2.8-r2 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile graphviz-2.8-r2.ebuild, line 82: Called die !!! Compile Failed! !!! If you need support, post the topmost build error, and the call stack if relevant. Expected Results: * GNU info directory index is up-to-date.
In stable land, either "lua" and/or "ocaml" USE flags will break the build. The reason is that the swig ebuild (and perhaps the package itself) does not contain support for ocaml or lua until 1.3.27. The current stable ebuild for swig in almost all archs is 1.3.25. The graphviz ebuild should be fixed so that the lua or ocaml flag will trigger a dependency of >=dev-lan/swig-1.3.27. Currently, the dependency is simply dev-lang/swig.
(In reply to comment #1) > In stable land, either "lua" and/or "ocaml" USE flags will break the build. > The reason is that the swig ebuild (and perhaps the package itself) does not > contain support for ocaml or lua until 1.3.27. The current stable ebuild for > swig in almost all archs is 1.3.25. > > The graphviz ebuild should be fixed so that the lua or ocaml flag will trigger > a dependency of >=dev-lan/swig-1.3.27. Currently, the dependency is simply > dev-lang/swig. Let say that you have right, but take a look ar my amd64 genlop statistic: damian@dkolkowski ~ $ sudo genlop -i swig graphviz lua ocaml * dev-lang/swig Total builds: 1 Global build time: 1 minute and 58 seconds. Info about currently installed ebuild: * dev-lang/swig-1.3.25 Install date: Fri Dec 22 14:18:03 2006 USE="guile java perl php python ruby tcl tk -doc" CFLAGS="-O2 -march=k8 -pipe" * media-gfx/graphviz Total builds: 1 Global build time: 6 minutes and 52 seconds. Info about currently installed ebuild: * media-gfx/graphviz-2.8-r2 Install date: Fri Dec 22 23:18:43 2006 USE="cairo tcltk X guile java lua perl php python ruby ocaml -static" CFLAGS="-O2 -march=k8 -pipe" * dev-lang/lua Total builds: 1 Global build time: 13 seconds. Info about currently installed ebuild: * dev-lang/lua-5.0.2 Install date: Fri Dec 22 23:11:51 2006 USE="readline" CFLAGS="-O2 -march=k8 -pipe" * dev-lang/ocaml Total builds: 1 Global build time: 5 minutes and 10 seconds. Info about currently installed ebuild: * dev-lang/ocaml-3.09.2 Install date: Fri Dec 22 23:11:38 2006 USE="tk latex" CFLAGS="-O2 -march=k8 -pipe" damian@dkolkowski ~ $ So why I have it emerged? If that what you say is true, I need to have new version of swig. But, I would not be heare if I do not have problem with "graphviz" ;-) Now I can not compile graphviz, I will tray your way with new swig.
> * media-gfx/graphviz-2.8-r2 > Install date: Fri Dec 22 23:18:43 2006 So now it works fine: damian@dkolkowski ~ $ sudo genlop -i graphviz * media-gfx/graphviz Total builds: 2 Global build time: 14 minutes and 40 seconds. Average merge time: 7 minutes and 20 seconds. Info about currently installed ebuild: * media-gfx/graphviz-2.8-r2 Install date: Fri Jan 19 23:37:34 2007 USE="cairo tcltk X guile java lua perl php python ruby ocaml -static" CFLAGS="-O2 -march=k8 -pipe" damian@dkolkowski ~ $ > Now I can not compile graphviz, I will tray your way with new swig. I confirm using swig in new version: 1.3.31, it works fine with graphviz with lua, and oclaml. So it should be >=dev-lan/swig-1.3.27 in ebuild of graphviz like Daniel said. P.S. Mainteiner, please change ebuild.
*** Bug 164710 has been marked as a duplicate of this bug. ***
> I confirm using swig in new version: 1.3.31, it works fine with graphviz > with lua, and oclaml. > > So it should be >=dev-lan/swig-1.3.27 in ebuild of graphviz like Daniel > said. There is a problem with compiling swig-1.2.27, so it is better to use 1.3.31 as latest new swig, then it works fine with graphviz with lua and oclam flags. Take care
fixed in 2.8-r2 and 2.12.
*** Bug 148677 has been marked as a duplicate of this bug. ***