#960898 libtool: suggestions for the Debian packaging

Package:
src:libtool
Source:
libtool
Submitter:
Nicolas Boulenguez
Date:
2026-02-23 11:05:03 UTC
Severity:
minor
Tags:
#960898#5
Date:
2020-05-18 00:27:29 UTC
From:
To:
Hello.

The attached archive contains more or less intrusive suggestions for
the Debian packaging of libtool. test_build.diff attempts to gather
all differences in the resulting .debs.  I hope that each difference
(or No such file or directory message) will be explained by a commit
header.

Two corner cases deserve a commentary.

Since commit 'Use dpkg-dev snippets for architecture, build flags and
package version', LDFLAGS is exported into the global environment and
probably affects more subprocesses than before.  That is why LTCFLAGS
in /usr/bin/libtool now contains -Wall. This seems correct, but if
not, it should be sufficient to remove 'DPKG_EXPORT_BUILDFLAGS:=1' and
add explicit assignments before './configure' or explicit exports
after ovreride_dh_auto_configure:.

In /usr/bin/libtool, the BINCC and BINCXX parts are swapped. This is
because commit 'Merge patching in an editor script, empty
dependency_libs in installed .la' requires some work.

Please review these changes.  These are local Git commits, so it would
be easy to translate them into a merge request if you are more
comfortable this way.

Thanks.

#960898#10
Date:
2020-05-18 09:29:01 UTC
From:
To:
Please append the attached diff to the list.  It fixes an error in the
last commit.

#960898#15
Date:
2022-12-25 01:18:46 UTC
From:
To:
Hello.

It seems that you have applied some suggestions in 2.4.7-5.
Thanks.

By the way, this version is not visible in the version control system
on salsa.

A new list of commits is attached.  I have rebased the remaining
changes on 2.4.7-5, removed some intrusive ones, add new ones, and
split some large commits in order to make the review easyer.

#960898#20
Date:
2026-02-23 11:02:41 UTC
From:
To:
Hello.
The attachments are roughly the same suggestions, rebased on the
debian/latest branch.
There were a lot of merge conflicts and duplication of efforts,
as can be expected after 5 years.
You might want to check the commit fixing DEB_BUILD_OPTIONS=nodoc
before next release.

(Sorry if this arrives twice.
A first attempt with each commit in its own attachment seems lost.)