Ports test system setup

abi abi at abinet.ru
Sun Jun 12 10:14:37 UTC 2016


OK, I installed 11-a2 and poudriere. Now I'm running testport, however I 
have a question - poudriere wiki describes situation where developer 
patches port and runs it to test. This looks like final precaution 
before commit to port tree.

What if I don't know yet what to patch, but need to experiment a little? 
I want 'make extract', then patch by hand, then try to compile. Is it 
possible?

On 08.06.2016 23:30, Matthew Seaman wrote:
> On 08/06/2016 16:16, abi wrote:
>> can you give me advice for system to test ports if I want to test ports
>> against 9, 10 and 11 versions and keep my installation compact? 11a +
>> poudriere with necessary userlands ? I don't know if 10.3 can drive 11a
>> world.
> You can do this fairly easily with poudriere -- just create poudriere
> jails of the appropriate versions and CPU architectures.
>
> However there are some limitations:
>
>     * You can build for arch=i386 on arch=amd64 but not the other way
>       round.
>
>     * Your poudriere jails cannot be newer than your host system.  So if
>       you want to do test builds on 9.x, 10.x and 11.x, then you're
>       going to have to upgrade your machine to 11.x.
>
> Then all you need is a fairly trivial shell script to run 'poudriere
> testport' against all the different combinations of OS version and
> architecture.
>
> 	Cheers
>
> 	Matthew
>
>



More information about the freebsd-ports mailing list