Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2019 18:32:59 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: make.conf for a poudriere jail and CPUTYPE
Message-ID:  <y2y8-bcuc-wny@FreeBSD.org>
In-Reply-To: <20190928145055.GF49516@bastion.zyxst.net> (tech-lists@zyxst.net's message of "Sat, 28 Sep 2019 15:50:55 %2B0100")
References:  <20190928135343.GE49516@bastion.zyxst.net> <r240-cxo8-wny@FreeBSD.org> <20190928145055.GF49516@bastion.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
tech-lists <tech-lists@zyxst.net> writes:

> On Sat, Sep 28, 2019 at 04:17:43PM +0200, Jan Beich wrote:
>
>>tech-lists <tech-lists@zyxst.net> writes:
>>
>>> On Fri, Sep 27, 2019 at 12:33:36PM +0100, tech-lists wrote:
>>>
>>>> Hi,
>>>>
>>>> If I'm building ports on a poudriere and the jail I'm building for has say
>>>> Host CPU: btver1 and the host running poudriere is Host CPU: sandybridge, is
>>>> there any benefit or advantage in defining CPUTYPE?= in the jail's make.conf?
>>>>
>>>> If yes, which programs does it benefit? I guess maybe openssl
>>>
>>> thought I'd experiment. Seems setting CPUTYPE?=btver1 causes some ports to
>>> fail at the configure or build stage. python36 and lzo2 for example. Unsure
>>> why that should be (or where to ask???)
>>
>>I can't reproduce. Provide poudriere log which documents FreeBSD
>>version, compiler type/version/flags, port options, make.conf, etc.
>
> Ok, for archivers/lzo2:
> https://cloud.zyxst.net/~john/FreeBSD/ports/buildfailures/lzo2-2.10_1.log

Compare with http://beefy6.nyi.freebsd.org/data/latest-per-pkg/lzo2/2.10_1/120amd64-default.log
or mine with CPUTYPE https://reviews.freebsd.org/P325

> for python36:
> https://cloud.zyxst.net/~john/FreeBSD/ports/buildfailures/python36-3.6.9.log

Compare with http://beefy6.nyi.freebsd.org/data/latest-per-pkg/python36/3.6.9/120amd64-default.log
or mine with CPUTYPE https://reviews.freebsd.org/P324

> both of these will build if CPUTYPE?= is commented out
[...]
> #### /usr/local/etc/poudriere.d/12R-bastion-make.conf ####
> OPTIONS_UNSET+=DEBUG 
> OPTIONS_SET+=OPTIMIZED_CFLAGS
> OPTIONS_SET+=ICONV
> CPUTYPE?=btver1
> USE_LOCALE=en_GB.UTF-8
> LICENSES_ACCEPTED+=GPLv2+ MSPAT
> WITH_CCACHE_BUILD=yes
> CCACHE_DIR=/root/.ccache
> NO_CCACHE_DEPEND=1
> CCACHE_WRAPPER_PATH=	/ccache/libexec/ccache

Can you try with *CCACHE* stuff commented out?



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