<div class="viewer_part" style="position: relative;">
<div>
<pre class="message" style="font-family: monospace; padding-top: 8px; margin-top: 0px; border-top-width: 0px; white-space: pre-wrap; color: #000000;"><span style="font-family: 'Microsoft YaHei', 'Helvetica Neue', 'PingFang SC', sans-serif;">Package: src:rapache
Version: 1.2.10-2
Severity: serious
Tags: ftbfs trixie sid</span></pre>
<p><span style="font-family: 'Microsoft YaHei', 'Helvetica Neue', 'PingFang SC', sans-serif;">Dear Maintainer:</span></p>
<p> </p>
<p>Hi, I'm summitting a patch for fixing this FTBFS problem while building on Debian sid.</p>
<p> </p>
<p>My patch <span style="background-color: #fbeeb8;">Fix-FTBFS-on-mod_R.c.patch</span> replace <code>PI</code>, <code>Calloc</code>, <code>Realloc</code> and <code>Free</code> with <code>M_PI</code>, <code>R_Calloc</code>, <code>R_Realloc</code> or <code>R_Free</code> instead,</p>
<p>according to the R-project's NEWS(<a href="https://cran.r-project.org/doc/manuals/r-release/NEWS.html">R: R News</a> ), </p>
<p> </p>
<p>And by the way, when I test building on the Debian sid, it will stop by those errors:</p>
</div>
</div>
<p>"</p>
<p>/usr/bin/ld: cannot find -lzstd: No such file or directory<br>collect2: error: ld returned 1 exit status<br>apxs:Error: Command failed with rc=65536</p>
<p>"</p>
<p> </p>
<p><span style="background-color: #fbeeb8;">So you might have to add the missing depends in the debian/control: libzstd-dev,</span> Please see the <span style="background-color: #fbeeb8;">add-missing-depends.patch</span></p>
<p> </p>
<p>Best regards</p>
<p>liwenjun</p>