Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2046851 - psi4: FTBFS in Fedora rawhide/f36
Summary: psi4: FTBFS in Fedora rawhide/f36
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: psi4
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F38FTBFS F36FTBFS F37FTBFS 2107826
TreeView+ depends on / blocked
 
Reported: 2022-01-27 09:35 UTC by Fedora Release Engineering
Modified: 2022-11-02 12:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-02 12:48:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (deleted)
2022-01-27 09:35 UTC, Fedora Release Engineering
no flags Details
root.log (deleted)
2022-01-27 09:35 UTC, Fedora Release Engineering
no flags Details
state.log (deleted)
2022-01-27 09:35 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2022-01-27 09:35:03 UTC
psi4 failed to build from source in Fedora rawhide/f36

https://koji.fedoraproject.org/koji/taskinfo?taskID=81985302


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Please fix psi4 at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
psi4 will be orphaned. Before branching of Fedora 37,
psi4 will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2022-01-27 09:35:06 UTC
Created attachment 1856179 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2022-01-27 09:35:07 UTC
Created attachment 1856180 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2022-01-27 09:35:08 UTC
Created attachment 1856181 [details]
state.log

Comment 4 Ben Cotton 2022-02-08 20:37:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 5 Miro Hrončok 2022-08-01 21:47:18 UTC
This package now has old Python bytecode (see bz2107826), could you please fix this and rebuild it on Fedora 37+?

Comment 6 Susi Lehtola 2022-08-02 23:16:54 UTC
The package built successfully a month ago
psi4-1.3.2-14.fc37 	jussilehtola 	2022-06-27 19:52:07 	complete

but now the builds fail, most likely due to Python 3.11.

Comment 7 Miro Hrončok 2022-08-02 23:50:57 UTC
https://koschei.fedoraproject.org/package/psi4 indicates it failed before as well.

Comment 8 Tomáš Hrnčiar 2022-08-09 10:43:32 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 37.
Action is required from you.

PYC magic number has changed in Python 3.11.0b4, and all packages with Python
bytecode need to be
rebuilt. Most of them were rebuilt during the Fedora 37 mass rebuild, but since
this
package is FTBFS, we were hoping you could fix it and rebuild it manually, or
it will cause subtle issues when used.

Tracking bugzilla for all affected packages:
https://bugzilla.redhat.com/show_bug.cgi?id=2107826

If you can fix your package to build, perform a build in koji, and if
necessary, create
an update in bodhi. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this
Bugzilla report.

Note that Fedora 37 is about to be branched very soon.
If you fix this after branching, make sure to rebuild the package in both
Rawhide (Fedora 38) and Fedora 37.

==============================================

Following the policy for FTBFS packages [1], your package will be orphaned if
this bug remains in a NEW state for more than 8 weeks (not sooner than
2022-03-24).

A week before the mass branching of Fedora 38 according to the
schedule [2],
any packages not successfully rebuilt, at least on Fedora 36 will
be
retired regardless of the status of this bug.

[1]
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[2]
https://fedorapeople.org/groups/schedule/f-38/f-38-key-tasks.html

Comment 10 Miro Hrončok 2022-08-30 11:24:34 UTC
I've accidentally posted wrong Fedora versions in the previous comment, here is a corrected version:


Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 37.
Action is required from you.

PYC magic number has changed in Python 3.11.0b4, and all packages with Python
bytecode need to be rebuilt. Most of them were rebuilt during the
Fedora 37 mass rebuild, but since this package is FTBFS,
we were hoping you could fix it and rebuild it manually, or
it will cause subtle issues when used.

Tracking bugzilla for all affected packages:
https://bugzilla.redhat.com/show_bug.cgi?id=2107826

If you can fix your package to build, perform a build in koji, and if
necessary, create an update in bodhi.
If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this
Bugzilla report.

Make sure to rebuild the package in both Rawhide (Fedora 38) and Fedora 37.

==============================================

Following the policy for FTBFS packages [1], your package will be orphaned if
this bug remains in a NEW state for more than 8 weeks (not sooner than 
2022-03-24).

A week before the mass branching of Fedora 38 according to the
schedule [2],
any packages not successfully rebuilt, at least on Fedora 36 will
be
retired regardless of the status of this bug.

[1]
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[2]
https://fedorapeople.org/groups/schedule/f-38/f-38-key-tasks.html

Comment 11 Susi Lehtola 2022-09-02 10:46:46 UTC
The version in Fedora is quite old. This is because upstream has migrated to a new set of dependencies, some of which are ABI incompatible with software in Fedora (non-standard build time configurations). I have been waiting for upstream to revert to standardized conventions; this is still on the way. See upstream megaissue at https://github.com/psi4/psi4/issues/2442

I still do not know what is causing the build failure. This appears to be a Python related issue: the Python package cannot be imported. Unfortunately, Python doesn't give much information on what the problem is.

Comment 12 Susi Lehtola 2022-09-05 08:31:46 UTC
https://github.com/psi4/psi4/issues/2656

Upstream has been able to reproduce segfaults with their current development version, but they have not looked into 1.3.2.

Comment 13 Susi Lehtola 2022-11-02 12:48:54 UTC
psi4-1.3.2-17 built successfully.


Note You need to log in before you can comment on or make changes to this bug.