Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 932341

Summary: dev-python/fitsio-1.2.1 fails to compile: fitsio_pywrap.c:561:29: error: passing argument 1 of PyArray_TYPE from incompatible pointer type [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Astronomy project <sci-astronomy>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/esheldon/fitsio/issues/393
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-05-21 06:50:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/fitsio-1.2.1 fails to compile.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-05-21 06:50:09 UTC
Created attachment 893621 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-05-21 06:50:10 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
fitsio/fitsio_pywrap.c:561:29: error: passing argument 1 of ‘PyArray_TYPE’ from incompatible pointer type [-Wincompatible-pointer-types]
Comment 3 Agostino Sarubbo gentoo-dev 2024-05-21 12:58:29 UTC
*** Bug 932352 has been marked as a duplicate of this bug. ***
Comment 4 Larry the Git Cow gentoo-dev 2024-05-21 14:35:36 UTC
The bug has been closed via the following commit(s):

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

commit 36143415fa604e2f5f341a0b715fc37b33ab1ac2
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-05-21 14:34:37 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-05-21 14:35:14 +0000

    dev-python/fitsio: Require <dev-python/numpy-2
    
    numpy-2 also causes runtime failures, aside from GCC 14 build failures.
    
    Closes: https://bugs.gentoo.org/932341
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/fitsio/{fitsio-1.2.1.ebuild => fitsio-1.2.1-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)