Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656130 - sys-kernel/linux-firmware - add RESTRICT="binchecks strip"
Summary: sys-kernel/linux-firmware - add RESTRICT="binchecks strip"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: binchecks
  Show dependency tree
 
Reported: 2018-05-20 00:10 UTC by Alexander Tsoy
Modified: 2022-03-16 01:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2018-05-20 00:10:45 UTC
Please add RESTRICT="binchecks strip" to ebuild. These features are unnecessary for firmware files. Moreover the latest version from git produces following warnings:


strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   lib/firmware/netronome/nic/nic_AMDA0058-0011_2x40.nffw
   lib/firmware/netronome/flower/nic_AMDA0099.nffw
   lib/firmware/netronome/nic/nic_AMDA0058-0012_2x40.nffw
   lib/firmware/netronome/flower/nic_AMDA0097.nffw
   lib/firmware/netronome/flower/nic_AMDA0096.nffw
   lib/firmware/netronome/nic/nic_AMDA0078-0011_1x100.nffw
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/flower/nic_AMDA0096.nffw'
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/flower/nic_AMDA0099.nffw'
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/nic/nic_AMDA0058-0012_2x40.nffw'
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/nic/nic_AMDA0058-0011_2x40.nffw'
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/nic/nic_AMDA0078-0011_1x100.nffw'
   lib/firmware/netronome/nic/nic_AMDA0081-0001_1x40.nffw
   lib/firmware/netronome/nic/nic_AMDA0081-0001_4x10.nffw
   lib/firmware/netronome/nic/nic_AMDA0096-0001_2x10.nffw
   lib/firmware/netronome/nic/nic_AMDA0097-0001_2x40.nffw
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/nic/nic_AMDA0081-0001_4x10.nffw'
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/nic/nic_AMDA0081-0001_1x40.nffw'
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/nic/nic_AMDA0096-0001_2x10.nffw'
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/flower/nic_AMDA0097.nffw'
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/nic/nic_AMDA0097-0001_2x40.nffw'
   lib/firmware/netronome/nic/nic_AMDA0097-0001_8x10.nffw
   lib/firmware/netronome/nic/nic_AMDA0097-0001_4x10_1x40.nffw
   lib/firmware/netronome/nic/nic_AMDA0099-0001_2x10.nffw
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/nic/nic_AMDA0097-0001_8x10.nffw'
   lib/firmware/netronome/nic/nic_AMDA0099-0001_1x10_1x25.nffw
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/nic/nic_AMDA0097-0001_4x10_1x40.nffw'
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/nic/nic_AMDA0099-0001_2x10.nffw'
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/nic/nic_AMDA0099-0001_1x10_1x25.nffw'
   lib/firmware/netronome/nic/nic_AMDA0099-0001_2x25.nffw
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/sys-kernel/linux-firmware-20180518/image/lib/firmware/netronome/nic/nic_AMDA0099-0001_2x25.nffw'
Comment 1 Larry the Git Cow gentoo-dev 2018-07-24 12:31:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cb0314143c7adbcb1187affcc36a0c166540604

commit 5cb0314143c7adbcb1187affcc36a0c166540604
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-07-24 12:27:28 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-07-24 12:31:31 +0000

    sys-kernel/linux-firmware: Add RESTRICT="binchecks strip"
    
    Closes: https://bugs.gentoo.org/656130
    Package-Manager: Portage-2.3.43, Repoman-2.3.10
    RepoMan-Options: --force

 ...-firmware-20180103-r1.ebuild => linux-firmware-20180103-r2.ebuild} | 2 +-
 ...nux-firmware-20180606.ebuild => linux-firmware-20180606-r1.ebuild} | 2 +-
 ...nux-firmware-20180717.ebuild => linux-firmware-20180717-r1.ebuild} | 2 +-
 sys-kernel/linux-firmware/linux-firmware-99999999.ebuild              | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2020-12-24 03:11:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe5c6bbfc653bf86a49097b68535da4956e6273a

commit fe5c6bbfc653bf86a49097b68535da4956e6273a
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-12-24 03:10:28 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-12-24 03:11:14 +0000

    sys-kernel/linux-firmware: drop RESTRICT=binchecks
    
    Portage complains when it sees ELF files and binchecks are disabled.
    QA warnings are silenced by QA_PREBUILT.
    
    Closes: https://bugs.gentoo.org/726448
    Bug: https://bugs.gentoo.org/656130
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-kernel/linux-firmware/linux-firmware-20201218.ebuild | 2 +-
 sys-kernel/linux-firmware/linux-firmware-99999999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)