Re: Extraneous dependencies in bind920

Peter Pentchev <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
On Mon, Mar 16, 2026 at 06:59:54AM -0700, bob prohaska wrote:
> On Sun, Mar 15, 2026 at 08:10:11PM -0700, Mark Millard wrote:
> > On 3/15/26 19:18, bob prohaska wrote:
> > > On Sun, Mar 15, 2026 at 09:29:21PM +0100, Miroslav Lachman wrote:
> > >> On 15/03/2026 18:11, bob prohaska wrote:
> > >>> On Fri, Mar 13, 2026 at 07:33:46PM +0100, Miroslav Lachman wrote:
> > >>>>>>
> > >>>>>>      OPTIONS_UNSET= X11 GUI CUPS DOCS EXAMPLES NLS
> > >>>>>
> > >>>>> Placed in /usr/local/etc/poudriere.conf ?
> > >>>>
> > >>>> It should be in /usr/local/etc/poudriere.d/make.conf or <setname>-make.conf
> > >>>> or <tree>-make.conf or...
> > >>>>
> > >>> At the moment I have
> > >>> # cat /usr/local/etc/poudriere.d/make.conf
> > >>>
> > >>>   OPTIONS_UNSET= X11 GUI CUPS DOCS EXAMPLES NLS
> > >>>
> > >>> but poudriere is reporting
> > >>> # tail *.log
> > >>> [10:11:33] [04] [00:00:00] Building x11/libXrender | libXrender-0.9.12
> > >>> [10:26:37] [04] [00:15:04] Finished x11/libXrender | libXrender-0.9.12: Success
> > >>> [10:27:41] [01] [00:16:08] Finished x11/libXext | libXext-1.3.6,1: Success
> > >>> [10:38:32] [03] [00:26:59] Finished x11-toolkits/libXt | libXt-1.3.0,1: Success
> > >>> [10:38:36] [01] [00:00:00] Building x11-toolkits/libXmu | libXmu-1.1.4,1
> > >>> [10:38:36] [03] [00:00:00] Building x11/libXpm | libXpm-3.5.17_1
> > >>> [10:54:08] [03] [00:15:32] Finished x11/libXpm | libXpm-3.5.17_1: Success
> > >>> [10:54:53] [01] [00:16:17] Finished x11-toolkits/libXmu | libXmu-1.1.4,1: Success
> > >>> [10:54:56] [01] [00:00:00] Building x11-toolkits/libXaw | libXaw-1.0.16,2
> > >>> [11:22:54] [01] [00:27:58] Finished x11-toolkits/libXaw | libXaw-1.0.16,2: Success
> > >>>
> > >>> Could the leading blank be causing poudriere to ignore the directive?
> > >>> Did I manage to slip in another typo?
> > >>
> > >> The blank should be OK. You can take a look in build log of some package
> > >> what options it has detected.
> > >>
> > >> Are you building only bind920 or is it some larger package set? I know there
> > >> are some packages pulling X11 libraries unconditionally because the are
> > >> needed / are not optional. And some packages have X11 as a user selectable
> > >> option, but must be set to ON because consumer of this dependency expect
> > >> support of X11 from it.
> > >>
> > > I'm building bind-tools and bind920, which far as I know are all 
> > > command line only. 
> > > 
> > >> Even with the OPTIONS_UNSET = X11 GUI CUPS DOCS EXAMPLES NLS I still see
> > >> these libraries being built.
> > >>
> > >> libX11-1.8.12,1.pkg
> > >> libXau-1.0.12.pkg
> > >> libXdmcp-1.1.5.pkg
> > >> libXext-1.3.6,1.pkg
> > >> libXrandr-1.5.4.pkg
> > >> libXrender-0.9.12.pkg
> > >>
> > > 
> > > Trying to look for the above packages served up a surprise. If I do
> > > # tail bind.log
> > > [1D:06:09:30] [03] [00:56:39] Finished graphics/jpeg-turbo | jpeg-turbo-3.1.3: Success
> > > [1D:06:09:37] [03] [00:00:00] Building graphics/tiff | tiff-4.7.1
> > > [1D:06:13:18] [02] [00:26:01] Finished x11-fonts/fontconfig | fontconfig-2.17.1,1: Success
> > > [1D:06:36:09] [03] [00:26:32] Finished graphics/tiff | tiff-4.7.1: Success
> > > [1D:06:36:13] [02] [00:00:00] Building graphics/webp | webp-1.6.0
> > > [1D:06:42:57] [01] [01:30:06] Finished devel/pcre2 | pcre2-10.47_1: Success
> > > [1D:06:43:03] [01] [00:00:01] Building devel/glib20@bootstrap | glib-bootstrap-2.84.4,2
> > > [1D:07:22:17] [02] [00:46:04] Finished graphics/webp | webp-1.6.0: Success
> > > [1D:07:22:23] [02] [00:00:01] Building graphics/gd | libgd-2.3.3_13,1
> > > [1D:07:46:52] [02] [00:24:30] Finished graphics/gd | libgd-2.3.3_13,1: Success
> > > # 
> > > the output makes sense. But if I do
> > > 
> > > #more bind.log
> > > ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
> > > the file looks like it's binary, which I'm reasonably sure it isn't.
> > 
> > Try?:
> > 
> > # file bind.log
> 
> bob@pelorus:/usr/local/poudriere % file bind.log
> bind.log: data
> 
> 
> 
> 
> > # head bind.log
> 
> bob@pelorus:/usr/local/poudriere % head bind.log
> [06:43:28] [02] [00:08:20] Finished misc/help2man | help2man-1.49.3_1: Success
> ^^^^^^^^^^
> it looks like the beginning of the file was simply skipped by head

