Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th June 2010
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
Join Date: May 2008
Location: USofA
Posts: 1,546
Default Is my ports tree corrupt or sth?

Here is a perfect example of the delema: this afternoon I did the following:

# cd /var/db/pkg
# pkg_delete -f *
  ... numerous messages about corrupt lines (@pkgdep etc)
  ... until fairly recently those caused a segfault.
# rm portsdb.db   (or whatever the portupgrade db was; haven't used it in ages anyway)
# portsnap fetch update
# cd /usr/ports
# pushd x11/gnome2
# make install clean
Gnome = easiest way to grab up various ports, if a bit bloated.

So far I have had five build failures: p5-XML-SAX, gucharmap, xmlcatmgr, xmkmf (from imake), zenity, and guile. Each time the port was installed in the course of installing gnome2 but failed because part of the package was NOT installed with the make install target.

For example

# pushd /usr/ports/desktuils/gucharmap
# make install clean
  ... usual cleaning for category/port messages
# make reinstall clean
  ... actually install the damn thing
# popd && make install clean
  ... return to gnome2 build

During the last round of updates (gettext), I had similar issues when using portmaster to manage it.

What the flub is going on here?
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #2   (View Single Post)  
Old 29th June 2010
Android1's Avatar
Android1 Android1 is offline
Fdisk Soldier
Join Date: Mar 2009
Posts: 60

You could rule out corruption by deleting your ports tree and and redownloading it using portsnap(8). If you still have the issue, corruption is out of the question. If you do not, you still would not know, but you could go about your business while retracing your steps to find administrative mistakes and waiting for further corruption.

EDIT: After reading your post again, it appears that you have already tried fetching a fresh tree. A full deletion and redownload could not hurt, though.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD OpenBSD ports tree soft lock J65nko News 0 14th January 2010 01:06 AM
GCC in src tree or in ports tree vigol FreeBSD Ports and Packages 2 6th December 2009 04:34 PM
return of the -stable ports tree ocicat OpenBSD Packages and Ports 3 24th October 2009 04:11 AM
STABLE ports tree has returned.. BSDfan666 OpenBSD Packages and Ports 2 26th July 2009 07:36 PM
cvsup upgrading/updating ports tree Ofloo FreeBSD Ports and Packages 6 25th May 2008 01:32 AM

All times are GMT. The time now is 02:12 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick