DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th July 2009
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Thanked 0 Times in 0 Posts
Default Segmentation fault error139

FreeBSD 7.1-RC1amd64

After doing,portmaster -a I was left with six packages that failed to update.
Portmaster suggested make deinstall then make reinstall,but every package failed the make deinstall with segmentation fault (core dumped).
The same thing happens with pkg_delete.my ports tree is up to date and Portaudit finds no problems.I have never seen this error before, it only occurs when trying to delete.
Reply With Quote
  #2   (View Single Post)  
Old 8th July 2009
jb_daefo jb_daefo is offline
Package Pilot
 
Join Date: May 2008
Posts: 196
Thanked 5 Times in 5 Posts
Default

Code:
 pkg_delete -f /var/db/pkg/portname-0.1  
cd /port
/bin/rm -rf work
make install
That is a problem? Can you run pkgdb -F ?
__________________
using /LOOKAT/ with /var/db/pkg files and portmaster/aliases/pipes/find/grep to meteorically speedup port upgrades/installs...
Reply With Quote
  #3   (View Single Post)  
Old 8th July 2009
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Thanked 0 Times in 0 Posts
Default

Yes I can run pkgdb -F I did run it previously before posting,but I ran it again just now and it found quite a few stale dependences and all connected to my failed packages,but Im afraid I am still getting the segfault after make deinstall.
Reply With Quote
  #4   (View Single Post)  
Old 8th July 2009
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Thanked 36 Times in 34 Posts
Default

pkgdb(1) is for use with portupgrade(1). If you are using portmaster(8) there is no sense in running it. I suggest picking one or the other and sticking with it.

