since commits sys-kernel/linux-firmware: add python to makedeps, add separate dedup stage https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-kernel/linux-firmware?id=e67951813207a516a6f87a30d8fe631760fca592 sys-kernel/linux-firmware: Support python as build dep, include PR https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-kernel/linux-firmware?id=0f2e56e6dd7fbf07dadf78f9856e21d78bb05c69 this package fails to merge when "deduplicate" flag is enabled emerge --info '=sys-kernel/linux-firmware-99999999::gentoo' https://pastebin.com/DvEbSKye emerge -pqv '=sys-kernel/linux-firmware-99999999::gentoo' https://pastebin.com/rU3ukQCu /var/tmp/portage/sys-kernel/linux-firmware-99999999/temp/environment https://pastebin.com/cFagzjcD /var/tmp/portage/sys-kernel/linux-firmware-99999999/temp/build.log https://pastebin.com/KZGifN2k with "deduplicate" flag disabled, merge is successful
Please always attach logs as pastebins expire and aren't always accessible behind firewalls.
Created attachment 905785 [details] emerge info emerge --info '=sys-kernel/linux-firmware-99999999::gentoo'
Created attachment 905786 [details] emerge pqv emerge -pqv '=sys-kernel/linux-firmware-99999999::gentoo'
Created attachment 905787 [details] cat /var/tmp/portage/sys-kernel/linux-firmware-99999999/temp/environment cat /var/tmp/portage/sys-kernel/linux-firmware-99999999/temp/environment
Created attachment 905788 [details] cat /var/tmp/portage/sys-kernel/linux-firmware-99999999/temp/build.log cat /var/tmp/portage/sys-kernel/linux-firmware-99999999/temp/build.log
Please test again
It succeeds with "deduplicate" enabled but fails with it disabled
Created attachment 905988 [details] build.log build.log
Created attachment 905989 [details] emerge --info emerge --info
Created attachment 905990 [details] emerge -pqv emerge -pqv
Created attachment 905991 [details] environment environment
After looking at both errors, I think I'm seeing a conflict with what I've reported. I was meant to always say that when the "deduplicate" flag DISABLED that merge fails and when enabled it succeeds. I just tried this with and without this commit https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild?id=fbe3f27fab932a93ac8b008ddb3648b0bde5258b sorry
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f491c0b76355267c66954b1bdd5029903e68798 commit 2f491c0b76355267c66954b1bdd5029903e68798 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2024-10-16 11:10:27 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2024-10-16 11:10:27 +0000 sys-kernel/linux-firmware: Update handling of deduplicate flaG Bug: https://bugs.gentoo.org/941499 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/linux-firmware/linux-firmware-99999999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(In reply to Larry the Git Cow from comment #13) > The bug has been referenced in the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=2f491c0b76355267c66954b1bdd5029903e68798 > > commit 2f491c0b76355267c66954b1bdd5029903e68798 > Author: Mike Pagano <mpagano@gentoo.org> > AuthorDate: 2024-10-16 11:10:27 +0000 > Commit: Mike Pagano <mpagano@gentoo.org> > CommitDate: 2024-10-16 11:10:27 +0000 > > sys-kernel/linux-firmware: Update handling of deduplicate flaG > > Bug: https://bugs.gentoo.org/941499 > > Signed-off-by: Mike Pagano <mpagano@gentoo.org> > > sys-kernel/linux-firmware/linux-firmware-99999999.ebuild | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Please test once you sync.
All good now thanks
sorry, no I take that back, there another issue now. Something about a file missing. not sure why it worked after sync but then I disabled deduplicate, enabled savedconfig and that's when another error came, disabled savedconfig and the same error. I'll post logs soon
Created attachment 906095 [details] build log build log
Created attachment 906096 [details] emerge --info emerge --info
Created attachment 906097 [details] emerge -pqv emerge -pqv
Created attachment 906098 [details] environment environment
Created attachment 906109 [details] cat /etc/portage/savedconfig/sys-kernel/linux-firmware cat /etc/portage/savedconfig/sys-kernel/linux-firmware but this is only for when "savedconfig" flag is enabled
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6539d6f605eefeb29f37ff03ff31802645aefaf3 commit 6539d6f605eefeb29f37ff03ff31802645aefaf3 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2024-10-16 19:36:18 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2024-10-16 19:36:18 +0000 sys-kernel/linux-firmware: changes due to new upstream script additions check_whence.py requires files to be there or it will die. Remove blobs with 'unknown' licenses after that script runs Bug: https://bugs.gentoo.org/941499 Signed-off-by: Mike Pagano <mpagano@gentoo.org> .../linux-firmware/linux-firmware-99999999.ebuild | 79 +++++++++++----------- 1 file changed, 41 insertions(+), 38 deletions(-)
(In reply to Jerome C from comment #21) > Created attachment 906109 [details] > cat /etc/portage/savedconfig/sys-kernel/linux-firmware > > cat /etc/portage/savedconfig/sys-kernel/linux-firmware > > but this is only for when "savedconfig" flag is enabled Jerome, You are a great example of bug writing, description, all errors and attached info. Thanks for being an open source partner on this. Can you re-sync and test, please ?
I've tested it with the following use flags "initramfs deduplicate -savedconfig" "initramfs -deduplicate savedconfig" and "initramfs -deduplicate -savedconfig" and also tested it again with a custom script and all is good all 3 were successful all is good I believe and good to hear I'm of help to open source thanks Mike
Thanks for testing, closing this bug.