Bug#1042300: glib-d: FTBFS: ../obj-x86_64-linux-gnu/generated/glib/ArrayG.d(324): Error: constructor `glib.ArrayG.ArrayG.this(void*[] data, bool clear, ulong elementSize)` conflicts with previous declaration at ../obj-x86_64-linux-gnu/generated/glib/ArrayG.d(281)
Lucas Nussbaum
lucas at debian.org
Wed Jul 26 21:16:00 BST 2023
Source: glib-d
Version: 2.3.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230726 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --with gnome
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure
> cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu
> The Meson build system
> Version: 1.2.0
> Source dir: /<<PKGBUILDDIR>>
> Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
> Build type: native build
> Project name: GlibD
> Project version: 2.4.0
> D compiler for the host machine: ldc2 (llvm 1.30.0 "LDC - the LLVM D compiler (1.30.0):")
> D linker for the host machine: ldc2 ld.bfd 2.40.90.20230720
> Host machine cpu family: x86_64
> Host machine cpu: x86_64
> Found pkg-config: /usr/bin/pkg-config (1.8.1)
> Run-time dependency glib-2.0 found: YES 2.76.4
> Run-time dependency gmodule-2.0 found: YES 2.76.4
> Run-time dependency gobject-2.0 found: YES 2.76.4
> Run-time dependency gio-2.0 found: YES 2.76.4
> Run-time dependency gobject-introspection-1.0 found: YES 1.76.1
> Program girtod found: YES (/usr/bin/girtod)
> Message: Generating D interfaces from GIR...
> Build targets in project: 4
>
> GlibD 2.4.0
>
> User defined options
> buildtype : plain
> libdir : lib/x86_64-linux-gnu
> localstatedir: /var
> prefix : /usr
> sysconfdir : /etc
> wrap_mode : nodownload
>
> Found ninja-1.11.1 at /usr/bin/ninja
> dh_auto_build
> cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v
> [1/349] ldc2 -I=libglibd-2.0.so.2.4.0.p -I=. -I=.. -I=generated -I=../generated -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -enable-color -wi -O -g -release -wi -relocation-model=pic -makedeps=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_gtkd_paths.d.o.deps -of=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_gtkd_paths.d.o -c ../obj-x86_64-linux-gnu/generated/gtkd/paths.d
> [2/349] ldc2 -I=libglibd-2.0.so.2.4.0.p -I=. -I=.. -I=generated -I=../generated -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -enable-color -wi -O -g -release -wi -relocation-model=pic -makedeps=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_c_functions.d.o.deps -of=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_c_functions.d.o -c ../obj-x86_64-linux-gnu/generated/glib/c/functions.d
> [3/349] ldc2 -I=libglibd-2.0.so.2.4.0.p -I=. -I=.. -I=generated -I=../generated -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -enable-color -wi -O -g -release -wi -relocation-model=pic -makedeps=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_ArrayG.d.o.deps -of=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_ArrayG.d.o -c ../obj-x86_64-linux-gnu/generated/glib/ArrayG.d
> FAILED: libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_ArrayG.d.o
> ldc2 -I=libglibd-2.0.so.2.4.0.p -I=. -I=.. -I=generated -I=../generated -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -enable-color -wi -O -g -release -wi -relocation-model=pic -makedeps=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_ArrayG.d.o.deps -of=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_ArrayG.d.o -c ../obj-x86_64-linux-gnu/generated/glib/ArrayG.d
> ../obj-x86_64-linux-gnu/generated/glib/ArrayG.d(324): Error: constructor `glib.ArrayG.ArrayG.this(void*[] data, bool clear, ulong elementSize)` conflicts with previous declaration at ../obj-x86_64-linux-gnu/generated/glib/ArrayG.d(281)
> [4/349] ldc2 -I=libglibd-2.0.so.2.4.0.p -I=. -I=.. -I=generated -I=../generated -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -enable-color -wi -O -g -release -wi -relocation-model=pic -makedeps=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_AsyncQueue.d.o.deps -of=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_AsyncQueue.d.o -c ../obj-x86_64-linux-gnu/generated/glib/AsyncQueue.d
> [5/349] ldc2 -I=libglibd-2.0.so.2.4.0.p -I=. -I=.. -I=generated -I=../generated -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -enable-color -wi -O -g -release -wi -relocation-model=pic -makedeps=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_c_types.d.o.deps -of=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_c_types.d.o -c ../obj-x86_64-linux-gnu/generated/glib/c/types.d
> [6/349] ldc2 -I=libglibd-2.0.so.2.4.0.p -I=. -I=.. -I=generated -I=../generated -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -enable-color -wi -O -g -release -wi -relocation-model=pic -makedeps=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_gtkd_Implement.d.o.deps -of=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_gtkd_Implement.d.o -c ../obj-x86_64-linux-gnu/generated/gtkd/Implement.d
> [7/349] ldc2 -I=libglibd-2.0.so.2.4.0.p -I=. -I=.. -I=generated -I=../generated -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -enable-color -wi -O -g -release -wi -relocation-model=pic -makedeps=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_ByteArray.d.o.deps -of=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_ByteArray.d.o -c ../obj-x86_64-linux-gnu/generated/glib/ByteArray.d
> [8/349] ldc2 -I=libglibd-2.0.so.2.4.0.p -I=. -I=.. -I=generated -I=../generated -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -enable-color -wi -O -g -release -wi -relocation-model=pic -makedeps=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_BookmarkFile.d.o.deps -of=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_BookmarkFile.d.o -c ../obj-x86_64-linux-gnu/generated/glib/BookmarkFile.d
> [9/349] ldc2 -I=libglibd-2.0.so.2.4.0.p -I=. -I=.. -I=generated -I=../generated -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -enable-color -wi -O -g -release -wi -relocation-model=pic -makedeps=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_Bytes.d.o.deps -of=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_glib_Bytes.d.o -c ../obj-x86_64-linux-gnu/generated/glib/Bytes.d
> [10/349] ldc2 -I=libglibd-2.0.so.2.4.0.p -I=. -I=.. -I=generated -I=../generated -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -enable-color -wi -O -g -release -wi -relocation-model=pic -makedeps=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_gtkd_Loader.d.o.deps -of=libglibd-2.0.so.2.4.0.p/obj-x86_64-linux-gnu_generated_gtkd_Loader.d.o -c ../obj-x86_64-linux-gnu/generated/gtkd/Loader.d
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
> make: *** [debian/rules:8: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/07/26/glib-d_2.3.0-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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 mark 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