[Bug 1920567] Re: Misbuilds on focal: virtual packages are not provided

Timo Aaltonen 1920567 at bugs.launchpad.net
Fri Jun 4 10:24:09 UTC 2021


Hello Arnold, or anyone else affected,

Accepted ply into focal-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/ply/3.11-3ubuntu0.1 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ply (Ubuntu Focal)
       Status: New => Fix Committed

** Tags added: verification-needed verification-needed-focal

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

Title:
  Misbuilds on focal: virtual packages are not provided

Status in ply package in Ubuntu:
  Fix Released
Status in ply source package in Focal:
  Fix Committed

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-ply-lex-3.10, python3-ply-yacc-3.10

  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-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.

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



More information about the Ubuntu-openstack-bugs mailing list