[Bug 1174792] New: Feature request: ship v8-devel from the existing nodejs source
http://bugzilla.opensuse.org/show_bug.cgi?id=1174792 Bug ID: 1174792 Summary: Feature request: ship v8-devel from the existing nodejs source Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software Assignee: i@marguerite.su Reporter: stasiek@michalski.cc QA Contact: bnc-team-screening@forge.provo.novell.com CC: amajer@suse.com Found By: --- Blocker: --- Currently the v8 libraries and development resources are built as a part of nodejs packages in OBS. Fedora ships compatibility symlinks that allow other software to use those libraries in the distribution. https://src.fedoraproject.org/rpms/nodejs/blob/master/f/nodejs.spec#_471 To avoid packaging overhead, could we do the same? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174792 Neal Gompa <ngompa13@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ngompa13@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174792 Adam Majer <amajer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|i@marguerite.su |amajer@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174792 http://bugzilla.opensuse.org/show_bug.cgi?id=1174792#c4 Nick Dordea <ndordea@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ndordea@gmail.com --- Comment #4 from Nick Dordea <ndordea@gmail.com> --- Created attachment 860202 --> http://bugzilla.opensuse.org/attachment.cgi?id=860202&action=edit configure file from V8_4.2.0.tar.gz -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174792 http://bugzilla.opensuse.org/show_bug.cgi?id=1174792#c5 --- Comment #5 from Nick Dordea <ndordea@gmail.com> --- Created attachment 860203 --> http://bugzilla.opensuse.org/attachment.cgi?id=860203&action=edit UsrLibx86_64-linux-gnu_lib-contents.txt after rpm installs on leap 15.4 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174792 http://bugzilla.opensuse.org/show_bug.cgi?id=1174792#c6 --- Comment #6 from Nick Dordea <ndordea@gmail.com> --- Created attachment 860204 --> http://bugzilla.opensuse.org/attachment.cgi?id=860204&action=edit V8_R[4-2-1]_install_case1.txt -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174792 http://bugzilla.opensuse.org/show_bug.cgi?id=1174792#c7 --- Comment #7 from Nick Dordea <ndordea@gmail.com> --- Created attachment 860205 --> http://bugzilla.opensuse.org/attachment.cgi?id=860205&action=edit V8_R[4-2-1]_install_case2.txt -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174792 http://bugzilla.opensuse.org/show_bug.cgi?id=1174792#c8 --- Comment #8 from Nick Dordea <ndordea@gmail.com> --- (In reply to Adam Majer from comment #2)
This seems to be needed for:
* R - https://cran.r-project.org/web/packages/V8/index.html * ruby_racer
============================= Hello Adam, Here is my [ failed ] experience to have the V8 R package on opensuse leap 15.4 . A) The https://cloud.r-project.org/ describes the V8 packages as ..... V8 Embedded JavaScript and WebAssembly Engine for R canonical url : https://CRAN.R-project.org/package=V8 Package source: V8_4.2.0.tar.gz An R interface to V8: Google's open source JavaScript and WebAssembly engine. This package can be compiled either with V8 version 6 and up or NodeJS when built as a shared library. SystemRequirements: V8 engine version 6+ is needed for ES6 and WASM support. On Linux you can build against libv8-dev (Debian) or v8-devel (Fedora). We also provide static libv8 binaries for most platforms, see the README for details. Extract configure file from the V8_4.2.0.tar.gz ------>attachment V8_4-2-0_configure_file.txt B) I tried to install V8 in opensuse leap 15.4 / R 4.2.1 using : 1) the configure file of V8_4.2.0,tar.gz distribution, and 2) deb packages mentioned in configure file converted to rpm via sudo alien -r -c xxxxxxxx.deb Used deb files ... basic : libnode64_10.24.0~dfsg-1~deb10u1_amd64.deb libnode-dev_10.24.0~dfsg-1~deb10u1_amd64.deb dependencies : libicu63_63.1-6+deb10u3_amd64.deb libicu-dev_63.1-6+deb10u3_amd64.deb libssl-dev_1.1.1n-0+deb10u1_amd64.deb libuv1-dev_1.24.1-1+deb10u1_amd64.deb icu-devtools_63.1-6+deb10u3_amd64.deb Note : some of them conflict with leap 15.4 dist libs sudo zypper se -s -i -r 21 Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository ---+--------------+---------+----------------+--------+------------ i+ | icu-devtools | package | 63.1-7 | x86_64 | RPM_4_libv8 i+ | libicu-dev | package | 63.1-7 | x86_64 | RPM_4_libv8 i+ | libicu63 | package | 63.1-7 | x86_64 | RPM_4_libv8 i+ | libnode-dev | package | 10.24.0~dfsg-2 | x86_64 | RPM_4_libv8 i+ | libnode64 | package | 10.24.0~dfsg-2 | x86_64 | RPM_4_libv8 i+ | libssl-dev | package | 1.1.1n-1 | x86_64 | RPM_4_libv8 i+ | libuv1-dev | package | 1.24.1-2 | x86_64 | RPM_4_libv8 Note : some of their component conflict[as version] with leap 15.4 dist libs icu-devtools <------> icu65.1 libssl-dev <------> libopenssl_1.1-devel libicu-devel <------> libicu-devel-65.1 The contents of /usr/lib/x86_64-linux-gnu after intstalling the corresponding rpm-s are in the attachment UsrLibx86_64-linux-gnu_lib-contents.txt C) Install V8_4.2.0.tar.gz via rstudio under root authority [ to write on /usr/lib64/R/library] case 1 > Sys.unsetenv("DOWNLOAD_STATIC_LIBV8") > Sys.setenv(LIB_DIR="/usr/lib/x86_64-linux-gnu") > Sys.setenv(INCLUDE_DIR="/usr/include/nodejs/deps/v8/include") > install.packages("V8",lib="/usr/lib64/R/library",dep=TRUE) case 2 > Sys.setenv(DOWNLOAD_STATIC_LIBV8=1) > Sys.setenv(LIB_DIR="/usr/lib/x86_64-linux-gnu") > Sys.setenv(INCLUDE_DIR="/usr/include/nodejs/deps/v8/include") > install.packages("V8",lib="/usr/lib64/R/library",dep=TRUE) case1-log -----> attachment V8_R_install_case1.txt case2-log -----> attachment V8_R_install_case2.txt configure file --> attachment V8_4-2-0_configure.txt Is it possible to have : i) the necessary V8 components ported to opensuse leap 15.x to make CRAN V8 package installable via rstudio, OR ii) to convert CRAN V8 to an rpm available via AutoCran repository? [ https://download.opensuse.org/repositories/devel:/languages:/R:/autoCRAN/15.... ] Thanks, ND -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com