Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923968 - dev-python/pyarrow-15.0.0 fails to configure on sparc: CMake Error at cmake_modules/SetupCxxFlags.cmake:42 (message): Unknown system processor
Summary: dev-python/pyarrow-15.0.0 fails to configure on sparc: CMake Error at cmake_m...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc64 Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-07 05:10 UTC by matoro
Modified: 2024-03-22 19:20 UTC (History)
5 users (show)

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


Attachments
build.log and emerge --info (file_923968.txt,68.79 KB, text/plain)
2024-02-07 05:11 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-02-07 05:10:21 UTC
Not actually unsupported, just needs trivial upstream fix (see loongarch etc...no reason for this code to not be generic

https://github.com/apache/arrow/blob/main/cpp/cmake_modules/SetupCxxFlags.cmake#L26-L44


-- System processor: sparc64
CMake Error at cmake_modules/SetupCxxFlags.cmake:42 (message):
  Unknown system processor
Call Stack (most recent call first):
  CMakeLists.txt:163 (include)
 
-- Configuring incomplete, errors occurred!
error: command '/usr/bin/cmake' failed with exit code 1

Reproducible: Always
Comment 1 matoro archtester 2024-02-07 05:11:42 UTC
Created attachment 884436 [details]
build.log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-20 06:46:52 UTC
Missing python@ CC.
Comment 3 Tupone Alfredo gentoo-dev 2024-03-10 19:59:35 UTC
To try to fix I need the CMAKE_HOST_SYSTEM_PROCESSOR

should be the output of 

uname -m
Comment 4 Tupone Alfredo gentoo-dev 2024-03-10 20:00:31 UTC
(In reply to Tupone Alfredo from comment #3)
> To try to fix I need the CMAKE_HOST_SYSTEM_PROCESSOR
> 
> should be the output of 
> 
> uname -m

maybe is sparc64 ?
Comment 5 matoro archtester 2024-03-10 20:01:33 UTC
(In reply to Tupone Alfredo from comment #4)
> (In reply to Tupone Alfredo from comment #3)
> > To try to fix I need the CMAKE_HOST_SYSTEM_PROCESSOR
> > 
> > should be the output of 
> > 
> > uname -m
> 
> maybe is sparc64 ?

It's provided in the cmake output there, it's "sparc64".
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-11 04:07:54 UTC
(In reply to Tupone Alfredo from comment #3)
> To try to fix I need the CMAKE_HOST_SYSTEM_PROCESSOR

The fix is trivial, and I've already tried it.  Unfortunately, afterwards it crashes with SIGBUS.  Someone needs to investigate that.