Something probably got corrupted in /var/db/pkg if it is only happening for certain ports. I have read that this crash could be caused by empty @pkgdep or @name lines. Post the output from the following command:
$ grep -E '^@(pkgdep|name)[[:space:]]*$' /var/db/pkg/*/+CONTENTS
Reply With Quote
  #5   (View Single Post)  
Old 8th July 2009
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Thanked 0 Times in 0 Posts
Default

I managed to update the six failed packages with FORCE_PKG_REGISTER=yes in /etc/make.conf,as I expect you know, it overwrites the existing one without deleting it.Would like your opinion on whether or not that is a good idea.
After updating the six packages I tried make deinstall again but no good I still have the segfault.
Reply With Quote
  #6   (View Single Post)  
Old 8th July 2009
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Thanked 0 Times in 0 Posts
Default

Code:
$  grep -E '^@(pkgdep|name)[[:space:]]*$' /var/db/pkg/*/+CONTENTS
/var/db/pkg/Terminal-0.2.12_1/+CONTENTS:@pkgdep 
/var/db/pkg/Thunar-1.0.1/+CONTENTS:@pkgdep 
/var/db/pkg/Thunar-1.0.1/+CONTENTS:@pkgdep 
/var/db/pkg/Thunar-1.0.1/+CONTENTS:@pkgdep 
/var/db/pkg/alacarte-0.12.1/+CONTENTS:@pkgdep 
/var/db/pkg/alacarte-0.12.1/+CONTENTS:@pkgdep 
/var/db/pkg/alacarte-0.12.1/+CONTENTS:@pkgdep 
/var/db/pkg/alacarte-0.12.1/+CONTENTS:@pkgdep 
/var/db/pkg/alacarte-0.12.1/+CONTENTS:@pkgdep 
/var/db/pkg/alacarte-0.12.1/+CONTENTS:@pkgdep 
/var/db/pkg/alacarte-0.12.1/+CONTENTS:@pkgdep 
/var/db/pkg/alacarte-0.12.1/+CONTENTS:@pkgdep 
/var/db/pkg/alacarte-0.12.1/+CONTENTS:@pkgdep 
/var/db/pkg/arts-1.5.10_2,1/+CONTENTS:@pkgdep 
/var/db/pkg/atomix-2.14.0_5/+CONTENTS:@pkgdep 
/var/db/pkg/atomix-2.14.0_5/+CONTENTS:@pkgdep 
/var/db/pkg/atomix-2.14.0_5/+CONTENTS:@pkgdep 
/var/db/pkg/atomix-2.14.0_5/+CONTENTS:@pkgdep 
/var/db/pkg/atomix-2.14.0_5/+CONTENTS:@pkgdep 
/var/db/pkg/atomix-2.14.0_5/+CONTENTS:@pkgdep 
/var/db/pkg/avahi-gtk-0.6.25/+CONTENTS:@pkgdep 
/var/db/pkg/bluefish-1.0.7_5/+CONTENTS:@pkgdep 
/var/db/pkg/bluefish-1.0.7_5/+CONTENTS:@pkgdep 
/var/db/pkg/bluefish-1.0.7_5/+CONTENTS:@pkgdep 
/var/db/pkg/bluefish-1.0.7_5/+CONTENTS:@pkgdep 
/var/db/pkg/bluefish-1.0.7_5/+CONTENTS:@pkgdep 
/var/db/pkg/bluefish-1.0.7_5/+CONTENTS:@pkgdep 
/var/db/pkg/brasero-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/brasero-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/brasero-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/brasero-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/brasero-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/brasero-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/brasero-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/brasero-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/bug-buddy-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/bug-buddy-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/bug-buddy-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/bug-buddy-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/bug-buddy-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/bug-buddy-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/bug-buddy-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/bug-buddy-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/cheese-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/cheese-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/cheese-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/cheese-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/cheese-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/cheese-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/cheese-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/cheese-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/cheese-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/dasher-4.10.1,2/+CONTENTS:@pkgdep 
/var/db/pkg/dasher-4.10.1,2/+CONTENTS:@pkgdep 
/var/db/pkg/dasher-4.10.1,2/+CONTENTS:@pkgdep 
/var/db/pkg/dasher-4.10.1,2/+CONTENTS:@pkgdep 
/var/db/pkg/dasher-4.10.1,2/+CONTENTS:@pkgdep 
/var/db/pkg/dasher-4.10.1,2/+CONTENTS:@pkgdep 
/var/db/pkg/dbus-qt3-0.70_2/+CONTENTS:@pkgdep 
/var/db/pkg/deskbar-applet-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/deskbar-applet-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/deskbar-applet-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/deskbar-applet-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/deskbar-applet-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/deskbar-applet-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/deskbar-applet-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/deskbar-applet-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/deskbar-applet-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/deskbar-applet-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/eel-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/eel-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/eel-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/eel-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/eel-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/eel-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/eel-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/ekiga-2.0.11_5/+CONTENTS:@pkgdep 
/var/db/pkg/ekiga-2.0.11_5/+CONTENTS:@pkgdep 
/var/db/pkg/ekiga-2.0.11_5/+CONTENTS:@pkgdep 
/var/db/pkg/ekiga-2.0.11_5/+CONTENTS:@pkgdep 
/var/db/pkg/ekiga-2.0.11_5/+CONTENTS:@pkgdep 
/var/db/pkg/ekiga-2.0.11_5/+CONTENTS:@pkgdep 
/var/db/pkg/ekiga-2.0.11_5/+CONTENTS:@pkgdep 
/var/db/pkg/empathy-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/empathy-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/eog-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/eog-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/eog-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/eog-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/eog-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/eog-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/eog-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/eog-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/epiphany-2.26.3_1/+CONTENTS:@pkgdep 
/var/db/pkg/epiphany-2.26.3_1/+CONTENTS:@pkgdep 
/var/db/pkg/epiphany-2.26.3_1/+CONTENTS:@pkgdep 
/var/db/pkg/epiphany-2.26.3_1/+CONTENTS:@pkgdep 
/var/db/pkg/epiphany-2.26.3_1/+CONTENTS:@pkgdep 
/var/db/pkg/epiphany-2.26.3_1/+CONTENTS:@pkgdep 
/var/db/pkg/epiphany-2.26.3_1/+CONTENTS:@pkgdep 
/var/db/pkg/epiphany-2.26.3_1/+CONTENTS:@pkgdep 
/var/db/pkg/evince-2.26.2_1/+CONTENTS:@pkgdep 
/var/db/pkg/evince-2.26.2_1/+CONTENTS:@pkgdep 
/var/db/pkg/evince-2.26.2_1/+CONTENTS:@pkgdep 
/var/db/pkg/evince-2.26.2_1/+CONTENTS:@pkgdep 
/var/db/pkg/evince-2.26.2_1/+CONTENTS:@pkgdep 
/var/db/pkg/evince-2.26.2_1/+CONTENTS:@pkgdep 
/var/db/pkg/evince-2.26.2_1/+CONTENTS:@pkgdep 
/var/db/pkg/evince-2.26.2_1/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-data-server-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-data-server-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-data-server-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-data-server-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-data-server-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-data-server-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-data-server-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-data-server-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-exchange-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-webcal-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-webcal-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-webcal-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-webcal-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-webcal-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-webcal-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-webcal-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/evolution-webcal-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/farsight2-0.0.12_1/+CONTENTS:@pkgdep 
/var/db/pkg/farsight2-0.0.12_1/+CONTENTS:@pkgdep 
/var/db/pkg/file-roller-2.26.3,1/+CONTENTS:@pkgdep 
/var/db/pkg/file-roller-2.26.3,1/+CONTENTS:@pkgdep 
/var/db/pkg/file-roller-2.26.3,1/+CONTENTS:@pkgdep 
/var/db/pkg/file-roller-2.26.3,1/+CONTENTS:@pkgdep 
/var/db/pkg/file-roller-2.26.3,1/+CONTENTS:@pkgdep 
/var/db/pkg/file-roller-2.26.3,1/+CONTENTS:@pkgdep 
/var/db/pkg/file-roller-2.26.3,1/+CONTENTS:@pkgdep 
/var/db/pkg/file-roller-2.26.3,1/+CONTENTS:@pkgdep 
/var/db/pkg/firefox-2.0.0.20_8,1/+CONTENTS:@pkgdep 
/var/db/pkg/firefox-2.0.0.20_8,1/+CONTENTS:@pkgdep 
/var/db/pkg/firefox-2.0.0.20_8,1/+CONTENTS:@pkgdep 
/var/db/pkg/firefox-2.0.0.20_8,1/+CONTENTS:@pkgdep 
/var/db/pkg/firefox-2.0.0.20_8,1/+CONTENTS:@pkgdep 
/var/db/pkg/firefox-2.0.0.20_8,1/+CONTENTS:@pkgdep 
/var/db/pkg/firefox-3.0.11,1/+CONTENTS:@pkgdep 
/var/db/pkg/firefox-3.0.11,1/+CONTENTS:@pkgdep 
/var/db/pkg/firefox-3.0.11,1/+CONTENTS:@pkgdep 
/var/db/pkg/firefox-3.0.11,1/+CONTENTS:@pkgdep 
/var/db/pkg/firefox-3.0.11,1/+CONTENTS:@pkgdep 
/var/db/pkg/firefox-3.0.11,1/+CONTENTS:@pkgdep 
/var/db/pkg/galeon-2.0.7/+CONTENTS:@pkgdep 
/var/db/pkg/galeon-2.0.7/+CONTENTS:@pkgdep 
/var/db/pkg/galeon-2.0.7/+CONTENTS:@pkgdep 
/var/db/pkg/galeon-2.0.7/+CONTENTS:@pkgdep 
/var/db/pkg/galeon-2.0.7/+CONTENTS:@pkgdep 
/var/db/pkg/galeon-2.0.7/+CONTENTS:@pkgdep 
/var/db/pkg/galeon-2.0.7/+CONTENTS:@pkgdep 
/var/db/pkg/gcalctool-5.26.3,2/+CONTENTS:@pkgdep 
/var/db/pkg/gcalctool-5.26.3,2/+CONTENTS:@pkgdep 
/var/db/pkg/gconf-editor-2.26.0,1/+CONTENTS:@pkgdep 
/var/db/pkg/gconf-editor-2.26.0,1/+CONTENTS:@pkgdep 
/var/db/pkg/gconf-editor-2.26.0,1/+CONTENTS:@pkgdep 
/var/db/pkg/gconf-editor-2.26.0,1/+CONTENTS:@pkgdep 
/var/db/pkg/gconf-editor-2.26.0,1/+CONTENTS:@pkgdep 
/var/db/pkg/gconf-editor-2.26.0,1/+CONTENTS:@pkgdep 
/var/db/pkg/gdl-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/gdl-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/gdl-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/gdl-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/gdm-2.26.1_5/+CONTENTS:@pkgdep 
/var/db/pkg/gdm-2.26.1_5/+CONTENTS:@pkgdep 
/var/db/pkg/gedit-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gedit-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gegl-0.0.22_4/+CONTENTS:@pkgdep 
/var/db/pkg/gimp-2.6.6,2/+CONTENTS:@pkgdep 
/var/db/pkg/gimp-2.6.6,2/+CONTENTS:@pkgdep 
/var/db/pkg/gimp-app-2.6.6_1,1/+CONTENTS:@pkgdep 
/var/db/pkg/gimp-app-2.6.6_1,1/+CONTENTS:@pkgdep 
/var/db/pkg/gimp-gutenprint-5.1.7_1/+CONTENTS:@pkgdep 
/var/db/pkg/gimp-gutenprint-5.1.7_1/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-applets-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-control-center-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-desktop-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-desktop-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-games-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-games-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-games-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-games-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-games-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-games-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-games-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-games-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-keyring-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-media-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-netstatus-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-nettool-2.26.2,1/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-panel-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-power-manager-2.24.4_4/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-session-2.26.1/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-settings-daemon-2.26.1_1/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-spell-1.0.8_2/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-spell-1.0.8_2/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-system-monitor-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-system-monitor-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-system-tools-2.22.2/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-terminal-2.26.3.1/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-terminal-2.26.3.1/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-themes-extras-2.22.0_3/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-user-share-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-utils-2.26.0_1,1/+CONTENTS:@pkgdep 
/var/db/pkg/gnome-vfs-2.24.1/+CONTENTS:@pkgdep 
/var/db/pkg/gnomeicu-0.99.14_2/+CONTENTS:@pkgdep 
/var/db/pkg/gok-2.26.0,1/+CONTENTS:@pkgdep 
/var/db/pkg/gok-2.26.0,1/+CONTENTS:@pkgdep 
/var/db/pkg/gossip-0.31/+CONTENTS:@pkgdep 
/var/db/pkg/gstreamer-plugins-gnomevfs-0.10.23,3/+CONTENTS:@pkgdep 
/var/db/pkg/gthumb-2.10.11/+CONTENTS:@pkgdep 
/var/db/pkg/gtk-xfce-engine-2.6.0/+CONTENTS:@pkgdep 
/var/db/pkg/gtkhtml3-3.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/gtkhtml3-3.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/gtksourceview-1.8.5_4/+CONTENTS:@pkgdep 
/var/db/pkg/gucharmap-2.26.3.1/+CONTENTS:@pkgdep 
/var/db/pkg/gvfs-1.2.3/+CONTENTS:@pkgdep 
/var/db/pkg/hamster-applet-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/inkscape-0.46_5/+CONTENTS:@pkgdep 
/var/db/pkg/libbonoboui-2.24.1/+CONTENTS:@pkgdep 
/var/db/pkg/libcanberra-0.10_3/+CONTENTS:@pkgdep 
/var/db/pkg/libexo-0.3.101/+CONTENTS:@pkgdep 
/var/db/pkg/libgail-gnome-1.20.1/+CONTENTS:@pkgdep 
/var/db/pkg/libgda4-4.0.2_1/+CONTENTS:@pkgdep 
/var/db/pkg/libglade2-2.6.4/+CONTENTS:@pkgdep 
/var/db/pkg/libgnome-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/libgnomecanvas-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/libgnomekbd-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/libgnomeui-2.24.1/+CONTENTS:@pkgdep 
/var/db/pkg/libgnomeui-2.24.1/+CONTENTS:@pkgdep 
/var/db/pkg/libgsf-1.14.15/+CONTENTS:@pkgdep 
/var/db/pkg/libgweather-2.26.2.1/+CONTENTS:@pkgdep 
/var/db/pkg/libpurple-2.5.8/+CONTENTS:@pkgdep 
/var/db/pkg/librsvg2-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/librsvg2-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/libsoup-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/libxfce4gui-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/libxfce4menu-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/liferea-1.4.28/+CONTENTS:@pkgdep 
/var/db/pkg/metacity-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/mousepad-0.2.16_1/+CONTENTS:@pkgdep 
/var/db/pkg/mousetweaks-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/nautilus-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/nautilus-sendto-1.1.5/+CONTENTS:@pkgdep 
/var/db/pkg/nspluginwrapper-1.2.2_2/+CONTENTS:@pkgdep 
/var/db/pkg/nspluginwrapper-1.2.2_2/+CONTENTS:@pkgdep 
/var/db/pkg/orage-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/orca-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/orca-2.26.3/+CONTENTS:@pkgdep 
/var/db/pkg/pidgin-2.5.8/+CONTENTS:@pkgdep 
/var/db/pkg/pidgin-2.5.8/+CONTENTS:@pkgdep 
/var/db/pkg/policykit-gnome-0.9.2_1/+CONTENTS:@pkgdep 
/var/db/pkg/pulseaudio-0.9.14_6/+CONTENTS:@pkgdep 
/var/db/pkg/py25-gnome-2.26.1/+CONTENTS:@pkgdep 
/var/db/pkg/py25-gnome-desktop-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/py25-gnome-extras-2.25.3_2/+CONTENTS:@pkgdep 
/var/db/pkg/py25-gnome-extras-2.25.3_2/+CONTENTS:@pkgdep 
/var/db/pkg/py25-gtk-2.14.1/+CONTENTS:@pkgdep 
/var/db/pkg/qt-3.3.8_9/+CONTENTS:@pkgdep 
/var/db/pkg/rhythmbox-0.12.3/+CONTENTS:@pkgdep 
/var/db/pkg/seahorse-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/seahorse-plugins-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/sodipodi-0.34_11/+CONTENTS:@pkgdep 
/var/db/pkg/sound-juicer-2.26.1/+CONTENTS:@pkgdep 
/var/db/pkg/swfdec-gnome-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/telepathy-farsight-0.0.7/+CONTENTS:@pkgdep 
/var/db/pkg/telepathy-gabble-0.7.29/+CONTENTS:@pkgdep 
/var/db/pkg/telepathy-mission-control-4.67/+CONTENTS:@pkgdep 
/var/db/pkg/totem-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/totem-pl-parser-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/totem-pl-parser-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/tsclient-0.150_4/+CONTENTS:@pkgdep 
/var/db/pkg/vinagre-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/vino-2.26.2/+CONTENTS:@pkgdep 
/var/db/pkg/webkit-gtk2-1.0.1_7/+CONTENTS:@pkgdep 
/var/db/pkg/xchat-2.8.6_2/+CONTENTS:@pkgdep 
/var/db/pkg/xfce-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-appfinder-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-appfinder-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-desktop-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-mixer-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-mixer-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-panel-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-panel-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-print-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-session-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-settings-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-settings-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-utils-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-utils-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-wm-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xfce4-wm-4.6.1/+CONTENTS:@pkgdep 
/var/db/pkg/xscreensaver-gnome-5.08/+CONTENTS:@pkgdep 
/var/db/pkg/yelp-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/yelp-2.26.0/+CONTENTS:@pkgdep 
/var/db/pkg/zenity-2.26.0/+CONTENTS:@pkgdep 
$
Reply With Quote
  #7   (View Single Post)  
