Hi,
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
Ok so unfortunately this thing bummed out on zstd now:
===> Installing for zstd-1.5.7_2
===> Checking if zstd is already installed
===> An older version of zstd is already installed
(zstd-1.5.7_1)
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 zstd
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/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 Fast real-time compression algorith
# make deinstall; make install clean
===> Deinstalling for zstd
===> Deinstalling 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
===> Installing for zstd-1.5.7_2
===> Checking if zstd is already installed
===> An older version of zstd is already installed
(zstd-1.5.7_1)
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 zstd
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/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
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)
/usr/ports/archivers/zstd # make stage-qa
====> Running Q/A tests (stage-qa)
/!\ To run stage-qa automatically add DEVELOPER=yes to your
environment /!\
So added to /etc/make.conf and now:
/usr/ports/archivers/zstd # make stage-qa
====> Running Q/A tests (stage-qa
That's all I get??
Regards,
Kaya
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
====> Compressing man pages (compress-man)
====> Running Q/A tests (stage-qa)
===> Installing for zstd-1.5.7_2
===> Checking if zstd is already installed
===> Registering 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
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: https://forums.freebsd.org/threads/solved-all-ports-seem-to-fail-at-registering-installation.47434/
/usr/ports/archivers/zstd # make reinstall
===> 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
===> Deinstalling 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:
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%
===> Installing for zstd-1.5.7_2
===> 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
===> Registering 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?