pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: x11/gtk3: build failure in GISCAN "undefined symbol: gdk_event_sequence_get_type"



On Fri, May 15, 2015 at 05:40:46PM +0200, Matthias Ferdinand wrote:
> Hello,
> 
> x11/gtk3 fails to build on most of my Ubuntu machines. Interestingly, it
> builds fine on one of them.
> 
> works:  10.04/64bit  (/usr/bin/gcc, 4.4.3)
> 
> fails:  10.04/32bit  (/usr/bin/gcc, 4.4.3)
>         12.04/64bit  (/usr/bin/gcc, 4.6.3)
>         14.04/64bit  (/usr/bin/gcc, 4.8.2)
> 
> 
> Error message on the failing hosts is always the same:
> 
>     ...
>     Making all in .
>     gmake[4]: Entering directory '/opt/pkgsrc/work/pkgsrc/x11/gtk3/default/gtk+-3.14.5/gdk'
>       GEN      gdkconfig.h
>       GISCAN   Gdk-3.0.gir
>     /opt/pkgsrc/work/pkgsrc/x11/gtk3/default/gtk+-3.14.5/gdk/tmp-introspectzVz8h7/.libs/lt-Gdk-3.0: symbol lookup error: /opt/pkgsrc/work/pkgsrc/x11/gtk3/default/gtk+-3.14.5/g
>     dk/tmp-introspectzVz8h7/.libs/lt-Gdk-3.0: undefined symbol: gdk_event_sequence_get_type
>     Command '['/opt/pkgsrc/work/pkgsrc/x11/gtk3/default/gtk+-3.14.5/gdk/tmp-introspectzVz8h7/Gdk-3.0', '--introspect-dump=/opt/pkgsrc/work/pkgsrc/x11/gtk3/default/gtk+-3.14.5/
>     gdk/tmp-introspectzVz8h7/functions.txt,/opt/pkgsrc/work/pkgsrc/x11/gtk3/default/gtk+-3.14.5/gdk/tmp-introspectzVz8h7/dump.xml']' returned non-zero exit status 127
>     /opt/pkgsrc/share/gobject-introspection-1.0/Makefile.introspection:153: recipe for target 'Gdk-3.0.gir' failed
>     gmake[4]: *** [Gdk-3.0.gir] Error 1
> 
> 
> gobject-introspection is also from pkgsrc, version 1.42.0.
> 
> 
> I have tried with varying make, awk, sed between from platform or from
> pgksrc, but to no avail.
> 
> Any ideas where to look?

The definition appears in e.g. /usr/pkg/include/gtk-3.0/gdk/gdkevents.h:

GDK_AVAILABLE_IN_3_14
GType     gdk_event_sequence_get_type   (void) G_GNUC_CONST;

so one question might be what your gdkversionmacros.h file looks like...
(It should contain

#define GDK_MAJOR_VERSION (3)
#define GDK_MINOR_VERSION (14)
#define GDK_MICRO_VERSION (5)

given your output - maybe several copies of those header files?
)

(The only ubuntu I can reach easily is a 10.04/64 bit, so hard to try...)

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index