Bug 14067 - clutter-gst qemu gtkdoc failure
Summary: clutter-gst qemu gtkdoc failure
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: multimedia (show other bugs)
Version: 3.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.3 M1
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2020-09-29 02:43 UTC by Richard Purdie
Modified: 2020-11-19 15:43 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Original failure log (920.05 KB, application/octet-stream)
2020-09-29 02:52 UTC, Richard Purdie
no flags Details
'success' log (20.88 KB, application/octet-stream)
2020-09-29 02:52 UTC, Richard Purdie
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2020-09-29 02:43:29 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/961

| /home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/hosttools/mkdir -p xml && ( \
| 	echo "<!ENTITY package \"clutter-gst\">"; \
| 	echo "<!ENTITY package_bugreport \"http://bugzilla.gnome.org/enter_bug.cgi?product=clutter-gst\">"; \
| 	echo "<!ENTITY package_name \"clutter-gst\">"; \
| 	echo "<!ENTITY package_string \"clutter-gst 3.0.27\">"; \
| 	echo "<!ENTITY package_tarname \"clutter-gst\">"; \
| 	echo "<!ENTITY package_url \"\">"; \
| 	echo "<!ENTITY package_version \"3.0.27\">"; \
| ) > xml/gtkdocentities.ent
| touch setup-build.stamp
| _source_dir='' ; \
| for i in ../../../clutter-gst-3.0.27/clutter-gst ../../clutter-gst ; do \
|   _source_dir="${_source_dir} --source-dir=$i" ; \
| done ; \
| gtkdoc-scan --module=clutter-gst --ignore-headers="clutter-gst.h clutter-gst-debug.h clutter-gst-private.h clutter-gst-auto-video-sink.h " ${_source_dir} --rebuild-types
| if grep -l '^..*$' clutter-gst.types > /dev/null 2>&1 ; then \
|   scanobj_options=""; \
|   gtkdoc-scangobj 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
|   if test "$?" = "0"; then \
|     if test "x" = "x1"; then \
|       scanobj_options="--verbose"; \
|     fi; \
|   fi; \
|   CC="../../x86_64-poky-linux-libtool --tag=CC --mode=compile x86_64-poky-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot  -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/glib-2.0 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/lib64/glib-2.0/include    -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0=/usr/src/debug/clutter-gst-3.0/3.0.27-r0                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0=/usr/src/debug/clutter-gst-3.0/3.0.27-r0                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot-native=  -g" LD="../../x86_64-poky-linux-libtool --tag=CC --mode=link x86_64-poky-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot -lgobject-2.0 -lglib-2.0  -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0=/usr/src/debug/clutter-gst-3.0/3.0.27-r0                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tm
p/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0=/usr/src/debug/clutter-gst-3.0/3.0.27-r0                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot-native=  -g  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now" RUN="../../gtkdoc-qemuwrapper" CFLAGS="-I../../../clutter-gst-3.0.27 -I../.. -pthread -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/clutter-1.0 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/cogl -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/atk-1.0 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/cogl -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/json-glib-1.0 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/gtk-3.0 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/gio-unix-2.0 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/cairo -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/pango-1.0 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/fribidi -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/harfbuzz -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/cairo -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/pixman-1 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/uuid -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/freetype2 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/libpng16 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/cogl -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/libdrm -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/gdk-pixbuf-2.0 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/libmount -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/blkid -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/glib-2.0 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/lib64/glib-2.0/include -pthre
ad -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/gstreamer-1.0 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/orc-0.4 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/gstreamer-1.0 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/include/glib-2.0 -I/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot/usr/lib64/glib-2.0/include -DGST_USE_UNSTABLE_API -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0=/usr/src/debug/clutter-gst-3.0/3.0.27-r0                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0=/usr/src/debug/clutter-gst-3.0/3.0.27-r0                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot-native=  -g" LDFLAGS="../../clutter-gst/libclutter-gst-3.0.la -lclutter-1.0 -lcogl-path -latk-1.0 -lcogl-pango -lcogl -ljson-glib-1.0 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lcairo-gobject -lcairo -lwayland-cursor -lxkbcommon -lXi -lcogl -lgmodule-2.0 -pthread -lwayland-egl -lwayland-client -lEGL -lX11 -lXext -lXdamage -lXfixes -lXcomposite -lXrandr -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now" \
|   gtkdoc-scangobj --type-init-func="extern void clutter_gst_init (int *, char **); clutter_gst_init(0,0)" $scanobj_options --module=clutter-gst; \
| else \
|   for i in clutter-gst.args clutter-gst.hierarchy clutter-gst.interfaces clutter-gst.prerequisites clutter-gst.signals ; do \
|     test -f $i || touch $i ; \
|   done \
| fi
| /usr/libexec/gstreamer-1.0/gst-plugin-scanner: symbol lookup error: /home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot//lib64/libc.so.6: undefined symbol: _dl_fatal_printf, version GLIBC_PRIVATE
| 2020-09-29 03:07:54,694:scangobj.py:execute_command:1199:WARNING:Running scanner failed: 1, command: ../../gtkdoc-qemuwrapper ./clutter-gst-scan
| make[3]: *** [Makefile:664: scan-build.stamp] Error 1
| make[3]: Leaving directory '/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/build/doc/reference'
| make[2]: *** [Makefile:404: all-recursive] Error 1
| make[2]: Leaving directory '/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/build/doc'
| make[1]: *** [Makefile:536: all-recursive] Error 1
| make[1]: Leaving directory '/home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/build'
| make: *** [Makefile:444: all] Error 2
| ERROR: oe_runmake failed
Comment 1 Richard Purdie 2020-09-29 02:50:36 UTC
I did log into the fedora32-ty-1 worker pulled the build directory back and ran "bitbake clutter-gst-3.0" on this build. It worked.

It suggests there was some kind of transient race issue. I'll attach the failure and success logs
Comment 2 Richard Purdie 2020-09-29 02:52:03 UTC
Created attachment 4731 [details]
Original failure log
Comment 3 Richard Purdie 2020-09-29 02:52:22 UTC
Created attachment 4732 [details]
'success' log
Comment 4 Richard Purdie 2020-09-29 02:52:53 UTC
Note that whilst the build succeeded, the same error is present in the second log. Bad error handling?
Comment 5 Richard Purdie 2020-09-29 03:13:40 UTC
Also worth noting this is a build with api-documentation enabled in DISTRO_FEATURES in case that isn't clear.
Comment 6 Alexander Kanavin 2020-10-04 10:30:53 UTC
/usr/libexec/gstreamer-1.0/gst-plugin-scanner: symbol lookup error: /home/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/clutter-gst-3.0/3.0.27-r0/recipe-sysroot//lib64/libc.so.6: undefined symbol: _dl_fatal_printf, version GLIBC_PRIVATE

^^^ looks like something in the build is trying to run the gst plugin scanner from the host against target libc. I am looking into it.
Comment 7 Alexander Kanavin 2020-10-04 10:58:59 UTC
On second thought, that might not be the actual error, as it's present in a successful run too, and the transient gtkdoc binary may be failing without diagnostics.
Comment 8 Alexander Kanavin 2020-10-04 11:27:04 UTC
I ran this a few times, and out of ideas at this point. If the failure happens again, save the build directory but do not touch or rebuild anything inside, as something is wrong in the transient gtkdoc introspection binary.
Comment 9 Richard Purdie 2020-10-06 07:12:39 UTC
Thanks Alex, if we see it again I'll try and preserve the build dir. I should know better than trying to rerun it!