• Bug#1102774: rpy2: FTBFS: /usr/bin/ld: cannot find -lzstd: No such file

    From Santiago Vila@21:1/5 to All on Sat Apr 12 23:10:02 2025
    Hi. Thanks for fixing this so quickly!

    There is a little detail which I missed:

    Could it be the case that the right fix would be
    to add a binary dependency on libzstd-dev to
    one of the current build-dependencies?

    (Just to be sure).

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dirk Eddelbuettel@21:1/5 to Santiago Vila on Sat Apr 12 23:30:02 2025
    On 12 April 2025 at 23:00, Santiago Vila wrote:
    | Hi. Thanks for fixing this so quickly!
    |
    | There is a little detail which I missed:
    |
    | Could it be the case that the right fix would be
    | to add a binary dependency on libzstd-dev to
    | one of the current build-dependencies?

    That is what I did.

    The open question I myself have is whether R (now at 4.5.0) brought in zstd
    use (I think it can be use internally where available) or whether Python brought it in. I think it may be Python.

    But yes I also think about possibly adding it to r-base-dev, a (near-)virtual package ensuring an R environment.

    Thoughts?

    Dirk

    --
    dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johannes Ranke@21:1/5 to All on Sun Apr 13 02:20:01 2025
    This is a multi-part message in MIME format.

    For what it's worth, I needed to add libzstd-dev to the build dependencies of littler while backporting it to Debian bookworm (not for bullseye). Sorry, I have no deeper insight but that is what I experienced.

    Could it be related to this R 4.5.0 NEWS entry:

    - There is some support for zstd compression of tarballs in tar() and untar(). (This depends on OS support of libzstd or by tar.)

    Cheers,

    Johannes

    Am Samstag, 12. April 2025, 23:26:51 CEST schrieb Santiago Vila:
    | Could it be the case that the right fix would be
    | to add a binary dependency on libzstd-dev to
    | one of the current build-dependencies?

    That is what I did.

    Oops, didn't notice. Sorry. Nevermind, then.

    The open question I myself have is whether R (now at 4.5.0) brought in
    zstd
    use (I think it can be use internally where available) or whether Python brought it in. I think it may be Python.

    But yes I also think about possibly adding it to r-base-dev, a (near-)virtual package ensuring an R environment.

    Thoughts?

    (Nothing to say on my side. Hope other R people who really know the stack
    can answer).

    Thanks a lot.


    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">For what it's worth, I needed to add libzstd-dev to the build dependencies of littler while backporting it to Debian bookworm (not for bullseye). Sorry, I have no deeper insight
    but that is what I experienced. </p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Could it be related to this R 4.5.0 NEWS entry:</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">- There is some support for <span style="font-family:Hack;">zstd</span>&nbsp;compression of tarballs in tar()&nbsp;and untar(). (This depends on OS support of libzstd&nbsp;or by
    tar.) </p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Cheers,</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Johannes</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Am Samstag, 12. April 2025, 23:26:51 CEST schrieb Santiago Vila:</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; | Could it be the case that the right fix would be</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; | to add a binary dependency on libzstd-dev to</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; | one of the current build-dependencies?</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; That is what I did.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Oops, didn't notice. Sorry. Nevermind, then.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; The open question I myself have is whether R (now at 4.5.0) brought in</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; zstd</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; use (I think it can be use internally where available) or whether Python</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; brought it in.&nbsp; I think it may be Python.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; But yes I also think about possibly adding it to r-base-dev, a</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; (near-)virtual package ensuring an R environment.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; Thoughts?</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; (Nothing to say on my side. Hope other R people who really know the stack</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; can answer).</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Thanks a lot.</p>
    <br /><br /></body>
    </html>

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