I have been running FreeBSD 8.3 with a minimal amount of ports as a file-server for about a year, and today I wanted to upgrade Perl 5.14 to 5.16 using my usual procedure:
[cmd=]portsnap fetch update[/cmd]
[cmd=]portmanager lang/perl5.16[/cmd]
... and hell broke loose. portmanager failed with errors, any [cmd=]make install clean[/cmd] attempt failed with errors, even
It's really puzzling me, I searched all over the place and only people with really old versions of FreeBSD appear to have this problem, but my version (8.3) isn't even that old?
I understand that there is a new PKGNG tool, and portmanager is depreciated, but I could not install PKGNG either. I tried to follow the update approach for PKGNG, putting
into make.conf, updating outdated ports--but I cannot update anything, I get lots of errors, which appear to be related to bsd.port.mk, for every port. I read through the UPDATING info but could not find a solution there either.
This never happened to me. FreeBSD has always been extremely stable and without issues. I am now afraid to even think about updating my FreeBSD web server!
[cmd=]portsnap fetch update[/cmd]
[cmd=]portmanager lang/perl5.16[/cmd]
... and hell broke loose. portmanager failed with errors, any [cmd=]make install clean[/cmd] attempt failed with errors, even
pkg_version
showed errors like this:
Code:
sedna@drtebi # pkg_version
autoconf =
autoconf-wrapper =
bsdftpd-ssl-client =
cmake <
cmake-modules <
gettext <
gmake <
"Makefile", line 27: Malformed conditional (${PORT_OPTIONS:MNLS})
"Makefile", line 45: if-less else
"Makefile", line 47: if-less endif
"Makefile", line 50: warning: duplicate script for target "post-patch" ignored
"/usr/ports/Mk/bsd.port.mk", line 950: Inconsistent operator for check-makefile
"/usr/ports/Mk/bsd.port.mk", line 951: warning: duplicate script for target "check-makefile" ignored
"/usr/ports/Mk/bsd.port.mk", line 952: warning: duplicate script for target "check-makefile" ignored
"/usr/ports/Mk/bsd.port.mk", line 1165: Inconsistent operator for check-makefile
"/usr/ports/Mk/bsd.port.mk", line 1166: warning: duplicate script for target "check-makefile" ignored
"/usr/ports/Mk/bsd.port.mk", line 1167: warning: duplicate script for target "check-makefile" ignored
[... and so on ...]
It's really puzzling me, I searched all over the place and only people with really old versions of FreeBSD appear to have this problem, but my version (8.3) isn't even that old?
I understand that there is a new PKGNG tool, and portmanager is depreciated, but I could not install PKGNG either. I tried to follow the update approach for PKGNG, putting
Code:
WITHOUT_PKGNG=yes
This never happened to me. FreeBSD has always been extremely stable and without issues. I am now afraid to even think about updating my FreeBSD web server!
Code:
uname -a
FreeBSD sedna 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:23:18 UTC 2012 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64