Bug 2051152
| Summary: | healpix fails to build with java-17-openjdk | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | jiri vanek <jvanek> |
| Component: | healpix | Assignee: | Gwyn Ciesla <gwync> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 36 | CC: | astro-sig, dsupriadi, gwync, java-maint-sig, jhuttana, jvanek, lkundrak, lupinix.fedora, mtasaka, pmikova, sgehwolf |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-02-14 16:02:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2024265 | ||
|
Description
jiri vanek
2022-02-06 14:24:42 UTC
looks like gcc12 issue:
In file included from cxxsupport/fitshandle.cc:36:
/usr/include/cfitsio/fitsio.h:37:25: error: too many decimal points in number
37 | #define CFITSIO_VERSION 4.0.0
| ^~~~~
cxxsupport/fitshandle.cc:802:42: note: in expansion of macro 'CFITSIO_VERSION'
802 | int v_header = nearest<int>(1000.*CFITSIO_VERSION),
| ^~~~~~~~~~~~~~~
cxxsupport/fitshandle.cc: In constructor '{anonymous}::cfitsio_checker::cfitsio_checker()':
cxxsupport/fitshandle.cc:804:21: error: 'v_library' was not declared in this scope
804 | if (v_header!=v_library)
| ^~~~~~~~~
make: *** [Makefile:1434: cxxsupport/fitshandle.lo] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.GccxcX (%build)
RPM build errors:
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36. This is cfitsio 4 numbering change. PR submitted: https://src.fedoraproject.org/rpms/healpix/pull-request/1 koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=82757453 |