Anybody else having issues with Ports

Installing and maintaining software with the FreeBSD Ports Collection.

Anybody else having issues with Ports

Postby fmh » Sat Dec 27, 2014 2:03 pm

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.
fmh
 
Posts: 55
Joined: Wed Jul 23, 2014 5:07 pm

Anybody else having issues with Ports

 

Re: Anybody else having issues with Ports

Postby ericbsd » Mon Dec 29, 2014 2:29 am

Use pkg to update pkg.

Code: Select all
sudo pkg install -f pkg
ericbsd
Site Admin
 
Posts: 430
Joined: Mon Nov 19, 2012 11:54 pm

Re: Anybody else having issues with Ports

Postby fmh » Mon Dec 29, 2014 2:55 am

OK, I did
sudo pkg install -f pkg
it suggested to do
sudo pkg2ng
which I did and it generated a ton of errors.

I tried to instal Oper and get the following :

fmh@ghostbsd /u/p/p/pkg> sudo pkg install Opera
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity...Assertion failed: (pkgdb_ensure_loaded(j->db, p2, PKG_LOAD_FILES|PKG_LOAD_DIRS) == EPKG_OK), function pkg_conflicts_need_conflict, file pkg_jobs_conflicts.c, line 211.
Child process pid=3343 terminated abnormally: Abort trap
fmh
 
Posts: 55
Joined: Wed Jul 23, 2014 5:07 pm


Return to Installation and Maintenance of software with Ports

Who is online

Users browsing this forum: No registered users and 0 guests