Your message dated Sun, 12 Jul 2026 14:46:16 +0200
with message-id <[email protected]>
and subject line Re: Bug#1017077: dh-dlang: sets compiler and flags wrong for 
armhf
has caused the Debian Bug report #1017077,
regarding dh-dlang: sets compiler and flags wrong for armhf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1017077: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017077
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-dlang
Version: 0.6.5
Severity: important
X-Debbugs-Cc: [email protected]

Hi,

dh-dlang seems to export flags for armhf incorrectly. ldc is
supported on armhf and hence this should be exported if available
however dh-dlang does not seem to honor that[1]

Furthermore, it has a snippet in the same condition to set
extra DFLAGS for armhf[2] which makes it a no-op.
Similar modifications should probably be done on default-d-compiler
metapkg too.

This was making diet-ng FTBFS for a while, so I added a workaround for
it there.

[1]: https://sources.debian.org/src/dh-dlang/0.6.5/dlang-flags.mk/#L27
[2]: https://sources.debian.org/src/dh-dlang/0.6.5/dlang-flags.mk/#L32

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dh-dlang depends on:
ii  debhelper           13.8
pn  default-d-compiler  <none>
ii  python3             3.10.5-3

dh-dlang recommends no packages.

dh-dlang suggests no packages.

--- End Message ---
--- Begin Message ---
Version: 0.6.7

Hi,

closing this bug as the concrete issue reported here was fixed in dh-dlang 0.6.7.

The dead code path in dlang-flags.mk was removed in 0.6.7 ("Refactor dlang-flags to strip some more flags, and to make sure also gcc D compiler can compile stuff", commit 59b36c6): the architecture whitelist around the LDC block is gone, and LDC flags are now set whenever the ldc package is installed, on any architecture. This makes the armhf-specific "-mattr=-neon" quirk reachable again, e.g. for packages that explicitly build-depend on ldc on armhf.

As for making ldc the default D compiler on armhf: as Matthias explained earlier in this bug, using GDC on armhf is a deliberate choice, and default-d-compiler still maps armhf to gdc. That part is a decision rather than a defect, so nothing left to do here.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to