Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 872962 - dev-libs/botan: configure error on SPARC
Summary: dev-libs/botan: configure error on SPARC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc64 Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-09-25 19:37 UTC by Red
Modified: 2022-10-12 23:09 UTC (History)
0 users

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


Attachments
botan build failure, pre ebuild changes (botan1.txt,8.97 KB, text/plain)
2022-09-25 19:40 UTC, Red
Details
emerge --info (emerge.info,8.97 KB, text/plain)
2022-09-26 02:09 UTC, Red
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Red 2022-09-25 19:37:45 UTC
In the botan ebuild we explicitly pass `--cpu=sparc32-v9` during configure. When emerging, it fails with this message:

UserError: Unknown or unidentifiable processor "sparc32-v9"

Looking at the available CPU names, the only sparc related ones are: "sparc sparc32 sparc64"

Manually editing the ebuild to have `--cpu=sparc64` resulted in a successful build for me on the 64ul profile.

Would anyone be against me submitting a PR changing the value of this to match the user's profile? (64ul=sparc64 or 32ul=sparc32)

Will attach full build logs pre and post change.
Comment 1 Red 2022-09-25 19:40:56 UTC
Created attachment 814183 [details]
botan build failure, pre ebuild changes
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-26 00:00:48 UTC
Please include emerge --info.
Comment 3 Red 2022-09-26 02:09:29 UTC
Created attachment 814186 [details]
emerge --info

wooops
Comment 4 Red 2022-09-26 02:11:41 UTC
another thing, portage doesn't save successful build logs? I suppose that makes sense though...  

Sorry I just realized, I get distracted easily :D
Comment 5 Larry the Git Cow gentoo-dev 2022-10-12 23:09:43 UTC
The bug has been closed via the following commit(s):

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

commit f4cbafa51669b5468a35ee9235553322bc0e1388
Author:     Richard-Rogalski <rrogalski@tutanota.com>
AuthorDate: 2022-10-02 17:15:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-12 23:06:04 +0000

    dev-libs/botan: fix building for sparc
    
    Closes: https://bugs.gentoo.org/872962
    Signed-off-by: Richard Rogalski <rrogalski@tutanota.com>
    Closes: https://github.com/gentoo/gentoo/pull/27579
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/botan/botan-2.19.2.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)