After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 707301 - cogl-1.14.0 (1.14 branch): --enable-gtk-doc fails with cogl-scan.c:(.text.startup+0x78): undefined reference to `cogl_gtype_matrix_get_type'
cogl-1.14.0 (1.14 branch): --enable-gtk-doc fails with cogl-scan.c:(.text.sta...
Status: RESOLVED OBSOLETE
Product: cogl
Classification: Platform
Component: general
1.14.x
Other Linux
: Normal normal
: ---
Assigned To: Cogl maintainer(s)
Cogl maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-09-02 18:40 UTC by Pacho Ramos
Modified: 2021-06-10 11:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2013-09-02 18:40:19 UTC
This is taking latest 1.14 branch, it fails to build with:
    CC="/bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -I../../.. -I../../../cogl -DCOGL_ENABLE_EXPERIMENTAL_API -pthread -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -march=native -pipe -O2 -ggdb" LD="/bin/sh ../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -lgobject-2.0 -lglib-2.0   -march=native -pipe -O2 -ggdb  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" RUN="/bin/sh ../../../libtool --mode=execute" CFLAGS=" -march=native -pipe -O2 -ggdb" LDFLAGS="../../../cogl/libcogl.la -lcairo -lgmodule-2.0 -pthread -lrt -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lX11 -lXext -lXdamage -lXfixes -lXcomposite -lXrandr   -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" \
    gtkdoc-scangobj --type-init-func="g_type_init()" $scanobj_options --module=cogl; \
else \
    for i in cogl.args cogl.hierarchy cogl.interfaces cogl.prerequisites cogl.signals ; do \
        test -f $i || touch $i ; \
    done \
fi
cogl-scan.c: In function 'main':
cogl-scan.c:138:3: warning: 'g_type_init' is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]
.libs/cogl-scan.o: In function `get_object_types':
/var/tmp/portage/media-libs/cogl-1.14.1_pre20130901/work/cogl-1.14.1/doc/reference/cogl/cogl-scan.c:57: undefined reference to `cogl_gtype_matrix_get_type'
collect2: error: ld returned 1 exit status
Linking of scanner failed: 
make[4]: *** [scan-build.stamp] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-libs/cogl-1.14.1_pre20130901/work/cogl-1.14.1/doc/reference/cogl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/cogl-1.14.1_pre20130901/work/cogl-1.14.1/doc/reference'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/cogl-1.14.1_pre20130901/work/cogl-1.14.1/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/cogl-1.14.1_pre20130901/work/cogl-1.14.1'
make: *** [all] Error 2
Comment 1 Pacho Ramos 2013-09-04 06:09:06 UTC
Also, seems that we need to rebuild gtk-docs because no prebuilt docs are installed otherwise (many other gnome modules don't need to rebuild them passing --enable-gtk-docs)
Comment 2 André Klapper 2021-06-10 11:20:18 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of cogl, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a ticket at
  https://gitlab.gnome.org/GNOME/cogl/-/issues/

Thank you for your understanding and your help.