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

Bug#819551: marked as done (lintian: binaries-missing-depends-on-libc failure)



Your message dated Sun, 03 Apr 2016 09:51:46 +0000
with message-id <E1ameh8-0005VT-73@franck.debian.org>
and subject line Bug#819551: fixed in lintian 2.5.43
has caused the Debian Bug report #819551,
regarding lintian: binaries-missing-depends-on-libc failure
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.)


-- 
819551: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819551
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.5.42.1

If you run the binaries-missing-depends-on-libc test with
-Wl,--as-needed in LDFLAGS (or on by default in your linker), then you
might not actually get libc linked into the C++ library. Then the test
fails because only the C library has libc in NEEDED but is missing the
Depends.

Running the test with -Wl,--no-as-needed fixes this and seems like a
smart thing to do in general as we don't want the linker to silently
remove things we're trying to test. Attached patch does that.

--
Dan
diff -Nru lintian-2.5.42.1/t/tests/binaries-missing-depends-on-libc/debian/debian/rules lintian-2.5.42.1endless1/t/tests/binaries-missing-depends-on-libc/debian/debian/rules
--- lintian-2.5.42.1/t/tests/binaries-missing-depends-on-libc/debian/debian/rules	2016-02-08 12:50:20.000000000 -0800
+++ lintian-2.5.42.1endless1/t/tests/binaries-missing-depends-on-libc/debian/debian/rules	2016-03-29 15:02:25.000000000 -0700
@@ -2,6 +2,9 @@
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+# Make sure the C++ library actually links to libc
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--no-as-needed
+
 %:
 	dh $@
 

--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.5.43

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 819551@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niels Thykier <niels@thykier.net> (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: Sun, 03 Apr 2016 09:01:08 +0000
Source: lintian
Binary: lintian
Architecture: source
Version: 2.5.43
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Niels Thykier <niels@thykier.net>
Description:
 lintian    - Debian package checker
Closes: 818003 819087 819506 819551
Changes:
 lintian (2.5.43) unstable; urgency=medium
 .
   * Summary of tag changes:
     + Added:
       - maybe-not-arch-all-binnmuable
     + Removed:
       - dh_desktop-is-deprecated
       - dh_undocumented-is-obsolete
       - restriction-formula-with-debhelper-with-conflicting-version
       - restriction-formula-with-versioned-dpkg-dev-conflict
 .
   * checks/{control-file,fields}.{desc,pm}:
     + [JW] Remove confusing checks for build-conflicts related to build
       profiles.
   * checks/debhelper.{desc,pm}:
     + [NT] Remove check for dh_undocumented and dh_desktop as debhelper
       has dropped the helper.
   * checks/systemd.pm:
     + [JW] Apply patch from Felipe Sateler to properly remove .sh suffix
       when checking systemd-initscript matching.  (Closes: #819087)
   * checks/version-substvars.{desc,pm}:
     + [NT] Add an experimental tag to check for arch:all
       binNMUability.  This is currently not supported at all
       and there is no known fix for the tag.  That said, it
       is still useful for determining how many packages might
       be affected by it in case Debian will support arch:all
       binNMUs.
 .
   * commands/reporting-sync-state.pm:
     + [NT] Use the sha256 instead of the sha1 checksum field
       for finding related files and checking which members
       have changed.
     + [NT] Support reading Packages.xz and Sources.xz files.
 .
   * data/spelling/corrections:
     + [JW] Add more corrections.
       Thanks to Mattia Rizzolo for suggesting one of them.
 .
   * frontend/dplint:
     + [NT] Put $LINTIAN_VERSION on its own line so the build
       time substitution works again.  Thanks to Stuart
       Prescott for reporting the issue.
 .
   * helpers/coll/objdump-info-helper:
     + [JW] Apply patch from Dan Nicholson to keep TEXTREL entries from the
       dynamic section.  (Closes: #819506)
 .
   * lib/Lintian/Check.pm:
     + [JW,ADB] Don't ignore midword punctuation characters when
       spell-checking.  (Closes: #818003)  Thanks to Andreas Beckmann for
       the bug report.
 .
   * t/tests/binaries-missing-depends-on-libc/debian/debian/rules:
     + [JW] Apply patch from Dan Nicholson to pass --no-as-needed to the
       linker.  (Closes: #819551)
Checksums-Sha1:
 1afe43be1ac24ed90a17aebeb39ae893a7a5ec4c 2809 lintian_2.5.43.dsc
 f8820aed508a6fedd1cb659718040248ae285a62 1295136 lintian_2.5.43.tar.xz
Checksums-Sha256:
 f528289c00c86fc345b3fdc987cf88e08367efb938491d78441a710dc1ab4962 2809 lintian_2.5.43.dsc
 23442a67f9d6484f49c0b86050cd2c240eefe5417c1d29684b28ad39c1919c6f 1295136 lintian_2.5.43.tar.xz
Files:
 58ac86c7e636534559dbcdac349b5efa 2809 devel optional lintian_2.5.43.dsc
 f28dab606192f5748b3896d621a55881 1295136 devel optional lintian_2.5.43.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXAON7AAoJEAVLu599gGRCih4QAKGerKkionuBIi9ci5C+IR3w
h6vanmKvhYe6jxNaYcWN6Xjp0b1hs/XFuxgE5tIlVk5qzVasnjKBL28GuEYVePea
YvmQvb7hzSeKKX2PZoVCzB6nM/k+UjnT1nhSz6IKuzon4lFOB7SjnXVp+CNAcp93
wTYrw+3DS5xUXiACiQVZuBHbjC4ZFBzdOxBe97+js5OEP4A+HJexKcXNp7qqXLJA
tI81xZGXomnhmH1ApsD1AYi9iO3tQQW4w5lu7VyoJllSIcBJXDcNAWVmB7Hxvcec
g5cuCG4t4a1K1xtxg3ZfcusUv7wxe1Hpf7NtdOSMh2iGdTLYERyxbWnEvogW/mZD
GklhUt+SqcsggbZOmiaOQmpztNdMZyuGsnTxQo0CkDYwl1hxgly1+HrgQsQze8wq
1o7MGUJcp69K/BbL1c3jSrdtthGIZKq+2jBxW6xpGHL5DQZr4BeJsmeCQp6wGnMn
bam/7+BxWKprAfeZmCh9UQL93vjlyhUX3HoU9d/AEB5Ypd5q/eF5BhbckH2/kR9X
47MR5pnXhPoZJcj3svWaMnyrOoTfEyfo+y/uYX3Ax/4S3gT1ilsaCxNC8prHE8xN
Lnh/UopPZ1duJF7TLZu3Zll43/PqGcERbnracFoHyskRSlshKAyM5q0Wo+1lIWYd
V8ZCYpJMg9ZT4C0As0oc
=I2hB
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: