← Back to team overview

openjdk team mailing list archive

Bug#665666: openjdk-7: FTBFS with glib 2.32: undefined references

 

Source: openjdk-7
Version: 7~u3-2.1-3
Severity: important
User: pkg-gnome-maintainers@xxxxxxxxxxxxxxxxxxxxxxx
Usertags: glib-2.32 ftbfs

Hi,


quoting README from glib 2.32:

"
  For a long time, gobject-2.0.pc mistakenly declared a public
  dependency on gthread-2.0.pc (when the dependency should have been
  private).  This means that programs got away with calling
  g_thread_init() without explicitly listing gthread-2.0.pc among their
  dependencies.

  gthread has now been removed as a gobject dependency, which will cause
  such programs to break.

  The fix for this problem is either to declare an explicit dependency
  on gthread-2.0.pc (if you care about compatibility with older GLib
  versions) or to stop calling g_thread_init().
"

In a similar way, gio-2.0.pc has been cleaned up and it has moved
gmodule-no-export-2.0 from Requires to Requires.private.

If your package use the gmodule API, you should add an explicit dependency
on gmodule-2.0.pc.

Development releases of 2.32 are available in experimental.
During a test-rebuild openjdk-7 failed to build with the new glib [1]
due to undefined references.

Please update openjdk-7 at your earliest convenience, so once we move
the glib version from experimental to unstable, your package will remain
buildable.

Thanks!

Michael,
on behalf of the Debian GNOME team.

[1] http://people.debian.org/~biebl/glib-undefined-references/openjdk-7_7~u3-2.1-3.log