From owner-freebsd-pkg@freebsd.org Wed Apr 7 09:11:58 2021 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1D8665D0BDC for ; Wed, 7 Apr 2021 09:11:58 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFdv16RkTz4k4r for ; Wed, 7 Apr 2021 09:11:57 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: by mailman.nyi.freebsd.org (Postfix) id DCF2E5D0AEE; Wed, 7 Apr 2021 09:11:57 +0000 (UTC) Delivered-To: pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DCB645D0BDB for ; Wed, 7 Apr 2021 09:11:57 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: from connect.ultra-secure.de (connect.ultra-secure.de [88.198.71.201]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFdv054d6z4kDw; Wed, 7 Apr 2021 09:11:56 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: (Haraka outbound); Wed, 07 Apr 2021 11:12:20 +0200 Received-SPF: SoftFail (connect.ultra-secure.de: domain of ultra-secure.de does not designate 217.71.83.52 as permitted sender) receiver=connect.ultra-secure.de; identity=mailfrom; client-ip=217.71.83.52; helo=[192.168.1.238]; envelope-from= Received: from [192.168.1.238] (217-071-083-052.ip-tech.ch [217.71.83.52]) by connect.ultra-secure.de (Haraka/2.6.2-toaster) with ESMTPSA id 59AAD92F-AD7C-49C7-924F-27CEB66685C3.1 envelope-from (authenticated bits=0); Wed, 07 Apr 2021 11:12:17 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: I run poudriere - what do I need to do once ports switch over to git? From: Rainer Duffner In-Reply-To: Date: Wed, 7 Apr 2021 11:11:44 +0200 Cc: "pkg@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <44CE3C4E-D904-49FA-896C-76733A09CD88@ultra-secure.de> References: <38B879E6-2D0A-42B0-B714-08D02EB824D2@ultra-secure.de> To: Matthew Seaman X-Mailer: Apple Mail (2.3445.104.17) X-Haraka-GeoIP: EU, CH, 451km X-Haraka-ASN: 24951 X-Haraka-GeoIP-Received: X-Haraka-ASN: 24951 217.71.80.0/20 X-Haraka-ASN-CYMRU: asn=24951 net=217.71.80.0/20 country=CH assignor=ripencc date=2003-08-07 X-Haraka-FCrDNS: 217-071-083-052.ip-tech.ch X-Haraka-p0f: os="Mac OS X " link_type="DSL" distance=16 total_conn=3 shared_ip=N X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on spamassassin X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=ALL_TRUSTED,BAYES_00, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Haraka-Karma: score: 6, good: 17075, bad: 612, connections: 19375, history: 16463, asn_score: 1056, asn_connections: 1211, asn_good: 1093, asn_bad: 37, pass:asn, relaying X-Rspamd-Queue-Id: 4FFdv054d6z4kDw X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rainer@ultra-secure.de designates 88.198.71.201 as permitted sender) smtp.mailfrom=rainer@ultra-secure.de X-Spamd-Result: default: False [2.30 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+mx]; ARC_NA(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; DMARC_NA(0.00)[ultra-secure.de]; SPAMHAUS_ZRD(0.00)[88.198.71.201:from:127.0.2.255]; RBL_DBL_DONT_QUERY_IPS(0.00)[88.198.71.201:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.198.0.0/16, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[pkg]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2021 09:11:58 -0000 > Am 09.02.2021 um 19:35 schrieb Matthew Seaman : >=20 > On 09/02/2021 15:41, Rainer Duffner wrote: >> Hi, >> subject says it all, basically. >> Do I have to re-checkout the ports-trees? >> What about going to FreeBSD 13, which supposedly(?) has = base-packages? >=20 > Essentially, yes. You will need to create a new ports tree which = pulls from the FreeBSD git and tweak your poudriere setup to use that = instead of your original SVN-based setup. eg. >=20 > poudriere ports -c -p ports-git -m git -B main >=20 > (Or delete your original ports tree and re-create it from git using = the same name for simplicity.) >=20 > Alternatively you can clone the ports from git separately and then = tell poudriere to null-mount it into the build jails. That means you = can eg. use worktrees to check out different branches from a single copy = of the repo, and map those onto poudriere. Effectively it allows you to = have full control over your local git repo rather than letting poudriere = do its usual thing. >=20 > FreeBSD-13 does have base system packages available -- I /think/ there = has been some work on building them via poudriere, but I don't know what = the status of that is. You can pretty easily just checkout /usr/src and = then run `make buildworld buildkernel packages` which will create a = repository under /usr/obj -- either use that as a 'file' based repo, or = point nginx at it. Probably best to play with base system packages on a = throw-away VM before trying to use it on anything important: until = you've got it properly fettled, there's a risk of stomping all over = important files like /etc/passwd >=20 > Cheers, >=20 > Matthew >=20 >=20 Hi, this does not work: root@bsd1-build-prod:~ # poudriere ports -cvv -B branches/2021Q2 -m git = -p 2021Q2 =3D>> Debug: Reading /usr/local/etc/poudriere.conf [00:00:01] Creating 2021Q2 fs at /usr/local/poudriere/ports/2021Q2... = done [00:00:01] Cloning the ports tree...Cloning into = '/usr/local/poudriere/ports/2021Q2'... warning: Could not find remote branch branches/2021Q2 to clone. fatal: Remote branch branches/2021Q2 not found in upstream origin [00:00:01] Error: fail [00:00:01] Error while creating ports tree, cleaning up. root@bsd1-build-prod:~ # pkg info poudriere poudriere-3.3.6 Name : poudriere Version : 3.3.6 Installed on : Tue Jan 5 09:33:28 2021 CET Origin : ports-mgmt/poudriere Architecture : FreeBSD:12:amd64 Prefix : /usr/local Categories : ports-mgmt Licenses : BSD2CLAUSE Maintainer : bdrewery@FreeBSD.org WWW : https://github.com/freebsd/poudriere/wiki Comment : Port build and test system Options : BASH : on CERTS : on DIALOG4PORTS : on EXAMPLES : on QEMU : off ZSH : on Annotations : FreeBSD_version: 1202000 repo_type : binary repository : EveryWare Flat size : 2.23MiB Description : poudriere is a tool primarily designed to test package production on FreeBSD. However, most people will find it useful to bulk build ports for FreeBSD. WWW: https://github.com/freebsd/poudriere/wiki Rainer=