Debian Bug report logs - #1016433
FTBFS: undefined reference during linking

version graph

Package: ldc; Maintainer for ldc is Debian D Language Group <[email protected]>; Source for ldc is src:ldc (PTS, buildd, popcon).

Affects: gir-to-d

Reported by: Philippe SWARTVAGHER <[email protected]>

Date: Sun, 31 Jul 2022 16:00:01 UTC

Severity: important

Tags: bookworm, ftbfs, sid, trixie

Merged with 1010421, 1011739

Found in version ldc/1:1.29.0-1

Forwarded to https://github.com/ldc-developers/ldc/issues/4000

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Debian D Language Group <[email protected]>:
Bug#1016433; Package src:gir-to-d. (Sun, 31 Jul 2022 16:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Philippe SWARTVAGHER <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Debian D Language Group <[email protected]>. (Sun, 31 Jul 2022 16:00:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Philippe SWARTVAGHER <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: FTBFS: undefined reference during linking
Date: Sun, 31 Jul 2022 17:56:35 +0200
Source: gir-to-d
Version: 0.22.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected]

Dear Maintainer,

On an up-to-date Sid, gir-to-d fails to build from source:

% apt source gir-to-d
...
% sudo apt build-dep gir-to-d
...
% cd gir-to-d-0.22.0
% debuild -us -uc
...
[20/20] ldc2  -of=girtod girtod.p/source_girtod.d.o girtod.p/source_gtd_DefReader.d.o girtod.p/source_gtd_GlibTypes.d.o girtod.p/source_gtd_GirAlias.d.o girtod.p/source_gtd_GirConstant.d.o girtod.p/source_gtd_GirEnum.d.o girtod.p/source_gtd_GirField.d.o girtod.p/source_gtd_GirFunction.d.o girtod.p/source_gtd_GirPackage.d.o girtod.p/source_gtd_GirStruct.d.o girtod.p/source_gtd_GirType.d.o girtod.p/source_gtd_GirVersion.d.o girtod.p/source_gtd_GirWrapper.d.o girtod.p/source_gtd_IndentedStringBuilder.d.o girtod.p/source_gtd_Log.d.o girtod.p/source_gtd_LinkedHasMap.d.o girtod.p/source_gtd_WrapException.d.o girtod.p/source_gtd_XMLReader.d.o -L=--allow-shlib-undefined -link-defaultlib-shared -L=-z -L=relro -O -g -release -wi
FAILED: girtod
ldc2  -of=girtod girtod.p/source_girtod.d.o girtod.p/source_gtd_DefReader.d.o girtod.p/source_gtd_GlibTypes.d.o girtod.p/source_gtd_GirAlias.d.o girtod.p/source_gtd_GirConstant.d.o girtod.p/source_gtd_GirEnum.d.o girtod.p/source_gtd_GirField.d.o girtod.p/source_gtd_GirFunction.d.o girtod.p/source_gtd_GirPackage.d.o girtod.p/source_gtd_GirStruct.d.o girtod.p/source_gtd_GirType.d.o girtod.p/source_gtd_GirVersion.d.o girtod.p/source_gtd_GirWrapper.d.o girtod.p/source_gtd_IndentedStringBuilder.d.o girtod.p/source_gtd_Log.d.o girtod.p/source_gtd_LinkedHasMap.d.o girtod.p/source_gtd_WrapException.d.o girtod.p/source_gtd_XMLReader.d.o -L=--allow-shlib-undefined -link-defaultlib-shared -L=-z -L=relro -O -g -release -wi
/usr/bin/ld: girtod.p/source_gtd_GirPackage.d.o: in function `_D3gtd12LinkedHasMap__T13LinkedHashMapTAyaTCQBq11GirFunctionQnZQBo4Node11__xopEqualsMxFKxSQDkQDj__TQCyTQCmTQCmZQDkQBwZb':
/home/philippe/tmp/gir-to-d-0.22.0/obj-x86_64-linux-gnu/../source/gtd/LinkedHasMap.d:27: undefined reference to `_D6object__T8opEqualsTxC3gtd11GirFunctionQnTxQwZQBkFxQBexQBiZb'
collect2: error: ld returned 1 exit status
Error: /usr/bin/cc failed with status: 1
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make: *** [debian/rules:8 : build] Erreur 25
dpkg-buildpackage: erreur: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed

