[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#956146: marked as done (lintian: check for rules enabling --as-needed)



Your message dated Thu, 23 Apr 2020 11:04:31 +0000
with message-id <E1jRZeh-0009cU-Jj@fasolo.debian.org>
and subject line Bug#956146: fixed in lintian 2.67.0
has caused the Debian Bug report #956146,
regarding lintian: check for rules enabling --as-needed
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 owner@bugs.debian.org
immediately.)


-- 
956146: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956146
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.63.0
Severity: wishlist

Hi,

if I understood correctly, the bullseye toolchain defaults to linking
with --as-needed. Therefore it should no longer be neccessary to inject
-Wl,--as-needed into the build process, allowing d/rules to be further
minimized.

Some common ways of adding --as-needed that I found in the (possibly
ancient) rules files on my local hard disk:

	export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
		(may include further flags)
		(may be quoted, spaced, wrapped)
		(may use :=)

	dh_autoreconf --as-needed

	LDFLAGS += -Wl,--as-needed
		(may include further flags)
		(may be quoted, spaced, wrapped)
		(may use =, :=, export)
	
	dh_auto_configure -- -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed"

	$(MAKE) -C ... ... CC='$(CC) $(CPPFLAGS) $(CFLAGS) -Wall -Wl,--as-needed $(LDFLAGS)' ...


Andreas

--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.67.0
Done: Chris Lamb <lamby@debian.org>

We believe that the bug you reported is fixed in the latest version of
lintian, 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 956146@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated lintian 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 23 Apr 2020 10:21:16 +0000
Source: lintian
Architecture: source
Version: 2.67.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Closes: 930679 935292 956146 958113 958182
Changes:
 lintian (2.67.0) unstable; urgency=medium
 .
   * Summary of tag changes:
     + Added:
       - debian-rules-uses-as-needed-linker-flag
       - mailing-list-obsolete-in-debian-infrastructure
       - native-source-file-without-utf8-name
 .
   [ Axel Beckert ]
   * Stop correcting "extraversion" to "extroversion" as it causes false
     positives.
 .
   [ Chris Lamb ]
   * Add a warning regarding lists.alioth.debian.org mailing list addresses.
     (Closes: #958182)
   * Check for debian/rules files that specify -Wl,--as-needed as this is
     now the default linking method from bullseye. (Closes: #956146)
   * Detect "dh $*" as using the Debhlper sequencer. (Closes: #930679)
   * Also check for "override dh_install" in debian/rules; in 99% of cases
     this will be an omission of an underscore.
 .
   [ Felix Lechner ]
   * Do not check for circular root references when a file index is empty.
     (Closes: #958113)
   * Do not prompt for password for encrypted zip members. (Closes: #935292)
   * Fix the output for JSON; it is encoded already.
   * Dynamically generate file names that are not valid UTF-8 in tests.
   * Add new tag for non-UTF-8 file name in the source tree.
 .
   [ Vincent Blut ]
   * Add 'needs-internet' to the list of permitted values for the
     restrictions field in autopkgtest control files.
Checksums-Sha1:
 d9570569b8a3ecc18cf10bc1ed2f82393583961c 4131 lintian_2.67.0.dsc
 ef1953375dc125d65f2d37ebcaad0191bc1df38c 1884524 lintian_2.67.0.tar.xz
 811462fe259cb7e3635bee5b019fab8df55c96ae 16543 lintian_2.67.0_amd64.buildinfo
Checksums-Sha256:
 9a1d55290f81f464c9a78105097842e250117c1df8e0677ae81951053efd2674 4131 lintian_2.67.0.dsc
 53c2df5e5caa9ba52d7d47d39b395666e05e9aae28b5f5882ebc3c8801fc000d 1884524 lintian_2.67.0.tar.xz
 28aa2bcb3757235b96ff62c80b1e15bf3f1c0e8f687798aeea086aa5346436bf 16543 lintian_2.67.0_amd64.buildinfo
Files:
 9b6fd930995f2210c5ec31f2d541f624 4131 devel optional lintian_2.67.0.dsc
 3d1c76fa4ec6d087290b5c82b11f4c95 1884524 devel optional lintian_2.67.0.tar.xz
 1914dd2204c66e21a94de7775b7277ae 16543 devel optional lintian_2.67.0_amd64.buildinfo

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

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAl6hczQACgkQHpU+J9Qx
HlhV+Q//cc/DFHK+fiqxTVUY37HunY1KjWGgh+eSiuHJc252iW6DzF/CMAuYiW5b
c+IS+7UX68sdVYFGo+uTeb2QWFdSLhInTSHEbc9b89ebCEWEsl9R+wJ7/20ndzvz
TauQS5wga7gHso5e7fy9rK9JnBlnlmdjJ9bjSkST0eyyKdUmpvSpTkmMLyQlQpk+
rqKBIkelHQNkXkEFRR2bN95pzx119C98/T5ZBPEZsWjNt8W4AgoAgOSdBA/LfPt7
BhA7DC2f266nKTvnDeAOPDJJ2lCxr20wSTjs6f2J4IA4/7vMcD2hoL5yOq0i79hD
nfS9wnvpAtb8Sku/zIa6bhpwFOFJAqGAAbR1hR0m6CxGhwnjTh9awd7u7A4nMwQb
5lS3R5ZtEFCs2DMjD+ewx8cLGDpwEGUVtMlhiomfqTeQrzW136URLz9EM028Dtef
nvp16UcjhFBy7nMJQOADV/onuWsFw8iCxApILUjRd3I8Z0WROrKkAI1qhssPa8hu
dL4Jq8fjqzGii+xxXGDr3EiDPjvllCtMhH/jrE6O0CqVlDBoUi/pvebfZmYzBLnE
Xicb7ZB3oQIrXxcRcoIRhIKPOkl7pafsi2JrUevABFiE8e4hqJb6GVX3PlgAtd/Q
8GRTjloLBG0bJ/fFfIUQAliHxWrNjzqvJFXna61RkFprg0muxeQ=
=M6GA
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: