Hi,<br>Is it possible to use on openbsd only the cmd bsdtar that has all the options you need?<br>It is also installed by default.<br>In any case I'll post as soon as possible on openbsd the question.<br><br>Thank you<br><br><br><br><br><br><br>-------- Messaggio originale --------<br>On 24 mag 2022, 15:53, Boris Kolpackov < boris@codesynthesis.com> ha scritto:<blockquote class="protonmail_quote"><br><p dir="ltr">Dirty Dawn via users <users@build2.org> writes:</p>
<p dir="ltr">> The error in my opinion is related to the --version switch not<br>
> supported in openbsd tar version.</p>
<p dir="ltr">I don't think it's that (I don't see us calling tar with --version)<br>
anywhere in the codebase.</p>
<p dir="ltr">I believe the culprit is `--format ustar` which we pass in the build<br>
system when creating distributions. This option is not recognized by<br>
OpenBSD tar. I did a bit of research and ustar (aka POSIX) seems to<br>
be the default, though this is not explicitly stated/guaranteed<br>
anywhere. We could just assume that and omit the option or we could<br>
switch to pax which has `-x ustar`.</p>
<p dir="ltr">There is another problem with OpenBSD tar: in bpkg we need the<br>
ability to extract just one file and pipe it to stdout. With GNU<br>
and FreeBSD tar this can be achieved with -O|--to-stdout. But there<br>
doesn't seem to be anything like this in OpenBSD tar (or pax). Not<br>
sure what our options are here other than requiring GNU tar (which<br>
would be unfortunate).</p>
<p dir="ltr">If you can do some research on these issues (maybe ask on OpenBSD<br>
mailing list) and provide some guidance, that would be great.<br>
</p>
</div>