Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674128 - dev-libs/botan-2.8.0 - src_configure(): ERROR: Unknown or unidentifiable processor "powerpc64le"
Summary: dev-libs/botan-2.8.0 - src_configure(): ERROR: Unknown or unidentifiable proc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Jack Lloyd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-30 20:28 UTC by Shawn Anastasio
Modified: 2019-01-06 20:10 UTC (History)
2 users (show)

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


Attachments
emerge --info (info.txt,5.61 KB, text/plain)
2018-12-30 20:28 UTC, Shawn Anastasio
Details
build log (build.txt,2.86 KB, text/plain)
2018-12-30 20:28 UTC, Shawn Anastasio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Anastasio 2018-12-30 20:28:35 UTC
Created attachment 559048 [details]
emerge --info

The dev-libs/botan-2.8.0 ebuild doesn't build on Gentoo ppc64le hosts. This appears to be due to upstream's `configure.py` script which doesn't recognize the architecture. This is a regression from dev-libs/botan-1.10.17-r2 which builds fine on the same machine.

In spite of not building, the 2.8.0 ebuild is keyworded for ~ppc64. I have not tested on a ppc64 big endian installation, but I'm sure the issue exists there too.

I will look into correcting this upstream and provide patches here when ready.

The output of `emerge --info` is provided in the attached file `info.txt`.

The build log of `dev-libs/botan-2.8.0` is provided in the attached file `build.txt`.
Comment 1 Shawn Anastasio 2018-12-30 20:28:53 UTC
Created attachment 559050 [details]
build log
Comment 2 Shawn Anastasio 2018-12-31 03:10:27 UTC
I've tracked the issue down to the botan ebuild passing the first part of CHOST as the --cpu flag to `configure.py`. On my system, this results in `--cpu=powerpc64le` which botan does not recognize. I've submitted a pull request to the botan project that resolves this by aliasing powerpc64le to ppc64: https://github.com/randombit/botan/pull/1801
Comment 3 Larry the Git Cow gentoo-dev 2019-01-06 20:10:58 UTC
The bug has been closed via the following commit(s):

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

commit 41ae34772cb4a7263768885643906959f584702a
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2019-01-06 20:10:18 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2019-01-06 20:10:46 +0000

    dev-libs/botan: fix powerpc64le build
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=674128
    Thanks: Shawn Anastasio
    Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-libs/botan/botan-2.8.0.ebuild            |  6 +++++-
 dev-libs/botan/files/botan-2.8.0-build.patch | 22 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)