Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905661 - =media-libs/openpgl-0.5.0 fails to build with `Must have at least one ISA enabled`
Summary: =media-libs/openpgl-0.5.0 fails to build with `Must have at least one ISA ena...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sebastian Parborg
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-05-03 17:47 UTC by Horea Christian
Modified: 2023-05-09 17:51 UTC (History)
1 user (show)

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


Attachments
build log of =media-libs/openpgl-0.5.0 (build.log,3.56 KB, text/x-log)
2023-05-03 17:49 UTC, Horea Christian
Details
emerge --info (file_905661.txt,7.53 KB, text/plain)
2023-05-03 20:31 UTC, Horea Christian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Horea Christian 2023-05-03 17:47:55 UTC
Build log in the attachment

Reproducible: Always
Comment 1 Horea Christian 2023-05-03 17:49:16 UTC
Created attachment 861097 [details]
build log of =media-libs/openpgl-0.5.0
Comment 2 Greg Kubaryk 2023-05-03 20:28:02 UTC
Please add 'emerge --info' in a comment; I was able to build this package successfully just now.
Comment 3 Horea Christian 2023-05-03 20:31:52 UTC
Created attachment 861102 [details]
emerge --info
Comment 4 Sebastian Parborg 2023-05-04 09:49:03 UTC
Seems like a forgot to add a "REQUIRED_USE" check for the CPU.
As the error message says, you have to select at least one CPU backend.

I'll create a pull request fixing this soonish.
Comment 5 Larry the Git Cow gentoo-dev 2023-05-09 17:51:17 UTC
The bug has been closed via the following commit(s):

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

commit 16849d33698b30b667ff6057e613a56435ed087d
Author:     Sebastian Parborg <darkdefende@gmail.com>
AuthorDate: 2023-05-08 13:04:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-09 17:50:57 +0000

    media-libs/openpgl: Fix arches and REQUIRED_USE
    
    OpenPGL does not support anything else than amd64 and arm64.
    The other arches will not compile.
    
    Closes: https://bugs.gentoo.org/905661
    Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/openpgl/openpgl-0.5.0.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)