Bug#971211: glib-d: FTBFS: dh_auto_configure: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu returned exit code 1

Lucas Nussbaum lucas at debian.org
Sun Sep 27 19:58:50 BST 2020


Source: glib-d
Version: 2.2.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --with gnome
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu
> The Meson build system
> Version: 0.55.3
> Source dir: /<<PKGBUILDDIR>>
> Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
> Build type: native build
> Project name: GlibD
> Project version: 2.2.0
> Using 'CFLAGS' from environment with value: '-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security'
> Using 'LDFLAGS' from environment with value: '-Wl,-z,relro'
> Using 'CPPFLAGS' from environment with value: '-Wdate-time -D_FORTIFY_SOURCE=2'
> Using 'DC' from environment with value: 'ldc2'
> Using 'DFLAGS' from environment with value: '-O -g -release -wi'
> Using 'LDFLAGS' from environment with value: '-Wl,-z,relro'
> Using 'CFLAGS' from environment with value: '-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security'
> Using 'LDFLAGS' from environment with value: '-Wl,-z,relro'
> Using 'CPPFLAGS' from environment with value: '-Wdate-time -D_FORTIFY_SOURCE=2'
> Using 'DC' from environment with value: 'ldc2'
> Using 'DFLAGS' from environment with value: '-O -g -release -wi'
> Using 'LDFLAGS' from environment with value: '-Wl,-z,relro'
> D compiler for the host machine: ldc2 (llvm 1.21.0 "LDC - the LLVM D compiler (1.21.0):")
> D linker for the host machine: ldc2 ld.gold 2.35.1
> Host machine cpu family: x86_64
> Host machine cpu: x86_64
> Found pkg-config: /usr/bin/pkg-config (0.29.2)
> Run-time dependency glib-2.0 found: YES 2.66.0
> Run-time dependency gmodule-2.0 found: YES 2.66.0
> Run-time dependency gobject-2.0 found: YES 2.66.0
> Run-time dependency gio-2.0 found: YES 2.66.0
> Run-time dependency gobject-introspection-1.0 found: YES 1.66.0
> Program girtod found: YES
> Message: Generating D interfaces from GIR...
> 
> ../meson.build:37:4: ERROR: Problem encountered: Unable to build D intefaces from GIR:
> Error /usr/share/gir-1.0/GLib-2.0.gir(51578): Unexpected tag: docsection in GirPackage: glib
> 
> 
> A full log can be found at /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-logs/meson-log.txt
> 	cd obj-x86_64-linux-gnu && tail -v -n \+0 meson-logs/meson-log.txt
> ==> meson-logs/meson-log.txt <==
> Build started at 2020-09-27T11:22:13.071694
> Main binary: /usr/bin/python3
> Build Options: -Dprefix=/usr -Dlibdir=lib/x86_64-linux-gnu -Dlocalstatedir=/var -Dsysconfdir=/etc -Dbuildtype=plain -Dwrap_mode=nodownload
> Python system: Linux
> The Meson build system
> Version: 0.55.3
> Source dir: /<<PKGBUILDDIR>>
> Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
> Build type: native build
> None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
> None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
> Project name: GlibD
> Project version: 2.2.0
> None of 'CC' are defined in the environment, not changing global flags.
> Using 'CFLAGS' from environment with value: '-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security'
> Using 'LDFLAGS' from environment with value: '-Wl,-z,relro'
> Using 'CPPFLAGS' from environment with value: '-Wdate-time -D_FORTIFY_SOURCE=2'
> None of 'CC_LD' are defined in the environment, not changing global flags.
> Using 'DC' from environment with value: 'ldc2'
> Using 'DFLAGS' from environment with value: '-O -g -release -wi'
> Using 'LDFLAGS' from environment with value: '-Wl,-z,relro'
> None of 'DC_LD' are defined in the environment, not changing global flags.
> None of 'D_LD' are defined in the environment, not changing global flags.
> D compiler for the build machine: ldc2 (llvm 1.21.0 "LDC - the LLVM D compiler (1.21.0):")
> D linker for the build machine: ldc2 ld.gold 2.35.1
> None of 'AR' are defined in the environment, not changing global flags.
> None of 'CC' are defined in the environment, not changing global flags.
> Using 'CFLAGS' from environment with value: '-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security'
> Using 'LDFLAGS' from environment with value: '-Wl,-z,relro'
> Using 'CPPFLAGS' from environment with value: '-Wdate-time -D_FORTIFY_SOURCE=2'
> None of 'CC_LD' are defined in the environment, not changing global flags.
> Using 'DC' from environment with value: 'ldc2'
> Using 'DFLAGS' from environment with value: '-O -g -release -wi'
> Using 'LDFLAGS' from environment with value: '-Wl,-z,relro'
> None of 'DC_LD' are defined in the environment, not changing global flags.
> None of 'D_LD' are defined in the environment, not changing global flags.
> D compiler for the host machine: ldc2 (llvm 1.21.0 "LDC - the LLVM D compiler (1.21.0):")
> D linker for the host machine: ldc2 ld.gold 2.35.1
> None of 'AR' are defined in the environment, not changing global flags.
> Build machine cpu family: x86_64
> Build machine cpu: x86_64
> Host machine cpu family: x86_64
> Host machine cpu: x86_64
> Target machine cpu family: x86_64
> Target machine cpu: x86_64
> Pkg-config binary for MachineChoice.HOST is not cached.
> None of 'PKG_CONFIG' are defined in the environment, not changing global flags.
> Pkg-config binary missing from cross or native file, or env var undefined.
> Trying a default Pkg-config fallback at pkg-config
> Found pkg-config: /usr/bin/pkg-config (0.29.2)
> Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config --modversion glib-2.0` -> 0
> 2.66.0
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config --cflags glib-2.0` -> 0
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config glib-2.0 --libs` -> 0
> -L/usr/lib/x86_64-linux-gnu -lglib-2.0
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config glib-2.0 --libs` -> 0
> -lglib-2.0
> None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
> Run-time dependency glib-2.0 found: YES 2.66.0
> Pkg-config binary for MachineChoice.HOST is cached.
> Determining dependency 'gmodule-2.0' with pkg-config executable '/usr/bin/pkg-config'
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config --modversion gmodule-2.0` -> 0
> 2.66.0
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config --cflags gmodule-2.0` -> 0
> -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config gmodule-2.0 --libs` -> 0
> -L/usr/lib/x86_64-linux-gnu -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config gmodule-2.0 --libs` -> 0
> -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
> None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
> Run-time dependency gmodule-2.0 found: YES 2.66.0
> Pkg-config binary for MachineChoice.HOST is cached.
> Determining dependency 'gobject-2.0' with pkg-config executable '/usr/bin/pkg-config'
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config --modversion gobject-2.0` -> 0
> 2.66.0
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config --cflags gobject-2.0` -> 0
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config gobject-2.0 --libs` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgobject-2.0 -lglib-2.0
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config gobject-2.0 --libs` -> 0
> -lgobject-2.0 -lglib-2.0
> None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
> Run-time dependency gobject-2.0 found: YES 2.66.0
> Pkg-config binary for MachineChoice.HOST is cached.
> Determining dependency 'gio-2.0' with pkg-config executable '/usr/bin/pkg-config'
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config --modversion gio-2.0` -> 0
> 2.66.0
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config --cflags gio-2.0` -> 0
> -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config gio-2.0 --libs` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgio-2.0 -lgobject-2.0 -lglib-2.0
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config gio-2.0 --libs` -> 0
> -lgio-2.0 -lgobject-2.0 -lglib-2.0
> None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
> Run-time dependency gio-2.0 found: YES 2.66.0
> Pkg-config binary for MachineChoice.HOST is cached.
> Determining dependency 'gobject-introspection-1.0' with pkg-config executable '/usr/bin/pkg-config'
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config --modversion gobject-introspection-1.0` -> 0
> 1.66.0
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config --cflags gobject-introspection-1.0` -> 0
> -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config gobject-introspection-1.0 --libs` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgirepository-1.0 -lgobject-2.0 -lglib-2.0
> PKG_CONFIG_PATH: 
> Called `/usr/bin/pkg-config gobject-introspection-1.0 --libs` -> 0
> -lgirepository-1.0 -lgobject-2.0 -lglib-2.0
> None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
> Run-time dependency gobject-introspection-1.0 found: YES 1.66.0
> Program girtod found: YES
> Message: Generating D interfaces from GIR...
> Running command: /usr/bin/girtod -i /<<PKGBUILDDIR>>/src -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/generated --print-files relative,/<<PKGBUILDDIR>>
> --- stdout ---
> obj-x86_64-linux-gnu/generated/gtkd/Implement.d
> obj-x86_64-linux-gnu/generated/gtkd/paths.d
> obj-x86_64-linux-gnu/generated/gtkd/Loader.d
> 
> --- stderr ---
> Error /usr/share/gir-1.0/GLib-2.0.gir(51578): Unexpected tag: docsection in GirPackage: glib
> 
> 
> 
> ../meson.build:37:4: ERROR: Problem encountered: Unable to build D intefaces from GIR:
> Error /usr/share/gir-1.0/GLib-2.0.gir(51578): Unexpected tag: docsection in GirPackage: glib
> 
> dh_auto_configure: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu returned exit code 1
> make: *** [debian/rules:8: build] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/09/26/glib-d_2.2.0-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-gnome-maintainers mailing list