Solved Some "minor" errors that I would like to fix after having recovered my 13.2-RELEASE and before to upgrade it to 14.0-RELEASE

Code:
# portupgrade -a

[Reading data from pkg(8) ... - 1352 packages found - done]
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 34881 port entries found .........1000.
........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9
000.........10000.........11000.........12000.........13000.........14000.........15000.........1600
0.........17000.........18000.........19000.........20000.........21000.........22000.........23000.
........24000.........25000.........26000.........27000.........28000.........29000.........30000...
......31000.........32000.........33000.........34000........ ..... done]
make: "/usr/ports/Mk/bsd.port.mk" line 1194: warning: duplicate script for target "show-unsupported-system-error" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 1200: warning: using previous script for "show-unsupported-system-error" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 1195: warning: duplicate script for target "show-unsupported-system-error" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 1200: warning: using previous script for "show-unsupported-system-error" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 1196: warning: duplicate script for target "show-unsupported-system-error" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 1200: warning: using previous script for "show-unsupported-system-error" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 1197: warning: duplicate script for target "show-unsupported-system-error" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 1200: warning: using previous script for "show-unsupported-system-error" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 1198: warning: duplicate script for target "show-unsupported-system-error" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 1200: warning: using previous script for "show-unsupported-system-error" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 1199: warning: duplicate script for target "show-unsupported-system-error" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 1200: warning: using previous script for "show-unsupported-system-error" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 1200: warning: duplicate script for target "show-unsupported-system-error" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 1200: warning: using previous script for "show-unsupported-system-error" defined here
** Port marked as IGNORE: ftp/curl:
        You are using OpenSSL from ports and have selected GSSAPI from base, please select another GSSAPI value
** Port marked as IGNORE: mail/fetchmail:
        You are using OpenSSL from ports and have selected GSSAPI from base, please select another GSSAPI value
** Port deleted on 2023-04-25: x11/libdmx
        Upstream removed support for Xdmx server
** Port deleted on 2023-03-12: devel/libpthread-stubs
        No consumers left and never supported pthread stubs in libc on FreeBSD
** Port marked as IGNORE: security/p5-GSSAPI:
        You are using OpenSSL from ports and have selected GSSAPI from base, please select another GSSAPI value
** Port marked as IGNORE: net-im/telegram-desktop:
        is marked as broken: does not build with DEFAULT_VERSIONS+=ssl=openssl: undefined symbol: ERR_load_BIO_strings
** Port marked as IGNORE: devel/wasi-libcxx:
        is a meta port; there is nothing to build
--->  Upgrading 'bastille-0.10.20231013' to 'bastille-0.10.20231125' (sysutils/bastille)
--->  Building '/usr/ports/sysutils/bastille'
===>  Cleaning for bastille-0.10.20231125
/!\ ERROR: /!\

Ports Collection support for your FreeBSD version has ended, and no ports are guaranteed to build on this system. Please upgrade to a supported release.

No support will be provided if you silence this message by defining ALLOW_UNSUPPORTED_SYSTEM.

*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/bastille
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20231211-7863-qu8701 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=bastille-0.10.20231013 UPGRADE_PORT_VER=0.10.20231013 make

** Fix the problem and try again.

--->  Upgrading 'go120-1.20.8' to 'go120-1.20.12' (lang/go120)
--->  Building '/usr/ports/lang/go120'
===>  Cleaning for go120-1.20.12
/!\ ERROR: /!\

Ports Collection support for your FreeBSD version has ended, and no ports are guaranteed to build on this system. Please upgrade to a supported release.

No support will be provided if you silence this message by defining ALLOW_UNSUPPORTED_SYSTEM.

*** Error code 1

Stop.

and so on.
 
# nano bsd.port.mk

. if ${OPSYS} == FreeBSD && (${OSVERSION} < 1204000 || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1302000))
_UNSUPPORTED_SYSTEM_MESSAGE= Ports Collection support for your ${OPSYS} version has ended, and no ports\
are guaranteed to build on this system. Please upgrade to a supported version.

OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${CROSS_SYSROOT}/usr/include/sys/param.h
 
MY OSVERSION = 1302001

{OSVERSION} < 1204000 : no
{OSVERSION} >= 1300000 : yes
{OSVERSION} < 1302000 : no
 
At the moment,after the upgrade from 13.2 to 14,the previous error is gone away,but the command "freebsd-update IDS", reports a lot of errors.

BTW I've reinstalled FreeBSD 14 from scratch on another disk and there I've also issued that command and I've realized that the two installations reports the same error messages. So I'm tempted to keep the system as is,since everything seems to work correctly.

But before to take the final decision,I would like that some experienced user gave a look at the error messages I see,because I want to understand if they are serious. They are something like this :

Code:
/etc/group has SHA256 hash a, but should have SHA256 hash b
/etc/master.passwd has SHA256 hash c, but should have SHA256 hash d
/etc/passwd has SHA256 hash e, but should have SHA256 hash f
/etc/pkg/FreeBSD.conf has SHA256 hash g, but should have SHA256 hash h
/etc/pwd.db has SHA256 hash i, but should have SHA256 hash l
/etc/spwd.db has SHA256 hash m, but should have SHA256 hash n
/etc/sysctl.conf has SHA256 hash o, but should have SHA256 hash p

and so on...

In your opinion,is all that normal ?
 
Last edited:
It's perfectly normal that files hash changes
It depends on the files though. For passwd and related files it is, as you probably set a password on the root account, added users, etc. So they're always going to be different from the original files that came with the distribution (which is what freebsd-update IDS is comparing with).

/etc/pkg/FreeBSD.conf shouldn't have changed though. It means you edited it. Don't do that. Create a /usr/local/etc/pkg/repos/FreeBSD.conf with the changes you want to make (switching from quarterly to latest for example). Don't edit /etc/pkg/FreeBSD.conf, upgrades might undo your changes and you may not notice. This is explained in the comments at the top of that file.
 
Back
Top