Summary: | Stripping of files broken with >=sys-apps/file-5.33 | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, hendrik, mgorny |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=658270 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 651804 |
Description
Arfrever Frehtes Taifersar Arahesis
2018-04-17 01:35:37 UTC
Relevant change in source code of sys-apps/file is probably: --- file-5.32/magic/Magdir/elf +++ file-5.33/magic/Magdir/elf @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: elf,v 1.70 2016/06/02 12:36:30 christos Exp $ +# $File: elf,v 1.72 2018/02/24 19:50:04 christos Exp $ # elf: file(1) magic for ELF executables # # We have to check the byte order flag to see what byte order all the @@ -48,8 +48,9 @@ !:mime application/x-object >16 leshort 2 executable, !:mime application/x-executable ->16 leshort 3 shared object, -!:mime application/x-sharedlib +>16 leshort 3 ${x?pie executable:shared object} + +!:mime application/x-${x?pie-executable:sharedlib} >16 leshort 4 core file !:mime application/x-coredump # Core file detection is not reliable. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=ae6d6aa22d074c04cd9caefe1ca02bf615bfd86f commit ae6d6aa22d074c04cd9caefe1ca02bf615bfd86f Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2018-04-17 02:06:38 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-04-17 02:11:19 +0000 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(-)} Would be nice to mask this to give people a while to upgrade their package managers. Fixed in portage-2.3.40-r1. |