File get-uid-gid.js is missing

Bug #1877704 reported by Bold Flair
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
node-uid-number (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Released
High
Sergio Durigan Junior
Groovy
Fix Released
High
Sergio Durigan Junior

Bug Description

[ Impact ]

The node-uid-number package is pretty much unusable on Focal because it doesn't ship the "get-uid-gid.js" file. Since this package is a dependency of npm, this means that there can be situations when npm will fail to perform a certain task (see Test Plan).

The package is correctly shipping the file mentioned above on Hirsute; that's why the bug is marked as "Fix Released" for it.

[ Test Plan ]

Inside a Focal container:

# apt install npm -y
# npm install yarn -g
# rm .npm/_logs/*.log
# grep get-uid-gid .npm/_logs/*-debug.log
57 verbose stack Error: Cannot find module './get-uid-gid.js'
64 error Cannot find module './get-uid-gid.js'

When testing the fixed package, make sure to delete the logs under .npm/_logs/.

[ Regression Potential ]

The potential for regression is minimal. The only scenario where I can think a "regression" might occur is if the user has manually created the missing file under /usr/lib/node/ and added local modifications to it, which would then conflict with the official file that we will ship with this update. However, this case is not supported by us.

[ Original Description ]

The Git repository [https://github.com/npm/uid-number/tree/v0.0.6] has a get-uid-gid.js file which isn't included in the 0.0.6 versions of this package.

This effectively breaks this package as functionality doesn't work without that file. Placing the git-uid-gid.js into /usr/lib/nodejs/uid-number/get-uid-gid.js seems to fix the issue.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in node-uid-number (Ubuntu):
status: New → Confirmed
Changed in node-uid-number (Ubuntu Focal):
status: New → Confirmed
Changed in node-uid-number (Ubuntu):
status: Confirmed → Fix Released
description: updated
Changed in node-uid-number (Ubuntu Focal):
assignee: nobody → Sergio Durigan Junior (sergiodj)
Changed in node-uid-number (Ubuntu Groovy):
status: New → Confirmed
assignee: nobody → Sergio Durigan Junior (sergiodj)
Changed in node-uid-number (Ubuntu Focal):
importance: Undecided → High
Changed in node-uid-number (Ubuntu Groovy):
importance: Undecided → High
description: updated
Revision history for this message
Robie Basak (racb) wrote : Please test proposed package

Hello Bold, or anyone else affected,

Accepted node-uid-number into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/node-uid-number/0.0.6-1ubuntu0.20.10.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-groovy to verification-done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-groovy. 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 node-uid-number (Ubuntu Groovy):
status: Confirmed → Fix Committed
tags: added: verification-needed verification-needed-groovy
Changed in node-uid-number (Ubuntu Focal):
status: Confirmed → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Robie Basak (racb) wrote :

Hello Bold, or anyone else affected,

Accepted node-uid-number into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/node-uid-number/0.0.6-1ubuntu0.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.

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Verification for Focal:

First, verifying that the bug manifests itself:

# apt policy node-uid-number
node-uid-number:
  Installed: 0.0.6-1
  Candidate: 0.0.6-1
  Version table:
 *** 0.0.6-1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status
# npm install yarn -g
# grep get-uid-gid .npm/_logs/*-debug.log
57 verbose stack Error: Cannot find module './get-uid-gid.js'
64 error Cannot find module './get-uid-gid.js'

Now, installing the updated package from -proposed and verifying that the bug is fixed:

# apt policy node-uid-number
node-uid-number:
  Installed: 0.0.6-1ubuntu0.20.04.1
  Candidate: 0.0.6-1ubuntu0.20.04.1
  Version table:
 *** 0.0.6-1ubuntu0.20.04.1 500
        500 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     0.0.6-1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
# npm install yarn -g

> yarn@1.22.10 preinstall /usr/local/lib/node_modules/yarn
> :; (node ./preinstall.js > /dev/null 2>&1 || true)

/usr/local/bin/yarn -> /usr/local/lib/node_modules/yarn/bin/yarn.js
/usr/local/bin/yarnpkg -> /usr/local/lib/node_modules/yarn/bin/yarn.js
+ yarn@1.22.10
updated 1 package in 1.731s
# ls .npm/_logs/
# ls /usr/lib/nodejs/uid-number/get-uid-gid.js
/usr/lib/nodejs/uid-number/get-uid-gid.js

The bug has been fixed with the package from -proposed.

This concludes the verification for Focal.

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Verification for Groovy:

First, verifying that the bug manifests itself:

# apt policy node-uid-number
node-uid-number:
  Installed: 0.0.6-1
  Candidate: 0.0.6-1
  Version table:
 *** 0.0.6-1 500
        500 http://archive.ubuntu.com/ubuntu groovy/universe amd64 Packages
        100 /var/lib/dpkg/status
# npm install yarn -g
# grep get-uid-gid .npm/_logs/*-debug.log
57 verbose stack Error: Cannot find module './get-uid-gid.js'
64 error Cannot find module './get-uid-gid.js'

Now, installing the updated package from -proposed and verifying that the bug is fixed:

# apt policy node-uid-number
node-uid-number:
  Installed: 0.0.6-1ubuntu0.20.10.1
  Candidate: 0.0.6-1ubuntu0.20.10.1
  Version table:
 *** 0.0.6-1ubuntu0.20.10.1 500
        500 http://archive.ubuntu.com/ubuntu groovy-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     0.0.6-1 500
        500 http://archive.ubuntu.com/ubuntu groovy/universe amd64 Packages
# npm install yarn -g

> yarn@1.22.10 preinstall /usr/local/lib/node_modules/yarn
> :; (node ./preinstall.js > /dev/null 2>&1 || true)

/usr/local/bin/yarn -> /usr/local/lib/node_modules/yarn/bin/yarn.js
/usr/local/bin/yarnpkg -> /usr/local/lib/node_modules/yarn/bin/yarn.js
+ yarn@1.22.10
updated 1 package in 1.731s
# ls .npm/_logs/
# ls /usr/lib/nodejs/uid-number/get-uid-gid.js
/usr/lib/nodejs/uid-number/get-uid-gid.js

The bug has been fixed with the package from -proposed.

This concludes the verification for Groovy.

tags: added: verification-done-focal verification-done-groovy
removed: verification-needed verification-needed-focal verification-needed-groovy
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for node-uid-number 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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package node-uid-number - 0.0.6-1ubuntu0.20.10.1

---------------
node-uid-number (0.0.6-1ubuntu0.20.10.1) groovy; urgency=medium

  * d/install: Install get-uid-gid.js. (LP: #1877704)

 -- Sergio Durigan Junior <email address hidden> Tue, 23 Feb 2021 10:26:15 -0500

Changed in node-uid-number (Ubuntu Groovy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package node-uid-number - 0.0.6-1ubuntu0.20.04.1

---------------
node-uid-number (0.0.6-1ubuntu0.20.04.1) focal; urgency=medium

  * d/install: Install get-uid-gid.js. (LP: #1877704)

 -- Sergio Durigan Junior <email address hidden> Tue, 23 Feb 2021 10:20:32 -0500

Changed in node-uid-number (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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