Bug#1066409: [Help] Re: Bug#1066409: r-cran-v8: FTBFS: ld: cannot find -lv8: No such file or directory

2024-03-15 Thread Andreas Tille
Control: tags -1 help
Control: tags -1 confirmed

Hi,

Am Wed, Mar 13, 2024 at 01:05:16PM +0100 schrieb Lucas Nussbaum:
> > Using PKG_LIBS=-lv8 -lv8_libplatform
> > Running feature test for pointer compression...
> > /usr/bin/ld: cannot find -lv8: No such file or directory
> > /usr/bin/ld: cannot find -lv8_libplatform: No such file or directory

I can confirm this problem also for the latest upstream version (which
is not astonishing since nothing in this line has changed) as you can
see on Salsa CI

   https://salsa.debian.org/r-pkg-team/r-cran-v8/-/jobs/5446089

I have to admit I have no idea why suddenly the perfectly available
libraries are not found by the linker any more.  The linker call

  g++ -std=gnu++17 -shared -L/usr/lib/R/lib -Wl,-z,relro -o V8.so RcppExports.o 
bindings.o -lv8 -lv8_libplatform -L/usr/lib/R/lib -lR

looks perfectly fine, was not changed and the libraries

   /usr/lib/x86_64-linux-gnu/libv8_libplatform.so
   /usr/lib/x86_64-linux-gnu/libv8.so

are provided by libnode-dev inside the chroot as I verified.
Interestingly the package builds fine on my local system which is
running testing.

Remark to Leopold: As I wrote in my "Action needed for R-pkg
Uploaders"-mail I would be happy if you would pronounce whether
you are up for maintaining this package actively or not.  You
are mentioned as only Uploader but the changelog says:

$ grep '^ --' debian/changelog
 -- Andreas Tille   Fri, 22 Dec 2023 10:19:13 +0100
 -- Andreas Tille   Fri, 22 Dec 2023 10:12:23 +0100
 -- Andreas Tille   Mon, 16 Oct 2023 16:47:36 +0200
 -- Andreas Tille   Fri, 21 Jul 2023 17:26:16 +0200
 -- Andreas Tille   Tue, 04 Jul 2023 09:07:03 +0200
 -- Andreas Tille   Thu, 29 Jun 2023 14:58:21 +0200
 -- Andreas Tille   Tue, 15 Nov 2022 19:39:16 +0100
 -- Andreas Tille   Thu, 11 Aug 2022 16:19:43 +0200
 -- Jérémy Lal   Sun, 17 Jul 2022 17:49:15 +0200
 -- Andreas Tille   Tue, 24 May 2022 11:25:24 +0200
 -- Andreas Tille   Wed, 16 Feb 2022 10:45:42 +0100
 -- Andreas Tille   Sun, 15 Aug 2021 13:51:20 +0200
 -- Andreas Tille   Mon, 09 Nov 2020 12:50:36 +0100
 -- Dylan Aïssi   Tue, 30 Jun 2020 10:18:56 +0200
 -- Jérémy Lal   Sun, 14 Jun 2020 21:31:12 +0200
 -- Dylan Aïssi   Wed, 03 Jun 2020 08:57:25 +0200
 -- Dylan Aïssi   Fri, 20 Mar 2020 12:03:25 +0100
 -- Andreas Tille   Thu, 23 Jan 2020 21:23:32 +0100
 -- Dylan Aïssi   Sat, 11 Jan 2020 08:30:40 +0100
 -- Dylan Aïssi   Thu, 18 Jul 2019 21:14:49 +0200
 -- Dylan Aïssi   Thu, 07 Feb 2019 07:43:35 +0100
 -- Dylan Aïssi   Sun, 03 Feb 2019 13:46:40 +0100
 -- Andreas Tille   Thu, 21 Jun 2018 17:34:03 +0200
 -- Andreas Tille   Wed, 25 Oct 2017 09:28:11 +0200
 -- Leopold Palomo-Avellaneda   Tue, 21 Mar 2017 12:17:40 
+0100

It was great you introduced the package into Debian.  Thanks fro doing
so.  However, please be verbose whether you have the capacity to keep on
maintaining it or not.

Kind regards
Andreas.

[1] https://lists.debian.org/debian-r/2024/03/msg0.html

-- 
http://fam-tille.de



Bug#1066409: r-cran-v8: FTBFS: ld: cannot find -lv8: No such file or directory

2024-03-13 Thread Lucas Nussbaum
Source: r-cran-v8
Version: 4.4.1+dfsg-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --buildsystem R
>dh_update_autotools_config -O--buildsystem=R
>dh_autoreconf -O--buildsystem=R
>dh_auto_configure -O--buildsystem=R
>dh_auto_build -O--buildsystem=R
>dh_auto_test -O--buildsystem=R
>create-stamp debian/debhelper-build-stamp
>dh_testroot -O--buildsystem=R
>dh_prep -O--buildsystem=R
>dh_auto_install --destdir=debian/r-cran-v8/ -O--buildsystem=R
> I: R packages needed for DEP8: testthat, knitr, rmarkdown
> I: R Package: V8 Version: 4.4.1
> I: Building using R version 4.3.3-2
> I: R API version: r-api-4.0
> I: Using built-time from d/changelog: Fri, 22 Dec 2023 10:12:23 +0100
>   mkdir -p 
> /<>/r-cran-v8-4.4.1\+dfsg/debian/r-cran-v8/usr/lib/R/site-library
>   R CMD INSTALL -l 
> /<>/r-cran-v8-4.4.1\+dfsg/debian/r-cran-v8/usr/lib/R/site-library 
> --clean . "--built-timestamp='Fri, 22 Dec 2023 10:12:23 +0100'"
> * installing *source* package ‘V8’ ...
> files ‘inst/doc/npm.html’, ‘inst/doc/v8_intro.html’, ‘inst/js/underscore.js’, 
> ‘inst/js/wasm-feature-detect.js’ are missing
> ** using staged installation
> Found C++17 compiler: g++
> Using CXXCPP=g++ -std=gnu++17 -E
> Using PKG_CFLAGS=-I/usr/include/v8 -I/usr/include/v8-3.14
> Using PKG_LIBS=-lv8 -lv8_libplatform
> Running feature test for pointer compression...
> /usr/bin/ld: cannot find -lv8: No such file or directory
> /usr/bin/ld: cannot find -lv8_libplatform: No such file or directory
> collect2: error: ld returned 1 exit status


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/r-cran-v8_4.4.1+dfsg-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na=ign=7=7=only=ftbfs-20240313=lu...@debian.org=1=1=1=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.