[SRU] pegjs should provide a pegjs binary

Bug #1881148 reported by Gianfranco Costamagna on 2020-05-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pegjs (Ubuntu)

Bug Description


* Some pegjs reverse-dependencies in focal are now FTBFS because of missing usr/bin/pegjs binary (such as theano)

[Test Case]

 * Check if the binary resulting from the build installs /usr/bin/pegjs binary

[Regression Potential]

 * Low, there is no conflicting pegjs binary in the archive, and the binary was shipped before and dropped by mistake

Changed in pegjs (Ubuntu):
status: New → In Progress
status: In Progress → Fix Released
Changed in pegjs (Ubuntu Focal):
status: New → In Progress

Hello Gianfranco, or anyone else affected,

Accepted pegjs into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/pegjs/0.10.0-3~ubuntu1.20.04.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 pegjs (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal

the binary is now back and working:
pegjs -h
Usage: pegjs [options] [--] [<input_file>]

      --allowed-start-rules <rules> comma-separated list of rules the generated
                                     parser will be allowed to start parsing
                                     from (default: the first rule in the
      --cache make generated parser cache results
  -d, --dependency <dependency> use specified dependency (can be specified
                                     multiple times)
  -e, --export-var <variable> name of a global variable into which the
                                     parser object is assigned to when no module
                                     loader is detected
      --extra-options <options> additional options (in JSON format) to pass
                                     to peg.generate
      --extra-options-file <file> file with additional options (in JSON
                                     format) to pass to peg.generate
      --format <format> format of the generated parser: amd,
                                     commonjs, globals, umd (default: commonjs)
  -h, --help print help and exit
  -O, --optimize <goal> select optimization for speed or size
                                     (default: speed)
  -o, --output <file> output file
      --plugin <plugin> use a specified plugin (can be specified
                                     multiple times)
      --trace enable tracing in generated parser
  -v, --version print version information and exit

I had to manually install nodejs to make it work, this is a separate debian issue
see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722488#20

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pegjs - 0.10.0-3~ubuntu1.20.04.1

pegjs (0.10.0-3~ubuntu1.20.04.1) focal; urgency=medium

  * SRU Upload to Ubuntu focal (LP: #1880680, LP: #1881148, LP: #1881147)

pegjs (0.10.0-3) unstable; urgency=medium

  * Restore /usr/bin/pegjs (Closes: #959615)
  * Remove nodejs from dependencies and add javascript-common as recommended
    dependency (Closes: #722488)

pegjs (0.10.0-2) unstable; urgency=medium

  * Fix dependencies (Closes: #956507)

 -- Gianfranco Costamagna <email address hidden> Tue, 26 May 2020 13:29:03 +0200

Changed in pegjs (Ubuntu Focal):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for pegjs has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.