Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932341 - 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]
Summary: dev-python/fitsio-1.2.1 fails to compile: fitsio_pywrap.c:561:29: error: pass...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Astronomy project
URL:
Whiteboard: ~arch only
Keywords:
: 932352 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-05-21 06:50 UTC by Agostino Sarubbo
Modified: 2024-11-01 15:55 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,134.61 KB, text/plain)
2024-05-21 06:50 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)