Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925297 - sys-kernel/linux-firmware-20240220-r1: build fails: Argument list too long
Summary: sys-kernel/linux-firmware-20240220-r1: build fails: Argument list too long
Status: UNCONFIRMED
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:
 
Reported: 2024-02-23 07:47 UTC by m1027
Modified: 2024-06-18 20:55 UTC (History)
15 users (show)

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


Attachments
build.log (build.log,3.89 KB, text/x-log)
2024-02-23 07:47 UTC, m1027
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m1027 2024-02-23 07:47:28 UTC
Created attachment 885764 [details]
build.log

Building sys-kernel/linux-firmware-20240220-r1 fails: Argument list too long.

FYI: The previous package without "-r1" tag (removed from portage now) went through.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-23 07:48:53 UTC
I think kerframil's got a patch for this which I've pinged mpagano on.
Comment 2 Kenton Groombridge 2024-02-23 13:09:25 UTC
A work-around to upgrade is to downgrade to the previous version available in portage, then upgrade.
Comment 3 m1027 2024-02-23 14:54:44 UTC
WFM. Thanks!

I would close this soon then if there aren't any objections.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-23 15:09:24 UTC
(In reply to m1027 from comment #3)
> WFM. Thanks!
> 
> I would close this soon then if there aren't any objections.

No, it's a real bug. It's just that you have a workaround now ;)
Comment 5 m1027 2024-02-23 15:21:21 UTC
(In reply to Sam James from comment #4)
> (In reply to m1027 from comment #3)
> > WFM. Thanks!
> > 
> > I would close this soon then if there aren't any objections.
> 
> No, it's a real bug. It's just that you have a workaround now ;)

Okay, I see. So I'll let you finish and close eventually.

FYI: I did quick test on another box that was still on the older linux-firmware-20240115 and that had never seen the (now gone) version 20240220. Updating strait from there to the current 20240220-r1 went through.
Comment 6 CaptainBlood 2024-02-24 08:52:34 UTC
(In reply to Sam James from comment #4)
> (In reply to m1027 from comment #3)
> > WFM. Thanks!
> > 
> > I would close this soon then if there aren't any objections.
> 
> No, it's a real bug. It's just that you have a workaround now ;)

Same here.
Workaround agreed here.
Comment 7 Larry the Git Cow gentoo-dev 2024-02-24 16:11:16 UTC
The bug has been referenced in the following commit(s):

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

commit ef17f21c1016796a9e010ce8586c0ef8dce7a85d
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2024-02-24 16:10:00 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2024-02-24 16:10:00 +0000

    sys-kernel/linux-firmware: Pass savedconfig vals as a file
    
    Keeping posix commpatibility for upstream submission
    
    Bug: https://bugs.gentoo.org/925297
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 .../files/linux-firmware-copy-firmware-r4.patch    |  35 ++
 .../linux-firmware-20240220-r2.ebuild              | 405 +++++++++++++++++++++
 2 files changed, 440 insertions(+)
Comment 8 kfm 2024-02-26 08:03:37 UTC
Here is my take on this, should anyone wish to try it.

https://codeberg.org/kerframil/portage-overlay/commit/dd4ee745bb93d10a75cc9e8908fbc0cbe833b6e8 

It incorporates two patches against the copy-firmware script. The first is accompanied by a detailed commit message, whereas the second - which applies some unrelated speedups - is not (yet).
Comment 9 kfm 2024-02-27 04:11:51 UTC
I've just bumped to -r4, which introduces initial globbing support, as requested in bug 911305.

https://codeberg.org/kerframil/portage-overlay/commit/53dacb45cbfb16c2de1068fb8ff82e3d7f862808#diff-25b6a873a0881abdd3e5d35b2f0211aca2722dad
Comment 10 Tommy 2024-03-13 04:42:21 UTC
I am also seeing this issue.  I just installed Gentoo from AdminCD.  When went to update the system it stops at this same /sys-kernel/linux-firmware2024220-r1 same fails: Arguments list too long.

I could send my build.log if it will help.  I can provide any info that may help track this down.  I have not been able to downgrade it as suggested though.
Comment 11 m1027 2024-06-18 20:55:53 UTC
I think this is obsolete now as sys-kernel/linux-firmware-20240220-r1 is not in portage anymore?

Those who use an older tree including this package could apply the workaround, no?