svn commit: r543580 - in head/net/rsync: . files

Mathieu Arnold mat at freebsd.org
Mon Aug 3 11:57:56 UTC 2020


On Mon, Aug 03, 2020 at 01:24:58PM +0200, Rodrigo Osorio wrote:
> 
> 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?
> > > > 
> > > > # Adam
> > > > 
> > > > 
> > > >    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.
> > > >    ===>  Script "configure" failed unexpectedly.
> > > >    Please report the problem torodrigo at FreeBSD.org  [maintainer] and attach th
> > > > e
> > > >    "/wrkdirs/usr/ports/net/rsync/work/rsync-3.2.2/config.log" including 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
> > > > 
> > > >    Stop.
> > > >    make: stopped in /usr/ports/net/rsync
> > > >    =>> Cleaning up wrkdir
> > > >    ===>  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.
> > 
> > # Adam
> 
> 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:

❯ cat dns/bind911/Makefile.local
FLAVORS=      normal small huge mysql pkcs11 ${OPTIONS_SINGLE_GSSAPI:NGSSAPI_NONE:tl}
.if empty(FLAVOR)
FLAVOR= normal
.endif

.if ${FLAVOR} != normal
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-${FLAVOR}
.endif

.if ${FLAVOR} == mysql
OPTIONS_SET_FORCE=      DLZ_MYSQL
OPTIONS_UNSET_FORCE=    THREADS DNSTAP GEOIP
.elif ${FLAVOR} == small
OPTIONS_UNSET_FORCE=    SSL ${OPTIONS_DEFINE} ${OPTIONS_GROUP_DLZ}
.elif ${FLAVOR} == pkcs11
OPTIONS_SET_FORCE=      NATIVE_PKCS11
OPTIONS_UNSET_FORCE=    SSL
.elif ${FLAVOR} == huge
OPTIONS_SET_FORCE=      ${OPTIONS_DEFINE} ${OPTIONS_GROUP_DLZ:NDLZ_MYSQL}
.elif ${FLAVOR:Mgssapi*}
OPTIONS_UNSET_FORCE=    GSSAPI_NONE
OPTIONS_SET_FORCE=      ${FLAVOR:tu}
.endif

So when I run poudriere bulk -t dns/bind911 at 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.)

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20200803/4356ad3c/attachment.sig>


More information about the svn-ports-head mailing list