dev-ml/lablgtk-2.14.2 fails to build: # emerge -uvND world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-ml/lablgtk-2.14.2 [2.12.0] USE="ocamlopt opengl svg -debug -examples -glade -gnome -gnomecanvas -sourceview -spell" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-ml/lablgtk-2.14.2 ... checking native dynlink... checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.0.0... yes (version 2.20.1) checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTKGL... yes checking lablGL directory... configure: error: gtkgl enforced but lablGL not found !!! Please attach the following file when seeking support: !!! /tmp/portage/dev-ml/lablgtk-2.14.2/work/lablgtk-2.14.2/config.log * ERROR: dev-ml/lablgtk-2.14.2 failed: * econf failed * * Call stack: * ebuild.sh, line 54: Called src_configure * environment, line 938: Called econf '--disable-debug' '--with-rsvg' '--without-glade' '--without-gnomeui' '--without-panel' '--with-gl' '--without-gtkspell' '--without-gtksourceview' '--without-gtksourceview2' '--without-gnomecanvas' * ebuild.sh, line 544: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =dev-ml/lablgtk-2.14.2', * the complete build log and the output of 'emerge -pqv =dev-ml/lablgtk-2.14.2'. * The complete build log is located at '/tmp/portage/dev-ml/lablgtk-2.14.2/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/dev-ml/lablgtk-2.14.2/temp/environment'. * S: '/tmp/portage/dev-ml/lablgtk-2.14.2/work/lablgtk-2.14.2' >>> Failed to emerge dev-ml/lablgtk-2.14.2, Log file: >>> '/tmp/portage/dev-ml/lablgtk-2.14.2/temp/build.log'
Created attachment 253407 [details] emerge --info
Had the same error, fixed it by re-emerging dev-ml/lablgl.
Confirming: manually re-emerging dev-ml/lablgl solves the problem.
(In reply to comment #3) > Confirming: manually re-emerging dev-ml/lablgl solves the problem. Yeah. Maybe a revision bump on lablgl (without actually changing the ebuild) could be a solution to force users update this package. (well, just an idea)
(In reply to comment #4) > (In reply to comment #3) > > Confirming: manually re-emerging dev-ml/lablgl solves the problem. > > Yeah. Maybe a revision bump on lablgl (without actually changing the ebuild) > could be a solution to force users update this package. (well, just an idea) Your config.log would probably show a reverse dependency problem.
(That means, run revdep-rebuild from app-portage/gentoolkit.)
(In reply to comment #6) > (That means, run revdep-rebuild from app-portage/gentoolkit.) But I did run revdep-rebuild, and it didn't solve. I can't reproduce it right now, since I've already "fixed" it by re-emerging lablgl.
Just had the same error. In my case it was resolved by running /usr/sbin/ocaml-rebuild.sh The emerge world I had been running had upgraded ocaml before trying to build lablgtk and the ocaml ebuild alerts you to needing to run ocaml-rebuild. Running that pulled in lablgl again, which in turn fixed the lablgtk build error.