Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2021 12:48:56 -0700
From:      Chris <portmaster@bsdforge.com>
To:        Ronald Klop <ronald-lists@klop.ws>
Cc:        freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: inject IGNORE_OSVERSION in poudriere?
Message-ID:  <76eaa46940402fb398d762bcd763d71d@bsdforge.com>
In-Reply-To: <1875908001.59.1626112806445@mailrelay>
References:  <1227424893.72.1626088023231@mailrelay> <4884f88f59f420908f5820d91885f12a@bsdforge.com> <1875908001.59.1626112806445@mailrelay>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)

--=_9938f96f8e28e8462eb7a3caf88d6eaf
Content-Type: multipart/mixed;
 boundary="=_5c794836b7d454d393230849ed4437a8"

--=_5c794836b7d454d393230849ed4437a8
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII;
 format=flowed

On 2021-07-12 11:00, Ronald Klop wrote:
> Van: Chris <portmaster@bsdforge.com>
> Datum: maandag, 12 juli 2021 15:33
> Aan: Ronald Klop <ronald-lists@klop.ws>
> CC: freebsd ports <freebsd-ports@freebsd.org>
> Onderwerp: Re: inject IGNORE_OSVERSION in poudriere?
>> 
>> On 2021-07-12 04:07, Ronald Klop wrote:
>> > Hi,
>> >
>> > To save time I sometimes get pkgs from the official pkg builders and save > them in
>> > the poudriere dir.
>> > But now and then I get this:
>> >
>> > [00:00:47] ===>   Installing existing package > /packages/All/llvm11-11.0.1.txz
>> > [00:00:48] [freebsd14-custom-job-01] Installing llvm11-11.0.1...
>> > [00:00:48] Newer FreeBSD version for package llvm11:
>> > [00:00:48] To ignore this error set IGNORE_OSVERSION=yes
>> > [00:00:48] - package: 1400025
>> > [00:00:48] - running kernel: 1400024
>> > [00:00:48] Ignore the mismatch and continue? [y/N]: [00:00:49] Failed to > install
>> > the following 1 package(s): /packages/All/llvm11-11.0.1.txz
>> > [00:00:49] *** Error code 1
>> >
>> > Normally I delete/create the poudriere jail, but the upstream world used by
>> > poudriere is not new enough yet.
>> >
>> > How can I set IGNORE_OSVERSION=yes in the poudriere environment?
>> I have a patch for exactly this ( for a different reason) that I haven't 
>> yet
>> had time to submit to a differential.
>> But make.conf(5) (within your poudriere job tree. Or adding the additional
>> make option: -DIGNORE_OSVERSION should get it for you.
>> 
>> HTH
>> 
>> --Chris
>> >
>> > Regards,
>> > Ronald.
>> 
>> 
>> 
>> 
> 
> 
> Hi,
> 
> I still can't get it to work with make.conf in poudriere. I see in the build 
> logs
> that the right make.conf is in use.
> 
> In the meantime I hacked my local ports checkout to do this:
> $ diff -u /usr/ports/Mk/Scripts/do-depends.sh.orig 
> /usr/ports/Mk/Scripts/do-depends.sh
> --- /usr/ports/Mk/Scripts/do-depends.sh.orig    2021-07-12 
> 19:54:38.433507000 +0200
> +++ /usr/ports/Mk/Scripts/do-depends.sh 2021-07-12 19:22:28.098583000 +0200
> @@ -36,7 +36,7 @@
>                if [ "${pkgbase}" = "pkg" ]; then
>                        [ -d ${dp_WRKDIR} ] || mkdir -p ${dp_WRKDIR}
>                        tar xf ${pkgfile} -C ${dp_WRKDIR} -s ",/.*/,,g" 
> "*/pkg-static"
> -                       ${dp_WRKDIR}/pkg-static add ${pkgfile}
> +                       IGNORE_OSVERSION=yes ${dp_WRKDIR}/pkg-static add 
> ${pkgfile}
>                        rm -f ${dp_WRKDIR}/pkg-static
>                else
>                        ${dp_PKG_ADD} -A ${pkgfile}
> 
> 
> And that seems to work somehow.
Indeed it would. :-)
Did you ever try adding -DIGNORE_OSVERSION to your poudriere make args? I'm 
pretty
sure that would have carried over regardless of poudriere. :-)

