Anybody else having issues with Ports
Posted: Sat Dec 27, 2014 10:03 am
Hopefully the title is correct. I think that's what it's called under BSD.
Anyways I did a fresh install of GhostBSD under VMWare with the goal of getting some software ported to FreeBSD. I did a fresh install of GhostBSD 4.0 32-bit and then run the following commands to get everything in order to install software. This has normally worked for me with all the flavors of GhostBSD 4.0 and RCs.
# sudo portsnap fetch extract
# cd /usr/ports/ports-mgmt/pkg
# sudo make install clean
# sudo pkg2ng
# sudo pkg install SoftwareNameHere
If needed
sudo pkg update -f
But today I do this and unless the Ports Repository is boogered up (which has happened a couple of months ago) I get all kinds of errors attempting to install software that I have always installed fine under all my GhostBSD 4.0 installations. So I figured I'd start from scratch and do a
# sudo make install uninstall
but that fails too.
fmh@ghostbsd /u/p/p/pkg> sudo make install uninstall
Password:
/!\ WARNING /!\
WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect
WITH_KMS was removed and has no effect
===> License BSD2CLAUSE accepted by the user
=> pkg-1.4.2.tar.xz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://files.etoilebsd.net/pkg/pkg-1.4.2.tar.xz
pkg-1.4.2.tar.xz 100% of 1757 kB 130 kBps 00m14s
===> Fetching all distfiles required by pkg-1.4.2 for building
===> Extracting for pkg-1.4.2
/!\ WARNING /!\
WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect
WITH_KMS was removed and has no effect
===> License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.4.2 for building
=> SHA256 Checksum OK for pkg-1.4.2.tar.xz.
===> Patching for pkg-1.4.2
===> Configuring for pkg-1.4.2
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... configure: error: newly created file is older than distributed files!
Check your system clock
===> Script "configure" failed unexpectedly.
Please report the problem to portmgr@FreeBSD.org [maintainer] and attach the
"/usr/ports/ports-mgmt/pkg/work/pkg-1.4.2/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/ports/ports-mgmt/pkg/work/pkg-1.4.2/src/pkg-static info -g -Ea).
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1
Stop.
Anyways I did a fresh install of GhostBSD under VMWare with the goal of getting some software ported to FreeBSD. I did a fresh install of GhostBSD 4.0 32-bit and then run the following commands to get everything in order to install software. This has normally worked for me with all the flavors of GhostBSD 4.0 and RCs.
# sudo portsnap fetch extract
# cd /usr/ports/ports-mgmt/pkg
# sudo make install clean
# sudo pkg2ng
# sudo pkg install SoftwareNameHere
If needed
sudo pkg update -f
But today I do this and unless the Ports Repository is boogered up (which has happened a couple of months ago) I get all kinds of errors attempting to install software that I have always installed fine under all my GhostBSD 4.0 installations. So I figured I'd start from scratch and do a
# sudo make install uninstall
but that fails too.
fmh@ghostbsd /u/p/p/pkg> sudo make install uninstall
Password:
/!\ WARNING /!\
WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect
WITH_KMS was removed and has no effect
===> License BSD2CLAUSE accepted by the user
=> pkg-1.4.2.tar.xz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://files.etoilebsd.net/pkg/pkg-1.4.2.tar.xz
pkg-1.4.2.tar.xz 100% of 1757 kB 130 kBps 00m14s
===> Fetching all distfiles required by pkg-1.4.2 for building
===> Extracting for pkg-1.4.2
/!\ WARNING /!\
WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect
WITH_KMS was removed and has no effect
===> License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.4.2 for building
=> SHA256 Checksum OK for pkg-1.4.2.tar.xz.
===> Patching for pkg-1.4.2
===> Configuring for pkg-1.4.2
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... configure: error: newly created file is older than distributed files!
Check your system clock
===> Script "configure" failed unexpectedly.
Please report the problem to portmgr@FreeBSD.org [maintainer] and attach the
"/usr/ports/ports-mgmt/pkg/work/pkg-1.4.2/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/ports/ports-mgmt/pkg/work/pkg-1.4.2/src/pkg-static info -g -Ea).
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1
Stop.