Bug 1517657

Summary: Missing libv8_libplatform.so and libv8_libbase.so in v8-devel
Product: [Fedora] Fedora Reporter: Remi Collet <fedora>
Component: v8Assignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: ewalsh, lkundrak, tcallawa, tchollingsworth, tomspur, viktor.vix.jancik, zsvetlik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v8-6.2.91-7.fc26 v8-6.2.91-7.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-11 19:58:56 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:
Bug Depends On:    
Bug Blocks: 1036130    
Attachments:
Description Flags
0001-add-missing-symlinks-in-v8-devel-1517657.patch none

Description Remi Collet 2017-11-27 08:12:29 UTC
$ rpm -ql v8 | grep lib64
/usr/lib64/libv8.so.6
/usr/lib64/libv8_libbase.so.6
/usr/lib64/libv8_libplatform.so.6

$ rpm -ql v8-devel | grep lib64
/usr/lib64/libv8.so


So, when trying to build PHP v8js extension

checking for libv8_libplatform... configure: error: could not find libv8_libplatform library

Creating the 2 missing symlinks fix this issue.
(build + test suite ok)

Comment 1 Remi Collet 2017-11-27 08:28:37 UTC
Used workaound:

ln -s %{_libdir}/libv8_libbase.so.?     libv8_libbase.so
ln -s %{_libdir}/libv8_libplatform.so.? libv8_libplatform.so
export LDFLAGS="%{__global_ldflags} -L$PWD"

Comment 2 Remi Collet 2017-11-27 09:41:56 UTC
Created attachment 1359400 [details]
0001-add-missing-symlinks-in-v8-devel-1517657.patch

trivial fix (git format patch)

Scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=23412002

Comment 3 Eamon Walsh 2018-02-19 21:41:42 UTC
I'm hitting this bug trying to build my v8-embedding application. I submitted a pull request here: https://src.fedoraproject.org/rpms/v8/pull-request/1. The PR only creates the symlink for libv8_libplatform, since libv8.so does link to libv8_libbase.so. Maybe the patch attached here should be preferred.

Comment 4 Tom "spot" Callaway 2018-02-19 22:06:21 UTC
Sorry this took so long to resolve. Buried in stuff, am I.

I merged Eamon's pull request and have builds going for F26+.

Comment 5 Fedora Update System 2018-02-26 15:25:53 UTC
v8-6.2.91-7.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ff5e3db878

Comment 6 Fedora Update System 2018-02-26 15:26:04 UTC
v8-6.2.91-7.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-31e6fdded2

Comment 7 Fedora Update System 2018-02-27 18:01:04 UTC
v8-6.2.91-7.fc26 has been pushed to the Fedora 26 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-2018-ff5e3db878

Comment 8 Fedora Update System 2018-02-27 18:28:49 UTC
v8-6.2.91-7.fc27 has been pushed to the Fedora 27 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-2018-31e6fdded2

Comment 9 Fedora Update System 2018-03-11 19:58:56 UTC
v8-6.2.91-7.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2018-03-14 19:39:20 UTC
v8-6.2.91-7.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.