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 11:02:56PM +0100, Patrick Welche wrote:
> >     ...
> >     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
> > ...
> 
> 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)

thank you! that was the exact reason. I was using pkg_rolling-replace,
and an older one already existed (also pkgsrc)

    #define GDK_MAJOR_VERSION (3)
    #define GDK_MINOR_VERSION (10)
    #define GDK_MICRO_VERSION (7)

Solution: bmake update

old version removed, GISCAN finds the right headers in the build
directory, build succeeds. 

Maybe build directory should be first in the header search path.

Regards
Matthias


Home | Main Index | Thread Index | Old Index