Misbuilds on focal: virtual packages are not provided
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ply (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* If we (or a user) has to re-build ply, it misbuilds, silently.
[Test Plan]
Rebuild from source.
apt show python3-ply | grep Provides
Good:
Provides: python3-
Bad:
Empty output.
[Where problems could occur]
* Pretty minimal risk, no library code changes.
Just getting things to build correctly, again.
[Other Info]
* The -4 upload included a port of the virtual package script to Python 3. Not backporting that, because it's a larger change.
[Original Bug Report]
Version: 3.11-3build1
Ubuntu release: 20.04
The python3-ply binary package should provide these virtual packages: python3-
This is because the provided virtual package names are generated by the 'debian/
One solution could be adding the 'python-is-python2' package as a build dependency. I have used this temporarily.
Or the shebang could be more specific: '/usr/bin/python2' or '/usr/bin/env python2'.
Or the script could be ported to python3 with a proper specific shebang.
It would also be useful to raise a build error, when the script fails.
description: | updated |
The virtual packages are provided, as built, on Ubuntu 20.04:
# apt show python3-ply Maintainer: JCF Ploemen (jcfp) <email address hidden> /bugs.launchpad .net/ubuntu/ +filebug ply-lex- 3.10, python3- ply-yacc- 3.10 pkg-resources /www.dabeaz. com/ply/ desktop- core, ubuntustudio- desktop archive. ubuntu. com/ubuntu focal/main amd64 Packages
Package: python3-ply
Version: 3.11-3build1
Priority: optional
Section: python
Source: ply
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-
Bugs: https:/
Installed-Size: 256 kB
Provides: python3-
Depends: python3:any
Suggests: python-ply-doc, python3-
Homepage: https:/
Task: dns-server, ubuntustudio-
Download-Size: 46.4 kB
APT-Sources: http://
Description: Lex and Yacc implementation for Python3
But not when rebuilt from source.