From nobody Tue May 26 20:23:09 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 4gQ42R6Fhqz6gPSH for ; Tue, 26 May 2026 20:23:27 +0000 (UTC) (envelope-from zagazaw2004@gmail.com) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gQ42R4Lh0z3nfv for ; Tue, 26 May 2026 20:23:27 +0000 (UTC) (envelope-from zagazaw2004@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x82f.google.com with SMTP id d75a77b69052e-516de78c4dcso38007901cf.2 for ; Tue, 26 May 2026 13:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1779827001; cv=none; d=google.com; s=arc-20240605; b=atLMoP7ySQuSXZCj/tDbVUne6ApYlpJKlvQ1mcJOm5B5JDJsk26ts2T1ZDLRBezRdg 7WBpl937NI5B5PZLGZn5dCimQOCHsFBH7qbuUuvDVjQohsc20k0jgyLGqRRYNM0wgIj6 CNdtAB8RpWsmbe0s58LfxSedyNje4HzP6+ZMvPXkwlhNzMjOSwy3UbYKVx0Nhcfa2NV+ ZPcw0Azg70MtJY6r60Ak5P2bKIZbQP5nMvIWDnEpVdC9sXiqiQzABZkXADouKQuR6Kgm Zr7/MCa2/GfH76kgTZX7wRWC5xuTo8yskjdXaoncMIFEVsu+sZJ0zxqs9fX8sBvrwOMY SBCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=f3gGJMNsKQyJDlRkgKQ4lvkY8QAub73SLPRAJ1SFyvQ=; fh=lhtT23bp35+3kM/H9CC/y+5G/xhpvUszii0tl7iPdMk=; b=dcOhUB+D69qNNRWVxhCff9kloGgDJDGZSqpwjbRJcvhIBs8ziFFcyR6xEJ+Bp46Col NsTmiiIy7wQbDDMsxa6hq6wg74pJi5fnaMKpyzRKOJU86vX9b0IMlCHsjUCisoEoWccQ JA0RXbHIl9dxvuGeaQsUZ4znGnuQcLErjMymwgr126+NzZYQkxaVrzrMslpwKbGBOZvF n0cO3CS1laqPLCZxMSrM0OmuK3Z2T2St/lCJ3/quH7Ag1oBBS5O0cXq2/hisgup2yxOI wtHxeGT/BlNvaNYZmzRR8+5Z8V6613ki27Ol2iUgAYI8jdL6dFyOD2Nv/Yw8YuhZcIHS bIaQ==; darn=freebsd.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779827001; x=1780431801; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=f3gGJMNsKQyJDlRkgKQ4lvkY8QAub73SLPRAJ1SFyvQ=; b=FZOSv0ey8FhzPkHCrSRBYkgKdN9evMNv5yztHETV0tyQ123h6XQ/sgaiohfeguCUTB WJuTYsDScrtKz/Ty090ablbeThu34BFwW38J8SQWN3qp9fekTpgJNCXkBjD+qawEHrVV XkpNxMylDhc+jxkhR5PZt089NCtKCjZCof3WJYtpba9lK07E5QmpgEX8u0gBZz38Tgmq 25S7GHpv3KdlgIhMQxUCATw7iyZ5ALT3VnVpVBa6sykh5G0rqEuAPKlS77vOEt2dvwUw ZV6LeReYkwHnBrQrWlsLLhsGdYLlviMOYSdl+31PnPcUvm16lD3LtCp4iqxmwxEnZ+Lr KNrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779827001; x=1780431801; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=f3gGJMNsKQyJDlRkgKQ4lvkY8QAub73SLPRAJ1SFyvQ=; b=A2K/wWHqTcHcrTtTHmPu3HTEg3wnu8eiWNvDz4GC6ueRL11g5owIpU1RPzPQRksZeK i4Hlmg76aSBS69HW8Oz4uNBYaRvIfE/p0/99eeerGUA8TdlTsSp7Itsw9VfYn6oBNN9x pCvmxLQFAuhuzPsu8KBfQkpFFlcuYOyqF7e9gGaJl2IPvycRpOy/yppDIYihfgoajrrl ejjETjQ4fMyqlZATvTPx0sUc1IZjDcuN4woBz+1jPG3l01c2z5RxPH/i4BEyRAOpP7YL ukevAdvuHTjdStABsAnvB8zWiUooI4Sj6Co6njRaZJnPjIIPDFVdNnRNgnM08/nV1gdg 1ybw== X-Gm-Message-State: AOJu0YyXd3VXqGk6RyegMInymJwTkv5VUtbMPI/BSwIDSPM39FFFokei Zwymcx3QvySGSrHyzDSGXFleEylH3XRw/n0eW/SRFnmqYBHkdIfmTzxMTEXqwuE5ZJCIHmDhEpO L2BFAW6lG0lYVbYq0M4KjfqI91fGW/Uybpg== X-Gm-Gg: Acq92OFOugg6VCDDyDHcQBEaQ8FDGBZa/Hd/K/CNk0FqWjKRFtU/pAFzU8p8I7h3qNN cbeMpajTdy93S130HXD2P6Z1MwV0koBnT2YA3Z6DUXa8kZNXPbDtiovh4n+nicBcWEAQPxBwPem P/GktHt2Lv8kaFD4S7Wzg2+TFOB1X6q3x/YeHVih3+5MFsxcod8QhEqhGoBoDu1VZDTrnpe8/Z3 I6oPKn2RefBKsGhdU8hWSTVvb+TVA8ASBsOCZX+yCh0bxjlg+alaj3EYI2ANyPR+pNRgtI2Qyda LB88YTE= X-Received: by 2002:a05:622a:90:b0:516:e0cb:5155 with SMTP id d75a77b69052e-516e0cb6a02mr215618551cf.55.1779827001220; Tue, 26 May 2026 13:23:21 -0700 (PDT) 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 References: <27136c7e-8026-4e1e-9714-497a75c74ede@optiplex-networks.com> In-Reply-To: From: Maku Bex Date: Tue, 26 May 2026 15:23:09 -0500 X-Gm-Features: AVHnY4JblhrL7RhtpCjbsUFV0qgm8KEtuW7nTro0XSqO4ACnKbxz8QrAMAxYVGs Message-ID: Subject: Re: Upgraded from 13.x release to 14.4 and now I can't use the ports tree? To: "Edward Sanford Sutton, III" Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000002b62b70652be441c" X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4gQ42R4Lh0z3nfv X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --0000000000002b62b70652be441c Content-Type: text/plain; charset="UTF-8" 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 On Tue, May 26, 2026, 14:31 Edward Sanford Sutton, III < mirror176@hotmail.com> 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: > > > > > > ===>>> 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 > > > > ===>>> Package creation failed for portmaster-3.35! > > > > ===>>> Ignore this error [i] > > ===>>> Abort update [a] > > ===>>> Retry [r] > > > > ===>>> 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 > > > > ===> Installing for portmaster-3.35 > > ===> Checking if portmaster is already installed > > ===> portmaster-3.35 is already installed > > You may wish to ``make deinstall'' and install this port again > > by ``make reinstall'' to upgrade it properly. > > If you really wish to overwrite the old port of portmaster > > without deleting it first, set the variable "FORCE_PKG_REGISTER" > > in your environment or the "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 > > > > ===>>> A backup package for portmaster-3.35 should > > be located in /usr/ports/packages/portmaster-backup > > > > ===>>> Installation of portmaster-3.35 (ports-mgmt/portmaster) failed > > ===>>> Aborting update > > > > > > ===>>> You can restart from the point of failure with this command line: > > portmaster 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 > > ===> Deinstalling for portmaster > > ===> Deinstalling 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: > > 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% > > ===> Installing for portmaster-3.35 > > ===> Checking if portmaster is already installed > > ===> portmaster-3.35 is already installed > > You may wish to ``make deinstall'' and install this port again > > by ``make reinstall'' to upgrade it properly. > > If you really wish to overwrite the old port of portmaster > > without deleting it first, set the variable "FORCE_PKG_REGISTER" > > in your environment or the "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? > > The ports tree, and therefore portmaster, perform 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. > I'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: > > You should decide if there is anything in there 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 ? > > I don't use '--depth 1' when I use git but seeing 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 > > --0000000000002b62b70652be441c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You ran the commands under '/usr/ports' instead o= f '/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

On Tue, May 26, 2026, 14:31 Edward Sanford Sutton, III <mirror176@hotmail.com> wrote:
<= /div>
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 portma= ster-3.35
> Creating package for portmaster-3.35
> pkg-static: file '/usr/local/share/licenses/portmaster-3.35/BSD2CL= AUSE'
> 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 por= t 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 insta= ll" 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-mgm= t/
> portmaster
> *** Error code 1
>
> Stop.
> make: stopped making "install" in /usr/ports/ports-mgmt/port= master
>
> =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/por= tmaster-backup
>
> =3D=3D=3D>>> Installation of portmaster-3.35 (ports-mgmt/port= master) failed
> =3D=3D=3D>>> Aborting update
>
>
> =3D=3D=3D>>> You can restart from the point of failure with t= his command line:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0portmaster <flags> ports-mgmt/p= ortmaster
>
> This command has been saved to ~/portmasterfail.txt
>
>
>
> For some reason I'm unable to use either portmaster or even the st= andard
> '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 <= br> > 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 por= t 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 insta= ll" 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-mgm= t/
> portmaster
> *** Error code 1
>
> Stop.
> make: stopped making "install clean" in /usr/ports/ports-mgm= t/portmaster
>
>
> There's a mismatch somewhere but what's going on?

=C2=A0 =C2=A0The ports tree, and therefore portmaster, perform 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 alwa= ys 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 th= e
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 "po= rtsnap"
> command so should I clean out /usr/ports completely then use the git <= br> > version described here:

=C2=A0 =C2=A0You should decide if there is anything in there 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/h= andbook/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 = 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

--0000000000002b62b70652be441c--