From owner-freebsd-ports@freebsd.org Sun Jun 12 10:14:37 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B80FFAF0912 for ; Sun, 12 Jun 2016 10:14:37 +0000 (UTC) (envelope-from abi@abinet.ru) Received: from mail.abinet.ru (mail.abinet.ru [136.243.72.227]) by mx1.freebsd.org (Postfix) with ESMTP id 7ACE1276D for ; Sun, 12 Jun 2016 10:14:37 +0000 (UTC) (envelope-from abi@abinet.ru) Received: from [10.0.1.1] (unknown [10.0.1.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.abinet.ru (Postfix) with ESMTPSA id D784024F2 for ; Sun, 12 Jun 2016 10:14:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=abinet.ru; s=dkim; t=1465726475; bh=ujFd6klqutN6GR6jePQujkgTlQgNmxSeU5IelsqsV9Y=; h=Date:From:To:Subject:References:In-Reply-To; b=Hn1ZT3d/CpX8EVDQxH33uodUJ1maxkj55xgms6Rm1PmyLEyeNBSDKAirBUMwREaIl fa7sYaBuLXcBZj/2+WX5TsCFHvXafiyREQJwf3zDoRe6P6wI0aNCiTtk9U9+3lqKbG EAuNLtJZQzaY4W6yTGrc3sMk+UlPIb9pGkYMPEuk= Message-ID: <575D362E.7030206@abinet.ru> Date: Sun, 12 Jun 2016 13:15:10 +0300 From: abi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.8) Gecko/20151117 FossaMail/25.1.9 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: Ports test system setup References: <57587D08.90009@abinet.ru> <64d969fb-f604-68c1-fe61-52013db957a0@FreeBSD.org> In-Reply-To: <64d969fb-f604-68c1-fe61-52013db957a0@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2016 10:14:37 -0000 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 > >