Re: WITHOUT_BZIP2?

Daniel Engberg <[email protected]> Sun, 29 Mar 2026 10:50:07 +0200
Newsgroups gmane.os.freebsd.architechture
Message-ID <251c03cc-e266-4acd-ac14-326945b1ee69__45912.2370624513$1774774225$gmane$org@FreeBSD.org>
This is a multi-part message in MIME format.
--------------u3yMOGlb2wTJ7S4flvJBL3je
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 2026-03-28 00:55, Lexi Winter wrote:
> hello,
>
> src.conf(5) documents the WITHOUT_BZIP2 knob.   however, unless i'm
> missing something, this knob doesn't actually do anything, i.e. it
> has no effect on the built system.
>
> we could fix this in two ways:
>
> - actually implement the option, to not build bzip2(1), libz2, etc.
>
> - remove the option.
>
> i am inclined towards the second option, since no one has complained
> about the option not working, and therefore almost certainly isn't
> using it.

Hi, Having pola in mind and the practical impact I think it's safe to 
assume that you don't need to implement a functional variant if it is 
broken, just remove it. If libarchive (bsdtar) had native builtin 
support perhaps it would be worth considering implement it and/or 
removing the library itself (and move it to a package repo) but that 
doesn't seem to be the case at least not as of writing. Best regards, Daniel

--------------u3yMOGlb2wTJ7S4flvJBL3je
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 2026-03-28 00:55, Lexi Winter wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <pre wrap="" class="moz-quote-pre">hello,

src.conf(5) documents the WITHOUT_BZIP2 knob.   however, unless i'm
missing something, this knob doesn't actually do anything, i.e. it
has no effect on the built system.

we could fix this in two ways:

- actually implement the option, to not build bzip2(1), libz2, etc.

- remove the option.

i am inclined towards the second option, since no one has complained
about the option not working, and therefore almost certainly isn't
using it.</pre>
    </blockquote>
    <p><span style="white-space: pre-wrap">Hi,

Having pola in mind and the practical impact I think it's safe to assume that you don't need to implement a functional variant if it is broken, just remove it. If libarchive (bsdtar) had native builtin support perhaps it would be worth considering implement it and/or removing the library itself (and move it to a package repo) but that doesn't seem to be the case at least not as of writing.

Best regards,
Daniel</span></p>
  </body>
</html>

--------------u3yMOGlb2wTJ7S4flvJBL3je--