<div dir="ltr"><div>Moin moin <br></div><div><br></div><div>The main issue is the following:</div><div>When using poudriere, you get:<br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">-- Could NOT find </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">Protobuf</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> (missing: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">Protobuf</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">_LIBRARIES </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">Protobuf</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">_INCLUDE_DIR)</span><br></span></div><div><br></div><div>As you built your ports outside of poudriere, this optional dependency was picked up.</div><div>So we need to properly handle this in the port -- while poudrieres testport won't find an issue :)<br></div><div><br></div><div>mfg Tobias<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 18 Dec 2023 at 15:23, Vladimir Druzenko <<a href="mailto:vvd@freebsd.org">vvd@freebsd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<div><br>
-------- Forwarded message --------
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">Subject:
</th>
<td>Re: git: 69e2e87fa56b - main - devel/protobuf: Update to
24.4</td>
</tr>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">Date: </th>
<td>Fri, 15 Dec 2023 16:45:45 +0300</td>
</tr>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">From: </th>
<td>Vladimir Druzenko <a href="mailto:vvd@freebsd.org" target="_blank"><vvd@freebsd.org></a></td>
</tr>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">To: </th>
<td>Po-Chuan Hsieh <a href="mailto:sunpoet@freebsd.org" target="_blank"><sunpoet@freebsd.org></a>,
<a href="mailto:kde@freebsd.org" target="_blank">kde@freebsd.org</a></td>
</tr>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">CC: </th>
<td><a href="mailto:dev-commits-ports-main@freebsd.org" target="_blank">dev-commits-ports-main@freebsd.org</a>,
<a href="mailto:ports-committers@freebsd.org" target="_blank">ports-committers@freebsd.org</a>,
<a href="mailto:dev-commits-ports-all@freebsd.org" target="_blank">dev-commits-ports-all@freebsd.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<div>15.12.2023 00:09, Po-Chuan Hsieh wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">Hello,</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">On Fri, Dec 15, 2023 at 4:38 AM Vladimir
Druzenko <<a href="mailto:vvd@freebsd.org" target="_blank">vvd@freebsd.org</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">14.12.2023
20:03, Po-Chuan Hsieh wrote:<br>
> The branch main has been updated by sunpoet:<br>
><br>
> URL: <a href="https://cgit.FreeBSD.org/ports/commit/?id=69e2e87fa56b54e267429b326f7f6188a7baaa71" rel="noreferrer" target="_blank">https://cgit.FreeBSD.org/ports/commit/?id=69e2e87fa56b54e267429b326f7f6188a7baaa71</a><br>
><br>
> commit 69e2e87fa56b54e267429b326f7f6188a7baaa71<br>
> Author: Po-Chuan Hsieh <a href="mailto:sunpoet@FreeBSD.org" target="_blank"><sunpoet@FreeBSD.org></a><br>
> AuthorDate: 2023-12-14 16:35:30 +0000<br>
> Commit: Po-Chuan Hsieh <a href="mailto:sunpoet@FreeBSD.org" target="_blank"><sunpoet@FreeBSD.org></a><br>
> CommitDate: 2023-12-14 17:03:10 +0000<br>
><br>
> devel/protobuf: Update to 24.4<br>
> <br>
> - Use USES=pathfix to fix .pc installation<br>
> - Bump PORTREVISION of dependent ports for shlib
change<br>
> <br>
> Changes: <a href="https://github.com/protocolbuffers/protobuf/releases" rel="noreferrer" target="_blank">https://github.com/protocolbuffers/protobuf/releases</a><br>
> ---<br>
> astro/kosmindoormap/Makefile | 1 +<br>
> astro/libosmpbf/Makefile | 2 +-<br>
> astro/merkaartor/Makefile | 2 +-<br>
><br>
> …<br>
><br>
> 72 files changed, 234 insertions(+), 248
deletions(-)<br>
><br>
> …<br>
><br>
> *** 426 LINES SKIPPED ***<br>
<br>
# pkg check -d<br>
marble is missing a required shared library:
libprotobuf.so.32<br>
<br>
# pkg info astro/marble<br>
Shared Libs required:<br>
libprotobuf.so.32<br>
<br>
# readelf -d /usr/local/lib/marble/plugins/OsmPlugin.so<br>
0x0000000000000001 NEEDED Shared library:
<br>
[libprotobuf.so.32]<br>
</blockquote>
<div><br>
</div>
<div>You have to report it to the maintainer (kde@).</div>
<div>That means it is a hidden/potential dependency.<br>
</div>
<div>I did my best to check all dependent ports via "git
grep".</div>
<div>It is not caught because it does not list protobuf in
the Makefile.</div>
<div><br>
</div>
<div>% cd /usr/ports/astro/marble/</div>
<div>% make run-depends-list | grep protobuf | wc -l</div>
<div> 0</div>
</div>
</div>
</blockquote>
<p>I know. And I also know that kde@ read this list too.<br>
This email for kde@. :-)<br>
</p>
<pre cols="72">--
Best regards,
Vladimir Druzenko</pre>
</div>
</div>
</blockquote></div>