Not really; I think head displayed all the null bytes, they simply do not
show in a pseudo-terminal. Try this:

  dd if=/dev/zero bs=512 count=1 > zeroes.bin
  cat zeroes.bin
  head zeroes.bin

If you pipe the output of head to e.g. od or hexdump or something, you will
probably see all the null bytes.

G'luck,
Peter

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmm5hSkACgkQZR7vsCUn
3xM+kg//ckTjOg0YYEm74in/Cwg4ttkUe64kn1Wb8/5PFBFiw62Yalg1SoQOhmjt
xeTY6Qg3D4kp3cRfHKZN3hyjMiq5zJ7B+Dt+Kl+29RMjO2ov/32gVn0RyPtKWvWK
XzJEbE+FfMs/kXUeRot2uIiD31qZYulqNsYS9LuwYl/H/5npmqa7oUwVhDzah1dh
9TDPw8TztoL+ZbsXsjFTXt39CvqMYVLPkOMunSKhVJd43U2ucbEMWqk4k+rNwa7f
I4+hx9pyeFVW0IkuF4z9ijxOAj+fF1X+3Mu5yhjfabD4vyj66+5YUzJ+1ZYxY5E+
2gUEcoD3UpbDTcbwjlSEzYrJh9HE9zMj+o48BFbKQH8P3Stx//toAEVUvAdxle6p
7hIqt6JYL87j7PN4sL6maZYu2iJlVQ2gDqejApVZlk5tbrrRYweDXn4/KQZpU2Ki
lpavgSmBiv6R5tOe5+VoT3GlRmgfRDq9ysD6UQz5k7ehdSx3u4r4QjqCP40BwYdb
PMEK3kOtjewhu5oe6xVsMr8VVb9DOx8ALalym8kfBqqDY534ZMSFww48pkXS7gAQ
D09mbF+5EnWb4X2jtsV5jW6RWRXM+AvA2rlE2JmfKQ3bT0EBXO2M3LWFV5cGBmmV
qP5lhgerGczXuHdfolpYcRoP6nXIAcSzMPSzzFpi8cGBGZ1EaIw=
=f+Ov
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.