Bug 1831251

Summary: breezy fails to build with Python 3.9: some compiled extensions could not be loaded, command 'add' has no help text
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: breezyAssignee: Ondřej Pohořelský <opohorel>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, mhroncok, mplch, opohorel, python-sig, torsava
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: 2020-05-21 10:33:58 UTC Type: Bug
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: 1785415    

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 :)