Bug 2259570 - libpst fails to build in rawhide
Summary: libpst fails to build in rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libpst
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Crha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F40FailsToInstall F40FTBFS PYTHON3.13 PYTHON3.12 2258089
TreeView+ depends on / blocked
 
Reported: 2024-01-22 10:50 UTC by Fedora Fails To Install
Modified: 2024-01-23 10:13 UTC (History)
3 users (show)

Fixed In Version: libpst-0.6.76-18.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-01-22 17:54:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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