Hi,
I’m running an ancient and unsupported FreeBSD 11.3 and realize this may just be the end of the line and until I can actually get hands on sometime in the next year or two am locked out of updates, but perhaps there’s an easy solution to this, but ports-mgmt/pkg 1.19.2 is refusing to build.
Line 16 has this workaround (commented in the file)
The following is not cheering my heart for keeping this system alive:
But perhaps there's some more cheerful advice than the obvious "managing a system remotely is certainly challenging, no?"
I’m running an ancient and unsupported FreeBSD 11.3 and realize this may just be the end of the line and until I can actually get hands on sometime in the next year or two am locked out of updates, but perhaps there’s an easy solution to this, but ports-mgmt/pkg 1.19.2 is refusing to build.
Code:
/usr/ports/ports-mgmt/pkg # make install clean
===> Building for pkg-1.19.2
make[2]: "/var/ports/usr/ports/ports-mgmt/pkg/work/pkg-1.19.2/mk/common.mk" line 16: Need an operator
make[2]: Fatal errors encountered -- cannot continue
Line 16 has this workaround (commented in the file)
Code:
# bmake's traditional include support treats empty strings in the expanded
# result (whether because the variable is empty or there are consecutive
# whitespace characters) as file names, and thus tries to read the containing
# directory as a Makefile, which fails, and isn't ignored since it exists.
# Work around this quirky behaviour by adding an extra entry that should never
# exist and then normalize its whitespace during substitution with :=.
DEPFILES_NONEMPTY= $(DEPFILES) /nonexistent
-include $(DEPFILES_NONEMPTY:=)
Code:
# pkg upgrade
Updating FreeBSD repository catalogue...
pkg: http://pkgmir.geo.freebsd.org/FreeBSD:11:amd64/quarterly/meta.txz: Not Found
repository FreeBSD has no meta file, using default settings
pkg: http://pkgmir.geo.freebsd.org/FreeBSD:11:amd64/quarterly/packagesite.pkg: Not Found
pkg: http://pkgmir.geo.freebsd.org/FreeBSD:11:amd64/quarterly/packagesite.txz: Not Found
Unable to update repository FreeBSD
Error updating repositories!
But perhaps there's some more cheerful advice than the obvious "managing a system remotely is certainly challenging, no?"