From nobody Tue Dec 12 09:00:33 2023 X-Original-To: freebsd-pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SqCMY0Fklz53gNl; Tue, 12 Dec 2023 09:03:37 +0000 (UTC) (envelope-from pat@patmaddox.com) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SqCMX23wkz4dyJ; Tue, 12 Dec 2023 09:03:36 +0000 (UTC) (envelope-from pat@patmaddox.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=patmaddox.com header.s=fm3 header.b=ZSR2jINN; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=n8n7oNjd; spf=pass (mx1.freebsd.org: domain of pat@patmaddox.com designates 66.111.4.25 as permitted sender) smtp.mailfrom=pat@patmaddox.com; dmarc=none Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 0A6505C01FE; Tue, 12 Dec 2023 04:03:35 -0500 (EST) Received: from imap41 ([10.202.2.91]) by compute2.internal (MEProxy); Tue, 12 Dec 2023 04:03:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=patmaddox.com; h=cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm3; t=1702371815; x=1702458215; bh=s61IsULR3GRwTgKsGGyi2tNW9xOcJY36 zl0K7RHHbM8=; b=ZSR2jINNzDto/3Ag4YvcLXrET0iLa1FXUDxGKSV9Q6OFrpJ0 0eof2sFTTbxlYuT5yU2oK7KzYJwJ3Li5YL6nYR/0wnDPEj0Q5FZvLeGH4JrY0F4D 3uTDIMIexBdvGUKe5qGRyMZ2aHucfHxacLamqpx2mXykRUqGdrOIeb8fgUEpXS9H 5AoPPh8rrPkQU4TdG7lZc/2lbwt3lL1lbkJY9tGwXxu8UyUNUUXVorQ4YBAgE9VK 3PYnLcBJLICMtWWVJURtm3zjz9VVoTfyLnkj3XbTTSVmLscpxU0Z4H7OfZZGlbQY Cp4l+bucemipRUyiBYSlHqC5uy8Y5RwAYQoKNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1702371815; x=1702458215; bh=s61IsULR3GRwTgKsGGyi2tNW9xOcJY36zl0 K7RHHbM8=; b=n8n7oNjdT7+TsvNh831HGyFwl9uNkz1ocB3edDsb6PVfayaO0J4 BoJg2abKRCFVGqj4NCy6kfA/MHabdGpdE7e/RMFs+T1UcP1jVXwNJBGwN8Wl+UTz 8M2vjmaQHqUsSiaDbBhOc76tW0MZBPXEqQs/by+cC/s3wZA96+VjrSdIWsuiAC/a dAWiEB6Aqsi997Gp3ARx/cVeWqCde5cIL/lyrD4L81iH4ETFQ858i29fXEQQ0RdT l/elSpPGh7VP05piWrhC5ACGTK39hNW5aE6iq9RhGtd8Ro8leWe4bI3RQdjOHJ00 Zo8rtl2cVLjHCkAbLG60jxFhXKi7128ZsxQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudelfedguddvlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfffhffvufgtsehttdertderredtnecuhfhrohhmpedfrfgrthcu ofgrugguohigfdcuoehprghtsehprghtmhgrugguohigrdgtohhmqeenucggtffrrghtth gvrhhnpefgkeeugffgtdfhheduhfegkeejkeeuudelveffgfejffdvvdegjeekffehieei tdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehprg htsehprghtmhgrugguohigrdgtohhm X-ME-Proxy: Feedback-ID: i8b6c40f9:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8798E2340080; Tue, 12 Dec 2023 04:03:34 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1283-g327e3ec917-fm-20231207.002-g327e3ec9 List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 Message-Id: <0ee5ccf5-31af-4f7a-95da-0f27d59f2259@app.fastmail.com> Date: Tue, 12 Dec 2023 01:00:33 -0800 From: "Pat Maddox" To: freebsd-pkg@freebsd.org, "User Questions" Subject: poudriere: Any way to re-use built packages across sets? Content-Type: text/plain X-Spamd-Result: default: False [-2.69 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.25]; R_DKIM_ALLOW(-0.20)[patmaddox.com:s=fm3,messagingengine.com:s=fm1]; RWL_MAILSPIKE_GOOD(-0.10)[66.111.4.25:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.25:from]; XM_UA_NO_VERSION(0.01)[]; FROM_EQ_ENVFROM(0.00)[]; FREEFALL_USER(0.00)[pat]; MLMMJ_DEST(0.00)[freebsd-pkg@freebsd.org,freebsd-questions@freebsd.org]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; DKIM_TRACE(0.00)[patmaddox.com:+,messagingengine.com:+]; DMARC_NA(0.00)[patmaddox.com]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4SqCMX23wkz4dyJ X-Spamd-Bar: -- I want to build two package repos: 1) the vanilla ports tree 2) ports tree + my overlay The commands I use are: poudriere bulk -p main -j 132amd64 -b latest and poudriere bulk -z maintain -j 132amd64 -p main -O maintain -b latest Which produces /usr/local/poudriere/data/packages/132amd64-main and /usr/local/poudriere/data/packages/132amd64-main-maintain. The problem is, the second command spends a lot of time re-building the same things (gcc, llvm, rust, etc) as the first. `-b` isn't particularly useful because I'm using a current ports tree, so I need to build a lot of packages at least once. I'd like to have the second command re-use the packages built by the first command where possible. Here are some things I tried: 1. -b file:///usr/local/.../132amd64-main - doesn't work because the jail can't access that path, which makes sense 2. serving packages via nginx, and passing the url as -b - doesn't work because FreeBSD.conf sets mirror_type=srv and signature_type=fingerprints 3. modifying the jail's FreeBSD.conf file directly - fails with "pkg: Error fetching http://localhost:8181/132amd64-main/Latest/pkg.pkg.sig: Not Found A pre-built version of pkg could not be found for your system." Is there a way to have poudriere build two separate package repos (one named with the set) where one uses pre-built packages from the first repo if possible? Pat