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 1831251 - breezy fails to build with Python 3.9: some compiled extensions could not be loaded, command 'add' has no help text
Summary: breezy fails to build with Python 3.9: some compiled extensions could not be ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: breezy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Ondřej Pohořelský
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-05-04 18:20 UTC by Miro Hrončok
Modified: 2020-05-21 10:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-21 10:33:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2020-05-04 18:20:10 UTC
breezy fails to build with Python 3.9.0a6.

brz: warning: some compiled extensions could not be loaded; see ``brz help missing-extensions``
Traceback (most recent call last):
  File "/builddir/build/BUILD/breezy-3.0.2/setup.py", line 779, in <module>
    setup(**ARGS)
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 144, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python3.9/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.9/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/builddir/build/BUILD/breezy-3.0.2/setup.py", line 182, in run
    generate_docs.main(argv=["brz", "man"])
  File "/builddir/build/BUILD/breezy-3.0.2/tools/generate_docs.py", line 96, in main
    infogen_mod.infogen(options, outfile)
  File "/builddir/build/BUILD/breezy-3.0.2/breezy/doc_generate/autodoc_man.py", line 56, in infogen
    outfile.write(man_escape(getcommand_list(params)))
  File "/builddir/build/BUILD/breezy-3.0.2/breezy/doc_generate/autodoc_man.py", line 98, in getcommand_list
    raise RuntimeError("Command '%s' has no help text" % (cmd_name))
RuntimeError: Command 'add' has no help text

I don't know where is this coming from yet :/


For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01366683-breezy/

For all our attempts to build breezy with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/breezy/

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.9:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Let us know here if you have any questions.

Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9.
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 Tomas Orsava 2020-05-21 10:33:58 UTC
The package now builds:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/breezy/

Comment 2 Miro Hrončok 2020-05-21 10:44:10 UTC
The best kind of fix. Thanks :)


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