Old 8th July 2009
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Thanked 36 Times in 34 Posts
Default

Quote:
Originally Posted by delboy View Post
I managed to update the six failed packages with FORCE_PKG_REGISTER=yes in /etc/make.conf, as I expect you know, it overwrites the existing one without deleting it. Would like your opinion on whether or not that is a good idea.
It is not a great idea to do this since between updates, the contents of the package might change. That means if the new package does not install a file that the old package did, then you still have that file on your system.

Quote:
Originally Posted by delboy View Post
After updating the six packages I tried make deinstall again but no good I still have the segfault.
Your /var/db/pkg is looking pretty corrupted. All of those ports that showed up in the output you posted need fixed. The problem is that @pkgdep should refer to a package that is a dependency and in your case all of those lines are blank. If pkgdb -F didn't work, then there really isn't an easy way to fix this.

Each of those empty lines should represent a package, so I think the first thing to do would be identifying the missing packages and make sure they are registered. Hopefully the DEPORIGIN comments are still in the +CONTENTS files. If so, you can use that to figure out what is supposed to go there. For example here are the first few lines of /var/db/pkg/librsvg2-2.26.0/+CONTENTS:
Code:
@comment PKG_FORMAT_REVISION:1.1
@name librsvg2-2.26.0
@comment ORIGIN:graphics/librsvg2
@cwd /usr/local
@pkgdep xineramaproto-1.1.2
@comment DEPORIGIN:x11/xineramaproto
@pkgdep xf86vidmodeproto-2.2.2
@comment DEPORIGIN:x11/xf86vidmodeproto
@pkgdep xextproto-7.0.5
@comment DEPORIGIN:x11/xextproto
@pkgdep renderproto-0.9.3
@comment DEPORIGIN:x11/renderproto
@pkgdep randrproto-1.3.0
@comment DEPORIGIN:x11/randrproto
You can see even if @pkgdep xineramaproto-1.1.2 just said @pkgdep, the origin is x11/xineramaproto and you could use that information to figure out "xinerama-1.1.2".