I found this bug when trying to figure out why gir-to-d didn't migrate
to testing (see gir-to-d's excuses). The blocked migration of gir-to-d
blocks also several packages like tilix, gtk-d or glib-d.

Philippe.



Information forwarded to [email protected], Debian D Language Group <[email protected]>:
Bug#1016433; Package src:gir-to-d. (Sun, 31 Jul 2022 16:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to Philippe SWARTVAGHER <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian D Language Group <[email protected]>. (Sun, 31 Jul 2022 16:09:05 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Philippe SWARTVAGHER <[email protected]>
To: [email protected]
Subject: Duplicate
Date: Sun, 31 Jul 2022 18:04:46 +0200
Sorry, I didn’t notice it was already reported in bugs 1011739 and 1010421 against ldc...




Bug reassigned from package 'src:gir-to-d' to 'ldc'. Request was from Matthias Klumpp <[email protected]> to [email protected]. (Mon, 01 Aug 2022 18:33:03 GMT) (full text, mbox, link).


No longer marked as found in versions gir-to-d/0.22.0-1. Request was from Matthias Klumpp <[email protected]> to [email protected]. (Mon, 01 Aug 2022 18:33:03 GMT) (full text, mbox, link).


Marked as found in versions ldc/1:1.29.0-1. Request was from Matthias Klumpp <[email protected]> to [email protected]. (Mon, 01 Aug 2022 18:33:04 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://github.com/ldc-developers/ldc/issues/4000'. Request was from Matthias Klumpp <[email protected]> to [email protected]. (Mon, 01 Aug 2022 18:33:04 GMT) (full text, mbox, link).


Added indication that bug 1016433 blocks 1008403 Request was from Matthias Klumpp <[email protected]> to [email protected]. (Mon, 01 Aug 2022 18:33:05 GMT) (full text, mbox, link).


Added indication that bug 1016433 blocks 1011732 Request was from Matthias Klumpp <[email protected]> to [email protected]. (Mon, 01 Aug 2022 18:33:06 GMT) (full text, mbox, link).


Added indication that 1016433 affects gir-to-d Request was from Matthias Klumpp <[email protected]> to [email protected]. (Mon, 01 Aug 2022 18:33:07 GMT) (full text, mbox, link).


Added tag(s) bookworm and sid. Request was from Matthias Klumpp <[email protected]> to [email protected]. (Mon, 01 Aug 2022 18:33:07 GMT) (full text, mbox, link).


Merged 1010421 1011739 1016433 Request was from Matthias Klumpp <[email protected]> to [email protected]. (Mon, 01 Aug 2022 18:33:09 GMT) (full text, mbox, link).


Severity set to 'important' from 'serious' Request was from Matthias Klumpp <[email protected]> to [email protected]. (Mon, 01 Aug 2022 18:39:07 GMT) (full text, mbox, link).


Message #31 received at [email protected] (full text, mbox, reply):

From: Debian FTP Masters <[email protected]>
To: [email protected]
Subject: Bug#1010421: fixed in gir-to-d 0.23.1-1
Date: Sun, 05 Nov 2023 16:19:15 +0000
Source: gir-to-d
Source-Version: 0.23.1-1
Done: Matthias Klumpp <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gir-to-d, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klumpp <[email protected]> (supplier of updated gir-to-d package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 05 Nov 2023 16:44:56 +0100
Source: gir-to-d
Architecture: source
Version: 0.23.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian D Language Group <[email protected]>
Changed-By: Matthias Klumpp <[email protected]>
Closes: 1010421
Changes:
 gir-to-d (0.23.1-1) unstable; urgency=medium
 .
   * New upstream version: 0.23.1
   * Bump standards version (no changes needed)
   * Drop all patches: Applied upstream
   * Update d/watch
   * Add better workaround for missing symbol linker error (Closes: #1010421)
Checksums-Sha1:
 281292f2522d8d3d9b8f7a9e1e1774eb3995db09 1973 gir-to-d_0.23.1-1.dsc
 32f0966f2f8a70098e730b0f11f2d206fab8f5a7 42284 gir-to-d_0.23.1.orig.tar.gz
 1368fbcd774435125c16cec1d6b553a19a95d8c0 2964 gir-to-d_0.23.1-1.debian.tar.xz
 e040f30005afa999a63422ca2fe1707f7830b874 7577 gir-to-d_0.23.1-1_source.buildinfo
Checksums-Sha256:
 2a7f3bb77a23c3bd8a5a05b16016aac553231e457ac3db174ee3bdc5385037dc 1973 gir-to-d_0.23.1-1.dsc
 17b0f0879490cd042b754239a4c8cee91a84f98ee66dd375c9b6890bfbe8b6ec 42284 gir-to-d_0.23.1.orig.tar.gz
 b396532ebfbaf40018fde263cd7c866cda1533e621edb61e8c3523e88c047032 2964 gir-to-d_0.23.1-1.debian.tar.xz
 5ee93420fe4c12507dbd64689d19ade047fab2766201d5fdecea0ddfb8c1c68b 7577 gir-to-d_0.23.1-1_source.buildinfo
Files:
 b59ca4a10ecd31233ade7ffc83fcc095 1973 devel optional gir-to-d_0.23.1-1.dsc
 2fbcafbd31f44c53fd3cd03d63997ef7 42284 devel optional gir-to-d_0.23.1.orig.tar.gz
 3fa67cd02f30893782391c5277ec1dae 2964 devel optional gir-to-d_0.23.1-1.debian.tar.xz
 278cecd5de4559c72924d493e4100bd5 7577 devel optional gir-to-d_0.23.1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCAAtFiEE0zo/DKFrCsxRpgc4SUyKX79N7OsFAmVHuvoPHG1ha0BkZWJp
YW4ub3JnAAoJEElMil+/TezrlyQP/23n2zXRZZB7EXAjkW/Nz6pVwV0DnlT4l5K+
i+lsdKXEhRxuVtjIgVPC98icnTyq/T3ctAGVUVyq4Ep51TQ92rPTqPWLIxj+gRSt
cDhNmXveBuI0eLspI1/CM8ujUVti6rPgesrjKr5Gdi/qR2Qd/pIQlirIm4hAemc3
6VH2zHHiP4wjlSPQtPT67k6zuOQTZP+ZTPiOUH2PpwPojziuaH7MfoIoVVUr+uUe
v0bj5tE3y4UShqghNXz/FjM0AAJFV0TcgBR7QPUMog6jmt5zo4DLr9Jcd2szUQTa
eov5aQYFUQV9FhMWRn7omTvFUrlACwxE8hkY3WEAiWPpRcYNRnsWXgloGS+hyD+V
zhQg5stQ3+W5wZ1FVYuHXv/eHc/Doz/LC+3fHxddSWwQOT17qTnpgz7FCL5azmY3
X2a2HokRk58wfntFUMRTdQhyiMrRaIRkbrKa9GU+p0CdML3OjEbWHftINrLVGrUP
L6/ouT4Px1O3W66EXtHxBTHSvH4OklcDdj1yj6M3EvE15wuLcDVVi1XuF2BZmDjE
orzvKQ5AbsOMgGYdWjJhujHqeobTIwBmCjlRQhZo066vEcpFpK1UxjkOKGz+tiAU
1Nnp/K8FBJZfn+532odrjGIGWPGt0BSAPXt+A7ScZsp9LY+voNcPtH9AvxhO47Hj
qRRmj9lR
=nVI4
-----END PGP SIGNATURE-----




Bug reopened Request was from Andreas Beckmann <[email protected]> to [email protected]. (Tue, 19 Dec 2023 14:54:03 GMT) (full text, mbox, link).


No longer marked as fixed in versions gir-to-d/0.23.1-1. Request was from Andreas Beckmann <[email protected]> to [email protected]. (Tue, 19 Dec 2023 14:54:04 GMT) (full text, mbox, link).


Added tag(s) trixie. Request was from Andreas Beckmann <[email protected]> to [email protected]. (Tue, 19 Dec 2023 14:54:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 16:10:21 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.