--Chris
> 
> Regards,
> Ronald.

--=_5c794836b7d454d393230849ed4437a8
Content-Transfer-Encoding: 7bit
Content-Type: application/pgp-keys;
 name=0xBDE49540.asc
Content-Disposition: attachment;
 filename=0xBDE49540.asc;
 size=5028

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQENBGDTzGEBCADHlXdS4V57s2soaEK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z/PcUt4pUhlgxfYvjSjOgEZ
wbqaQIwWud11FKMARNAUJzvJL/fDGeKLMvgRUwynIDGzCq7e67hhEEo5jwkZ0gEl
8RxXHKFuYkbb/q7rpdifXYYT6QCFlEZhiRbtH5Us7kgKuRD2XUFEQnN4U/rxuydH
4XOP6iOhiZfYnK/y9HBeRCMAEQEAAYkBPAQYAQgAJgIbDBYhBAYkCzLIGWRy7CxJ
ixh1Hny95JVABQJg1CYkBQkDwsDDAAoJEBh1Hny95JVApBsH/iEg2ANRkHByfXB+
sH3PMf2Jsg5NSuj8OiNeKKGGIKCJkSAPjtv5rvKLNcvIcTR5Vnhr0e6AteFcK2te
iFWDmj0QuFoQNvIOHQ3nHBPSpai2Ubq12nvYfg4bYK28AMi4xPMssgQ8awFgAI2V
k9okq5XwC0Cc1MGhupEWYYSaFLIDQvFvRRSw1Lyc/W3SKa4d2dgesIPnB/rdv0Zq
u8ftsSmurKxA2hQeNIcn06Ew7AbWUIjFX/bDXJlg/3Sj/spU2ur23TmaADBKhT5P
DvfdaFTkk0SBfpN1j2S0DNXBHSrWvRp15zZmU4hwELiUY/H2/j/XpOGV3Q0i2iob
1hJ30C8=
=aMQi
-----END PGP PUBLIC KEY BLOCK-----

--=_5c794836b7d454d393230849ed4437a8--


--=_9938f96f8e28e8462eb7a3caf88d6eaf
Content-Type: application/pgp-signature;
 name=signature.asc
Content-Disposition: attachment;
 filename=signature.asc;
 size=488
Content-Description: OpenPGP digital signature

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

iQEzBAEBCAAdFiEEBiQLMsgZZHLsLEmLGHUefL3klUAFAmDsnKgACgkQGHUefL3k
lUCC+wgAhPEAHBcOM79K4aNu0T4VCMkSXCGAvB6eWoWox2YAVmvNxGHS0CVJdss5
Vqb9y+zDCcu7YUb3Us2wQVAeErqI5UN9ZAwHcpBxW0/EFGnlb24zeH8w1sBiG1lM
+5zxgd9ybz6uUpS4oIipZMTK/0vasitaaw6fSdR7x1GCkVblwLseoCu9X3iNHV36
wHlqi/k8zkrL0DzPOMSBTL1IZSnq2yUJgcJeYYEJVPO5/c4a7i2Nqt8jbFgnJD3u
jpxTFvyGYF5nZW1TXxnBtoRI/CfLmN/BHpuTM9i9taAo9XactZFWS5jEymOA/HIb
zNsuqA1ZRewaybxfb8Qngd+KV5bT6Q==
=qORp
-----END PGP SIGNATURE-----

--=_9938f96f8e28e8462eb7a3caf88d6eaf--



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