If there are no DEPORIGIN comments, I would just delete those blank @pkgdep lines since figuring it out would be very time consuming. They might just be extraneous and not refer to anything at all. It is hard to say without looking at all of those +CONTENTS files or comparing the output of (using librsvg2 as an example):
$ make -C /usr/ports/graphics/librsvg2 actual-package-depends | cut -f 1 -d : | sort -u
and
$ pkg_info -rx librsvg | grep "Dependency" | cut -f2 -d " " | sort -u

If you get the general idea that the blank @pkgdep lines are extraneous, I would just delete them and hopefully that will solve things.

If you feel like the blank @pkgdep lines really should be representing something, then I would try reinstalling each offending port using FORCE_PKG_REGISTER=yes. Be sure to do this from the ground up, though. That is, start with the package that everything else depends on. Check the +CONTENTS file to make sure the blank @pkgdep lines are gone.
Reply With Quote
  #8   (View Single Post)  
Old 9th July 2009
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Thanked 0 Times in 0 Posts
Default

BSDKaffee

Thank you for all that information,there is a lot of food for thought there.
What I have done is, deleted the blank @pkgdep in +CONTENTS of one of my original failed packages,I am now able to deinstall and reinstall which I have done.The only question I have is,is this the right way to go ,I mean by deleting the blank @pkgdep's am I going to regret it and what is the worst that could happen.
Reply With Quote
  #9   (View Single Post)  
