From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 034261382C5 for ; Tue, 17 Apr 2018 02:14:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1444CE0896; Tue, 17 Apr 2018 02:14:42 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E366DE0896 for ; Tue, 17 Apr 2018 02:14:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A834335C36 for ; Tue, 17 Apr 2018 02:14:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A46B7270 for ; Tue, 17 Apr 2018 02:14:38 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1523931079.ae6d6aa22d074c04cd9caefe1ca02bf615bfd86f.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/install-qa-check.d/, bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/estrip bin/install-qa-check.d/10ignored-flags X-VCS-Directories: bin/ bin/install-qa-check.d/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: ae6d6aa22d074c04cd9caefe1ca02bf615bfd86f X-VCS-Branch: master Date: Tue, 17 Apr 2018 02:14:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8c8fab8a-0944-449f-8fc1-df4165335df1 X-Archives-Hash: b141b4d7b57636ab34d45793427582aa commit: ae6d6aa22d074c04cd9caefe1ca02bf615bfd86f Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Tue Apr 17 02:06:38 2018 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Apr 17 02:11:19 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=ae6d6aa2 estrip, install-qa-check.d/10ignored-flags: fix bug 653352 Update detection of ELF files to work with >=sys-apps/file-5.33. Bug: https://bugs.gentoo.org/653352 bin/estrip | 3 ++- bin/install-qa-check.d/10ignored-flags | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/estrip b/bin/estrip index 030d9e8bf..5709b862c 100755 --- a/bin/estrip +++ b/bin/estrip @@ -427,7 +427,8 @@ do ${STRIP} -g "${x}" fi fi - elif [[ ${f} == *"SB executable"* || ${f} == *"SB shared object"* ]] ; then + elif [[ ${f} == *"SB executable"* || ${f} == *"SB pie executable"* || + ${f} == *"SB shared object"* ]] ; then process_elf "${x}" "${inode_link}" ${PORTAGE_STRIP_FLAGS} elif [[ ${f} == *"SB relocatable"* ]] ; then process_elf "${x}" "${inode_link}" ${SAFE_STRIP_FLAGS} diff --git a/bin/install-qa-check.d/10ignored-flags b/bin/install-qa-check.d/10ignored-flags index 28aec6787..dc160e182 100644 --- a/bin/install-qa-check.d/10ignored-flags +++ b/bin/install-qa-check.d/10ignored-flags @@ -32,7 +32,7 @@ ignored_flag_check() { # similar to how prepstrip uses it. f=$(file "${x}") || continue [[ -z ${f} ]] && continue - if [[ ${f} == *"SB executable"* || + if [[ ${f} == *"SB executable"* || ${f} == *"SB pie executable"* || ${f} == *"SB shared object"* ]] ; then echo "${x}" >> "${T}"/scanelf-ignored-CFLAGS.log fi