Debian Bug report logs - #897639
lintian: testsuite fails when ld is configured with --as-needed by default

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Adam Conrad <[email protected]>

Date: Thu, 3 May 2018 17:57:07 UTC

Severity: normal

Tags: patch

Found in version lintian/2.5.84

Fixed in version lintian/2.5.85

Done: Chris Lamb <[email protected]>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#897639: lintian: testsuite fails when ld is configured with --as-needed by default
Reply-To: Adam Conrad <[email protected]>, [email protected]
Resent-From: Adam Conrad <[email protected]>
Resent-To: [email protected]
Resent-CC: Debian Lintian Maintainers <[email protected]>
X-Loop: [email protected]
Resent-Date: Thu, 03 May 2018 17:57:07 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: report 897639
X-Debian-PR-Package: lintian
X-Debian-PR-Keywords: patch
X-Debian-PR-Source: lintian
Received: via spool by [email protected] id=B.15253701322049
          (code B); Thu, 03 May 2018 17:57:07 +0000
Received: (at submit) by bugs.debian.org; 3 May 2018 17:55:32 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1-bugs.debian.org_2005_01_02
	(2015-04-28) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-16.5 required=4.0 tests=BAYES_00,EMPTY_BODY,FOURLA,
	FROMDEVELOPER,HAS_PACKAGE,MONEY,MURPHY_DRUGS_REL8,STOCKLIKE,TXREP,
	XMAILER_REPORTBUG autolearn=ham autolearn_force=no
	version=3.4.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 74; hammy, 150; neutral, 169; spammy,
	0. spammytokens: hammytokens:0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug,
	0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug, 0.000-+--soname
Received: from loki.0c3.net ([66.79.167.154])
	by buxtehude.debian.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.89)
	(envelope-from <[email protected]>)
	id 1fEIS3-0000Wf-VK
	for [email protected]; Thu, 03 May 2018 17:55:32 +0000
Received: from adconrad by loki.0c3.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.76)
	(envelope-from <[email protected]>)
	id 1fEHwc-0000mr-76; Thu, 03 May 2018 17:23:02 +0000
Received: from adconrad by nosferatu with local (Exim 4.90_1)
	(envelope-from <[email protected]>)
	id 1fEHwb-0008C4-73; Thu, 03 May 2018 11:23:01 -0600
Content-Type: multipart/mixed; boundary="===============4165924864381001055=="
MIME-Version: 1.0
From: Adam Conrad <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Message-ID: <152536818114.31438.17313863333431682610.reportbug@nosferatu>
X-Mailer: reportbug 7.1.8ubuntu1
Date: Thu, 03 May 2018 11:23:01 -0600
Delivered-To: [email protected]
[Message part 1 (text/plain, inline)]
Package: lintian
Version: 2.5.84
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu cosmic ubuntu-patch



In Ubuntu, the attached patch was applied to achieve the following:

  * Sprinkle -Wl,--no-as-needed around to fix test failures with our ld.

The patch should be, I hope, mostly self-explanatory.  To see the
effects, here are the before and after build logs:

[fail] https://launchpad.net/ubuntu/+source/lintian/2.5.84ubuntu1/+build/14817753/+files/buildlog_ubuntu-cosmic-amd64.lintian_2.5.84ubuntu1_BUILDING.txt.gz
[pass] https://launchpad.net/ubuntu/+source/lintian/2.5.84ubuntu2/+build/14821606/+files/buildlog_ubuntu-cosmic-amd64.lintian_2.5.84ubuntu2_BUILDING.txt.gz

... Adam

-- System Information:
Debian Release: buster/sid
  APT prefers cosmic
  APT policy: (500, 'cosmic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-20-lowlatency (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
[lintian_2.5.84ubuntu2.debdiff (text/plain, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 14:14:08 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.