Bug 2098785

Summary: F37FailsToInstall: psi4
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: psi4Assignee: Susi Lehtola <susi.lehtola>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: susi.lehtola
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-06-27 20:01:56 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: 2098882, 2098982, 2099087    
Bug Blocks: 2016048, 2045102, 2045109    

Description Miro Hrončok 2022-06-20 09:32:44 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

Your package (psi4) Fails To Install in Fedora 37:

can't install psi4:
  - nothing provides python(abi) = 3.10 needed by psi4-1:1.3.2-13.fc35.x86_64
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-37-x86_64 --disablerepo='*' --enablerepo=local install psi4


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Miro Hrončok 2022-06-20 10:06:03 UTC
This bugzilla is likely a fallout from the Python 3.11 rebuild.

If your package (or some of the dependencies it has) failed to rebuild during the Python 3.11 rebuild, they now fail to install. To fix this, packages need to be rebuilt in Rawhide.

We will slowly triage the bugzillas, but we'd appreciate your help.

If you know this is blocked by an existing reported build failure or another package not yet rebuilt with Python 3.11, please mark it as such by using the "Depends On"/"Blocks" bugzilla fields. That will help us determine what failures to prioritize.

If this is not Python 3.11 related, please remove the PYTHON3.11 blocking tracker.

Thank you and sorry for the inconvenience. Let me know if you need any help.

Comment 2 Miro Hrončok 2022-06-27 14:56:16 UTC
Hello,

This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

Comment 3 Miro Hrončok 2022-06-27 17:38:47 UTC
[100%] Building CXX object src/CMakeFiles/core.dir/python_data_type.cc.o
cd /builddir/build/BUILD/psi4-1.3.2/redhat-linux-build/psi4-core-prefix/src/psi4-core-build/src && /usr/bin/g++ -DUSING_CheMPS2 -Dcore_EXPORTS -I/builddir/build/BUILD/psi4-1.3.2/psi4/include -I/builddir/build/BUILD/psi4-1.3.2/psi4/src -isystem /usr/include/python3.11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -std=c++14 -MD -MT src/CMakeFiles/core.dir/core.cc.o -MF CMakeFiles/core.dir/core.cc.o.d -o CMakeFiles/core.dir/core.cc.o -c /builddir/build/BUILD/psi4-1.3.2/psi4/src/core.cc
cd /builddir/build/BUILD/psi4-1.3.2/redhat-linux-build/psi4-core-prefix/src/psi4-core-build/src && /usr/bin/g++ -DUSING_CheMPS2 -Dcore_EXPORTS -I/builddir/build/BUILD/psi4-1.3.2/psi4/include -I/builddir/build/BUILD/psi4-1.3.2/psi4/src -isystem /usr/include/python3.11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -std=c++14 -MD -MT src/CMakeFiles/core.dir/python_data_type.cc.o -MF CMakeFiles/core.dir/python_data_type.cc.o.d -o CMakeFiles/core.dir/python_data_type.cc.o -c /builddir/build/BUILD/psi4-1.3.2/psi4/src/python_data_type.cc
In file included from /builddir/build/BUILD/psi4-1.3.2/psi4/src/export_mints.cc:58:
/builddir/build/BUILD/psi4-1.3.2/psi4/src/psi4/libmints/electrostatic.h:59: warning: ignoring '#pragma warning disable' [-Wunknown-pragmas]
   59 | #pragma warning disable 1125
      | 
/builddir/build/BUILD/psi4-1.3.2/psi4/src/create_new_plugin.cc: In member function 'void psi::PluginFileManager::process()':
/builddir/build/BUILD/psi4-1.3.2/psi4/src/create_new_plugin.cc:114:68: error: 'ostream_iterator' is not a member of 'std'
  114 |         std::copy(source_files_.begin(), source_files_.end(), std::ostream_iterator<std::string>(imploded, " "));
      |                                                                    ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/psi4-1.3.2/psi4/src/create_new_plugin.cc:41:1: note: 'std::ostream_iterator' is defined in header '<iterator>'; did you forget to '#include <iterator>'?
   40 | #include "psi4/libpsi4util/process.h"
  +++ |+#include <iterator>
   41 | 
/builddir/build/BUILD/psi4-1.3.2/psi4/src/create_new_plugin.cc:114:96: error: expected primary-expression before '>' token
  114 |         std::copy(source_files_.begin(), source_files_.end(), std::ostream_iterator<std::string>(imploded, " "));
      |                                                                                                ^
/builddir/build/BUILD/psi4-1.3.2/psi4/src/create_new_plugin.cc:114:98: warning: left operand of comma operator has no effect [-Wunused-value]
  114 |         std::copy(source_files_.begin(), source_files_.end(), std::ostream_iterator<std::string>(imploded, " "));
      |                                                                                                  ^~~~~~~~
gmake[5]: *** [src/CMakeFiles/core.dir/build.make:286: src/CMakeFiles/core.dir/create_new_plugin.cc.o] Error 1

Comment 4 Susi Lehtola 2022-06-27 18:44:54 UTC
Yes, I am working on it. I already fixed a problem with qcelemental that now lead to the next failure.

Comment 5 Susi Lehtola 2022-06-27 20:01:56 UTC
psi4 rebuilt successfully in rawhide.