Bug 2366194 - breezy dumps core with Python 3.14: Segmentation fault when invoking brz whoami 'Your Name <name>'
Summary: breezy dumps core with Python 3.14: Segmentation fault when invoking brz whoa...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: breezy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondřej Pohořelský
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.14
TreeView+ depends on / blocked
 
Reported: 2025-05-14 08:31 UTC by Karolina Surma
Modified: 2025-05-26 08:31 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2025-05-14 08:31:40 UTC
python-dunamai fails to build with Python 3.14.0b1.

This report is automated and not very verbose, but we'll try to get back here with details.

+ brz whoami 'Your Name <name>'
/var/tmp/rpm-tmp.acK6aP: line 51:   337 Segmentation fault      (core dumped) brz whoami "Your Name <name>"

https://docs.python.org/3.14/whatsnew/3.14.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.14-b1/fedora-rawhide-x86_64/09033102-python-dunamai/

For all our attempts to build python-dunamai with Python 3.14, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/package/python-dunamai/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.14:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/

Let us know here if you have any questions.

Python 3.14 is planned to be included in Fedora 43.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Sandro 2025-05-15 08:14:53 UTC
(In reply to Karolina Surma from comment #0)
> + brz whoami 'Your Name <name>'
> /var/tmp/rpm-tmp.acK6aP: line 51:   337 Segmentation fault      (core
> dumped) brz whoami "Your Name <name>"


This appears to be an issue with breezy, not python-dunamai.

To reproduce:

1. Follow the instructions to setup a Python 3.14 mock chroot: https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/
2. mock -r fedora-rawhide-python314-b1 --install breezy
3. mock -r fedora-rawhide-python314-b1 --shell
4. brz whoami 'Your Name <name>'

Result:

Segmentation fault (core dumped)

The same command works fine in a rawhide chroot.

It appears that breezy is not running any tests (no %check section in spec file), allowing the build [1] to succeed while the produced binaries are broken.

[1] https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/package/breezy

Comment 2 Sandro 2025-05-25 07:30:20 UTC
Should this bug be reassigned to breezy? Or will you deal with broken breezy in a different way and can this bug be closed?

Comment 3 Karolina Surma 2025-05-26 08:31:05 UTC
Thank you for the pointers, reassigning to breezy.


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