Bug 1268882 - Broken symlink pointing to inherits@2
Summary: Broken symlink pointing to inherits@2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: nodejs010
Version: nodejs010
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 2.1
Assignee: Tomas Hrcka
QA Contact: Miroslav Hradílek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-05 14:15 UTC by Miroslav Hradílek
Modified: 2016-02-22 14:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, the symbolic link pointing to the inherits@2 directory was broken. Consequently, certain packages dependent on inherits had incorrect dependencies. With this update, all symlinks point directly to the inherits directory, and inherits@2 has been removed from the file system. This is possible because inherits in version 1.* were never shipped, so it is not necessary to use symlinks to point to inherits@2. As a result, all packages have correct dependencies.
Clone Of:
Environment:
Last Closed: 2016-02-22 14:22:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:0285 0 normal SHIPPED_LIVE nodejs010 bug fix and enhancement update 2016-02-22 19:03:02 UTC

Description Miroslav Hradílek 2015-10-05 14:15:49 UTC
Description of problem:
Several modules have dependencies on inherits 2 module. Inherits is installed globally in 
/opt/rh/nodejs010/root/usr/lib/node_modules/inherits

but symlinks in affected packages are pointing to non existing target
/opt/rh/nodejs010/root/usr/lib/node_modules/inherits@2

Affected components:
nodejs010-nodejs-fstream-ignore-1.0.2-1.el6.noarch
  lrwxrwxrwx. 1 root root 54 Oct  5 09:34 /opt/rh/nodejs010/root/usr/lib/node_modules/fstream-ignore/node_modules/inherits -> /opt/rh/nodejs010/root/usr/lib/node_modules/inherits@2
nodejs010-nodejs-glob-4.0.5-1.el6.noarch
  lrwxrwxrwx. 1 root root 54 Oct  5 09:34 /opt/rh/nodejs010/root/usr/lib/node_modules/glob/node_modules/inherits -> /opt/rh/nodejs010/root/usr/lib/node_modules/inherits@2
nodejs010-nodejs-fstream-1.0.3-1.el6.noarch
  lrwxrwxrwx. 1 root root 54 Oct  5 09:34 /opt/rh/nodejs010/root/usr/lib/node_modules/fstream/node_modules/inherits -> /opt/rh/nodejs010/root/usr/lib/node_modules/inherits@2
nodejs010-nodejs-readable-stream-2.0.2-3.el6.noarch
  lrwxrwxrwx. 1 root root 54 Oct  5 09:36 /opt/rh/nodejs010/root/usr/lib/node_modules/readable-stream/node_modules/inherits -> /opt/rh/nodejs010/root/usr/lib/node_modules/inherits@2
nodejs010-nodejs-fstream-npm-1.0.1-1.el6.noarch
  lrwxrwxrwx. 1 root root 54 Oct  5 09:34 /opt/rh/nodejs010/root/usr/lib/node_modules/fstream-npm/node_modules/inherits -> /opt/rh/nodejs010/root/usr/lib/node_modules/inherits@2
nodejs010-nodejs-npmconf-1.1.8-2.el6.noarch
  lrwxrwxrwx. 1 root root 54 Oct  5 09:34 /opt/rh/nodejs010/root/usr/lib/node_modules/npmconf/node_modules/inherits -> /opt/rh/nodejs010/root/usr/lib/node_modules/inherits@2
nodejs010-nodejs-tar-1.0.3-1.el6.noarch
  lrwxrwxrwx. 1 root root 54 Oct  5 09:34 /opt/rh/nodejs010/root/usr/lib/node_modules/tar/node_modules/inherits -> /opt/rh/nodejs010/root/usr/lib/node_modules/inherits@2

How reproducible:
100%

Additional info:
This has been broken for a long time and I'm not exactly sure how come it even works. Our tests are obviously passing even with this bug. Either we are not hitting parts of the code needing inherits or the dependency somehow gets satisfied globally.

Comment 9 errata-xmlrpc 2016-02-22 14:22:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0285.html


Note You need to log in before you can comment on or make changes to this bug.