#1112294 libgdiplus: please enable verbose build logs

Package:
src:libgdiplus
Source:
src:libgdiplus
Submitter:
Emanuele Rocca
Date:
2026-05-02 17:31:02 UTC
Severity:
normal
Tags:
#1112294#5
Date:
2025-08-28 10:09:48 UTC
From:
To:
Hi,

currently libgdiplus does not include the full command line arguments passed to the
compiler and linker in its build logs. Here's a snippet as an example:

 make[4]: Entering directory '/build/reproducible-path/libgdiplus-6.1+dfsg/src'
   CC       adjustablearrowcap.lo
   CC       bitmap.lo

Policy 4.9.1 says that the package build should be as verbose as
reasonably possible to make life easier for porters and bug squashers
more generally:
https://www.debian.org/doc/debian-policy/ch-source.html#main-building-script-debian-rules

Please include the full compiler and linker arguments in libgdiplus's build logs,
unless the "terse" tag is present in DEB_BUILD_OPTIONS.

Calling ./configure with --disable-silent-rules seems sufficient to
enable verbose logging.

Thanks,
  Emanuele

#1112294#12
Date:
2026-05-02 17:30:19 UTC
From:
To:
Hi,

I reproduced this on current libgdiplus 6.1+dfsg-1.2 and prepared a tested
fix in debian/rules. Attached is the scoped debian/rules fix I prepared
against libgdiplus 6.1+dfsg-1.2.

For this bug specifically, the fix enables verbose build output through
DH_VERBOSE=1, passes --disable-silent-rules at configure time and uses
dh_auto_build with V=1. With that change, the build logs include the full
compiler and linker command lines instead of only short automake status lines.

Validation on the patched tree: dpkg-buildpackage -b succeeds;
dpkg-buildpackage -S succeeds afterwards on the same tree; a clean
unstable-amd64-sbuild succeeds; piuparts passes when run for amd64.

The separate vendored Googletest compatibility failure is tracked in #1135544
and is not part of this patch.

Since libgdiplus is currently orphaned (#1079870), I am sending this as an
adoption/QA-style handoff rather than assuming an active maintainer workflow.

Regards,
James