Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 348333

Summary: dev-ml/lablgtk-2.14.2 fails with +opengl useflag
Product: Gentoo Linux Reporter: Daniel Díaz <yosoy>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Díaz 2010-12-10 05:24:59 UTC
With useflag +opengl, this configure.in test fails for lablgtk-2.14.2:
-----8<----------8<----------8<-----
# Check for LablGL
if test -n "$USE_GTKGL" ; then
      AC_MSG_CHECKING(lablGL directory)
      cat > conftest.ml << EOF
      open Raw
EOF
      if $CAMLC -c -I "${LABLGLDIR:=+lablGL}" conftest.ml > /dev/null 2>&1 ; then
        AC_MSG_RESULT($LABLGLDIR)
      else
        if test $FORCE_GTKGL = yes ; then
          AC_MSG_ERROR(gtkgl enforced but lablGL not found)
        else
          AC_MSG_RESULT(no)
          unset USE_GTKGL
          unset GTKGLPKG
          unset LABLGLDIR
        fi
      fi
fi
----->8---------->8---------->8-----

Last lines from the log:
-----8<----------8<----------8<-----
checking for GTK+ - version >= 2.0.0... yes (version 2.20.1)
checking for i686-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
----->8---------->8---------->8-----

With -opengl useflag, lablgtk builds fine.

Reproducible: Always

Steps to Reproduce:




$ equery g --depth=1 lablgtk
[...]
* dependency graph for dev-ml/lablgtk-2.14.2
`-- dev-ml/lablgtk-2.14.2
 `-- x11-libs/gtk+-2.20.1-r1
 `-- sys-libs/itx-bind (unable to resolve to a package / package masked or removed)
 `-- >=dev-libs/gobject-introspection-0.6.7 (unable to resolve to a package / package masked or removed)
 `-- dev-lang/ocaml-3.11.2
 `-- gnome-base/librsvg-2.26.3 [ svg ]
 `-- gnome-base/libglade-2.6.4 [ glade ]
 `-- gnome-base/libgnomecanvas-2.30.1 [ gnomecanvas ]
 `-- gnome-base/gnome-panel-2.30.2 [ gnome ]
 `-- gnome-base/libgnomeui-2.24.3 [ gnome ]
 `-- dev-ml/lablgl-1.04 [ opengl ]
 `-- x11-libs/gtkglarea-1.99.0 [ opengl ]
 `-- app-text/gtkspell-2.0.16 [ spell ]
 `-- x11-libs/gtksourceview-2.10.4 [ sourceview ]
 `-- dev-util/pkgconfig-0.25-r2
[ dev-ml/lablgtk-2.14.2 stats: packages (13), max depth (1) ]
Comment 1 Rafał Mużyło 2010-12-10 15:55:07 UTC
Read postinst message from ocaml.
Comment 2 Daniel Díaz 2010-12-10 16:53:00 UTC
Thanks, Rafał.

For the record, ocaml's postinst message is this:
> OCaml is not binary compatible from version to version, so you
> need to rebuild all packages depending on it, that are actually
> installed on your system. To do so, you can run:
> /usr/sbin/ocaml-rebuild.sh [-h | emerge options]
> Which will call emerge on all old packages with the given options

After running `/usr/sbin/ocaml-rebuild.sh -f` (with +opengl) everything was fine.

I wish upstream's configure script would be a little more verbose on the failure...
Comment 3 Rafał Mużyło 2010-12-10 21:58:27 UTC

*** This bug has been marked as a duplicate of bug 348233 ***