• Bug#1066409: Linker fails to find libraries in unstable but succeeds in

    From =?UTF-8?Q?J=C3=A9r=C3=A9my?= Lal@21:1/5 to All on Fri Mar 15 11:30:01 2024
    Le ven. 15 mars 2024 à 08:46, Jochen Sprickerhof <jspricke@debian.org> a écrit :

    Hi Andreas,

    * Andreas Tille <andreas@an3as.eu> [2024-03-15 07:31]:
    Hi,

    thanks to the next round of Lucas' FTBFS QA rebuilds (at least) one
    package of the R pkg team is affected by some strange linker issue

    #1066409 r-cran-v8: FTBFS: ld: cannot find -lv8: No such file or directory >which boils down to[1]

    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 >/usr/bin/ld: cannot find -lv8: No such file or directory
    /usr/bin/ld: cannot find -lv8_libplatform: No such file or directory

    The Build-Depends libnode-dev provides both libraries and when I try to >build the package under testing all is fine. Is there any linker issue >involved that might be introduced in unstable?

    I guess that's the same as #1066399.

    libnode-dev:
    libv8.so -> libnode.so
    libnode.so -> libnode.so.108t64

    But libnode.so.108t64 does not exist


    That's fixed in nodejs 18.19.1+dfsg-5
    Instead of suffixing the soname (not compatible with node's toolchain) I
    just bumped the soname number to 109,
    while node 20 has 115 so there won't be any conflict.

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 15 mars 2024 à 08:46, Jochen Sprickerhof &lt;<a href="mailto:jspricke@debian.org">jspricke@debian.org</a>&gt; a écrit :<br></div><
    blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Andreas,<br>

    * Andreas Tille &lt;<a href="mailto:andreas@an3as.eu" target="_blank">andreas@an3as.eu</a>&gt; [2024-03-15 07:31]:<br>
    &gt;Hi,<br>
    &gt;<br>
    &gt;thanks to the next round of Lucas&#39; FTBFS QA rebuilds (at least) one<br> &gt;package of the R pkg team is affected by some strange linker issue<br> &gt;<br>
    &gt;#1066409 r-cran-v8: FTBFS: ld: cannot find -lv8: No such file or directory<br>
    &gt;which boils down to[1]<br>
    &gt;<br>
    &gt;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<br>
    &gt;/usr/bin/ld: cannot find -lv8: No such file or directory<br> &gt;/usr/bin/ld: cannot find -lv8_libplatform: No such file or directory<br> &gt;<br>
    &gt;The Build-Depends libnode-dev provides both libraries and when I try to<br> &gt;build the package under testing all is fine.  Is there any linker issue<br>
    &gt;involved that might be introduced in unstable?<br>

    I guess that&#39;s the same as #1066399.<br>

    libnode-dev:<br>
    libv8.so -&gt; libnode.so<br>
    libnode.so -&gt; libnode.so.108t64<br>

    But libnode.so.108t64 does not exist<br></blockquote><div><br></div><div>That&#39;s fixed in nodejs 18.19.1+dfsg-5</div><div>Instead of suffixing the soname (not compatible with node&#39;s toolchain) I just bumped the soname number to 109,</div><div>
    while node 20 has 115 so there won&#39;t be any conflict.</div><div><br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)