From nobody Sun Aug 10 21:00:46 2025 X-Original-To: freebsd-pkgbase@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 4c0VYF6vl5z64m9c for ; Sun, 10 Aug 2025 21:01:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 4c0VYD4LcCz3L8X for ; Sun, 10 Aug 2025 21:01:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="QwTL/hX5"; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.147 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1754859662; bh=crwOdBu/EcGKKB2qQ4aqQEY2FKlFSrvGoTjezIs0Tt4=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=QwTL/hX5euwezJG1iV7cxiz22x5RFNlL6wA3WmqWA/WJ+yWuGHj1H8TeVmYQsSC9LFV/889m4wiCzO/t98Fw/c7a80/BaMF+5GUuz9sZ3qkk1B1ZhVw+uUGbYYAcp+PR8Y177vo6bWac2Qu+VAgFa71NfaWdnXCR62n7pvV2+sGL7QaULA8ppVWtEZxb+BnrZjfq89APQnRjH8mesnxMOpUt27/TG689OT3ibiOCSZsnY1vMTnWGSuhWsyvlPNKE2JVsjwXwnBbazkFgq6VWb8Lmyestoc2KtVt7o/hrVhoKlzEEDDE8v+di2G8AmPcPSs/NQ3QXLVci/3J3QEvyew== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1754859662; bh=z0WS2pE/R+rjVgzSVIoqadnTJd17vzvg2cYZuazDXyW=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=tJfN17StjkmW+7dQ/EBUssCBewOygSPU/2PI+osUYLmGDuPFFex7eAKTApmvfsZCrpRQTtxz7/Mvh9Ff6mJfqG9maDr5Y+ta6eKV+0KPwHZX3meKp1LIkYw8/hvDj8PzjRupcO49uznmNZwNSMS/d7Wu4pZzG9359VvvtqTB+oe1AAGsIOmYh+NVQUPjHpIwviHuUzg9M8LkbiRyB2KbSFaB4UswmilA58wzDqBtjCWOd3RIOs1C5w11mPOipPqnvhuZp5vjgqywi4lB4WnuDVmoU3nTD7VaAMEBntgOhTe9NZ4UgFEBZnhD/xW4KbpN4AVb7svF5CiGl1k97IEhGw== X-YMail-OSG: T6cIdccVM1nMFOwk9PIlElKEGZu.sNu8sZyh1JBkCnLvEGQ8HSn52azDga.c6Dv LfwMhPOt7VF84oNE3FdoJYQjRID462TX0eTq.10.FzOa9abkrnsSk5Db6wNo._DIQncZaztBjRaz Zr76y5132agV3RqNoLm_u1_Hy4fuCVZLGfb2N9Pn7ffEPhU6bCGUB.fO7GQErAMiQh0KzeDrlrbt cRylMOJUaweMA.BSxOhkGOzW5wAXanMhtVj6CdoO6uHVDPznVxGtkNW76Qx521Z4bY8f_f1nI9us JGABLFtreYhBpH4IsOH1HDmNpWfqb1DaZL7IwejMtYBClJ85hSJyoxl55dNtJyKfRQ_Q_URtXXCR J0k8C6K0Mldgs91hmXVPp7FPKCefB4.tlTbTzsrzBqnjfVJ1AbrAwmoR8Y3YTRZzHcY5b.iasOXq 7o9MQ1l_M.aqQdPeellRZT6iq9Z554B5rDnrZO7RuGIhCgv9ebBXwyOX2dI0BoBoqhWnU4j1ouAe Aqct4MWCg4gA8hkYx23FlkBEKLFVyaY0oI3BLk8zNZXTpjEbAOhRhwlOZ6nNzZViWmAvgGTt3rKw oBJrdsEvkn_QpXgwY.4IeDO.w3iDN6kEceLwP3ksPIXdt6CHBEPer_xmWNovr3qN7qrjQVnCOBg0 uloEGBuaKtZb2ai6OWr4nzfhxYFTkjOe6KXFWk0zIJ7idZceW_yiv6.SKDgfsXMUvn30p9txmNYS HqBbjQ2HOG7pa_PsDiOUkw9xqUtXVeHxHklmlR.l1EsMjfqo8Njlydxv7H.oBrtW3_z5W6AuKNuS iyIR6SmHe4rIACWAnars0jcJH9FvO2nh8iYBOiDH3NubDIwZXiy8gliE7DnEKkJ1DDW4_uJEW3gC 0_5uMbO1rz51ofVT1mTkk2beXNT7D5IwlAV8eeUEvxG8b4b_GkXkDptGxF.HAF8INaXbozppEz1B nIvyDvygIIhIZZ0_mDnHRmHdXj6OUNp.gVwy4x1brVAnKgUzKi2vec8NAwn8q7u78ACZL2WcYuoV 1za81JAJ0Savxkfw._vLSCzppYDLOBFT4FGz1WGOgyIZyxA5XbyDT0w94NE6GUYEwiY1VcYUNpk7 .pJegJyDlPlQC7Sjc5vC2qsiWWMVpeTI1NSKznidR6GNQABH09Y8MBKYOj.hnxj_OvZa6RM8YIxh bElzbHma8fzo1aZeLeuM8HKQtX13snAPaKiWVHiB61gh1QN4A1GsLKgZk_UOToBzvorbuZS2XS4i 41hvQYp6xyuQsMcWwcFUSem14Vdkg40MJ7icfHu.qYPNh4Y9HCMlu4B4gsvijrIK6wB_VgkPJFhB r418yPcd0zlRMjQheN54TJOuRQlaUGHT63RQHaMJDuP5_EBw0qj5lbHQv7vBNghPtNlvbECfQ4ev ubIiyREEWyUblV6clKUSqIWs_ebS0BRnHMJvZEpWO_H8uxxZJm6ZsTmTo.kCMSFnIk1PflaUrXhj TMHebeBrzwmGmeB.V3G9d2gPlEHzlzkQHcUfNVg9WLhDHTxdOL6x8MMMxGmzrb1.0xB2WLEpVs12 1nQqT8WMa1wZuRlMJ9hr4b6hNK3izeAsChELMWKvGWxj_5WpfIFQ1_yohANy2mBLKEMpPm9bcRw1 VHYdUQGqC8OCY5nUqJxmnuMqqqTtjcTiAMo6JRBLi_Gwus6hU4zH_ppjyrB7af.sd6Wr8__TY3PW 2cEgbPJcg042npGahdLs7uMsSZfIvIyz9cdFskFM4HnqXBRJCkpZv_HCsyPmIU8wB.HZ7dEu_C9y PAXUE0Z9ZLB7COYjdybCHLdz4AkyjbgNCIqzatJI6XLxHiFE_R08nCF91UN.eXWwU9AOsxY7o7M9 MqAGU3NPpfYu3X5eLa0RgbOOS9zs.yMQKOrORhyFR5jJOetjKHuxc23yMdKmmblFsaWm0ppdTw9c TDcHPlH5wcFoVjl921.5fU7u1H5Xw9_3PG.ap00lR_5SiUJyBCmS8EYdPMN0mebwo8Nnh9_w..P8 89h4iHtBwt1YUDLMKFlNNENlZtzs7NjGy_0xVKqYiCdKR5K22bYR1P_a_6cKn6W7AvrfX9HCzBC2 E3uDesdAA2wwsWa93lWq1wZUupvsDDviIUZFVfG8BArUfnoqjq7KDEeYuRgIhM8bCllp7Rf.voR9 Q.4j.kWsGHyWBEVIetsoqJbPQjUlkKk0un4Jxia0CrALR6.Gn50nVBmYGceuuEeFS1ymfeq1o3XC v2BfGYR6B0NZTtQ-- X-Sonic-MF: X-Sonic-ID: 10381703-0c12-4484-912a-e25b0f3d2cd2 Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sun, 10 Aug 2025 21:01:02 +0000 Received: by hermes--production-gq1-74d64bb7d7-s6s6l (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2c84b90e5d943f7cf69d6ff3f21eb30b; Sun, 10 Aug 2025 21:00:57 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: FYI: pkgbase and pkg issue details that came up during my pkgbase system upgrade (main-amd64) Date: Sun, 10 Aug 2025 14:00:46 -0700 References: <679934CE-CA3D-4B75-9393-E80CFEA45C91@yahoo.com> To: FreeBSD-pkgbase@freebsd.org In-Reply-To: <679934CE-CA3D-4B75-9393-E80CFEA45C91@yahoo.com> Message-Id: <72043E82-FBAA-41A3-9C60-C5BB131BEB32@yahoo.com> X-Mailer: Apple Mail (2.3826.700.81) X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[FreeBSD-pkgbase@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.147:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.147:from] X-Rspamd-Queue-Id: 4c0VYD4LcCz3L8X X-Spamd-Bar: --- On Aug 9, 2025, at 22:07, Mark Millard wrote: > These notes are very narrowly focused on specific things that > happened. I do not necessarily present them all in the order > that they occurred. >=20 > I made no use of "force". (I normally do not.) >=20 > The context has: >=20 > # grep BACKUP /usr/local/etc/pkg.conf > BACKUP_LIBRARIES=3Dtrue >=20 >=20 > I first dealt with the kernel installations and the > reboot using the kernel.GENERIC-NODEBUG kernel. That > got me to: >=20 > # uname -apKU > FreeBSD 7950X3D-ZFS 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE = main-n279519-7a9834041c91 GENERIC-NODEBUG amd64 amd64 1500059 1500048 >=20 > The sequence for that was, in part: >=20 > # pkg-static install -F -rFreeBSD-base -g 'FreeBSD-kernel-*' = FreeBSD-src-sys > # pkg-static install -U -rFreeBSD-base -g 'FreeBSD-kernel-*' = FreeBSD-src-sys > # shutdown -r now >=20 > (The context does not involve a FreeBSD-dtb .) >=20 >=20 > I then used what is likely an unusual sequence for the > rest of the base package updating: >=20 > # pkg-static install -F -rFreeBSD-base -g 'FreeBSD-*' > # pkg-static install -U -rFreeBSD-base -g 'FreeBSD-src*' > # pkg-static install -U -rFreeBSD-base -g 'FreeBSD-*' >=20 > That last eventually stopped with: >=20 > [580/1170] Deleting files for pkcs11-helper-1.29.0_3: 100% > pkg-static: Cannot runscript POST-DEINSTALL:No such file or directory > pkg-static: Cannot delete pkg itself without force flag >=20 > At this point the context had the property: >=20 > pkg-static: Unable to determine the ABI, none of the ABI_FILEs can be = read. >=20 > So I continued with (no use of 'env' as it was "not found"): >=20 > # ABI=3DFreeBSD:15:amd64 pkg-static install -U -rFreeBSD-base -g = 'FreeBSD-*' >=20 >=20 > With that for context, my various notes are . . . >=20 >=20 > ) pkg ended up disabled (but not removed) : >=20 > I naturally got the notice: >=20 > pkg-static: Cannot delete pkg itself without force flag >=20 > and it naturally stopped because of it. >=20 > But I unnaturally got the status (presuming I'm > supposed to be able to use pkg at that point): >=20 > # pkg check -sa > ld-elf.so.1: Shared object "libutil.so.9" not found, required by "pkg" >=20 > I had to use pkg-static explicitly (or explicitly cause it > to be used where it normally is not). >=20 > Note: poudriere-devel uses a mix of pkg-static and pkg and so > does not work in this context. I modified poudriere-devel for > it to be able to later do the likes of: >=20 > # poudriere jail -j release-amd64 -u >=20 > (where release-amd64 is based on pkgbase). >=20 > Note: As of yet, an updated pkg that avoids libutil.so.9 was > not available from the distribution servers. >=20 > Note: pkg-static can try to run other programs. Thus it need > not be fully functional, despite its static status. I did not > explore this issue. >=20 >=20 > ) port-package removals vs. POST-DEINSTALL : >=20 > I got 5 instances of: >=20 > pkg-static: Cannot runscript POST-DEINSTALL:No such file or directory >=20 > Specifically: >=20 > 565/1170] Deinstalling coreutils-9.7... > [565/1170] Deleting files for coreutils-9.7: 100% > pkg-static: Cannot runscript POST-DEINSTALL:No such file or directory > . . . > [568/1170] Deinstalling git-2.50.0... > [568/1170] Deleting files for git-2.50.0: 100% > pkg-static: Cannot runscript POST-DEINSTALL:No such file or directory > . . . > [570/1170] Deinstalling llvm20-20.1.6... > [570/1170] Deleting files for llvm20-20.1.6: 100% > pkg-static: Cannot runscript POST-DEINSTALL:No such file or directory > . . . > [572/1170] Deinstalling openvpn-2.6.14... > [572/1170] Deleting files for openvpn-2.6.14: 100% > pkg-static: Cannot runscript POST-DEINSTALL:No such file or directory > . . . > [580/1170] Deinstalling pkcs11-helper-1.29.0_3... > [580/1170] Deleting files for pkcs11-helper-1.29.0_3: 100% > pkg-static: Cannot runscript POST-DEINSTALL:No such file or directory >=20 > It appeared to me that POST-DEINSTALL became unavailable > too early relative to when port-packages were being > deleted. (Wording not trying to determines what moves > where to get the proper order.) >=20 >=20 > ) base-package upgrades vs. POST-INSTALL : >=20 > I got: >=20 > [402/513] Upgrading FreeBSD-caroot from 15.snap20250313075117 to = 15.snap20250808125411... > [402/513] Extracting FreeBSD-caroot-15.snap20250808125411: 100% > pkg-static: Cannot runscript POST-INSTALL:No such file or directory >=20 > It appeared to me that POST-INSTALL became available > too late relative to when base-packages were being > upgraded that try to use POST-INSTALL . (Wording not > trying to determines what moves where to get the proper > order.) >=20 > This was from the command after pkg was not deleted: >=20 > # ABI=3DFreeBSD:15:amd64 pkg-static install -U -rFreeBSD-base -g = 'FreeBSD-*' >=20 >=20 > Other information . . . >=20 > Note: I ignore here dealing with *.pkgsave and the like. >=20 > # shutdown -r now >=20 > got me to a world with system processes based on: >=20 > # uname -apKU > FreeBSD 7950X3D-ZFS 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE = main-n279519-7a9834041c91 GENERIC-NODEBUG amd64 amd64 1500059=20 >=20 > pkg still had the property: >=20 > ld-elf.so.1: Shared object "libutil.so.9" not found, required by "pkg" >=20 >=20 > To deal with port-packages, I used: >=20 > # pkg-static install -rFreeBSD `cat ~/origins/amd64-pkgs.txt` > # pkg-static upgrade -rFreeBSD >=20 > (I'll ignore dealing with packages conflicts here.) >=20 > Note: main-amd64's distribution server for port-packages > was missing poudriere-devel so it was not listed in that > amd64-pkgs.txt file. >=20 > The poudiere-devel patches for avoiding pkg use and using > pkg-static instead are as shown by: >=20 > diff -ru /mnt/usr/local/share/poudriere/image.sh = /usr/local/share/poudriere/image.sh > --- /mnt/usr/local/share/poudriere/image.sh 2025-06-13 = 18:13:29.000000000 -0700 > +++ /usr/local/share/poudriere/image.sh 2025-08-09 20:19:24.112622000 = -0700 > @@ -230,8 +230,8 @@ > export REPOS_DIR PKG_DBDIR > # Always need this from host. > export ABI_FILE=3D"${WRKDIR}/world/usr/lib/crt1.o" > - pkg -o ASSUME_ALWAYS_YES=3Dyes update >/dev/null || : > - pkg rquery '%At %o@%Av %n-%v' | \ > + pkg-static -o ASSUME_ALWAYS_YES=3Dyes update >/dev/null || : > + pkg-static rquery '%At %o@%Av %n-%v' | \ > awk -v pkglist=3D"${PACKAGELIST}" \ > -f "${AWKPREFIX}/unique_pkgnames_from_flavored_origins.awk" > rm -rf "${PKG_DBDIR:?}" "${REPOS_DIR:?}" > @@ -248,10 +248,10 @@ > enabled: true > } > -EOF > - pkg -o ABI_FILE=3D"${mnt}/usr/lib/crt1.o" -o = REPOS_DIR=3D${WRKDIR}/world/etc/pkg/ -o ASSUME_ALWAYS_YES=3Dyes -r = ${WRKDIR:?}/world update ${PKG_QUIET} > + pkg-static -o ABI_FILE=3D"${mnt}/usr/lib/crt1.o" -o = REPOS_DIR=3D${WRKDIR}/world/etc/pkg/ -o ASSUME_ALWAYS_YES=3Dyes -r = ${WRKDIR:?}/world update ${PKG_QUIET} > msg "Installing base packages" > while read line; do > - pkg -o ABI_FILE=3D"${mnt}/usr/lib/crt1.o" -o = REPOS_DIR=3D${WRKDIR}/world/etc/pkg/ -o ASSUME_ALWAYS_YES=3Dyes -r = ${WRKDIR:?}/world install -r local ${PKG_QUIET} -y ${line} > + pkg-static -o ABI_FILE=3D"${mnt}/usr/lib/crt1.o" -o = REPOS_DIR=3D${WRKDIR}/world/etc/pkg/ -o ASSUME_ALWAYS_YES=3Dyes -r = ${WRKDIR:?}/world install -r local ${PKG_QUIET} -y ${line} > done < ${PKGBASELIST} > rm ${WRKDIR:?}/world/etc/pkg/FreeBSD-base.conf > msg "Base packages installed" > @@ -572,7 +572,7 @@ > export ASSUME_ALWAYS_YES=3Dyes SYSLOG=3Dno \ > REPOS_DIR=3D"${WRKDIR}/world/tmp/" \ > ABI_FILE=3D"${WRKDIR}/world/usr/lib/crt1.o" > - pkg -r "${WRKDIR:?}/world/" install pkg > + pkg-static -r "${WRKDIR:?}/world/" install pkg > convert_package_list "${PACKAGELIST}" | \ > xargs pkg -r "${WRKDIR:?}/world/" install > ) > diff -ru /mnt/usr/local/share/poudriere/include/pkg.sh = /usr/local/share/poudriere/include/pkg.sh > --- /mnt/usr/local/share/poudriere/include/pkg.sh 2025-06-13 = 18:13:29.000000000 -0700 > +++ /usr/local/share/poudriere/include/pkg.sh 2025-08-09 = 20:18:57.636494000 -0700 > @@ -634,7 +634,7 @@ > *) > local repokeypath=3D$(repo_key_path) >=20 > - pkg key --sign -t "${repokeytype}" "${repokeypath}" < "${pkgfile}" \ > + pkg-static key --sign -t "${repokeytype}" "${repokeypath}" < = "${pkgfile}" \ > > "${pkgfile}.pubkeysig" > ;; > esac > diff -ru /mnt/usr/local/share/poudriere/jail.sh = /usr/local/share/poudriere/jail.sh > --- /mnt/usr/local/share/poudriere/jail.sh 2025-06-13 = 18:13:29.000000000 -0700 > +++ /usr/local/share/poudriere/jail.sh 2025-08-09 20:20:23.447656000 = -0700 > @@ -375,9 +375,9 @@ > pkgbase) > VERSION=3D$(jget ${JAILNAME} version | cut -d '.' -f 1) > [ -z "${ARCH}" ] && ARCH=3D$(jget ${JAILNAME} arch) > - pkg -o IGNORE_OSVERSION=3Dyes -o ABI=3D"FreeBSD:${VERSION}:${ARCH}" = -o REPOS_DIR=3D"${JAILMNT}/etc/pkg" -r "${JAILMNT}" update || \ > + pkg-static -o IGNORE_OSVERSION=3Dyes -o = ABI=3D"FreeBSD:${VERSION}:${ARCH}" -o REPOS_DIR=3D"${JAILMNT}/etc/pkg" = -r "${JAILMNT}" update || \ > err 1 "pkg update failed" > - pkg -o IGNORE_OSVERSION=3Dyes -o ABI=3D"FreeBSD:${VERSION}:${ARCH}" = -o REPOS_DIR=3D"${JAILMNT}/etc/pkg" -r "${JAILMNT}" upgrade -y || \ > + pkg-static -o IGNORE_OSVERSION=3Dyes -o = ABI=3D"FreeBSD:${VERSION}:${ARCH}" -o REPOS_DIR=3D"${JAILMNT}/etc/pkg" = -r "${JAILMNT}" upgrade -y || \ > err 1 "pkg upgrade failed" > markfs clean ${JAILMNT} > ;; > @@ -927,12 +927,12 @@ > } > EOF >=20 > - pkg -o IGNORE_OSVERSION=3Dyes -o REPOS_DIR=3D"${JAILMNT}/etc/pkg" -o = ABI=3D"FreeBSD:${VERSION}:${ARCH}" -r ${JAILMNT}/ update > + pkg-static -o IGNORE_OSVERSION=3Dyes -o = REPOS_DIR=3D"${JAILMNT}/etc/pkg" -o ABI=3D"FreeBSD:${VERSION}:${ARCH}" = -r ${JAILMNT}/ update > # Omit the man/debug/kernel/src and tests packages, unneeded for us. > - pkg -o IGNORE_OSVERSION=3Dyes -o REPOS_DIR=3D"${JAILMNT}/etc/pkg" -o = ABI=3D"FreeBSD:${VERSION}:${ARCH}" -r ${JAILMNT}/ search -qCx = '^FreeBSD-.*' | grep -vE -- '-man|-dbg|-kernel-|-tests|-src-' | xargs = pkg -o REPOS_DIR=3D"${JAILMNT}/etc/pkg" -r ${JAILMNT}/ install -y > - pkg -o IGNORE_OSVERSION=3Dyes -o REPOS_DIR=3D"${JAILMNT}/etc/pkg" -o = ABI=3D"FreeBSD:${VERSION}:${ARCH}" -r ${JAILMNT}/ search -q = '^FreeBSD-src-sys' | xargs pkg -o REPOS_DIR=3D"${JAILMNT}/etc/pkg" -r = ${JAILMNT}/ install -y > + pkg-static -o IGNORE_OSVERSION=3Dyes -o = REPOS_DIR=3D"${JAILMNT}/etc/pkg" -o ABI=3D"FreeBSD:${VERSION}:${ARCH}" = -r ${JAILMNT}/ search -qCx '^FreeBSD-.*' | grep -vE -- = '-man|-dbg|-kernel-|-tests|-src-' | xargs pkg -o = REPOS_DIR=3D"${JAILMNT}/etc/pkg" -r ${JAILMNT}/ install -y > + pkg-static -o IGNORE_OSVERSION=3Dyes -o = REPOS_DIR=3D"${JAILMNT}/etc/pkg" -o ABI=3D"FreeBSD:${VERSION}:${ARCH}" = -r ${JAILMNT}/ search -q '^FreeBSD-src-sys' | xargs pkg -o = REPOS_DIR=3D"${JAILMNT}/etc/pkg" -r ${JAILMNT}/ install -y > if [ -n "${KERNEL}" ]; then > - pkg -o IGNORE_OSVERSION=3Dyes -o REPOS_DIR=3D"${JAILMNT}/etc/pkg" -o = ABI=3D"FreeBSD:${VERSION}:${ARCH}" -r ${JAILMNT}/ install -y = FreeBSD-kernel-"${KERNEL}" || \ > + pkg-static -o IGNORE_OSVERSION=3Dyes -o = REPOS_DIR=3D"${JAILMNT}/etc/pkg" -o ABI=3D"FreeBSD:${VERSION}:${ARCH}" = -r ${JAILMNT}/ install -y FreeBSD-kernel-"${KERNEL}" || \ > err 1 "Failed to install FreeBSD-kernel-${KERNEL}" > fi >=20 >=20 >=20 > Note: I have some other lines patched in > /usr/local/share/poudriere/common.sh for > other reasons (for my normal use). poudriere-devel has an internal /usr/local/libexec/poudriere/cpdup that it can try to use. But: [00:00:00] Creating the reference jail...ld-elf.so.1: Shared object = "libcrypto.so.30" not found, required by "cpdup" Error: (14603) /usr/local/share/poudriere/bulk.sh:_do_clone:255: set -e = error: status =3D 1 So, overall, more than just pkg -> pkg-static use is involved in getting poudriere-devel to work. So far, dealing with pkg-static refrences, possibly /usr/local/sbin/pkg = , and with /usr/local/libexec/poudriere/cpdup seems to allow poudriere builders to run. Note: poudriere also had some Makefile notation to adjust after the (b)make update. =3D=3D=3D Mark Millard marklmi at yahoo.com