From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S6xpX-0000mE-Ka for garchives@archives.gentoo.org; Mon, 12 Mar 2012 05:29:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DC22E0A7D; Mon, 12 Mar 2012 05:29:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0F73AE0A7D for ; Mon, 12 Mar 2012 05:29:50 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 777961B4016 for ; Mon, 12 Mar 2012 05:29:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 38973E5402 for ; Mon, 12 Mar 2012 05:29:49 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1331530172.9ab1fa8bc9e3b93170b56ec99b29dde6d1f0cd53.vapier@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/misc-functions.sh X-VCS-Directories: bin/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 9ab1fa8bc9e3b93170b56ec99b29dde6d1f0cd53 X-VCS-Branch: master Date: Mon, 12 Mar 2012 05:29:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 4d1a7a26-7257-4bc2-9be1-1489170db627 X-Archives-Hash: c0a4a134943581d57b8f03f93e81d56a commit: 9ab1fa8bc9e3b93170b56ec99b29dde6d1f0cd53 Author: Mike Frysinger gentoo org> AuthorDate: Mon Mar 12 05:29:32 2012 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Mon Mar 12 05:29:32 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D9ab1fa8b QA: detect pkg-config files that bleed LDFLAGS Signed-off-by: Mike Frysinger gentoo.org> --- bin/misc-functions.sh | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 2614151..d2de0a7 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -564,6 +564,13 @@ install_qa_check() { done done =20 + # Look for leaking LDFLAGS into pkg-config files + f=3D$(egrep -sH '^Libs.*-Wl,(-O[012]|--hash-style)' "${ED}"/usr/*/pkgco= nfig/*.pc) + if [[ -n ${f} ]] ; then + eqawarn "QA Notice: pkg-config files with wrong LDFLAGS detected:" + eqawarn "${f//${D}}" + fi + # this should help to ensure that all (most?) shared libraries are exec= utable # and that all libtool scripts / static libraries are not executable local j