Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924986 - media-video/ffmpeg-6.1.1-r3[soc,verify-sig] fails unpack: Unsigned distfiles found
Summary: media-video/ffmpeg-6.1.1-r3[soc,verify-sig] fails unpack: Unsigned distfiles ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-19 14:13 UTC by Andy
Modified: 2024-02-21 23:31 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,2.01 KB, application/octet-stream)
2024-02-19 14:16 UTC, Andy
Details
emerge —info (emerge.info,6.06 KB, text/plain)
2024-02-19 14:17 UTC, Andy
Details
build.log (build.log,2.01 KB, text/plain)
2024-02-19 14:18 UTC, Andy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andy 2024-02-19 14:13:16 UTC
Using USE flag soc, emerge breaks in the unpack phase
 * The following distfiles lack detached signatures:
 *   ffmpeg-rpi-6.1-r2.patch
 * ERROR: media-video/ffmpeg-6.1.1-r3::gentoo failed (unpack phase):
 *   Unsigned distfiles found

Reproducible: Always

Steps to Reproduce:
1. Enable soc USE flag
2. Emerge ffmpeg
Actual Results:  
Unpack failes

Expected Results:  
Should get into compile phase
Comment 1 Andy 2024-02-19 14:16:48 UTC
Created attachment 885420 [details]
build.log
Comment 2 Andy 2024-02-19 14:17:35 UTC
Created attachment 885421 [details]
emerge —info
Comment 3 Andy 2024-02-19 14:18:26 UTC
Created attachment 885422 [details]
build.log
Comment 4 James Le Cuirot gentoo-dev 2024-02-19 23:28:49 UTC
Aaah hmm. I must confess, I've never even glanced at the verify-sig feature, and I hadn't really noticed that it had been applied to ffmpeg. It looks like I could sign the patch with my own key and use sec-keys/openpgp-keys-gentoo-developers. The verify-sig eclass doesn't look like it handles multiple sets of keys very well though.
Comment 5 Larry the Git Cow gentoo-dev 2024-02-21 23:31:24 UTC
The bug has been closed via the following commit(s):

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

commit 8b4661e4909f4361a2af0caaa172092502a61335
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2024-02-21 23:29:17 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2024-02-21 23:29:17 +0000

    media-video/ffmpeg: Fix tests with USE=soc and check patch with verify-sig
    
    I will sign the patch myself so that it can be checked against
    openpgp-keys-gentoo-developers.
    
    I had originally allowed for more than one USE=soc patch, but let's just assume
    one now for simplicity.
    
    Closes: https://bugs.gentoo.org/924986
    Closes: https://bugs.gentoo.org/925094
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 media-video/ffmpeg/Manifest               |  3 ++-
 media-video/ffmpeg/ffmpeg-6.1.1-r3.ebuild | 34 +++++++++++++++++++++++--------
 media-video/ffmpeg/ffmpeg-9999.ebuild     | 34 +++++++++++++++++++++++--------
 3 files changed, 52 insertions(+), 19 deletions(-)