Bug 1702609

Summary: missing .so in nodejs-devel
Product: [Fedora] Fedora Reporter: Remi Collet <fedora>
Component: nodejsAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: mrunge, nodejs-sig, sgallagh, tchollingsworth, thrcka, zsvetlik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nodejs-12-2920190430125253.6c81f848 nodejs-12-3020190430125253.a5b0195c Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-14 02:05:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Remi Collet 2019-04-24 09:12:53 UTC
Since 10.15 v8 is obsoleted by nodejs

But nodejs-devel don't provides the .so for the v8 libraries

/usr/lib64/libv8.so
/usr/lib64/libv8_libbase.so
/usr/lib64/libv8_libplatform.so


(notice these files conflict with v8-devel which probably need to be obsoleted like v8 is by nodejs, despite headers are moved from /usr/include to /usr/include/node)


With some hacks, I was able to build https://pecl.php.net/package/v8js

Comment 1 Stephen Gallagher 2019-04-24 12:48:01 UTC
Node.js 1.15.0+ includes a subpackage called `v8-devel` that provides those paths and the compatibility symlinks. It's possible that there's a problem with the upgradepath that results in that package not getting installed properly, I suppose. The intent here is that anyone who was using v8-devel from the v8 package *should* be able to use v8-devel from Node.js without needing to modify their spec.

I'll look into whether there's an upgradepath issue.

Comment 2 Remi Collet 2019-04-24 12:50:13 UTC
Indeed, there is an upgrade path issue, as I have to remove the old v8-devel because of conflicts to be able to upgrade nodejs.

Comment 3 Remi Collet 2019-04-24 13:07:36 UTC
And to confirm, I'm able to build both pecl/v8js and pecl/v8 using compatibility package "v8-devel", without any hack.

Comment 4 Stephen Gallagher 2019-04-24 13:09:22 UTC
I've identified the problem as the classic "replacing directory with a symlink to a directory" RPM limitation. I'll have a fix out later today for 10.x, 11.x and 12.x. (It takes a long time to build Node.js, unfortunately...)

Thanks for the report!

Comment 5 Fedora Update System 2019-04-25 20:23:33 UTC
nodejs-12-3020190424132853.a5b0195c has been submitted as an update to Fedora 30 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-809489a4fd

Comment 6 Fedora Update System 2019-04-25 20:23:38 UTC
nodejs-12-3020190424132853.a5b0195c has been submitted as an update to Fedora 30 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-809489a4fd

Comment 7 Fedora Update System 2019-04-25 20:25:06 UTC
nodejs-12-2920190424132853.6c81f848 has been submitted as an update to Fedora 29 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-849a72af1d

Comment 8 Fedora Update System 2019-04-25 20:25:11 UTC
nodejs-12-2920190424132853.6c81f848 has been submitted as an update to Fedora 29 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-849a72af1d

Comment 9 Fedora Update System 2019-04-26 00:10:18 UTC
nodejs-12-2920190424132853.6c81f848 has been pushed to the Fedora 29 Modular testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-849a72af1d

Comment 10 Fedora Update System 2019-04-28 00:40:00 UTC
nodejs-12-3020190424132853.a5b0195c has been pushed to the Fedora 30 Modular testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-809489a4fd

Comment 11 Fedora Update System 2019-04-30 15:40:33 UTC
nodejs-12-2920190430125253.6c81f848 has been submitted as an update to Fedora 29 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-dcb555107f

Comment 12 Fedora Update System 2019-05-01 03:35:17 UTC
nodejs-12-2920190430125253.6c81f848 has been pushed to the Fedora 29 Modular testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-dcb555107f

Comment 13 Fedora Update System 2019-05-01 03:36:12 UTC
nodejs-12-3020190430125253.a5b0195c has been pushed to the Fedora 30 Modular testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-b44a2ed527

Comment 14 Fedora Update System 2019-05-14 02:05:18 UTC
nodejs-12-2920190430125253.6c81f848 has been pushed to the Fedora 29 Modular stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2019-05-14 02:29:09 UTC
nodejs-12-3020190430125253.a5b0195c has been pushed to the Fedora 30 Modular stable repository. If problems still persist, please make note of it in this bug report.