From nobody Wed May 27 05:50:56 2026 X-Original-To: questions@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 4gQJdm2sFkz6fQH5 for ; Wed, 27 May 2026 05:51:24 +0000 (UTC) (envelope-from kayasaman@optiplex-networks.com) Received: from mail.optiplex-networks.com (mail.optiplex-networks.com [45.149.190.182]) (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 4gQJdl4DhFz43kH for ; Wed, 27 May 2026 05:51:23 +0000 (UTC) (envelope-from kayasaman@optiplex-networks.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=optiplex-networks.com header.s=AE93A2AC-7F67-11EA-90AE-8A1FE64F6997 header.b=0pcFfKsR; dmarc=pass (policy=quarantine) header.from=optiplex-networks.com; spf=pass (mx1.freebsd.org: domain of kayasaman@optiplex-networks.com designates 45.149.190.182 as permitted sender) smtp.mailfrom=kayasaman@optiplex-networks.com Received: from localhost (localhost [127.0.0.1]) by mail.optiplex-networks.com (Postfix) with ESMTP id A507015C037B for ; Wed, 27 May 2026 06:51:17 +0100 (BST) Received: from mail.optiplex-networks.com ([127.0.0.1]) by localhost (mail.optiplex-networks.com [127.0.0.1]) (amavis, port 10032) with ESMTP id aSS2XArPtlnQ for ; Wed, 27 May 2026 06:51:16 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by mail.optiplex-networks.com (Postfix) with ESMTP id 0DE0915C037C for ; Wed, 27 May 2026 06:51:16 +0100 (BST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.optiplex-networks.com 0DE0915C037C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=optiplex-networks.com; s=AE93A2AC-7F67-11EA-90AE-8A1FE64F6997; t=1779861076; bh=yeHnO6WAhDZC0i1FhXGzyXMkwQTtDh+0IQH9bzVCyS4=; h=Message-ID:Date:MIME-Version:To:From; b=0pcFfKsR6346S7M6gPyzCzc/4KelmEwz+6dGXUz83cx43XhknnUjaye/5pxQQno/D QyHkXtCe0xy7frvfG3i0AneQlZjqC6tX2+oobXmi3yKpF71VtnbhezYNzy+Gm3iYeZ wULUK/58sJXUD/LCnhG8Oi/u4oUQR78OY/QaeLP51wxB2yNmeJ/zXwKjqQ3UEnqLrC hF1O5/dUlV/lu0Pln97ptqT6SCbWp2C5cLAnW3fTDq0LKzSf4M/05NiPiwODVJ0wAS IIyPt+EwAk1ujaAw7frAuOBbEF0mHpdi1PkPqPFD89Efbnu7wflKhG9OaFXDXvDrOK SQt+OXNfSvbXQ== X-Virus-Scanned: amavis at mail.optiplex-networks.com Received: from mail.optiplex-networks.com ([127.0.0.1]) by localhost (mail.optiplex-networks.com [127.0.0.1]) (amavis, port 10026) with ESMTP id y4rMM4zlOgef for ; Wed, 27 May 2026 06:51:15 +0100 (BST) Received: from [192.168.0.234] (unknown [192.168.0.234]) by mail.optiplex-networks.com (Postfix) with ESMTPSA id D2DA615C037B for ; Wed, 27 May 2026 06:51:15 +0100 (BST) Content-Type: multipart/alternative; boundary="------------WIWxl8fTzzagiXnhNQkkFd3j" Message-ID: <6fa3ca43-ef7c-431e-86e3-832e31fdb478@optiplex-networks.com> Date: Wed, 27 May 2026 06:50:56 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Upgraded from 13.x release to 14.4 and now I can't use the ports tree? To: questions@freebsd.org References: <27136c7e-8026-4e1e-9714-497a75c74ede@optiplex-networks.com> <1cc06f0d-d10c-44bc-90de-bf1e1c1a61ea@optiplex-networks.com> <41488858-2bed-429a-beae-6886de7fdf37@optiplex-networks.com> <69d57901-f905-48ac-8de4-14c5efb5f246@optiplex-networks.com> Content-Language: en-US From: Kaya Saman In-Reply-To: <69d57901-f905-48ac-8de4-14c5efb5f246@optiplex-networks.com> X-Spamd-Result: default: False [-0.29 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; URI_COUNT_ODD(1.00)[15]; NEURAL_HAM_LONG(-0.99)[-0.987]; NEURAL_HAM_SHORT(-0.89)[-0.886]; NEURAL_SPAM_MEDIUM(0.58)[0.584]; DMARC_POLICY_ALLOW(-0.50)[optiplex-networks.com,quarantine]; R_DKIM_ALLOW(-0.20)[optiplex-networks.com:s=AE93A2AC-7F67-11EA-90AE-8A1FE64F6997]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:202596, ipnet:45.149.188.0/22, country:GB]; RECEIVED_HELO_LOCALHOST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[optiplex-networks.com:+] X-Spamd-Bar: / X-Rspamd-Queue-Id: 4gQJdl4DhFz43kH This is a multi-part message in MIME format. --------------WIWxl8fTzzagiXnhNQkkFd3j Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Aha!! Narrowed it down to the `pkg bootstrap -f` I did run this multiple times so I have no idea what's going on..... This was the clue:=20 https://forums.freebsd.org/threads/solved-all-ports-seem-to-fail-at-regis= tering-installation.47434/ /usr/ports/archivers/zstd # make reinstall =3D=3D=3D>=C2=A0 Deinstalling for zstd pkg-static: warning: database version 39 is newer than libpkg(3) version=20 38, but still compatible pkg-static: warning: database version 39 is newer than libpkg(3) version=20 38, but still compatible =3D=3D=3D>=C2=A0 =C2=A0Deinstalling zstd-1.5.7_2 pkg-static: warning: database version 39 is newer than libpkg(3) version=20 38, but still compatible Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0=20 packages in the universe): Installed packages to be REMOVED: =C2=A0 =C2=A0 zstd: 1.5.7_2 Number of packages to be removed: 1 The operation will free 3 MiB. [1/1] Deinstalling zstd-1.5.7_2... [1/1] Deleting files for zstd-1.5.7_2: 100% =3D=3D=3D>=C2=A0 Installing for zstd-1.5.7_2 =3D=3D=3D>=C2=A0 Checking if zstd is already installed pkg-static: warning: database version 39 is newer than libpkg(3) version=20 38, but still compatible pkg-static: warning: database version 39 is newer than libpkg(3) version=20 38, but still compatible pkg-static: warning: database version 39 is newer than libpkg(3) version=20 38, but still compatible =3D=3D=3D>=C2=A0 =C2=A0Registering installation for zstd-1.5.7_2 pkg-static: warning: database version 39 is newer than libpkg(3) version=20 38, but still compatible Installing zstd-1.5.7_2... No idea? Gona attempt a: `portmaster -adfy --no-confirm` again and see if it will=20 run through. Just wondering if when it rebuilds the `pkg` port the same=20 thing will happen again? On 5/27/26 6:35 AM, Kaya Saman wrote: > > One more bit of info.... > > > I ran: portmaster -d zstd which built fine but then said the port=20 > wasn't installed and still could not install it?? > > > so under archivers/zstd running: make install clean > > > =3D=3D=3D=3D> Compressing man pages (compress-man) > =3D=3D=3D=3D> Running Q/A tests (stage-qa) > =3D=3D=3D>=C2=A0 Installing for zstd-1.5.7_2 > =3D=3D=3D>=C2=A0 Checking if zstd is already installed > =3D=3D=3D>=C2=A0 =C2=A0Registering installation for zstd-1.5.7_2 > *** Error code 1 > > Stop. > make[1]: stopped making=20 > "/usr/ports/archivers/zstd/work/.install_done.zstd._usr_local" in=20 > /usr/ports/archivers/zstd > *** Error code 1 > > Stop. > make: stopped making "install clean" in /usr/ports/archivers/zstd > > > and no package installed either? > > > # pkg info |grep zstd > > > > > On 5/27/26 5:54 AM, Kaya Saman wrote: >> >> Ok so unfortunately this thing bummed out on zstd now: >> >> >> =3D=3D=3D>=C2=A0 Installing for zstd-1.5.7_2 >> =3D=3D=3D>=C2=A0 Checking if zstd is already installed >> =3D=3D=3D>=C2=A0 =C2=A0An older version of zstd is already installed (= zstd-1.5.7_1) >> =C2=A0 =C2=A0 =C2=A0 You may wish to ``make deinstall'' and install th= is port again >> =C2=A0 =C2=A0 =C2=A0 by ``make reinstall'' to upgrade it properly. >> =C2=A0 =C2=A0 =C2=A0 If you really wish to overwrite the old port of z= std >> =C2=A0 =C2=A0 =C2=A0 without deleting it first, set the variable "FORC= E_PKG_REGISTER" >> =C2=A0 =C2=A0 =C2=A0 in your environment or the "make install" command= line. >> *** Error code 1 >> >> Stop. >> make[1]: stopped making=20 >> "/usr/ports/archivers/zstd/work/.install_done.zstd._usr_local" in=20 >> /usr/ports/archivers/zstd >> *** Error code 1 >> >> Stop. >> make: stopped making "install" in /usr/ports/archivers/zstd >> >> >> #pkg info |grep zstd >> zstd-1.5.7_1=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0Fast real-time compression algorith >> >> >> # make deinstall; make install clean >> =3D=3D=3D>=C2=A0 Deinstalling for zstd >> =3D=3D=3D>=C2=A0 =C2=A0Deinstalling zstd-1.5.7_1 >> No packages matched for pattern 'zstd' >> >> Checking integrity... done (0 conflicting) >> 1 packages requested for removal: 0 locked, 1 missing >> *** Error code 1 >> >> Stop. >> make: stopped making "deinstall" in /usr/ports/archivers/zstd >> =3D=3D=3D>=C2=A0 Installing for zstd-1.5.7_2 >> =3D=3D=3D>=C2=A0 Checking if zstd is already installed >> =3D=3D=3D>=C2=A0 =C2=A0An older version of zstd is already installed (= zstd-1.5.7_1) >> =C2=A0 =C2=A0 =C2=A0 You may wish to ``make deinstall'' and install th= is port again >> =C2=A0 =C2=A0 =C2=A0 by ``make reinstall'' to upgrade it properly. >> =C2=A0 =C2=A0 =C2=A0 If you really wish to overwrite the old port of z= std >> =C2=A0 =C2=A0 =C2=A0 without deleting it first, set the variable "FORC= E_PKG_REGISTER" >> =C2=A0 =C2=A0 =C2=A0 in your environment or the "make install" command= line. >> *** Error code 1 >> >> Stop. >> make[1]: stopped making=20 >> "/usr/ports/archivers/zstd/work/.install_done.zstd._usr_local" in=20 >> /usr/ports/archivers/zstd >> *** Error code 1 >> >> Stop. >> make: stopped making "install clean" in /usr/ports/archivers/zstd >> >> >> So make check-plist shows: >> >> >> /usr/ports/archivers/zstd # make check-plist >> =3D=3D=3D=3D> Checking for pkg-plist issues (check-plist) >> =3D=3D=3D> Parsing plist >> =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist >> =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR >> =3D=3D=3D> No pkg-plist issues found (check-plist) >> >> >> /usr/ports/archivers/zstd # make stage-qa >> =3D=3D=3D=3D> Running Q/A tests (stage-qa) >> /!\ To run stage-qa automatically add DEVELOPER=3Dyes to your=20 >> environment /!\ >> >> >> So added to /etc/make.conf and now: >> >> >> /usr/ports/archivers/zstd # make stage-qa >> =3D=3D=3D=3D> Running Q/A tests (stage-qa >> >> >> That's all I get?? >> >> >> Regards, >> >> >> Kaya >> >> >> >> On 5/27/26 2:22 AM, Kaya Saman wrote: >>> >>> Hi, >>> >>> >>> On 5/26/26 9:23 PM, Maku Bex wrote: >>>> You ran the commands under '/usr/ports' instead of=20 >>>> '/usr/ports/ports-mgmt/portmaster'. You need to `cd` to the port=20 >>>> name's folder then run the commands. In your case: >>>> >>>> # cd /usr/ports/ports-mgmt/portmaster >>>> # make check-plist && make stage-qa >>>> >>> >>> Sorry I think I just blindly followed instructions or misunderstood=20 >>> as I had been awake for a little too long. >>> >>> >>> Some good news, after removing and re-fetching the ports tree, I was=20 >>> able to rebuild Portmaster through using the standard "make" command=20 >>> and portmaster itself. >>> >>> >>> At the moment, I've just done a: portmaster -adyf --no-confirm >>> >>> >>> hopefully if the @ports system has stabilized now it should be able=20 >>> to complete the build of Perl which it got stuck on. Currently it's=20 >>> on 9 out of 828 ports, so maybe in a few hours once it gets to say=20 >>> port 11 or something where Perl gets rebuilt I should know. >>> >>> >>> The machine is only a quad core Xeon so this will take some time but=20 >>> hopefully now it will build? >>> >>> >>> I'll keep everyone posted :-) >>> >>> >>> Regards, >>> >>> >>> Kaya >>> >>> >>>> On Tue, May 26, 2026, 14:31 Edward Sanford Sutton, III=20 >>>> wrote: >>>> >>>> On 5/25/26 22:43, Kaya Saman wrote: >>>> > Hi, >>>> > >>>> > >>>> > I've just gone through the upgrade procedure described here: >>>> > >>>> > >>>> > https://docs.freebsd.org/en/books/handbook/cutting-edge/ >>>> > >>>> > >>>> > and updated to 14.4 from 13.5 (I think was the latest release >>>> version?), >>>> > uname output: 14.4-RELEASE-p3 FreeBSD 14.4-RELEASE-p3 GENERIC >>>> amd64 >>>> > >>>> > >>>> > When I try to build ports now, this is what I keep getting: >>>> > >>>> > >>>> > =3D=3D=3D>>> Creating a backup package for old version portmas= ter-3.35 >>>> > Creating package for portmaster-3.35 >>>> > pkg-static: file >>>> '/usr/local/share/licenses/portmaster-3.35/BSD2CLAUSE' >>>> > is missing >>>> > pkg-static: package creation failed >>>> > >>>> > =3D=3D=3D>>> Package creation failed for portmaster-3.35! >>>> > >>>> > =3D=3D=3D>>> Ignore this error=C2=A0 [i] >>>> > =3D=3D=3D>>> Abort update=C2=A0 =C2=A0 =C2=A0 =C2=A0[a] >>>> > =3D=3D=3D>>> Retry=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 [r] >>>> > >>>> > =3D=3D=3D>>> How would you like to proceed? [i] >>>> > >>>> > No packages matched for pattern 'portmaster-3.35' >>>> > >>>> > Checking integrity... done (0 conflicting) >>>> > 1 packages requested for removal: 0 locked, 1 missing >>>> > >>>> > =3D=3D=3D>=C2=A0 Installing for portmaster-3.35 >>>> > =3D=3D=3D>=C2=A0 Checking if portmaster is already installed >>>> > =3D=3D=3D>=C2=A0 =C2=A0portmaster-3.35 is already installed >>>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 You may wish to ``make deinstall'' = and install this >>>> port again >>>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 by ``make reinstall'' to upgrade it= properly. >>>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 If you really wish to overwrite the= old port of portmaster >>>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 without deleting it first, set the = variable >>>> "FORCE_PKG_REGISTER" >>>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 in your environment or the "make in= stall" command line. >>>> > *** Error code 1 >>>> > >>>> > Stop. >>>> > make[1]: stopped making "/usr/ports/ports-mgmt/portmaster/ >>>> > work/.install_done.portmaster._usr_local" in >>>> /usr/ports/ports-mgmt/ >>>> > portmaster >>>> > *** Error code 1 >>>> > >>>> > Stop. >>>> > make: stopped making "install" in >>>> /usr/ports/ports-mgmt/portmaster >>>> > >>>> > =3D=3D=3D>>> A backup package for portmaster-3.35 should >>>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0be located in /usr/ports/pack= ages/portmaster-backup >>>> > >>>> > =3D=3D=3D>>> Installation of portmaster-3.35 >>>> (ports-mgmt/portmaster) failed >>>> > =3D=3D=3D>>> Aborting update >>>> > >>>> > >>>> > =3D=3D=3D>>> You can restart from the point of failure with th= is >>>> command line: >>>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0portmaster ports-mgmt= /portmaster >>>> > >>>> > This command has been saved to ~/portmasterfail.txt >>>> > >>>> > >>>> > >>>> > For some reason I'm unable to use either portmaster or even >>>> the standard >>>> > 'make' command under any of the ports eg: >>>> > >>>> > >>>> > :/usr/ports/ports-mgmt/portmaster # make deinstall; make >>>> install clean >>>> > =3D=3D=3D>=C2=A0 Deinstalling for portmaster >>>> > =3D=3D=3D>=C2=A0 =C2=A0Deinstalling portmaster-3.35 >>>> > Checking integrity... done (0 conflicting) >>>> > Deinstallation has been requested for the following 1 >>>> packages (of 0 >>>> > packages in the universe): >>>> > >>>> > Installed packages to be REMOVED: >>>> >=C2=A0 =C2=A0 =C2=A0 portmaster: 3.33 >>>> > >>>> > Number of packages to be removed: 1 >>>> > [1/1] Deinstalling portmaster-3.33... >>>> > [1/1] Deleting files for portmaster-3.33: 100% >>>> > =3D=3D=3D>=C2=A0 Installing for portmaster-3.35 >>>> > =3D=3D=3D>=C2=A0 Checking if portmaster is already installed >>>> > =3D=3D=3D>=C2=A0 =C2=A0portmaster-3.35 is already installed >>>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 You may wish to ``make deinstall'' = and install this >>>> port again >>>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 by ``make reinstall'' to upgrade it= properly. >>>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 If you really wish to overwrite the= old port of portmaster >>>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 without deleting it first, set the = variable >>>> "FORCE_PKG_REGISTER" >>>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 in your environment or the "make in= stall" command line. >>>> > *** Error code 1 >>>> > >>>> > Stop. >>>> > make[1]: stopped making "/usr/ports/ports-mgmt/portmaster/ >>>> > work/.install_done.portmaster._usr_local" in >>>> /usr/ports/ports-mgmt/ >>>> > portmaster >>>> > *** Error code 1 >>>> > >>>> > Stop. >>>> > make: stopped making "install clean" in >>>> /usr/ports/ports-mgmt/portmaster >>>> > >>>> > >>>> > There's a mismatch somewhere but what's going on? >>>> >>>> =C2=A0 =C2=A0The ports tree, and therefore portmaster, perform i= nstalls and >>>> uninstalls by running pkg. Running `pkg query %v portmaster` >>>> should >>>> display what is says is currently the installed version number. >>>> If it is >>>> installed according to pkg, then `pkg delete portmaster` should >>>> be the >>>> correct action to remove it. `pkg info` outputs all installed >>>> packages >>>> with version on the package name and comment beside it if you >>>> want to >>>> manually review your full list. >>>> =C2=A0 =C2=A0I'm not sure what would have brought it to a state = of always >>>> removing >>>> pkg 3.33 when the ports tree and/or portmaster says it is >>>> uninstalling >>>> 3.35 before that. I'd guess just an output bug where they >>>> assume its the >>>> same version but that is misleading if that is happening and >>>> deserves a >>>> bug report; better to display no version number on a stage's >>>> output if >>>> the output is going to not match the command. >>>> >>>> > Do I need to update the ports tree? It seems there is no more >>>> "portsnap" >>>> > command so should I clean out /usr/ports completely then use >>>> the git >>>> > version described here: >>>> >>>> =C2=A0 =C2=A0You should decide if there is anything in there tha= t you >>>> want backed >>>> up first: distfiles will only be used by a port calling for >>>> them and >>>> generally require size and checksum match to be used so should >>>> be safe >>>> to keep and will save download time/bandwidth. Work directories >>>> of many >>>> ports get a versioned folder inside of it but the ports tree >>>> instructions don't check that what already exists is correct; >>>> in any >>>> case I'd let them all go if builds are giving you trouble (just >>>> as 'make >>>> clean' would have done in a port's folder). >>>> >>>> > https://docs.freebsd.org/en/books/handbook/ports/ >>>> > >>>> > >>>> > I guess this would be needed: # git clone --depth 1 https:// >>>> > git.FreeBSD.org/ports.git >>>> /usr/ports ? >>>> >>>> =C2=A0 =C2=A0I don't use '--depth 1' when I use git but seeing t= hat >>>> discussed >>>> seems vaguely familiar. As I do want git history to be accurate >>>> and >>>> complete and I do make changes to the ports tree and with the >>>> intention >>>> of submitting patches I create it without that part. I migrated >>>> when use >>>> of git was still fairly new and I didn't reread that whole >>>> document but >>>> I recall I had /usr/ports as its own ZFS dataset and git gave >>>> me grief >>>> in trying to clone to that location, probably caused by the >>>> existence of >>>> /usr/ports/.zfs but I forget). I think there is another flag tha= t >>>> suppresses such complaint but I think I cloned it to another >>>> location >>>> that was a normal directory and moved its contents including >>>> hidden >>>> content to /usr/ports. Git maintains its own data (only?) in >>>> /usr/ports/.git so that must be transferred too if moving the >>>> clone. >>>> >>>> > Regards, >>>> > >>>> > >>>> > Kaya >>>> --------------WIWxl8fTzzagiXnhNQkkFd3j Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Aha!!


Narrowed it down to the `pkg bootstrap -f`=C2=A0


I did run this multiple times so I have no idea what's going on.....=C2=A0=C2=A0


This was the clue: ht= tps://forums.freebsd.org/threads/solved-all-ports-seem-to-fail-at-registe= ring-installation.47434/


/usr/ports/archivers/zstd # make reinstall
=3D=3D=3D>=C2=A0 Deinstalling for zstd
pkg-static: warning: database version 39 is newer than libpkg(3) version 38, but still compatible
pkg-static: warning: database version 39 is newer than libpkg(3) version 38, but still compatible
=3D=3D=3D>=C2=A0 =C2=A0Deinstalling zstd-1.5.7_2
pkg-static: warning: database version 39 is newer than libpkg(3) version 38, but still compatible
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
=C2=A0 =C2=A0 zstd: 1.5.7_2

Number of packages to be removed: 1

The operation will free 3 MiB.
[1/1] Deinstalling zstd-1.5.7_2...
[1/1] Deleting files for zstd-1.5.7_2: 100%
=3D=3D=3D>=C2=A0 Installing for zstd-1.5.7_2
=3D=3D=3D>=C2=A0 Checking if zstd is already installed
pkg-static: warning: database version 39 is newer than libpkg(3) version 38, but still compatible
pkg-static: warning: database version 39 is newer than libpkg(3) version 38, but still compatible
pkg-static: warning: database version 39 is newer than libpkg(3) version 38, but still compatible
=3D=3D=3D>=C2=A0 =C2=A0Registering installation for zstd-1.5.7_2=
pkg-static: warning: database version 39 is newer than libpkg(3) version 38, but still compatible
Installing zstd-1.5.7_2...


No idea?


Gona attempt a: `portmaster -adfy --no-confirm` again and see if it will run through. Just wondering if when it rebuilds the `pkg` port the same thing will happen again?



On 5/27/26 6:35 AM, Kaya Saman wrote:<= br>

One more bit of info....


I ran: portmaster -d zstd which built fine but then said the port wasn't installed and still could not install it??


so under archivers/zstd running: make install clean


=3D=3D=3D=3D> Compressing man pages (compress-man)
=3D=3D=3D=3D> Running Q/A tests (stage-qa)
=3D=3D=3D>=C2=A0 Installing for zstd-1.5.7_2
=3D=3D=3D>=C2=A0 Checking if zstd is already installed
=3D=3D=3D>=C2=A0 =C2=A0Registering installation for zstd-1.5.7= _2
*** Error code 1

Stop.
make[1]: stopped making "/usr/ports/archivers/zstd/work/.install_done.zstd._usr_local" in /usr/ports/archivers/zstd
*** Error code 1

Stop.
make: stopped making "install clean" in /usr/ports/archivers/zstd


and no package installed either?


# pkg info |grep zstd




On 5/27/26 5:54 AM, Kaya Saman wrote= :

Ok so unfortunately this thing bummed out on zstd now:


=3D=3D=3D>=C2=A0 Installing for zstd-1.5.7_2
=3D=3D=3D>=C2=A0 Checking if zstd is already installed
=3D=3D=3D>=C2=A0 =C2=A0An older version of zstd is already i= nstalled (zstd-1.5.7_1)
=C2=A0 =C2=A0 =C2=A0 You may wish to ``make deinstall'' and ins= tall this port again
=C2=A0 =C2=A0 =C2=A0 by ``make reinstall'' to upgrade it proper= ly.
=C2=A0 =C2=A0 =C2=A0 If you really wish to overwrite the old po= rt of zstd
=C2=A0 =C2=A0 =C2=A0 without deleting it first, set the variabl= e "FORCE_PKG_REGISTER"
=C2=A0 =C2=A0 =C2=A0 in your environment or the "make install" = command line.
*** Error code 1

Stop.
make[1]: stopped making "/usr/ports/archivers/zstd/work/.install_done.zstd._usr_local" in /usr/ports/archivers/zstd
*** Error code 1

Stop.
make: stopped making "install" in /usr/ports/archivers/zstd


#pkg info |grep zstd
zstd-1.5.7_1=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0Fast real-time compression algorith


# make deinstall; make install clean
=3D=3D=3D>=C2=A0 Deinstalling for zstd
=3D=3D=3D>=C2=A0 =C2=A0Deinstalling zstd-1.5.7_1
No packages matched for pattern 'zstd'

Checking integrity... done (0 conflicting)
1 packages requested for removal: 0 locked, 1 missing
*** Error code 1

Stop.
make: stopped making "deinstall" in /usr/ports/archivers/zstd =3D=3D=3D>=C2=A0 Installing for zstd-1.5.7_2
=3D=3D=3D>=C2=A0 Checking if zstd is already installed
=3D=3D=3D>=C2=A0 =C2=A0An older version of zstd is already i= nstalled (zstd-1.5.7_1)
=C2=A0 =C2=A0 =C2=A0 You may wish to ``make deinstall'' and ins= tall this port again
=C2=A0 =C2=A0 =C2=A0 by ``make reinstall'' to upgrade it proper= ly.
=C2=A0 =C2=A0 =C2=A0 If you really wish to overwrite the old po= rt of zstd
=C2=A0 =C2=A0 =C2=A0 without deleting it first, set the variabl= e "FORCE_PKG_REGISTER"
=C2=A0 =C2=A0 =C2=A0 in your environment or the "make install" = command line.
*** Error code 1

Stop.
make[1]: stopped making "/usr/ports/archivers/zstd/work/.install_done.zstd._usr_local" in /usr/ports/archivers/zstd
*** Error code 1

Stop.
make: stopped making "install clean" in /usr/ports/archivers/zstd


So make check-plist shows:


/usr/ports/archivers/zstd # make check-plist
=3D=3D=3D=3D> Checking for pkg-plist issues (check-plist) =3D=3D=3D> Parsing plist
=3D=3D=3D> Checking for items in STAGEDIR missing from pkg-p= list
=3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR
=3D=3D=3D> No pkg-plist issues found (check-plist)


/usr/ports/archivers/zstd # make stage-qa
=3D=3D=3D=3D> Running Q/A tests (stage-qa)
/!\ To run stage-qa automatically add DEVELOPER=3Dyes to your environment /!\


So added to /etc/make.conf and now:


/usr/ports/archivers/zstd # make stage-qa
=3D=3D=3D=3D> Running Q/A tests (stage-qa


That's all I get??


Regards,


Kaya



On 5/27/26 2:22 AM, Kaya Saman wrote:

Hi,


On 5/26/26 9:23 PM, Maku Bex wrote:
You ran the commands under '/usr/ports' instead of '/usr/ports/ports-mgmt/portmaster'. You need to `cd` to the port name's folder then run the commands. In your case:

# cd /usr/ports/ports-mgmt/portmaster
# make check-plist && make stage-qa


Sorry I think I just blindly followed instructions or misunderstood as I had been awake for a little too long.


Some good news, after removing and re-fetching the ports tree, I was able to rebuild Portmaster through using the standard "make" command and portmaster itself.


At the moment, I've just done a: portmaster -adyf --no-confirm


hopefully if the @ports system has stabilized now it should be able to complete the build of Perl which it got stuck on. Currently it's on 9 out of 828 ports, so maybe in a few hours once it gets to say port 11 or something where Perl gets rebuilt I should know.


The machine is only a quad core Xeon so this will take some time but hopefully now it will build?


I'll keep everyone posted :-)


Regards,


Kaya


On Tue, May 26, 2026, 14:31 Edward Sanford Sutton, III <mirror176@hotmail.com> wrote:
O= n 5/25/26 22:43, Kaya Saman wrote:
> Hi,
>
>
> I've just gone through the upgrade procedure described here:
>
>
> https://docs.freebsd.org/en/books/handbook/cutting-edge/
>
>
> and updated to 14.4 from 13.5 (I think was the latest release version?),
> uname output: 14.4-RELEASE-p3 FreeBSD 14.4-RELEASE-p3 GENERIC amd64
>
>
> When I try to build ports now, this is what I keep getting:
>
>
> =3D=3D=3D>>> Creating a backup package for = old version portmaster-3.35
> Creating package for portmaster-3.35
> pkg-static: file '/usr/local/share/licenses/portmaster-3.35/BSD2CLAUSE' > is missing
> pkg-static: package creation failed
>
> =3D=3D=3D>>> Package creation failed for portmaster-3.35!
>
> =3D=3D=3D>>> Ignore this error=C2=A0 [i] > =3D=3D=3D>>> Abort update=C2=A0 =C2=A0 =C2=A0= =C2=A0[a]
> =3D=3D=3D>>> Retry=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 [r]
>
> =3D=3D=3D>>> How would you like to proceed?= [i]
>
> No packages matched for pattern 'portmaster-3.35' >
> Checking integrity... done (0 conflicting)
> 1 packages requested for removal: 0 locked, 1 missing
>
> =3D=3D=3D>=C2=A0 Installing for portmaster-3.35 > =3D=3D=3D>=C2=A0 Checking if portmaster is alread= y installed
> =3D=3D=3D>=C2=A0 =C2=A0portmaster-3.35 is already= installed
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 You may wish to ``make de= install'' and install this port again
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 by ``make reinstall'' to = upgrade it properly.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 If you really wish to ove= rwrite the old port of portmaster
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 without deleting it first= , set the variable "FORCE_PKG_REGISTER"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 in your environment or th= e "make install" command line.
> *** Error code 1
>
> Stop.
> make[1]: stopped making "/usr/ports/ports-mgmt/portmaster/
> work/.install_done.portmaster._usr_local" in /usr/ports/ports-mgmt/
> portmaster
> *** Error code 1
>
> Stop.
> make: stopped making "install" in /usr/ports/ports-mgmt/portmaster
>
> =3D=3D=3D>>> A backup package for portmaster-3.35 should
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0be located in /usr/ports/packages/portmaster-backup
>
> =3D=3D=3D>>> Installation of portmaster-3.3= 5 (ports-mgmt/portmaster) failed
> =3D=3D=3D>>> Aborting update
>
>
> =3D=3D=3D>>> You can restart from the point= of failure with this command line:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0portmaster <flag= s> ports-mgmt/portmaster
>
> This command has been saved to ~/portmasterfail.txt<= br> >
>
>
> For some reason I'm unable to use either portmaster or even the standard
> 'make' command under any of the ports eg:
>
>
> :/usr/ports/ports-mgmt/portmaster # make deinstall; make install clean
> =3D=3D=3D>=C2=A0 Deinstalling for portmaster
> =3D=3D=3D>=C2=A0 =C2=A0Deinstalling portmaster-3.= 35
> Checking integrity... done (0 conflicting)
> Deinstallation has been requested for the following 1 packages (of 0
> packages in the universe):
>
> Installed packages to be REMOVED:
>=C2=A0 =C2=A0 =C2=A0 portmaster: 3.33
>
> Number of packages to be removed: 1
> [1/1] Deinstalling portmaster-3.33...
> [1/1] Deleting files for portmaster-3.33: 100%
> =3D=3D=3D>=C2=A0 Installing for portmaster-3.35 > =3D=3D=3D>=C2=A0 Checking if portmaster is alread= y installed
> =3D=3D=3D>=C2=A0 =C2=A0portmaster-3.35 is already= installed
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 You may wish to ``make de= install'' and install this port again
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 by ``make reinstall'' to = upgrade it properly.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 If you really wish to ove= rwrite the old port of portmaster
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 without deleting it first= , set the variable "FORCE_PKG_REGISTER"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 in your environment or th= e "make install" command line.
> *** Error code 1
>
> Stop.
> make[1]: stopped making "/usr/ports/ports-mgmt/portmaster/
> work/.install_done.portmaster._usr_local" in /usr/ports/ports-mgmt/
> portmaster
> *** Error code 1
>
> Stop.
> make: stopped making "install clean" in /usr/ports/ports-mgmt/portmaster
>
>
> There's a mismatch somewhere but what's going on?
=C2=A0 =C2=A0The ports tree, and therefore portmaster, pe= rform installs and
uninstalls by running pkg. Running `pkg query %v portmaster` should
display what is says is currently the installed version number. If it is
installed according to pkg, then `pkg delete portmaster` should be the
correct action to remove it. `pkg info` outputs all installed packages
with version on the package name and comment beside it if you want to
manually review your full list.
=C2=A0 =C2=A0I'm not sure what would have brought it to a= state of always removing
pkg 3.33 when the ports tree and/or portmaster says it is uninstalling
3.35 before that. I'd guess just an output bug where they assume its the
same version but that is misleading if that is happening and deserves a
bug report; better to display no version number on a stage's output if
the output is going to not match the command.

> Do I need to update the ports tree? It seems there is no more "portsnap"
> command so should I clean out /usr/ports completely then use the git
> version described here:

=C2=A0 =C2=A0You should decide if there is anything in th= ere that you want backed
up first: distfiles will only be used by a port calling for them and
generally require size and checksum match to be used so should be safe
to keep and will save download time/bandwidth. Work directories of many
ports get a versioned folder inside of it but the ports tree
instructions don't check that what already exists is correct; in any
case I'd let them all go if builds are giving you trouble (just as 'make
clean' would have done in a port's folder).

> https://docs.freebsd.org/en/books/handbook/ports/
>
>
> I guess this would be needed: # git clone --depth 1 https://
> git.FreeBSD.org/ports.git /usr/ports ?

=C2=A0 =C2=A0I don't use '--depth 1' when I use git but s= eeing that discussed
seems vaguely familiar. As I do want git history to be accurate and
complete and I do make changes to the ports tree and with the intention
of submitting patches I create it without that part. I migrated when use
of git was still fairly new and I didn't reread that whole document but
I recall I had /usr/ports as its own ZFS dataset and git gave me grief
in trying to clone to that location, probably caused by the existence of
/usr/ports/.zfs but I forget). I think there is another flag that
suppresses such complaint but I think I cloned it to another location
that was a normal directory and moved its contents including hidden
content to /usr/ports. Git maintains its own data (only?) in
/usr/ports/.git so that must be transferred too if moving the clone.

> Regards,
>
>
> Kaya

--------------WIWxl8fTzzagiXnhNQkkFd3j--