Bug#997391: 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
Sat Oct 23 21:19:36 BST 2021


Source: glib-d
Version: 2.3.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

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.59.2
> Source dir: /<<PKGBUILDDIR>>
> Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
> Build type: native build
> Project name: GlibD
> Project version: 2.2.0
> D compiler for the host machine: ldc2 (llvm 1.24.0 "LDC - the LLVM D compiler (1.24.0):")
> D linker for the host machine: ldc2 ld.gold 2.37
> 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.70.0
> Run-time dependency gmodule-2.0 found: YES 2.70.0
> Run-time dependency gobject-2.0 found: YES 2.70.0
> Run-time dependency gio-2.0 found: YES 2.70.0
> Run-time dependency gobject-introspection-1.0 found: YES 1.70.0
> Program girtod found: YES (/usr/bin/girtod)
> Message: Generating D interfaces from GIR...
> 
> ../meson.build:37:4: ERROR: Problem encountered: Unable to build D intefaces from GIR:
> Error /<<PKGBUILDDIR>>/src/APILookupGLib.txt(1986): Unknown function string_new
> 
> 
> 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 2021-10-23T07:29:29.975790
> 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.59.2
> Source dir: /<<PKGBUILDDIR>>
> Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
> Build type: native build
> Project name: GlibD
> Project version: 2.2.0
> D compiler for the host machine: ldc2 (llvm 1.24.0 "LDC - the LLVM D compiler (1.24.0):")
> D linker for the host machine: ldc2 ld.gold 2.37
> D compiler for the build machine: ldc2 (llvm 1.24.0 "LDC - the LLVM D compiler (1.24.0):")
> D linker for the build machine: ldc2 ld.gold 2.37
> 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.
> 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'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion glib-2.0` -> 0
> 2.70.0
> env[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
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs glib-2.0` -> 0
> -L/usr/lib/x86_64-linux-gnu -lglib-2.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs glib-2.0` -> 0
> -lglib-2.0
> Run-time dependency glib-2.0 found: YES 2.70.0
> Pkg-config binary for MachineChoice.HOST is cached.
> Determining dependency 'gmodule-2.0' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion gmodule-2.0` -> 0
> 2.70.0
> env[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
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gmodule-2.0` -> 0
> -L/usr/lib/x86_64-linux-gnu -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gmodule-2.0` -> 0
> -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
> Run-time dependency gmodule-2.0 found: YES 2.70.0
> Pkg-config binary for MachineChoice.HOST is cached.
> Determining dependency 'gobject-2.0' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion gobject-2.0` -> 0
> 2.70.0
> env[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
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gobject-2.0` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgobject-2.0 -lglib-2.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gobject-2.0` -> 0
> -lgobject-2.0 -lglib-2.0
> Run-time dependency gobject-2.0 found: YES 2.70.0
> Pkg-config binary for MachineChoice.HOST is cached.
> Determining dependency 'gio-2.0' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion gio-2.0` -> 0
> 2.70.0
> env[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
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gio-2.0` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgio-2.0 -lgobject-2.0 -lglib-2.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gio-2.0` -> 0
> -lgio-2.0 -lgobject-2.0 -lglib-2.0
> Run-time dependency gio-2.0 found: YES 2.70.0
> Pkg-config binary for MachineChoice.HOST is cached.
> Determining dependency 'gobject-introspection-1.0' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion gobject-introspection-1.0` -> 0
> 1.70.0
> env[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
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gobject-introspection-1.0` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgirepository-1.0 -lgobject-2.0 -lglib-2.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gobject-introspection-1.0` -> 0
> -lgirepository-1.0 -lgobject-2.0 -lglib-2.0
> Run-time dependency gobject-introspection-1.0 found: YES 1.70.0
> Program girtod found: YES (/usr/bin/girtod)
> 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 /<<PKGBUILDDIR>>/src/APILookupGLib.txt(1986): Unknown function string_new
> 
> 
> 
> ../meson.build:37:4: ERROR: Problem encountered: Unable to build D intefaces from GIR:
> Error /<<PKGBUILDDIR>>/src/APILookupGLib.txt(1986): Unknown function string_new
> 
> 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/2021/10/23/glib-d_2.3.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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-gnome-maintainers mailing list