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 674365 - Race during parallel build in tests/interactive/
Race during parallel build in tests/interactive/
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
1.10.x
Other Linux
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-04-19 06:00 UTC by Vincent Untz
Modified: 2012-05-28 15:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Move test-unit-names.h out of the dist (1.04 KB, patch)
2012-05-28 14:36 UTC, Emmanuele Bassi (:ebassi)
committed Details | Review

Description Vincent Untz 2012-04-19 06:00:37 UTC
We sometimes get this build failure when building the openSUSE package for clutter. It seems that this happens when test-unit-names.h is not fully built first (?) (at least manually building test-unit-names.h before seems to fix it).

make[3]: Entering directory `/home/abuild/rpmbuild/BUILD/clutter-1.10.2/tests/interactive'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../clutter -I../../clutter -DTESTS_DATADIR=\""/home/abuild/rpmbuild/BUILD/clutter-1.10.2/tests/data"\" -DG_DISABLE_SINGLE_INCLUDES -DGLIB_DISABLE_DEPRECATION_WARNINGS -DCLUTTER_DISABLE_DEPRECATION_WARNINGS  -pthread -I/usr/include/cogl -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/libpng14 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/   -pthread -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng14 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -c -o test_interactive-test-main.o `test -f 'test-main.c' || echo './'`test-main.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../clutter -I../../clutter -DTESTS_DATADIR=\""/home/abuild/rpmbuild/BUILD/clutter-1.10.2/tests/data"\" -DG_DISABLE_SINGLE_INCLUDES -DGLIB_DISABLE_DEPRECATION_WARNINGS -DCLUTTER_DISABLE_DEPRECATION_WARNINGS  -pthread -I/usr/include/cogl -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/libpng14 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/   -pthread -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng14 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -c -o test_interactive-test-texture-slicing.o `test -f 'test-texture-slicing.c' || echo './'`test-texture-slicing.c
  GEN    test-texture-slicing
  GEN    test-texture-async
  GEN    test-texture-material
  GEN    test-events
  GEN    test-scale
  GEN    test-actors
  GEN    test-shader-effects
  GEN    test-depth
  GEN    test-threads
  GEN    test-script
  GEN    test-grab
  GEN    test-cogl-shader-arbfp
  GEN    test-cogl-shader-glsl
  GEN    test-animator
  GEN    test-state
  GEN    test-state-animator
  GEN    test-fbo
  GEN    test-multistage
  GEN    test-cogl-primitives
  GEN    test-cogl-tex-tile
  GEN    test-cogl-tex-convert
  GEN    test-cogl-tex-foreign
  GEN    test-cogl-tex-getset
  GEN    test-cogl-offscreen
  GEN    test-cogl-tex-polygon
  GEN    test-cogl-multitexture
  GEN    test-stage-read-pixels
  GEN    test-clip
  GEN    test-paint-wrapper
  GEN    test-texture-quality
  GEN    test-layout
  GEN    test-animation
  GEN    test-easing
test-main.c:10:1: error: expected expression before 'static'
  GEN    test-binding-pool
  GEN    test-text
  GEN    test-text-field
make[3]: *** [test_interactive-test-main.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Comment 1 Vincent Untz 2012-04-19 06:46:35 UTC
Ah, could it be because test-unit-names.h is in the tarball, but is getting updated when building the tarball (because Makefile has changed)?
Comment 2 Emmanuele Bassi (:ebassi) 2012-04-21 16:39:58 UTC
I guess we could try and make test-unit-names.h part of nodist_* or BUILT_SOURCES and see if it happens still.
Comment 3 Emmanuele Bassi (:ebassi) 2012-05-28 14:36:49 UTC
Created attachment 215129 [details] [review]
build: Move test-unit-names.h out of the dist

Let it be generated at build time, as it should.
Comment 4 Emmanuele Bassi (:ebassi) 2012-05-28 15:01:37 UTC
Attachment 215129 [details] pushed as f9c29d5 - build: Move test-unit-names.h out of the dist