Old 9th July 2009
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Thanked 36 Times in 34 Posts
Default

Quote:
Originally Posted by delboy View Post
The only question I have is,is this the right way to go ,I mean by deleting the blank @pkgdep's am I going to regret it and what is the worst that could happen.
If they weren't referencing a package in any way, then they are safe to delete. Keeping them obviously will not get you any further. The very worst thing that could happen would be ending up with a few ports that are not referencing all of their dependencies. If one of those @pkgdep lines was actually supposed to represent a dependency then that package would not "know" that it required it so if you tried to delete the dependency, pkg_delete would not stop you. It would also affect tools like portmaster and portupgrade that would try to update the dependency first and then the dependent package. That said, it is not the end of the world. Once you have updated or rebuilt the ports, things should "heal".
Reply With Quote
Reply

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
page fault error 12 Mr-Biscuit FreeBSD General 2 23rd December 2008 11:58 AM
MYSQL 's fault? disappearedng FreeBSD General 3 14th October 2008 11:53 PM
Segmentation fault (11) - Apache ijk FreeBSD Ports and Packages 16 15th July 2008 11:04 AM
Segmentation fault ccc FreeBSD General 8 28th June 2008 02:15 PM
MySQL C library - segmentation fault on mysql_select_db() when using CC optimisation gor OpenBSD Packages and Ports 7 10th June 2008 11:42 PM


All times are GMT. The time now is 12:33 PM.


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