Bug 2259570

Summary: libpst fails to build in rawhide
Product: [Fedora] Fedora Reporter: Fedora Fails To Install <fti-bugs>
Component: libpstAssignee: Milan Crha <mcrha>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jwakely, mcrha, mhroncok
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libpst-0.6.76-18.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-22 17:54:31 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: 2135404, 2231790, 2231791, 2244836, 2258089    

Description Fedora Fails To Install 2024-01-22 10:50:11 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (libpst) Fails To Install in Fedora 40:

can't install python3-libpst:
  - nothing provides libboost_python312.so.1.81.0()(64bit) needed by python3-libpst-0.6.76-15.fc39.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-40-x86_64 --config-opts mirrored=False install python3-libpst


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 Jonathan Wakely 2024-01-22 11:52:21 UTC
This wasn't rebuilt for the new boost because the package FTBFS in rawhide.

configure: error: cannot import Python module "distutils".
Please check your Python installation. The error was:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'distutils'

Comment 2 Miro Hrončok 2024-01-22 11:58:37 UTC
distutils was removed from Python 3.12+, but python3-setuptools offers its own (mostly-compatible) distutils module.



Looking at https://koschei.fedoraproject.org/package/libpst I see https://koschei.fedoraproject.org/build/17075128 was the first failed build. The interesting bit is that it no longer transitively pulls in python3-setuptools and hence the issue surfaced. Adding explicit BuildRequires for python3-setuptools should make the package build again (at least in this regard).

Comment 3 Miro Hrončok 2024-01-22 12:03:39 UTC
FTR I belive this is the difference: https://src.fedoraproject.org/rpms/glib2/c/770dc4fc14abb429580937b7fad7157030dd7627?branch=rawhide

Comment 4 Milan Crha 2024-01-22 15:14:51 UTC
Thanks for a bug report and all the hints. I'll update the package as suggested.

Comment 5 Milan Crha 2024-01-22 17:54:31 UTC
This should be fixed by:
https://bodhi.fedoraproject.org/updates/FEDORA-2024-23ae290693

thus I'm closing this.