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
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.
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.
And to confirm, I'm able to build both pecl/v8js and pecl/v8 using compatibility package "v8-devel", without any hack.
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!
nodejs-12-3020190424132853.a5b0195c has been submitted as an update to Fedora 30 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-809489a4fd
nodejs-12-2920190424132853.6c81f848 has been submitted as an update to Fedora 29 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-849a72af1d
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
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
nodejs-12-2920190430125253.6c81f848 has been submitted as an update to Fedora 29 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-dcb555107f
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
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
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.
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.