Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2020 13:57:52 +0200
From:      Mathieu Arnold <mat@freebsd.org>
To:        Rodrigo Osorio <rodrigo@freebsd.org>
Cc:        Adam Weinberger <adamw@adamw.org>, Cy Schubert <Cy.Schubert@cschubert.com>, ports-committers <ports-committers@freebsd.org>, svn-ports-all <svn-ports-all@freebsd.org>, svn-ports-head <svn-ports-head@freebsd.org>
Subject:   Re: svn commit: r543580 - in head/net/rsync: . files
Message-ID:  <20200803115752.2gl6vgmgcf36taku@aching.in.mat.cc>
In-Reply-To: <f6cecdfb-1425-f90f-694d-720fffdb7d3c@freebsd.org>
References:  <202007280659.06S6xa4M088583@repo.freebsd.org> <CAP7rwcji4YRd5EYVw=7ym77VuCc=KwjwdUi8JCBceKqufWPJWg@mail.gmail.com> <CAP7rwcjBe9x7my-gKNNQaRa3CCeydTsJ6X7StOoEM=EXN-O9WA@mail.gmail.com> <202007281441.06SEf15s070772@slippy.cwsent.com> <CAP7rwcjoMDzgP44hLUBD7De=jZcUoKJjEoMTqib9f2C9Fv1-EA@mail.gmail.com> <f6cecdfb-1425-f90f-694d-720fffdb7d3c@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--3zze7tam3mk5oscv
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 03, 2020 at 01:24:58PM +0200, Rodrigo Osorio wrote:
>=20
> On 7/28/20 10:27 PM, Adam Weinberger wrote:
> > > > Past the fetch failure, this also doesn't configure. Is it possible
> > > > that a patch didn't get added?
> > > >=20
> > > > # Adam
> > > >=20
> > > >=20
> > > >    checking whether to enable xxhash checksum support... no
> > > >    configure.sh: error: Failed to find xxhash.h for xxhash checksum=
 support.
> > > >    Use --disable-xxhash to continue without it.
> > > >    =3D=3D=3D>  Script "configure" failed unexpectedly.
> > > >    Please report the problem torodrigo@FreeBSD.org  [maintainer] an=
d attach th
> > > > e
> > > >    "/wrkdirs/usr/ports/net/rsync/work/rsync-3.2.2/config.log" inclu=
ding the
> > > >    output of the failure of your make command. Also, it might be a =
good idea t
> > > > o
> > > >    provide an overview of all packages installed on your system (e.=
g. a
> > > >    /usr/local/sbin/pkg-static info -g -Ea).
> > > >    *** Error code 1
> > > >=20
> > > >    Stop.
> > > >    make: stopped in /usr/ports/net/rsync
> > > >    =3D>> Cleaning up wrkdir
> > > >    =3D=3D=3D>  Cleaning for rsync-3.2.2
> > > Looks like it's missing a DEPENDS.
> > It depends on xxhash. I suspect it's missing a configure arg.
> >=20
> > # Adam
>=20
> Yes I didn't try to disable default options, sorry for that.
> BTW, do we have a way to test options during build ?

For the bind ports, I (ab)use flavors using a Makefile.local file:

=E2=9D=AF cat dns/bind911/Makefile.local
FLAVORS=3D      normal small huge mysql pkcs11 ${OPTIONS_SINGLE_GSSAPI:NGSS=
API_NONE:tl}
=2Eif empty(FLAVOR)
FLAVOR=3D normal
=2Eendif

=2Eif ${FLAVOR} !=3D normal
PKGNAMESUFFIX:=3D ${PKGNAMESUFFIX}-${FLAVOR}
=2Eendif

=2Eif ${FLAVOR} =3D=3D mysql
OPTIONS_SET_FORCE=3D      DLZ_MYSQL
OPTIONS_UNSET_FORCE=3D    THREADS DNSTAP GEOIP
=2Eelif ${FLAVOR} =3D=3D small
OPTIONS_UNSET_FORCE=3D    SSL ${OPTIONS_DEFINE} ${OPTIONS_GROUP_DLZ}
=2Eelif ${FLAVOR} =3D=3D pkcs11
OPTIONS_SET_FORCE=3D      NATIVE_PKCS11
OPTIONS_UNSET_FORCE=3D    SSL
=2Eelif ${FLAVOR} =3D=3D huge
OPTIONS_SET_FORCE=3D      ${OPTIONS_DEFINE} ${OPTIONS_GROUP_DLZ:NDLZ_MYSQL}
=2Eelif ${FLAVOR:Mgssapi*}
OPTIONS_UNSET_FORCE=3D    GSSAPI_NONE
OPTIONS_SET_FORCE=3D      ${FLAVOR:tu}
=2Eendif

So when I run poudriere bulk -t dns/bind911@all, it will build all the
flavors, and prevent most foot shooting.  (Of course, it only works if
the port has no flavors to begin with.)

--=20
Mathieu Arnold

--3zze7tam3mk5oscv
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEVhwchfRfuV0unqO5KesJApEdfgIFAl8n+7xfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU2
MUMxQzg1RjQ1RkI5NUQyRTlFQTNCOTI5RUIwOTAyOTExRDdFMDIACgkQKesJApEd
fgJ3JBAAvTK6mIx1l9yTASKxWFvaTZKR9fA06OyxclT2B2m8D451Cj+GQkJMa9ag
IjhRZNvgpHtqbFMLntVTCkiCF8uzbEFAwco1h5bbrj+YKLlKUwtT7dmtA5rIHPTU
+VkxZ/JU4QkUNWSRSXxZ14LWexBBSW5tdiQBpqEsV84dEVe6tJf2JjBRk4e4OBUJ
SW3ljBh37VXHViMHEN8daGkBkRZBmb3iepdB60NcAr0XGJ2iIg+kZE46ZESutgOL
PN4ymNJUDd9k9uU78/DAHBheH+Ey7E2sYNaRCp5E0lc3/Rrxu0sFw/bobIM55tOh
nUi6S+KVqI3P+bFnWyohxJU7ZOgNzq4EDrQOWjlJ5Tg3zrAihp/jPF7wVYPKP2eK
xZo/bZlBVffQcbbQ6zP9rT9bHhEb6lXXcQQOxeWJntDj5KojF0CUu8K5X7nMezcR
hz4e1zWEhVRaqJWdb0HE75qBeUdOp1ydU79z8PlqagZ2PuvUANOxgs2B+T0MpFTC
awvdPEdgq+opqAop315dez032wRSKnXSPVj38cSBEylL/nr6DWwzYk7RxvJjGXdV
smZ+C/uW3A4CnwmaT3fzQTNYdNzb82rhpqZlKYbctxy34nryNpmqVtFfHSgQcFrn
wSa0AWJNIEB6Ofj3fzUTKfZbUPOmT9OIFd8ceWJBIEVJa9/kAQc=
=xcNO
-----END PGP SIGNATURE-----

--3zze7tam3mk5oscv--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200803115752.2gl6vgmgcf36taku>