mesonbuild / meson

The Meson Build System
http://mesonbuild.com
Apache License 2.0
5.6k stars 1.63k forks source link

g-ir-scanner fails during meson tests on ppc64el on ubuntu #4794

Open xnox opened 5 years ago

xnox commented 5 years ago
======================================================================
ERROR: test_generate_gir_with_address_sanitizer (__main__.LinuxlikeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "run_unittests.py", line 177, in wrapped
    return f(*args, **kwargs)
  File "run_unittests.py", line 3649, in test_generate_gir_with_address_sanitizer
    self.build()
  File "run_unittests.py", line 1098, in build
    return self._run(self.build_command + args + extra_args, workdir=self.builddir)
  File "run_unittests.py", line 1046, in _run
    raise subprocess.CalledProcessError(p.returncode, command, output=p.stdout)
subprocess.CalledProcessError: Command '['ninja', '-w', 'dupbuild=err', '-d', 'explain']' returned non-zero exit status 1.

Stdout:
The Meson build system
Version: 0.49.0
Source dir: /tmp/autopkgtest.GpLQfj/build.Rq6/src/test cases/frameworks/7 gnome
Build dir: /tmp/tmpbrjz1hlu
Build type: native build
Project name: gobject-introspection
Project version: undefined
Native C compiler: cc (gcc 8.2.0 "cc (Ubuntu 8.2.0-12ubuntu1) 8.2.0")
Build machine cpu family: ppc64
Build machine cpu: ppc64le
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Dependency glib-2.0 found: YES 2.58.1
Dependency gio-2.0 found: YES 2.58.1
Dependency gio-unix-2.0 found: YES 2.58.1
Dependency glib-2.0 found: YES (cached)
Dependency gobject-2.0 found: YES 2.58.1
Dependency gobject-introspection-1.0 found: YES 1.58.3
Dependency gmodule-2.0 found: YES 2.58.1
Dependency glib-2.0 found: YES 2.58.1
Configuring res4.txt using configuration
Program copyfile.py found: YES (/usr/bin/env python3 /tmp/autopkgtest.GpLQfj/build.Rq6/src/test cases/frameworks/7 gnome/resources/copyfile.py)
Configuring simple-gen.gresource.xml with command
Program resources.py found: YES (/usr/bin/env python3 /tmp/autopkgtest.GpLQfj/build.Rq6/src/test cases/frameworks/7 gnome/resources/resources.py)
Found CMake: NO
Dependency no-way-this-exists found: NO (tried pkgconfig and cmake)
gir/meson.build:29: WARNING: Passed invalid keyword argument "unknown_kwarg".
WARNING: This will become a hard error in the future.
Program prog.py found: YES (/tmp/autopkgtest.GpLQfj/build.Rq6/src/test cases/frameworks/7 gnome/gir/prog.py)
Configuring main1.c using configuration
Configuring main2.c using configuration
Configuring main3.c using configuration
Configuring enums6.h.in using configuration
mkenums/meson.build:135: WARNING: Got an empty configuration_data() object and found no substitutions in the input file 'enums.h.in'. If you want to copy a file to the build dir, use the 'copy:' keyword argument added in 0.47.0
Configuring main6.c using configuration
Build targets in project: 48
Found ninja-1.8.2 at /usr/bin/ninja

ninja explain: output resources/simple-resources.h doesn't exist
ninja explain: resources/simple-resources.h is dirty
ninja explain: deps for 'resources/41d311a@@simple-resources-test@exe/meson-generated_.._simple-resources.c.o' are missing
ninja explain: deps for 'resources/simple-resources.c' are missing
ninja explain: resources/simple-resources.c is dirty
ninja explain: resources/simple-resources.h is dirty
ninja explain: resources/41d311a@@simple-resources-test@exe/meson-generated_.._simple-resources.c.o is dirty
ninja explain: deps for 'resources/41d311a@@simple-resources-test@exe/simple-main.c.o' are missing
ninja explain: resources/41d311a@@simple-resources-test@exe/simple-main.c.o is dirty
ninja explain: resources/simple-resources-test is dirty
ninja explain: deps for 'resources/simple-resources.gresource' are missing
ninja explain: resources/simple-resources.gresource is dirty
ninja explain: deps for 'resources/41d311a@@generated-resources-test@exe/meson-generated_.._generated-resources.c.o' are missing
ninja explain: deps for 'resources/generated-resources.c' are missing
ninja explain: output resources-data/res3.txt doesn't exist
ninja explain: resources-data/res3.txt is dirty
ninja explain: resources/generated-resources.c is dirty
ninja explain: resources-data/res3.txt is dirty
ninja explain: resources/generated-resources.h is dirty
ninja explain: resources/41d311a@@generated-resources-test@exe/meson-generated_.._generated-resources.c.o is dirty
ninja explain: deps for 'resources/41d311a@@generated-resources-test@exe/generated-main.c.o' are missing
ninja explain: resources/41d311a@@generated-resources-test@exe/generated-main.c.o is dirty
ninja explain: resources/generated-resources-test is dirty
ninja explain: deps for 'resources/build-resources.gresource' are missing
ninja explain: resources/build-resources.gresource is dirty
ninja explain: deps for 'gir/dep1/dep2/7cbf35a@@dep2lib@sha/dep2.c.o' are missing
ninja explain: gir/dep1/dep2/7cbf35a@@dep2lib@sha/dep2.c.o is dirty
ninja explain: gir/dep1/dep2/libdep2lib.so is dirty
ninja explain: gir/dep1/dep2/libdep2lib.so is dirty
ninja explain: gir/dep1/dep2/MesonDep2-1.0.gir is dirty
ninja explain: gir/dep1/dep2/MesonDep2-1.0.gir is dirty
ninja explain: gir/dep1/dep2/MesonDep2-1.0.typelib is dirty
ninja explain: deps for 'gir/dep1/07d7481@@dep1lib@sha/dep1.c.o' are missing
ninja explain: gir/dep1/07d7481@@dep1lib@sha/dep1.c.o is dirty
ninja explain: gir/dep1/libdep1lib.so is dirty
ninja explain: gir/dep1/libdep1lib.so is dirty
ninja explain: gir/dep1/dep2/MesonDep2-1.0.gir is dirty
ninja explain: gir/dep1/dep2/libdep2lib.so is dirty
ninja explain: gir/dep1/MesonDep1-1.0.gir is dirty
ninja explain: gir/dep1/MesonDep1-1.0.gir is dirty
ninja explain: gir/dep1/MesonDep1-1.0.typelib is dirty
ninja explain: deps for 'gir/327a146@@gir_lib@sha/meson-sample.c.o' are missing
ninja explain: gir/327a146@@gir_lib@sha/meson-sample.c.o is dirty
ninja explain: gir/dep1/libdep1lib.so is dirty
ninja explain: gir/dep1/07d7481@@dep1lib@sha/libdep1lib.so.symbols is dirty
ninja explain: gir/dep1/dep2/libdep2lib.so is dirty
ninja explain: gir/dep1/dep2/7cbf35a@@dep2lib@sha/libdep2lib.so.symbols is dirty
ninja explain: gir/libgir_lib.so is dirty
ninja explain: deps for 'gir/327a146@@gir_lib2@sha/meson-sample2.c.o' are missing
ninja explain: gir/327a146@@gir_lib2@sha/meson-sample2.c.o is dirty
ninja explain: gir/libgir_lib2.so is dirty
ninja explain: deps for 'gir/327a146@@girprog@exe/prog.c.o' are missing
ninja explain: gir/327a146@@girprog@exe/prog.c.o is dirty
ninja explain: gir/libgir_lib.so is dirty
ninja explain: gir/327a146@@gir_lib@sha/libgir_lib.so.symbols is dirty
ninja explain: gir/dep1/07d7481@@dep1lib@sha/libdep1lib.so.symbols is dirty
ninja explain: gir/dep1/dep2/7cbf35a@@dep2lib@sha/libdep2lib.so.symbols is dirty
ninja explain: gir/girprog is dirty
ninja explain: gir/libgir_lib.so is dirty
ninja explain: gir/libgir_lib2.so is dirty
ninja explain: gir/dep1/MesonDep1-1.0.gir is dirty
ninja explain: gir/dep1/libdep1lib.so is dirty
ninja explain: gir/dep1/dep2/libdep2lib.so is dirty
ninja explain: gir/Meson-1.0.gir is dirty
ninja explain: gir/Meson-1.0.gir is dirty
ninja explain: gir/Meson-1.0.typelib is dirty
ninja explain: output schemas/gschemas.compiled doesn't exist
ninja explain: schemas/gschemas.compiled is dirty
ninja explain: deps for 'schemas/fd70ea1@@schemaprog@exe/schemaprog.c.o' are missing
ninja explain: schemas/fd70ea1@@schemaprog@exe/schemaprog.c.o is dirty
ninja explain: schemas/schemaprog is dirty
ninja explain: output gdbus/generated-gdbus.h doesn't exist
ninja explain: gdbus/generated-gdbus.h is dirty
ninja explain: deps for 'gdbus/8d60afc@@gdbus-test@exe/meson-generated_.._generated-gdbus.c.o' are missing
ninja explain: output gdbus/generated-gdbus.c doesn't exist
ninja explain: gdbus/generated-gdbus.c is dirty
ninja explain: gdbus/generated-gdbus.h is dirty
ninja explain: output gdbus/generated-gdbus-doc-com.example.Sample.xml doesn't exist
ninja explain: gdbus/generated-gdbus-doc-com.example.Sample.xml is dirty
ninja explain: gdbus/8d60afc@@gdbus-test@exe/meson-generated_.._generated-gdbus.c.o is dirty
ninja explain: deps for 'gdbus/8d60afc@@gdbus-test@exe/gdbusprog.c.o' are missing
ninja explain: gdbus/8d60afc@@gdbus-test@exe/gdbusprog.c.o is dirty
ninja explain: gdbus/gdbus-test is dirty
ninja explain: output mkenums/enums.h doesn't exist
ninja explain: mkenums/enums.h is dirty
ninja explain: deps for 'mkenums/75bf728@@enumprog1@exe/meson-generated_.._enums.c.o' are missing
ninja explain: mkenums/enums.h is dirty
ninja explain: mkenums/enums.c is dirty
ninja explain: mkenums/enums.h is dirty
ninja explain: mkenums/75bf728@@enumprog1@exe/meson-generated_.._enums.c.o is dirty
ninja explain: deps for 'mkenums/75bf728@@enumprog1@exe/meson-generated_.._main1.c.o' are missing
ninja explain: mkenums/75bf728@@enumprog1@exe/meson-generated_.._main1.c.o is dirty
ninja explain: mkenums/enumprog1 is dirty
ninja explain: output mkenums/enums2.h doesn't exist
ninja explain: mkenums/enums2.h is dirty
ninja explain: deps for 'mkenums/75bf728@@enumprog2@exe/meson-generated_.._enums2.c.o' are missing
ninja explain: mkenums/enums.h is dirty
ninja explain: mkenums/enums2.h is dirty
ninja explain: mkenums/enums2.c is dirty
ninja explain: mkenums/enums2.h is dirty
ninja explain: mkenums/75bf728@@enumprog2@exe/meson-generated_.._enums2.c.o is dirty
ninja explain: deps for 'mkenums/75bf728@@enumprog2@exe/meson-generated_.._main2.c.o' are missing
ninja explain: mkenums/75bf728@@enumprog2@exe/meson-generated_.._main2.c.o is dirty
ninja explain: mkenums/enumprog2 is dirty
ninja explain: output mkenums/enums3.h doesn't exist
ninja explain: mkenums/enums3.h is dirty
ninja explain: deps for 'mkenums/75bf728@@enumprog3@exe/meson-generated_.._enums3.c.o' are missing
ninja explain: mkenums/enums3.h is dirty
ninja explain: mkenums/enums3.c is dirty
ninja explain: mkenums/enums3.h is dirty
ninja explain: mkenums/75bf728@@enumprog3@exe/meson-generated_.._enums3.c.o is dirty
ninja explain: deps for 'mkenums/75bf728@@enumprog3@exe/meson-generated_.._main3.c.o' are missing
ninja explain: mkenums/75bf728@@enumprog3@exe/meson-generated_.._main3.c.o is dirty
ninja explain: mkenums/enumprog3 is dirty
ninja explain: deps for 'mkenums/75bf728@@enumprog4@exe/meson-generated_.._enums4.c.o' are missing
ninja explain: output mkenums/enums4.c doesn't exist
ninja explain: mkenums/enums4.c is dirty
ninja explain: output mkenums/enums4.h doesn't exist
ninja explain: mkenums/enums4.h is dirty
ninja explain: mkenums/75bf728@@enumprog4@exe/meson-generated_.._enums4.c.o is dirty
ninja explain: deps for 'mkenums/75bf728@@enumprog4@exe/main4.c.o' are missing
ninja explain: mkenums/75bf728@@enumprog4@exe/main4.c.o is dirty
ninja explain: mkenums/enumprog4 is dirty
ninja explain: output mkenums/enums5.h doesn't exist
ninja explain: mkenums/enums5.h is dirty
ninja explain: deps for 'mkenums/75bf728@@enumprog5@exe/meson-generated_.._enums5.c.o' are missing
ninja explain: output mkenums/enums5.c doesn't exist
ninja explain: mkenums/enums5.c is dirty
ninja explain: mkenums/enums5.h is dirty
ninja explain: mkenums/75bf728@@enumprog5@exe/meson-generated_.._enums5.c.o is dirty
ninja explain: deps for 'mkenums/75bf728@@enumprog5@exe/meson-generated_.._main3.c.o' are missing
ninja explain: mkenums/75bf728@@enumprog5@exe/meson-generated_.._main3.c.o is dirty
ninja explain: mkenums/enumprog5 is dirty
ninja explain: output mkenums/enums6.h doesn't exist
ninja explain: mkenums/enums6.h is dirty
ninja explain: deps for 'mkenums/75bf728@@enumprog6@exe/meson-generated_.._enums2.c.o' are missing
ninja explain: mkenums/enums2.c is dirty
ninja explain: mkenums/enums6.h is dirty
ninja explain: mkenums/75bf728@@enumprog6@exe/meson-generated_.._enums2.c.o is dirty
ninja explain: deps for 'mkenums/75bf728@@enumprog6@exe/meson-generated_.._main6.c.o' are missing
ninja explain: mkenums/75bf728@@enumprog6@exe/meson-generated_.._main6.c.o is dirty
ninja explain: mkenums/enumprog6 is dirty
ninja explain: output genmarshal/marshaller.h doesn't exist
ninja explain: genmarshal/marshaller.h is dirty
ninja explain: deps for 'genmarshal/b75374d@@genmarshalprog@exe/meson-generated_.._marshaller.c.o' are missing
ninja explain: output genmarshal/marshaller.c doesn't exist
ninja explain: genmarshal/marshaller.c is dirty
ninja explain: genmarshal/marshaller.h is dirty
ninja explain: genmarshal/b75374d@@genmarshalprog@exe/meson-generated_.._marshaller.c.o is dirty
ninja explain: deps for 'genmarshal/b75374d@@genmarshalprog@exe/main.c.o' are missing
ninja explain: genmarshal/b75374d@@genmarshalprog@exe/main.c.o is dirty
ninja explain: genmarshal/genmarshalprog is dirty
[1/75] Generating simple-resources_c with a custom command.
[2/75] Generating simple-resources_h with a custom command.
[3/75] Generating res3 with a meson_exe.py custom command.
[4/75] Compiling C object 'resources/41d311a@@simple-resources-test@exe/meson-generated_.._simple-resources.c.o'.
[5/75] Compiling C object 'resources/41d311a@@simple-resources-test@exe/simple-main.c.o'.
[6/75] Generating simple-resources_gresource with a custom command.
[7/75] Generating generated-resources_c with a custom command.
[8/75] Generating generated-resources_h with a custom command.
[9/75] Linking target resources/simple-resources-test.
[10/75] Compiling C object 'resources/41d311a@@generated-resources-test@exe/meson-generated_.._generated-resources.c.o'.
[11/75] Generating build-resources_gresource with a custom command.
[12/75] Compiling C object 'resources/41d311a@@generated-resources-test@exe/generated-main.c.o'.
[13/75] Linking target resources/generated-resources-test.
[14/75] Compiling C object 'gir/dep1/dep2/7cbf35a@@dep2lib@sha/dep2.c.o'.
[15/75] Linking target gir/dep1/dep2/libdep2lib.so.
[16/75] Compiling C object 'gir/dep1/07d7481@@dep1lib@sha/dep1.c.o'.
[17/75] Generating symbol file 'gir/dep1/dep2/7cbf35a@@dep2lib@sha/libdep2lib.so.symbols'.
[18/75] Linking target gir/dep1/libdep1lib.so.
[19/75] Generating symbol file 'gir/dep1/07d7481@@dep1lib@sha/libdep1lib.so.symbols'.
[20/75] Compiling C object 'gir/327a146@@gir_lib2@sha/meson-sample2.c.o'.
[21/75] Linking target gir/libgir_lib2.so.
[22/75] Generating gsettings-compile-schemas with a custom command.
[23/75] Compiling C object 'schemas/fd70ea1@@schemaprog@exe/schemaprog.c.o'.
[24/75] Linking target schemas/schemaprog.
[25/75] Generating generated-gdbus.c with a custom command.
[26/75] Generating generated-gdbus.h with a custom command.
[27/75] Generating generated-gdbus-docbook with a custom command.
[28/75] Compiling C object 'gdbus/8d60afc@@gdbus-test@exe/meson-generated_.._generated-gdbus.c.o'.
[29/75] Compiling C object 'gdbus/8d60afc@@gdbus-test@exe/gdbusprog.c.o'.
[30/75] Generating MesonDep2-1.0.gir with a custom command.
g-ir-scanner: link: cc -o /tmp/tmpbrjz1hlu/tmp-introspect81qm411v/MesonDep2-1.0 /tmp/tmpbrjz1hlu/tmp-introspect81qm411v/MesonDep2-1.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/tmp/tmpbrjz1hlu/gir/dep1/dep2 -Wl,-rpath,/tmp/tmpbrjz1hlu/gir/dep1/dep2 -lasan -ldep2lib -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
[31/75] Linking target gdbus/gdbus-test.
[32/75] Generating MesonDep2-1.0.typelib with a custom command.
[33/75] Generating enums.h with a meson_exe.py custom command.
[34/75] Generating enums.c with a meson_exe.py custom command.
[35/75] Compiling C object 'mkenums/75bf728@@enumprog1@exe/meson-generated_.._enums.c.o'.
[36/75] Compiling C object 'mkenums/75bf728@@enumprog1@exe/meson-generated_.._main1.c.o'.
[37/75] Linking target mkenums/enumprog1.
[38/75] Generating MesonDep1-1.0.gir with a custom command.
FAILED: gir/dep1/MesonDep1-1.0.gir 
/usr/bin/g-ir-scanner -pthread -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include --no-libtool --namespace=MesonDep1 --nsversion=1.0 --warn-all --output gir/dep1/MesonDep1-1.0.gir --c-include=dep1.h '-I/tmp/autopkgtest.GpLQfj/build.Rq6/src/test cases/frameworks/7 gnome/gir/dep1' -I/tmp/tmpbrjz1hlu/gir/dep1 --filelist=/tmp/tmpbrjz1hlu/gir/dep1/07d7481@@dep1lib@sha/MesonDep1_1.0_gir_filelist --include=GObject-2.0 --include=MesonDep2-1.0 --symbol-prefix=meson --identifier-prefix=Meson --cflags-begin -DMESON_TEST -fsanitize=address -fno-omit-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include --cflags-end --add-include-path=/tmp/tmpbrjz1hlu/gir/dep1/dep2 -lasan -L/tmp/tmpbrjz1hlu/gir/dep1/dep2 --extra-library=dep2lib --library dep1lib -L/tmp/tmpbrjz1hlu/gir/dep1 --extra-library=gobject-2.0 --extra-library=glib-2.0
g-ir-scanner: link: cc -o /tmp/tmpbrjz1hlu/tmp-introspectghii58n3/MesonDep1-1.0 /tmp/tmpbrjz1hlu/tmp-introspectghii58n3/MesonDep1-1.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/tmp/tmpbrjz1hlu/gir/dep1/dep2 -Wl,-rpath,/tmp/tmpbrjz1hlu/gir/dep1/dep2 -L/tmp/tmpbrjz1hlu/gir/dep1 -Wl,-rpath,/tmp/tmpbrjz1hlu/gir/dep1 -lasan -ldep1lib -ldep2lib -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
==26061==Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING.
==26061==ASan shadow was supposed to be located in the [0x01ffffff0000-0x11ffffffffff] range.
==26061==Process memory map follows:
    0x0d5f7dcf0000-0x0d5f7dd00000   /tmp/tmpbrjz1hlu/tmp-introspectghii58n3/MesonDep1-1.0
    0x0d5f7dd00000-0x0d5f7dd10000   /tmp/tmpbrjz1hlu/tmp-introspectghii58n3/MesonDep1-1.0
    0x0d5f7dd10000-0x0d5f7dd20000   /tmp/tmpbrjz1hlu/tmp-introspectghii58n3/MesonDep1-1.0
    0x793d2a040000-0x793d2a080000   
    0x793d2a090000-0x793d2a410000   
    0x793d2a410000-0x793d2a420000   /lib/powerpc64le-linux-gnu/libuuid.so.1.3.0
    0x793d2a420000-0x793d2a430000   /lib/powerpc64le-linux-gnu/libuuid.so.1.3.0
    0x793d2a430000-0x793d2a440000   /lib/powerpc64le-linux-gnu/libuuid.so.1.3.0
    0x793d2a440000-0x793d2a4b0000   /lib/powerpc64le-linux-gnu/libblkid.so.1.1.0
    0x793d2a4b0000-0x793d2a4c0000   /lib/powerpc64le-linux-gnu/libblkid.so.1.1.0
    0x793d2a4c0000-0x793d2a4d0000   /lib/powerpc64le-linux-gnu/libblkid.so.1.1.0
    0x793d2a4d0000-0x793d2a4e0000   /lib/powerpc64le-linux-gnu/libblkid.so.1.1.0
    0x793d2a4e0000-0x793d2a560000   /lib/powerpc64le-linux-gnu/libmount.so.1.1.0
    0x793d2a560000-0x793d2a570000   /lib/powerpc64le-linux-gnu/libmount.so.1.1.0
    0x793d2a570000-0x793d2a580000   /lib/powerpc64le-linux-gnu/libmount.so.1.1.0
    0x793d2a580000-0x793d2a590000   /lib/powerpc64le-linux-gnu/libmount.so.1.1.0
    0x793d2a590000-0x793d2a5b0000   /lib/powerpc64le-linux-gnu/libresolv-2.28.so
    0x793d2a5b0000-0x793d2a5c0000   /lib/powerpc64le-linux-gnu/libresolv-2.28.so
    0x793d2a5c0000-0x793d2a5d0000   /lib/powerpc64le-linux-gnu/libresolv-2.28.so
    0x793d2a5d0000-0x793d2a610000   /lib/powerpc64le-linux-gnu/libselinux.so.1
    0x793d2a610000-0x793d2a620000   /lib/powerpc64le-linux-gnu/libselinux.so.1
    0x793d2a620000-0x793d2a630000   /lib/powerpc64le-linux-gnu/libselinux.so.1
    0x793d2a630000-0x793d2a660000   /lib/powerpc64le-linux-gnu/libz.so.1.2.11
    0x793d2a660000-0x793d2a670000   /lib/powerpc64le-linux-gnu/libz.so.1.2.11
    0x793d2a670000-0x793d2a680000   /lib/powerpc64le-linux-gnu/libz.so.1.2.11
    0x793d2a680000-0x793d2a710000   /lib/powerpc64le-linux-gnu/libpcre.so.3.13.3
    0x793d2a710000-0x793d2a720000   /lib/powerpc64le-linux-gnu/libpcre.so.3.13.3
    0x793d2a720000-0x793d2a730000   /lib/powerpc64le-linux-gnu/libpcre.so.3.13.3
    0x793d2a730000-0x793d2a740000   /usr/lib/powerpc64le-linux-gnu/libffi.so.6.0.4
    0x793d2a740000-0x793d2a750000   /usr/lib/powerpc64le-linux-gnu/libffi.so.6.0.4
    0x793d2a750000-0x793d2a760000   /usr/lib/powerpc64le-linux-gnu/libffi.so.6.0.4
    0x793d2a760000-0x793d2a780000   /lib/powerpc64le-linux-gnu/libgcc_s.so.1
    0x793d2a780000-0x793d2a790000   /lib/powerpc64le-linux-gnu/libgcc_s.so.1
    0x793d2a790000-0x793d2a7a0000   /lib/powerpc64le-linux-gnu/libgcc_s.so.1
    0x793d2a7a0000-0x793d2a8e0000   /lib/powerpc64le-linux-gnu/libm-2.28.so
    0x793d2a8e0000-0x793d2a8f0000   /lib/powerpc64le-linux-gnu/libm-2.28.so
    0x793d2a8f0000-0x793d2a900000   /lib/powerpc64le-linux-gnu/libm-2.28.so
    0x793d2a900000-0x793d2a910000   /lib/powerpc64le-linux-gnu/librt-2.28.so
    0x793d2a910000-0x793d2a920000   /lib/powerpc64le-linux-gnu/librt-2.28.so
    0x793d2a920000-0x793d2a930000   /lib/powerpc64le-linux-gnu/librt-2.28.so
    0x793d2a930000-0x793d2a940000   /lib/powerpc64le-linux-gnu/libdl-2.28.so
    0x793d2a940000-0x793d2a950000   /lib/powerpc64le-linux-gnu/libdl-2.28.so
    0x793d2a950000-0x793d2a960000   /lib/powerpc64le-linux-gnu/libdl-2.28.so
    0x793d2a960000-0x793d2ab80000   /lib/powerpc64le-linux-gnu/libc-2.28.so
    0x793d2ab80000-0x793d2ab90000   /lib/powerpc64le-linux-gnu/libc-2.28.so
    0x793d2ab90000-0x793d2aba0000   /lib/powerpc64le-linux-gnu/libc-2.28.so
    0x793d2aba0000-0x793d2abb0000   /lib/powerpc64le-linux-gnu/libc-2.28.so
    0x793d2abb0000-0x793d2abe0000   /lib/powerpc64le-linux-gnu/libpthread-2.28.so
    0x793d2abe0000-0x793d2abf0000   /lib/powerpc64le-linux-gnu/libpthread-2.28.so
    0x793d2abf0000-0x793d2ac00000   /lib/powerpc64le-linux-gnu/libpthread-2.28.so
    0x793d2ac00000-0x793d2ac10000   /usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0.5800.1
    0x793d2ac10000-0x793d2ac20000   /usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0.5800.1
    0x793d2ac20000-0x793d2ac30000   /usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0.5800.1
    0x793d2ac30000-0x793d2aea0000   /usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0.5800.1
    0x793d2aea0000-0x793d2aeb0000   /usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0.5800.1
    0x793d2aeb0000-0x793d2aec0000   /usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0.5800.1
    0x793d2aec0000-0x793d2b050000   /usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0.5800.1
    0x793d2b050000-0x793d2b060000   /usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0.5800.1
    0x793d2b060000-0x793d2b070000   /usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0.5800.1
    0x793d2b070000-0x793d2b0e0000   /usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0.5800.1
    0x793d2b0e0000-0x793d2b0f0000   /usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0.5800.1
    0x793d2b0f0000-0x793d2b100000   /usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0.5800.1
    0x793d2b100000-0x793d2b110000   /tmp/tmpbrjz1hlu/gir/dep1/dep2/libdep2lib.so
    0x793d2b110000-0x793d2b120000   /tmp/tmpbrjz1hlu/gir/dep1/dep2/libdep2lib.so
    0x793d2b120000-0x793d2b130000   /tmp/tmpbrjz1hlu/gir/dep1/dep2/libdep2lib.so
    0x793d2b130000-0x793d2b140000   /tmp/tmpbrjz1hlu/gir/dep1/libdep1lib.so
    0x793d2b140000-0x793d2b150000   /tmp/tmpbrjz1hlu/gir/dep1/libdep1lib.so
    0x793d2b150000-0x793d2b160000   /tmp/tmpbrjz1hlu/gir/dep1/libdep1lib.so
    0x793d2b160000-0x793d2b330000   /usr/lib/powerpc64le-linux-gnu/libasan.so.5.0.0
    0x793d2b330000-0x793d2b340000   /usr/lib/powerpc64le-linux-gnu/libasan.so.5.0.0
    0x793d2b340000-0x793d2b350000   /usr/lib/powerpc64le-linux-gnu/libasan.so.5.0.0
    0x793d2b350000-0x793d2bfd0000   
    0x793d2bfd0000-0x793d2bff0000   [vdso]
    0x793d2bff0000-0x793d2c030000   /lib/powerpc64le-linux-gnu/ld-2.28.so
    0x793d2c030000-0x793d2c040000   /lib/powerpc64le-linux-gnu/ld-2.28.so
    0x793d2c040000-0x793d2c050000   /lib/powerpc64le-linux-gnu/ld-2.28.so
    0x7fffcd900000-0x7fffcd930000   [stack]
==26061==End of process memory map.
Command '['/tmp/tmpbrjz1hlu/tmp-introspectghii58n3/MesonDep1-1.0', '--introspect-dump=/tmp/tmpbrjz1hlu/tmp-introspectghii58n3/functions.txt,/tmp/tmpbrjz1hlu/tmp-introspectghii58n3/dump.xml']' returned non-zero exit status 1.
[39/75] Generating enums2.h with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.

----------------------------------------------------------------------
Ran 169 tests in 157.830s

FAILED (errors=1, skipped=23)

Full test log at:

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-disco/disco/ppc64el/m/meson/20190116_031026_4df33@/log.gz

Not sure if this is a bug in meson, g-ir-scanner, or toolchain on ppc64el Ubuntu Disco.

jpakkane commented 5 years ago

As far as I can tell this should not be a bug in Meson. The behaviour is the same on all platforms so it should happen on all platforms. My hunch is that this has something to do with the asan implementation on ppc64el. A simple way would be to run the packaging tests of 0.49.0 on Cosmic. If it works, then it is almost certainly a toolchain bug.

jbicha commented 5 years ago

Ubuntu's ppc64el also uses -O3 by default. I don't know if it's relevant here but it does make Ubuntu ppc64el unique.

xnox commented 5 years ago

@jpakkane ack, thanks. That is certainly something I try, to start eliminating things.

jbicha commented 8 months ago

This was fixed a while ago