Public bug reported:

Version: 3.11-3build1
Ubuntu release: 20.04

The python3-ply binary package should provide these virtual packages:
python3-ply-lex-3.10, python3-ply-yacc-3.10, but it cannot provide them
after a build in a fresh focal docker container.

This is because the provided virtual package names are generated by the
'debian/virtual-packages.py' script, which uses a shebang with
'/usr/bin/python'. By default there is no 'python' binary on ubuntu
focal.

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.

** Affects: ply (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920567

Title:
  virtual packages are not provided

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ply/+bug/1920567/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to