From nobody Tue Dec 23 02:54:09 2025 X-Original-To: freebsd-current@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 4db0340wj3z6M8vQ for ; Tue, 23 Dec 2025 02:54:24 +0000 (UTC) (envelope-from agh@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx1.riseup.net", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4db0323Khwz3xhC for ; Tue, 23 Dec 2025 02:54:22 +0000 (UTC) (envelope-from agh@riseup.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=hhYuAuMl; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of agh@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=agh@riseup.net Received: from fews04-sea.riseup.net (fews04-sea-pn.riseup.net [10.0.1.154]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4db0305d3kzDqLj for ; Tue, 23 Dec 2025 02:54:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riseup.net; s=squak; t=1766458460; bh=8yKGANJ8qDG+aEtkhr0TxlItm+90H+oIjngoafm8ae0=; h=Date:From:To:Subject:From; b=hhYuAuMlfr396QiVTmzRcnzgm/NtvxmY4lnWyZzkApFikt8OFzct//m/d9xnFAOAU ZkL/Jdc7duqqzI0gW/a2V0OOmvzcgMtYqJ3G9j3z0Tep8/xQ8+1B0vnp5KH7Rl85Z7 oKfIVyZMTH3HjO+FLibVqTS39N9Tql2Mdth1MSoY= X-Riseup-User-ID: 49353F37F8F5EBC7DFF957D5A672B2D0857D8AA16C2839F9E8F90FD6B58DCB1B Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews04-sea.riseup.net (Postfix) with ESMTPSA id 4db02n40XPz5vgt for ; Tue, 23 Dec 2025 02:54:09 +0000 (UTC) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Date: Tue, 23 Dec 2025 02:54:09 +0000 From: Alastair Hogge To: freebsd-current@freebsd.org Subject: pkgbase and customised builds via ${SRC}/release/release.sh Message-ID: <20fb908c0954e62977dffdcd4a883678@riseup.net> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.20 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_HAS_CURRENCY(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; R_SPF_ALLOW(-0.20)[+a:mx1.riseup.net]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from]; RWL_MAILSPIKE_GOOD(-0.10)[198.252.153.129:from]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[riseup.net:+]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RECEIVED_HELO_LOCALHOST(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; DWL_DNSWL_NONE(0.00)[riseup.net:dkim] X-Rspamd-Queue-Id: 4db0323Khwz3xhC Hello, For years, I have been using one host to build all customised USB images, and tarballs for all other hosts at home. This is reached via custom make, and src.conf files, which are codified in a custom release.conf. My custom release.conf redefines load_chroot_env() to setup the environment with ${SRC}, ${PORTS}, and pkg related files. On 16-CURRENT (2-3 weeks behind) I am able to use ${SRC}/release/release.sh sans customisation, however, when I start to introduce customisations, the build never succeeds. At the moment, the build fails at: make[5]: stopped making "create-kernel-packages" in /usr/src make[5]: stopped making "create-world-packages" in /usr/src make[5]: stopped making "create-world-packages" in /usr/src make[4]: stopped making "real-packages" in /usr/src make[5]: stopped making "create-kernel-packages" in /usr/src make[4]: stopped making "real-packages" in /usr/src make[4]: stopped making "real-packages" in /usr/src make[3]: stopped making "real-packages" in /usr/src make[2]: stopped making "packages" in /usr/src make[2]: stopped making "packages" in /usr/src make[1]: stopped making "packages" in /usr/src make[1]: stopped making "packages" in /usr/src make: stopped making "release" in /usr/src/release make: stopped making "release" in /usr/src/release pkg: Unable to open plist file: /usr/obj/usr/src/amd64.amd64/kernelstage/kernel/kernel.FAFNIR-dbg.plist I have no debug enabled options, and am not interested in debug builds. In the past, when I needed debug features, I would edit the kernel config, and src.conf files, and start the release build process from there; I do not know how to parametrise debug build options. What is the method for using release.sh to custom build a pkgbase, that also supports tarballs, and install images? -- To good health, and happy holidays Alastair