[Pkg-geany-team] Bug#666893: Bug#666893: geany: FTBFS error: undefined, reference to 'g_module_close'

Colomban Wendling lists.ban at herbesfolles.org
Mon Apr 2 13:24:04 UTC 2012


Hi,

On Mon, 2 Apr 2012 14:42:55 +0200, Evgeni Golov wrote:
>
> On Mon, Apr 02, 2012 at 10:28:23AM +0200, Jérémy Lal wrote:
>
> >   apt-get source geany
> >   sudo apt-get build-dep geany
> >   cd geany-0.21.dfsg/
> >   debuild
> >
> > gives that kind of error :
> > error: undefined reference to 'g_module_close'
> > and fails.
>
> I cannot reproduce this in a clean cowbuilder on sid/amd64.
> Could you please provide a full log of the build?

We had a similar problem upstream [1], and I just committed the fix for
it (7b2f0fe).  It only happens with GLib >= 2.31 (1f02ef3), version at
which GIO stopped showing it's dependency on GModule, and since we
didn't depend on it ourselves, the build fails [2].

You can probably backport the fix or simply do it in on your side
(adding gmodule-2.0 to gtk_modules in configure.ac is probably enough
since Debian don't use the Waf build system anyway -- and actually drops
it IIRC).

Regards,
Colomban


[1]
https://sourceforge.net/tracker/?func=detail&atid=787791&aid=3483388&group_id=153444
[2] but it probably only happens if the linker doesn't accept implicit
dependencies since GIO still link gmodule





More information about the Pkg-geany-team mailing list