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 10th April 2009
AncientDragonfly's Avatar
AncientDragonfly AncientDragonfly is offline
not quite new user
 
Join Date: Apr 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default System messed up, should I just reinstall?

I'm using Release 7, and unfortunately have not kept up with updates very well since installed in Nov. 2008. Before that, I was using 6.2, so I'm not totally new, but I'm new enough that I don't know all the ins and outs of getting out of problems.

I was intending to upgrade to, or do a fresh install of, 7.1 Release soon, but can't get to it for a couple of weeks at least. So I thought I better update some ports anyway.

I first got the message:

Quote:
===>>> Port directory: /usr/ports/sysutils/fusefs-kmod
===>>> This port is marked IGNORE
===>>> requires the userland sources to be installed. Set SRC_BASE if it is not in /usr/src
And so dealt with that ok, but my next update had a problem with linux-glib2. This is where I think I screwed up! I entered make deinstall devel/linux-glib2 from /usr/ports/ thinking that since I was giving it the directory, that it would only deinstall linux-glib2. I think it actually deinstalled a whole bunch of stuff.

Honestly, since then, I have tried so many different things, I am not sure what state the box is in, except that I know if I shut down any of the programs I depend on daily (email, firefox, mrxvt, etc) that are currently running, they will not open again. TG for the UPS.

I seem to to have issues with anything that is linked to libxcb.so.1, because that is in a lot of the errors I get trying to deinstall/install/update the missing programs. I have about 40 things that depend on it, but it is gone. I was happy when tea installed without an error, but then when I tried to run it, I got
Quote:
/libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, required by "libxcb-render-util.so.0"
I am lost. I don't know what to do from here. I have googled myself into a maze I can't find my way out of. Do I need to deinstall the 40 things that depend on libxcb.so.1, and then reinstall them? Is the problem possibly deeper than that, and the true extent not surfaced for me yet? I was somewhat taken aback when I went to run nano and it wasn't on the system anymore! Fortunately it installed again without a hitch. Have I (stupidly) deleted all programs, not just X programs? Is it going to take longer to fix this than to just build a new system with 7.1, which I was hoping to do soon anyway?

Anyway, without further rambling, if anyone can help, I'd really appreciate it. I'd be glad to provide any information that will help someone help me fix this.
Reply With Quote
  #2   (View Single Post)  
Old 10th April 2009
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

Have you tried reinstalling /usr/ports/x11/libxcb ?
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #3   (View Single Post)  
Old 10th April 2009
AncientDragonfly's Avatar
AncientDragonfly AncientDragonfly is offline
not quite new user
 
Join Date: Apr 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by robbak View Post
Have you tried reinstalling /usr/ports/x11/libxcb ?
Yes, I have:
Quote:
...
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for libxcb-1.2_1
===> Cleaning for libxcb-1.2_1
Thank you, though.
Reply With Quote
  #4   (View Single Post)  
Old 10th April 2009
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

OK. the next step may be to rebuild things directly depending on libxcb. It may be a version thing. Note that fixing things like this becomes alot easier if you use one of the port management tools: I think I wold recommend portmaster , although portupgrade is more mature. Both of them allow you to do things like 'portupgrade -r [portname] to upgrade everything dependent on the port with one command, and several hours <g>. Install your choice, and check theman page for the syntax. Both products man pages have comprehensive examples.

More usefull info after a bit of searching: It is a version error: libxcb is now version 2, and installs libxcb.so.2. As a hack, sometimes softlinking the missing library entry to the existing one functions (ln -s /usr/local/lib/libxcb.so.2 /usr/local/lib/libxcb.so.1), but it is not a fix - merely a short-term workaround until you have fixed the problem.

from what I can see, though, a proper clean, deinstall and reinstall of libxcb should fix it - the problem is between two parts of the libxcb port.
Code:
cd /usr/ports/x11/libxcb
make clean
make build deinstall reinstall
Should fix it.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #5   (View Single Post)  
Old 10th April 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 AncientDragonfly View Post
This is where I think I screwed up! I entered make deinstall devel/linux-glib2 from /usr/ports/ thinking that since I was giving it the directory, that it would only deinstall linux-glib2. I think it actually deinstalled a whole bunch of stuff.
You probably ended up deinstalling most of your ports with that command. You can see which ports are still installed with the following command: $ pkg_info
It would help if you posted the output of that here.

For the future, if you want to deinstall a package, either use the pkg_delete command or change to the specific port directory and run make deinstall (e.g.: $ cd /usr/ports/devel/linux-glib2 && make deinstall).
Reply With Quote
  #6   (View Single Post)  
Old 10th April 2009
AncientDragonfly's Avatar
AncientDragonfly AncientDragonfly is offline
not quite new user
 
Join Date: Apr 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by robbak View Post
OK. the next step may be to rebuild things directly depending on libxcb. It may be a version thing. Note that fixing things like this becomes alot easier if you use one of the port management tools: I think I wold recommend portmaster , although portupgrade is more mature. Both of them allow you to do things like 'portupgrade -r [portname] to upgrade everything dependent on the port with one command, and several hours <g>. Install your choice, and check theman page for the syntax. Both products man pages have comprehensive examples.
I have them both installed; I used portupgrade on the previous system, but switched to portmaster after reading glowing reviews of it, probably as a lurker on this forum.
Quote:
More usefull info after a bit of searching: It is a version error: libxcb is now version 2, and installs libxcb.so.2. As a hack, sometimes softlinking the missing library entry to the existing one functions (ln -s /usr/local/lib/libxcb.so.2 /usr/local/lib/libxcb.so.1), but it is not a fix - merely a short-term workaround until you have fixed the problem.
Now that you say that, I remember doing that for a problem library when I was using Gentoo.
Quote:
from what I can see, though, a proper clean, deinstall and reinstall of libxcb should fix it - the problem is between two parts of the libxcb port.
Code:
cd /usr/ports/x11/libxcb
make clean
make build deinstall reinstall
Should fix it.
Code:
[root@wampus: /usr/ports/editors/nano/]# cd /usr/ports/x11/libxcb
[root@wampus: /usr/ports/x11/libxcb/]# make clean
===>  Cleaning for libxcb-1.2_1
[root@wampus: /usr/ports/x11/libxcb/]# make build deinstall reinstall
===>  Extracting for libxcb-1.2_1
=> MD5 Checksum OK for libxcb-1.2.tar.bz2.
=> SHA256 Checksum OK for libxcb-1.2.tar.bz2.
===>  Patching for libxcb-1.2_1
===>  Applying FreeBSD patches for libxcb-1.2_1
...
...
...
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for libxcb-1.2_1
Code:
lrwxr-xr-x  1 root  wheel      11 Apr 10 07:40 /usr/local/lib/libxcb.so -> libxcb.so.2
-rwxr-xr-x  1 root  wheel  123179 Apr 10 07:40 /usr/local/lib/libxcb.so.2
libxcb.so.2 is installed. How do I get the programs that are looking for libxcb.so.1 to use libxcb.so.2 instead, without resorting to the workaround you mentioned above (because I'd rather have a real fix)?

I think I understand what "make deinstall reinstall" does. What does "make build deinstall reinstall," that is, adding "build," do?
Reply With Quote
  #7   (View Single Post)  
Old 10th April 2009
AncientDragonfly's Avatar
AncientDragonfly AncientDragonfly is offline
not quite new user
 
Join Date: Apr 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by BSDKaffee View Post
You probably ended up deinstalling most of your ports with that command.
I was afraid of that, when I saw a bunch of port names scrolling by after issuing it.

Quote:
You can see which ports are still installed with the following command: $ pkg_info
It would help if you posted the output of that here.
Here it is:
Code:
[root@wampus: /usr/ports/]# pkg_info
ORBit2-2.14.17      High-performance CORBA ORB with support for the C language
OpenEXR-1.6.1_1     A high dynamic-range (HDR) image file format
aalib-1.4.r5_4      An ascii art library
acrobatviewer-1.1_2 Viewer for the PDF files written in Java(TM)
acroread8-8.1.3_1   Adobe Reader for view, print, and search PDF documents (ENU
acroreadwrapper-0.0.20080906 Wrapper script for Adobe Reader
appres-1.0.1        Program to list application's resources
artwiz-fonts-1.0_3  A set of free fonts for X11 desktops
asciidoc-8.3.1      A text document format for writing short documents and man
aspell-0.60.6_2     Spelling checker with better suggestion logic than ispell
atk-1.24.0          A GNOME accessibility toolkit (ATK)
autoconf-2.13.000227_6 Automatically configure source code on many Un*x platforms
autoconf-2.62       Automatically configure source code on many Un*x platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.10.1     GNU Standards-compliant Makefile generator (1.10)
automake-1.4.6_5    GNU Standards-compliant Makefile generator (1.4)
automake-wrapper-20071109 Wrapper script for GNU automake
avahi-app-0.6.24    Service discovery on a local network
babl-0.0.22_1       Dynamic pixel format conversion library
bash-3.2.39_1       The GNU Project's Bourne Again SHell
bash-completion-20060301_3 Programmable completion library for Bash 2.04 and up
bdftopcf-1.0.1      Convert X font from BDF to PCF
beforelight-1.0.2   A sample screen saver for X
bigreqsproto-1.0.2  BigReqs extension headers
bison-2.4.1,1       A parser generator from FSF, (mostly) compatible with Yacc
bitmap-1.0.3        Bitmap editor and converter utilities for X
bitstream-vera-1.10_4 Bitstream Vera TrueType font collection
bluefish-1.0.7_5    HTML editor designed for the experienced web designer
boost-1.34.1        Free peer-reviewed portable C++ source libraries
bsdstats-5.4_2      Monthly script for reporting anonymous statistics about you
ca_root_nss-3.11.9_2 The root certificate bundle from the Mozilla Project
cairo-1.8.6_1,1     Vector graphics library with cross-device output support
cdrtools-2.01_7     CD/CD-R[W] and ISO-9660 image creation and extraction tools
claws-mail-3.5.0_1  A lightweight and very featureful GTK+ based e-mail and new
compositeproto-0.4  Composite extension headers
consolekit-0.2.10_3 Framework for defining and tracking users
coreutils-6.9_3     The Free Software Foundation's core utilities
cups-base-1.3.9_2   Common UNIX Printing System
curl-7.19.4         Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
cyrus-sasl-2.1.22_2 RFC 2222 SASL (Simple Authentication and Security Layer)
damageproto-1.1.0_2 Damage extension headers
db41-4.1.25_4       The Berkeley DB package, revision 4.1
dbus-1.2.4.4        A message bus system for inter-application communication
dbus-glib-0.80      GLib bindings for the D-BUS messaging system
desktop-file-utils-0.15_1 A couple of command line utilities for working with desktop
djbfft-0.76_2       An extremely fast library for floating-point convolution
dmidecode-2.10      A tool for dumping DMI (SMBIOS) contents in human-readable
dmxproto-2.2.2      DMX extension headers
docbook-4.1_3       V4.1 of the DocBook DTD, designed for technical documentati
docbook-sk-4.1.2_4  XML version of the DocBook DTD version controlled for Scrol
docbook-xml-4.2_1   XML version of the DocBook DTD
docbook-xsl-1.74.0  XSL DocBook stylesheets
dri2proto-1.99.3    DRI2 prototype headers
dvd+rw-tools-7.1    DVD burning software
editres-1.0.3       Dynamic resource editor for X Toolkit Applications
emelfm2-0.5.0       The gtk2 port of emelfm, a fast graphical filemanager
encodings-1.0.2,1   X.Org Encoding fonts
esound-0.2.41       A sound library for enlightenment package
evieext-1.0.2       XEVIE extension headers
expat-2.0.1         XML 1.0 parser written in C
faad2-2.7_1,1       MPEG-2 and MPEG-4 AAC audio decoder
faces-1.7.7_9       Visual mail, user and print face server
ffmpeg-2008.07.27_7 Hyper fast realtime audio/video encoder/converter, streamin
fftw3-3.1.3         Fast C routines to compute the Discrete Fourier Transform
firefox-3.0.5,1     Web browser based on the browser portion of Mozilla
fixesproto-4.0      Fixes extension headers
flex-2.5.35         Fast lexical analyzer generator
font-adobe-100dpi-1.0.0_1 X.Org Adobe 100dpi font
font-adobe-75dpi-1.0.0 X.Org Adobe 75dpi font
font-adobe-utopia-100dpi-1.0.1 X.Org Adobe Utopia 100dpi font
font-adobe-utopia-75dpi-1.0.1 X.Org Adobe Utopia 75dpi font
font-adobe-utopia-type1-1.0.1 X.Org Adobe Utopia Type1 font
font-alias-1.0.1    X.Org Font aliases
font-arabic-misc-1.0.0 X.Org miscellaneous Arabic fonts
font-bh-100dpi-1.0.0 X.Org Bigelow Holmes 100dpi font
font-bh-75dpi-1.0.0 X.Org Bigelow Holmes 75dpi font
font-bh-lucidatypewriter-100dpi-1.0.0 X.Org Bigelow Holmes Lucida TypeWriter 100dpi font
font-bh-lucidatypewriter-75dpi-1.0.0 X.Org Bigelow Holmes Lucida TypeWriter 75dpi font
font-bh-ttf-1.0.0   X.Org Bigelow & Holmes TTF font
font-bh-type1-1.0.0 X.Org Bigelow Holmes Type1 font
font-bitstream-100dpi-1.0.0 X.Org Bitstream Vera 100dpi font
font-bitstream-75dpi-1.0.0 X.Org Bitstream Vera 75dpi font
font-bitstream-type1-1.0.0 X.Org Bitstream Vera Type1 font
font-cronyx-cyrillic-1.0.0 X.Org Cronyx Cyrillic font
font-cursor-misc-1.0.0 X.Org miscellaneous Cursor fonts
font-daewoo-misc-1.0.0 X.Org miscellaneous Daewoo fonts
font-dec-misc-1.0.0 X.Org miscellaneous Dec fonts
font-ibm-type1-1.0.0 X.Org IBM Type1 font
font-isas-misc-1.0.0 X.Org miscellaneous ISAS fonts
font-jis-misc-1.0.0 X.Org miscellaneous JIS fonts
font-micro-misc-1.0.0 X.Org miscellaneous Micro fonts
font-misc-cyrillic-1.0.0 X.Org miscellaneous Cyrillic font
font-misc-ethiopic-1.0.0 X.Org miscellaneous Ethiopic font
font-misc-meltho-1.0.0_1 X.Org miscellaneous Meltho font
font-misc-misc-1.0.0 X.Org miscellaneous Misc fonts
font-mutt-misc-1.0.0 X.Org miscellaneous Mutt fonts
font-schumacher-misc-1.0.0 X.Org miscellaneous Schumacher fonts
font-screen-cyrillic-1.0.1 X.Org Screen Cyrillic font
font-sony-misc-1.0.0 X.Org miscellaneous Sony fonts
font-sun-misc-1.0.0 X.Org miscellaneous Sun fonts
font-util-1.0.1     Create an index of X font files in a directory
font-winitzki-cyrillic-1.0.0 X.Org Winitzki Cyrillic font
font-xfree86-type1-1.0.0 X.Org XFree86 Type1 font
fontcacheproto-0.1.2 Fontcache extension headers
fontconfig-2.5.0,1  An XML-based font configuration API for X Windows
fontsproto-2.0.2    Fonts extension headers
fonttosfnt-1.0.3    Wrap a bitmap font in a sftn wrapper
freefont-ttf-20060126_2 Free UCS Outline Fonts
freefonts-0.10_4    A collection of ATM fonts (not all free) from the CICA arch
freetype2-2.3.7     A free and portable TrueType font rendering engine
fslsfonts-1.0.1     List fonts served by the X font server
fstobdf-1.0.2       Generate BDF font from X font server
gail-1.22.3         An implementation of the ATK interfaces for GTK+ widgets
gamin-0.1.10        A file and directory monitoring system
gconf2-2.24.0       A configuration database system for GNOME
gd-2.0.35,1         A graphics library for fast creation of images
getopt-1.1.4_1      A getopt(1) replacement that supports GNU-style long option
gettext-0.17_1      GNU gettext package
ghostscript7-7.07_20 Ghostscript 7.x PostScript interpreter
gimp-gutenprint-5.1.7_1 GutenPrint Printer Driver
gio-fam-backend-2.18.4 FAM backend for GLib's GIO library
glib-2.18.4         Some useful routines of C programming (current stable versi
glproto-1.4.8       GLX extension headers
gmake-3.81_3        GNU version of 'make' utility
gnome-icon-theme-2.22.0_1 A collection of icons for the GNOME 2 desktop
gnome-keyring-2.22.3_1 A program that keeps passwords and other secrets
gnome-mime-data-2.18.0_3 A MIME and Application database for GNOME
gnome-vfs-2.24.1    GNOME Virtual File System
gnome_subr-1.0      Common startup and shutdown subroutines used by GNOME scrip
gnomehier-2.3_10    A utility port that creates the GNOME directory tree
gnutls-2.4.2_1      GNU Transport Layer Security library
gpac-libgpac-0.4.4,1 Gpac MPEG-4 Systems library and headers
graphviz-2.22.2     Graph Visualization Software from AT&T and Bell Labs
graveman-0.3.12.5_4 Another GTK2 frontend for cdrecord, mkisofs, readcd and sox
gsfonts-8.11_4      Fonts used by GNU Ghostscript (or X)
gstreamer-0.10.21   Development framework for creating media applications
gstreamer-plugins-0.10.21,3 GStreamer written collection of plugins handling several me
gtk-1.2.10_20       Gimp Toolkit for X11 GUI (previous stable version)
gtk-2.12.11_1       Gimp Toolkit for X11 GUI (current stable version)
gtk-engines2-2.14.3 Theme engine for the Gtk+-2.0 toolkit
gtksourceview-1.8.5_4 A text widget that adds syntax highlighting to the GtkTextV
gutenprint-5.1.7_1  The "meta-port" for GutenPrint
gutenprint-base-5.1.7_1 GutenPrint Printer Driver
gutenprint-ijs-5.1.7_1 GutenPrint Printer Driver
hal-0.5.11_1        Hardware Abstraction Layer for simplifying device access
help2man-1.36.4_2   Automatically generating simple manual pages from program o
hicolor-icon-theme-0.10_2 A high-color icon theme shell from the FreeDesktop project
iceauth-1.0.2       ICE authority file utility for X
ico-1.0.2           Displays a wire-frame rotating plyhedron
icon-naming-utils-0.8.6 Utilities of the Tango project
ilmbase-1.0.1_1     ILM Base libraries a.k.a. Half, IlmThread, Imath and Iex
inputproto-1.5.0    Input extension headers
intltool-0.37.1     Tools to internationalize various kinds of data files
iso-codes-3.2_1     Lists of the country, language and currency iso names
iso8879-1986_2      Character entity sets from ISO 8879:1986 (SGML)
jpeg-6b_7           IJG's jpeg compression utilities
kbproto-1.0.3       KB extension headers
lcms-1.17,1         Light Color Management System -- a color management library
libFS-1.0.0_1       The FS library
libGL-7.3_1         OpenGL library that renders using GLX or DRI
libGLU-7.3          OpenGL utility library
libICE-1.0.4_1,1    Inter Client Exchange library for X11
libIDL-0.8.13       A library for creating trees of CORBA IDL files
libSM-1.0.3_1,1     Session Management library for X11
libX11-1.2,1        X11 library
libXScrnSaver-1.1.2 The XScrnSaver library
libXTrap-1.0.0      The XTrap library
libXau-1.0.4        Authentication Protocol library for X11
libXaw-1.0.4_1,1    X Athena Widgets library
libXcomposite-0.4.0,1 X Composite extension library
libXcursor-1.1.9_1  X client-side cursor loading library
libXdamage-1.1.1    X Damage extension library
libXdmcp-1.0.2_1    X Display Manager Control Protocol library
libXevie-1.0.2      The Xevie library
libXext-1.0.3,1     X11 Extension library
libXfixes-4.0.3_1   X Fixes extension library
libXfont-1.3.1_3,1  X font libary
libXfontcache-1.0.4 The Xfontcache library
libXft-2.1.13       A client-sided font API for X applications
libXi-1.1.3,1       X Input extension library
libXinerama-1.0.2,1 X11 Xinerama library
libXmu-1.0.3,1      X Miscellaneous Utilities libraries
libXp-1.0.0,1       X print library
libXpm-3.5.7        X Pixmap library
libXprintAppUtil-1.0.1 The XprintAppUtil library
libXprintUtil-1.0.1 The XprintUtil library
libXrandr-1.2.2_1   X Resize and Rotate extension library
libXrender-0.9.4_1  X Render extension library
libXres-1.0.3_3     X Resource usage library
libXt-1.0.5_1       X Toolkit library
libXtst-1.0.3_1     X Test extension
libXv-1.0.3_1,1     X Video Extension library
libXvMC-1.0.4_1     X Video Extension Motion Compensation library
libXxf86dga-1.0.2   X DGA Extension
libXxf86misc-1.0.1  X XF86-Misc Extension
libXxf86vm-1.0.1    X Vidmode Extension
liba52-0.7.4_2      A free library for decoding ATSC A/52 streams, aka AC-3
libart_lgpl-2.3.20,1 Library for high-performance 2D graphics
libaudiofile-0.2.6  A sound library for SGI audio file
libbonobo-2.24.1    A component and compound document system for GNOME2
libcheck-0.9.6      A unit test framework for C
libcroco-0.6.1_1    CSS2 parsing library
libdmx-1.0.2_1      DMX extension library
libdrm-2.4.5        Userspace interface to kernel Direct Rendering Module servi
libetpan-0.55       A mail library
libexif-0.6.17      Library to read digital camera file meta-data
libfontenc-1.0.4    The fontenc Library
libgcrypt-1.4.4     General purpose crypto library based on code used in GnuPG
libglade2-2.6.4     GNOME glade library
libgnome-2.22.0_1   Libraries for GNOME, a GNU desktop environment
libgnomecanvas-2.20.1.1_2 A graphics library for GNOME
libgnomecups-0.2.3_1,1 Support library for gnome cups admistration
libgnomeprint-2.18.4_2 Gnome print support library
libgnomeprintui-2.18.2_2 Gnome print support library
libgpg-error-1.7    Common error values for all GnuPG components
libgsf-1.14.11      An extensible i/o abstraction for dealing with structured f
libiconv-1.11_1     A character set conversion library
libijs-0.35_1       C library that supports plugin printer driver for Ghostscri
libltdl-1.5.26      System independent dlopen wrapper
libmng-1.0.10       Multiple-image Network Graphics (MNG) reference library
libogg-1.1.3,4      Ogg bitstream library
liboldX-1.0.1       Old X library
libopenraw-0.0.5_1  Library for camera RAW files decoding
libpthread-stubs-0.1 This library provides weak aliases for pthread functions
librsvg2-2.22.3_2   Library for parsing and rendering SVG vector-graphic files
libspiro-20071029   Library to convert clothoid splines into bezier splines
libtasn1-1.5        ASN.1 structure parser library
libtheora-1.0.b2    Theora video codec for the Ogg multimedia streaming system
libtool-1.5.26      Generic shared library support script
libvorbis-1.2.0_3,3 Audio compression codec library
libwmf-0.2.8.4_2    Tools and library for converting Microsoft WMF (windows met
libxcb-1.2_1        The X protocol C-language Binding (XCB) library
libxkbfile-1.0.4    XKB file library
libxkbui-1.0.2_1    The xkbui library
libxml2-2.7.3       XML parser library for GNOME
libxslt-1.1.24_2    The XSLT C library for GNOME
linux-atk-1.9.1_2   Accessibility Toolkit, Linux/i386 binary
linux-cairo-1.0.2_1 Linux cairo binary
linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
linux-glib2-2.6.6_1 Version 2.X Linux/i386 binary port of GLib
linux-gtk2-2.6.10   GTK+ library, version 2.X, Linux binary
linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project
linux-jpeg-6b.34_1  RPM of the JPEG lib
linux-nvu-1.0       A complete Web Authoring System
linux-pango-1.10.2  Linux pango binary
linux-png-1.2.8_3   RPM of the PNG lib
linux-scim-gtk-fc4-1.4.4 Smart Common Input Method platform, gtk module, Linux binar
linux-scim-libs-fc4-1.4.4_1 Smart Common Input Method platform, library part, Linux bin
linux-tiff-3.7.1_1  TIFF library, Linux/i386 binary
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
linux_base-fc-4_14  Base set of packages needed in Linux mode (for i386/amd64)
listres-1.0.1       List resources in widgets
lsof-4.82A,3        Lists information about open files (similar to fstat(1))
luit-1.0.2_2        Locale and ISO 2022 support for Unicode terminals
m4-1.4.12,1         GNU m4
makedepend-1.0.1,1  A dependency generator for makefiles
mime-support-3.44.1 MIME Media Types list
mkcomposecache-1.2_1 Program to create Compose cache files
mkfontdir-1.0.3_1   Create an index of X font files in a directory
mkfontscale-1.0.3   Creates an index of scalable font files for X
mrxvt-0.4.2_2       A tabbed version of rxvt
nano-2.0.9          Nano's ANOther editor, an enhanced free Pico clone
nasm-2.05.01,1      General-purpose multi-platform x86 and x86-64 assembler
numlockx-1.1_2      This little thingy allows you to start X with NumLock turne
oclock-1.0.1        Round clock application for X
p5-File-Which-0.05  Portable implementation of `which' in Perl
p5-XML-NamespaceSupport-1.09_1 A simple generic namespace support class
p5-XML-Parser-2.36  Perl extension interface to James Clark's XML parser, expat
p5-XML-SAX-0.96     Simple API for XML
p5-XML-SAX-Expat-0.40 Simple API for XML
p5-XML-Simple-2.18  Trivial API for reading and writing XML (esp config files)
p5-gettext-1.05_2   Message handling functions
p5-type1inst-0.6.1_5 A script that helps install Postscript fonts in X Window Sy
pango-1.20.5        An open-source framework for the layout and rendering of i1
pciids-20081012     Database of all known ID's used in PCI devices
pcre-7.8            Perl Compatible Regular Expressions library
perl-5.8.9_2        Practical Extraction and Report Language
pixman-0.14.0       Low-level pixel manipulation library
pkg-config-0.23_1   A utility to retrieve information about installed libraries
png-1.2.35          Library for manipulating PNG images
policykit-0.9_1     Framework for controlling access to system-wide components
poppler-0.8.7_1     A PDF rendering library
poppler-data-0.2.1  Poppler encoding data
poppler-gtk-0.8.7   Gtk bindings to poppler
popt-1.7_5          A getopt(3) like library with a number of enhancements, fro
portaudit-0.5.12    Checks installed ports against a list of security vulnerabi
portmaster-2.6      Manage your ports without external databases or languages
portupgrade-2.4.6_1,2 FreeBSD ports/packages administration and management tool s
postfix-2.5.5,1     A secure alternative to widely-used Sendmail
printproto-1.0.3    Print extension headers
py25-gtk-2.12.1_1   A set of Python bindings for GTK+
py25-numeric-24.2_3 The Numeric Extension to Python
py25-xml-0.8.4      PyXML: Python XML library enhancements
python25-2.5.4_1    An interpreted object-oriented programming language
qt-3.3.8_9          Multiplatform C++ application framework
randrproto-1.2.1    Randr extension headers
rarian-0.8.1        An OMF help system based on the Freedesktop specification
recordproto-1.13.2  RECORD extension headers
renderproto-0.9.3   RenderProto protocol headers
resourceproto-1.0.2 Resource extension headers
rgb-1.0.1           Uncompile an rgb corl-name database
rpm-3.0.6_14        The Red Hat Package Manager
rstart-1.0.2        Sample implementation of a Remote Start client
ruby-1.8.7.72_1,1   An object-oriented interpreted scripting language
ruby18-bdb-0.6.5    Ruby interface to Sleepycat's Berkeley DB revision 2 or lat
samba-libsmbclient-3.0.32_2 Shared libs from the samba package
scripts-1.0.1       Various X related scripts
scrnsaverproto-1.1.0 ScrnSaver extension headers
sdl-1.2.13_3,2      Cross-platform multimedia development API
sdocbook-xml-1.1,1  "Simplified" DocBook XML DTD
sessreg-1.0.3       Manage utmp/wtmp entries for non-init X clients
setxkbmap-1.0.4     Set the keyboard using the X Keyboard Extension
shared-mime-info-0.51 A MIME type database from the FreeDesktop project
showfont-1.0.1_1    Font dumper for the X font server
smproxy-1.0.2       Session Manager Proxy
startup-notification-0.9_2 Library that supports startup notification spec from freede
tcl-8.4.19,1        Tool Command Language
tea-17.6.0_2        A simple and powerful GTK+ text editor
texi2html-1.76_1,1  Texinfo to HTML converter
tiff-3.8.2_3        Tools and library routines for working with TIFF images
tk-8.4.19,2         Graphical toolkit for TCL
tkdvd-4.0.9         GUI to dvd+rw-tools and cdrecord
trapproto-3.4.3     DEC-XTRAP extension headers
twm-1.0.3_3         Tab Window Manager for the X Window System
urwfonts-1.0_3      Another font package for X
v4l_compat-1.0.20060801 Video4Linux compatibility header
videoproto-2.2.2    Video extension headers
viewres-1.0.1       Graphical class browser for Xt
webfonts-0.30_6     TrueType core fonts for the Web
webkit-gtk2-0.0.30549_1 An opensource browser engine
weblint-1.020       HTML validator and sanity checker
windowmaker-0.92.0_4 GNUstep-compliant NeXTstep window manager clone
wmCalClock-1.25_3   Another Window Maker calendar/clock dockapp
wmbiff-0.4.27_7     An xbiff-like Window Maker dock app
wmcalc-0.3_2        Simple dockable calculator
wmfire-1.2.3_3      Window Maker dock app showing load average as a flame
wmnet2-1.06_4       A nice network monitor for WindowMaker
wmupmon-0.1.3_3     An uptime showing dockapp with a similar look to wmcpuload
wmweather+-2.11     Displays current conditions and forecasts with icons and te
wmweather-2.4.3_2   A WMaker dockapp which displays meteorological data for you
x11perf-1.4.1       X11 server performance test program
x264-0.0.20080409_2 Multimedia library and tool for encoding H.264/AVC video st
xauth-1.0.2         X authority file utility
xbacklight-1.1      Program to adjust backlight brightness
xbiff-1.0.1         Mailbox flag for X
xbitmaps-1.0.1      X.Org bitmaps data
xcalc-1.0.2         Scientific calculator for X
xcb-proto-1.4       The X protocol C-language Binding (XCB) protocol
xcb-util-0.2.1      A module with libxcb/libX11 extension/replacement libraries
xclipboard-1.0.1    X clipboard client
xclock-1.0.3        Analog and digital clock for X
xcmiscproto-1.1.2   XCMisc extension headers
xcmsdb-1.0.1        Device Color Characterization utility for X
xconsole-1.0.3      Monitor system console messages with X
xcursor-themes-1.0.1_1 X.org cursors themes
xcursorgen-1.0.2    Create an X cursor file from a collection of PNG images
xdbedizzy-1.0.2     Demo of DBE creating a double buffered spinning scene
xditview-1.0.1      Display ditroff output
xdm-1.1.6_3         X.Org X display manager
xdpyinfo-1.0.2_1    Display information utility for X
xdriinfo-1.0.2      Query configuration information of DRI drivers
xedit-1.0.2         Simple text editor for X
xev-1.0.2           Print contents of X events
xextproto-7.0.5     XExt extension headers
xeyes-1.0.1         A follow the mouse X demo
xf86-input-acecad-1.2.1_1 X.Org acecad input driver
xf86-input-keyboard-1.2.2_2 X.Org keyboard input driver
xf86-input-mouse-1.2.3_2 X.Org mouse input driver
xf86-video-ati-6.9.0 X.Org ati display driver
xf86-video-intel-2.4.2 Driver for Intel integrated graphics chipsets
xf86-video-mach64-6.8.0 X.Org mach64 display driver
xf86-video-nv-2.1.12 X.Org nv display driver
xf86-video-r128-6.8.0 X.Org r128 display driver
xf86-video-radeonhd-1.2.1_2 X.Org ati RadeonHD display driver
xf86-video-vesa-1.3.0_2 X.Org vesa display driver
xf86-video-vga-4.1.0_2 X.Org vga display driver
xf86-video-via-0.2.2_3 X.Org via display driver
xf86bigfontproto-1.1.2 XFree86-Bigfont extension headers
xf86dga-1.0.2       Test program for the XFree86-DGA extension
xf86dgaproto-2.0.3  XFree86-DGA extension headers
xf86driproto-2.0.3  XFree86-DRI extension headers
xf86miscproto-0.9.2 XFree86-Misc extension headers
xf86rushproto-1.1.2 XFree86-Rush extension headers
xf86vidmodeproto-2.2.2 XFree86-VidModeExtension extension headers
xfd-1.0.1           Display all characters in an X font
xfindproxy-1.0.1    Locate available proxy services
xfontsel-1.0.2      Point and click selection of X11 font names
xfs-1.0.5_1,1       X.Org font server
xfsinfo-1.0.1       X font server information utility
xfwp-1.0.1          X firewall proxy
xgamma-1.0.2        Gamma correction through the X server.
xgc-1.0.1           X graphics demo
xhost-1.0.2         Server access control program for X
xineramaproto-1.1.2 Xinerama extension headers
xinit-1.0.7         X Window System initializer
xkbcomp-1.0.3       Compile XKB keyboard description
xkbevd-1.0.2        XKB event daemon
xkbprint-1.0.1      Utility for printing an XKB keyboard description
xkbutils-1.0.1_1    XKB utility demos
xkeyboard-config-1.4 X Keyboard Configuration Database
xkill-1.0.1         Utility for killing a client by its X resource
xload-1.0.2         System load average display for X
xlogo-1.0.1         Displays the X Window System logo.
xlsatoms-1.0.1      List interned atoms defined on a server
xlsclients-1.0.1    List client applications running on a display
xlsfonts-1.0.2      Server font list displayer for X
xmag-1.0.2          X application for screen magnifying
xman-1.0.3          Manual page display program for X
xmessage-1.0.2      Display message or query in a X window
xmlcatmgr-2.2       SGML and XML catalog manager
xmodmap-1.0.3       Utility for modifying keymaps and pointer button mappings i

xmore-1.0.1         Plain text display program for X
xorg-7.3_2          X.Org complete distribution metaport
xorg-apps-7.3       X.org apps meta-port
xorg-cf-files-1.0.2_2 X.org cf files for use with imake builds
xorg-docs-1.4,1     X.org documentation files
xorg-drivers-7.3_3  X.org drivers meta-port
xorg-fonts-100dpi-7.3 X.Org 100dpi bitmap fonts
xorg-fonts-7.3_1    X.org fonts meta-port
xorg-fonts-75dpi-7.3 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.3 X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.3 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.3 X.Org TrueType fonts
xorg-fonts-type1-7.3 X.Org Type1 fonts
xorg-libraries-7.3_2 X.org libraries meta-port
xorg-macros-1.2.1   X.Org development aclocal macros
xorg-protos-7.3_2   X.org protos meta-port
xorg-server-1.4.2,1 X.Org X server and related programs
xphelloworld-1.0.1_1 Sends a test page to an Xprint printer
xplsprinters-1.0.1  Shows a list of Xprint printers
xpr-1.0.2           Utility for printing an X window dump
xprehashprinterlist-1.0.1 Recomputes the list of available printers.
xprop-1.0.3         Property displayer for X
xproto-7.0.15       X11 protocol headers
xproxymanagementprotocol-1.0.2 X Proxy Management Protocol headers
xrandr-1.2.2        Primitive command line interface to the RandR extension
xrdb-1.0.4          X server resource database utility
xrefresh-1.0.2      Refresh all or part of an X screen
xrx-1.0.1_1         RX helper program
xset-1.0.3          User preference utility for X
xsetmode-1.0.0      Set the mode for an X Input Device
xsetpointer-1.0.1   Set an X Input device as the main pointer
xsetroot-1.0.2      root window parameter setting utility for X
xsm-1.0.1           X Session Manager
xstdcmap-1.0.1      X standard colormap utility
xterm-237           Terminal emulator for the X Window System
xtrans-1.2.3        Abstract network code for X
xtrap-1.0.2         XTrap sample clients for X
xvidtune-1.0.1      Video mode tuner for X
xvinfo-1.0.2        Print out X-Video extension adaptor information
xwd-1.0.1           Dump an image of an X window
xwininfo-1.0.3      Window information utility for X
xwud-1.0.1          Image displayer for X
I can see that some are missing; gimp, gftp, wine... The ones that are there that I've tested won't run.

Quote:
For the future, if you want to deinstall a package, either use the pkg_delete command or change to the specific port directory and run make deinstall (e.g.: $ cd /usr/ports/devel/linux-glib2 && make deinstall).
For future reference, is there a big difference in pkg_delete and make deinstall, with regard to what's actually happening, or does pkg_delete just take care of finding where to deinstall from?

Thanks, BSDKaffee.
Reply With Quote
  #8   (View Single Post)  
Old 10th April 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

You'll have to recompile the programs that are 'missing' it for the best results (read the man page for pkg_info; it can show you what installed ports depend on libxcb; portupgrade and portmaster can upgrade libxcb and everything that depends on them if desired, rather then just specific ports).

For the stuff that is missing, you can just update/repair what you have and then install anew, anything that is still missing afterwards (like wine).


Functionally, pkg_delete foobar-2.1.0_1 is equivalent to cd /usr/ports/category/foobar/ && make deinstall. Except when updating software, I personally prefer "pkg_delete -x foobar-2" or "pkg_delete -x foobar" to save on typing the version numbers, and to skip remembering where in ports it is located hehe.




@ make build deinstall reinstall

it means fetch / build the port like normal, deinstall the currently installed version and reinstall the version just compiled or built.
__________________
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
  #9   (View Single Post)  
Old 11th April 2009
AncientDragonfly's Avatar
AncientDragonfly AncientDragonfly is offline
not quite new user
 
Join Date: Apr 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

Thanks, TerryP. It will probably be day after tomorrow before I have a chance to work more on this, but I will report (hopefully) my success afterwards.

I do appreciate the explanations; when I'm in a panic about my system, I'm probably not at my best for reading manpages.
Reply With Quote
Old 11th April 2009
emeselv emeselv is offline
New User
 
Join Date: Feb 2009
Location: Poland
Posts: 5
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by TerryP View Post
Functionally, pkg_delete foobar-2.1.0_1 is equivalent to cd /usr/ports/category/foobar/ && make deinstall
Code:
${PKG_DELETE} -f $${p};
Actually, it's the same as pkg_delete with force option.
Reply With Quote
Old 12th April 2009
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

Seems like you are getting enough advice, so I'll bow to those more experienced than I.

The reason I add 'build' to the 'make deinstall reinstall' is that adding the build target means that the port gets actually made before the old port is removed. 'make deinstall reinstall' will uninstall the port, then build it and reinstall it - the program is unavailable during the (possibly lengthy) build. 'make build deinstall reinstall' rebuilds the port before removing it: the package is missing for the least available time. (Technically, the 'install' or 'reinstall' targets always include the 'build' target, like the 'build' target will always call the 'fetch', 'checksum', 'extract', 'patch' and any other target that is needed. If a target has been done, then calling it again does nothing.)

This is only rarely important, so it doesn't matter much.

The last point I'll make is the importance of running 'make clean' (Often I'll use 'make clean build deinstall reinstall'). This ensures that you do not simply reinstall an already broken build!
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
Old 12th April 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

Quote:
Originally Posted by emeselv View Post
Code:
${PKG_DELETE} -f $${p};
Actually, it's the same as pkg_delete with force option.
I knew there was something I loved about Computer Science xD
__________________
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
Old 12th April 2009
AncientDragonfly's Avatar
AncientDragonfly AncientDragonfly is offline
not quite new user
 
Join Date: Apr 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by TerryP View Post
You'll have to recompile the programs that are 'missing' it for the best results (read the man page for pkg_info; it can show you what installed ports depend on libxcb; portupgrade and portmaster can upgrade libxcb and everything that depends on them if desired, rather then just specific ports).
Ok, first I got the list of programs that depend on libxcb:
Code:
# pkg_info -R libxcb-1.2_1
Information for libxcb-1.2_1:

Required by:
claws-mail-3.5.0_1
dbus-1.2.4.4
dbus-glib-0.80
firefox-3.0.5,1
gail-1.22.3
gconf2-2.24.0
gimp-gutenprint-5.1.7_1
gnome-icon-theme-2.22.0_1
gnome-keyring-2.22.3_1
gnome-vfs-2.24.1
graphviz-2.22.2
graveman-0.3.12.5_4
gtk-2.12.11_1
gtk-engines2-2.14.3
gtksourceview-1.8.5_4
gutenprint-5.1.7_1
gutenprint-base-5.1.7_1
gutenprint-ijs-5.1.7_1
libGL-7.3_1
libGLU-7.3
libbonobo-2.24.1
libglade2-2.6.4
libgnome-2.22.0_1
libgnomecanvas-2.20.1.1_2
libgnomeprint-2.18.4_2
libgnomeprintui-2.18.2_2
libgsf-1.14.11
libopenraw-0.0.5_1
librsvg2-2.22.3_2
libwmf-0.2.8.4_2
poppler-0.8.7_1
poppler-gtk-0.8.7
py25-gtk-2.12.1_1
sdl-1.2.13_3,2
tea-17.6.0_2
webkit-gtk2-0.0.30549_1
wmfire-1.2.3_3
xcb-util-0.2.1
aalib-1.4.r5_4
cairo-1.8.6_1,1
pango-1.22.4
libX11-1.2.1,1
libXext-1.0.5,1
libXi-1.2.1,1
libXi-1.2.1,1
libXinerama-1.0.3,1
libXrandr-1.3.0
bluefish-1.0.7_5
Then I ran portmaster -rf libxcb and got this at the end:
Code:
===>   Registering installation for libxcb-1.2_1
===>  Cleaning for libxcb-1.2_1

===>>> Updating package dependency entry for each dependent port
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> man/man1/bluefish.1.gz is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> bin/firefox3 is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> include/gail-1.0/gail/gailwidget.h is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @conflicts gimp-print-[0-9]* is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @unexec /bin/rm %D/share/icons/gnome/icon-theme.cache 2>/dev/null ||
/usr/bin/true is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> bin/gnome-keyring-daemon is listed as a dependency
        ===>>> but there is no installed version
        ===>>> devel/libvolume_id is listed as a dependency
        ===>>> but there is no installed version
        ===>>> devel/libdaemon is listed as a dependency
        ===>>> but there is no installed version
        ===>>> databases/gdbm is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> man/man1/gdk-pixbuf-query-loaders.1.gz is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @conflicts gtk-smooth-engine-[0-9]* is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> include/gtksourceview-1.0/gtksourceview/gtksourcebuffer.h is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @conflicts gimp-print-[0-9]* is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @conflicts gimp-print-[0-9]* is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> include/libopenraw-1.0/libopenraw/consts.h is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> devel/libvolume_id is listed as a dependency
        ===>>> but there is no installed version
        ===>>> devel/libdaemon is listed as a dependency
        ===>>> but there is no installed version
        ===>>> databases/gdbm is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version
        ===>>> @pkgdep  is listed as a dependency
        ===>>> but there is no installed version

===>>> Re-installation of libxcb-1.2_1 succeeded

===>>> Delete libxcb-1.1.90.1.tar.bz2? [n]
I accepted the default on that, and it went on to claws-mail-3.5.0_1:

Code:
checking for libetpan-config... /usr/local/bin/libetpan-config
checking libetpan/libetpan.h usability... yes
checking libetpan/libetpan.h presence... yes
checking for libetpan/libetpan.h... yes
checking whether libetpan-config hints compiles and links fine... yes
*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/
*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.
configure: error: libetpan 0.57 not found
===>  Script "configure" failed unexpectedly.
Please report the problem to netchild@FreeBSD.org [maintainer] and attach the "/usr/ports/mail/claws-mail/work/claws-mail-3.7.1/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. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/mail/claws-mail.
*** Error code 1

Stop in /usr/ports/mail/claws-mail.

===>>> make failed for mail/claws-mail
===>>> Aborting update

===>>> Update for claws-mail-3.5.0_1 failed
===>>> Aborting update

===>>> There are messages from installed ports to display,
       but first take a moment to review the error messages
       above.  Then press Enter when ready to proceed.

===>>> pkg-message for libxcb-1.2_1

*****************************************************************
Although libxcb can yield dramatic improvements in speed,
memory footprint, and responsiveness, and will probably
become the default Xlib for X.org/freedesktop.org, it is
still experimental software.  Some broken callers will abort()
on locking assertion failures.  As a temporary workaround, set
LIBXCB_ALLOW_SLOPPY_LOCK in your environment to skip the abort().
This may result in noisy stacktrace printing.
*****************************************************************


===>>> Done displaying pkg-message files
===>>> The following actions were performed:
        Re-installation of libxcb-1.2_1
        Re-installation of aalib-1.4.r5_4
        Re-installation of bluefish-1.0.7_5
        Re-installation of cairo-1.8.6_1,1
Looking back at my list of installed packages, I see that I have libetpan 0.55. I can't disable it because I need IMAP4, and the 0.57 version was in my ports tree so I updated it. I was going to rerun portmaster -rf libxcb and see if it would get past Claws this time, but since the output had said that bluefish was reinstalled, I tried to run it, and got this:

Code:
[AncientDragonfly@wampus: /usr/home/AncientDragonfly/]$ bluefish
/libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, required by
"libxcb-render-util.so.0"
so it seems I haven't accomplished the needed changeover to libxcb.so.2 yet. Since the libxcb.so.1 is being required by libxcb-render-util.so.0, and it doesn't seem to have been updated, how do I find out what port supplies it?
Reply With Quote
Old 12th April 2009
AncientDragonfly's Avatar
AncientDragonfly AncientDragonfly is offline
not quite new user
 
Join Date: Apr 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by robbak View Post
Seems like you are getting enough advice, so I'll bow to those more experienced than I.

The reason I add 'build' to the 'make deinstall reinstall' is that adding the build target means that the port gets actually made before the old port is removed. 'make deinstall reinstall' will uninstall the port, then build it and reinstall it - the program is unavailable during the (possibly lengthy) build. 'make build deinstall reinstall' rebuilds the port before removing it: the package is missing for the least available time. (Technically, the 'install' or 'reinstall' targets always include the 'build' target, like the 'build' target will always call the 'fetch', 'checksum', 'extract', 'patch' and any other target that is needed. If a target has been done, then calling it again does nothing.)

This is only rarely important, so it doesn't matter much.
Sounds like good advice; if the port won't rebuild for whatever reason, then it's best not to deinstall it, at least until you figure out why?

Quote:
The last point I'll make is the importance of running 'make clean' (Often I'll use 'make clean build deinstall reinstall'). This ensures that you do not simply reinstall an already broken build!
So, considering the mess I'm in right now, would it probably be a good idea to go ahead and clean all these:

Code:
[root@wampus: /usr/ports/]# echo /usr/ports/*/*/work
/usr/ports/accessibility/accerciser/work
/usr/ports/devel/desktop-file-utils/work
/usr/ports/devel/makedepend/work
/usr/ports/editors/tea/work
/usr/ports/emulators/linux_base-fc4/work
/usr/ports/graphics/gimp-app/work
/usr/ports/graphics/gimp/work
/usr/ports/graphics/inkscape/work
/usr/ports/graphics/libexif/work
/usr/ports/graphics/libmng/work
/usr/ports/graphics/libwmf/work
/usr/ports/graphics/poppler-data/work
/usr/ports/graphics/poppler-gtk/work
/usr/ports/graphics/poppler/work
/usr/ports/mail/claws-mail/work
/usr/ports/mail/libetpan/work
/usr/ports/textproc/p5-XML-Parser/work
/usr/ports/x11-fm/emelfm2/work
/usr/ports/x11/dri2proto/work
?
Reply With Quote
Old 12th April 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

the bit about /usr/bin/true concerns me a bit.... lol.

one way you can see what shared libraries a program uses is ldd; it'll show the path and a memory address (or not found); $ ldd `which bluefish` for example (`which cmd` is usually less typing then /usr/local/bin/cmd)

the libxcb port should have built libxcb.so.2, but from the sound of the ld-elf output: libxcb-util likely needs to be rebuilt likewise. (libxcb-render-util is a library built on top of libxcb and stuffed in an '-util' group; bluefish likely uses the lib, which intern uses libxcb, +/- a few other layers of indirection). I'd suggest updating your libraries before the dependents if you can; utilities like portmaster/portupgrade are only so smart about build order.


Personally, I keep a list of software written out, kind of like a Standard Operating Environment (SOE). That lets me know exactly what software is needed; including the ability to semi-automate installing it all from that list. It also has the perk, I can remove every installed package and build fresh if things get to annoying or two hopelessly out of date. I've never had to call that in though, even if similar situations to your present one. One virtue of unix systems, it is usually very easy to repair with a bit of effort and a couple hours or days.
__________________
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
Old 13th April 2009
AncientDragonfly's Avatar
AncientDragonfly AncientDragonfly is offline
not quite new user
 
Join Date: Apr 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by TerryP View Post
the bit about /usr/bin/true concerns me a bit.... lol.
I didn't know what it was when you said that, so I searched it. I gather that icon-theme.cache is supposed to be removed and it isn't happening because it's being sent to a program that's supposed to do nothing? If so, no wonder you lol-ed. It's a 7mb file. Is that something I need to/can do something about?

Quote:
one way you can see what shared libraries a program uses is ldd; it'll show the path and a memory address (or not found); $ ldd `which bluefish` for example (`which cmd` is usually less typing then /usr/local/bin/cmd)

the libxcb port should have built libxcb.so.2,
It did, and I guess it wiped out the libxcb.so.1 when it did.

Quote:
but from the sound of the ld-elf output: libxcb-util likely needs to be rebuilt likewise. (libxcb-render-util is a library built on top of libxcb and stuffed in an '-util' group; bluefish likely uses the lib, which intern uses libxcb, +/- a few other layers of indirection). I'd suggest updating your libraries before the dependents if you can; utilities like portmaster/portupgrade are only so smart about build order.
xcb-util is the port name I needed. I got that by googling libxcb-util and freesbsd, but is there a way I could have found that out from the system itself?

It wouldn't do it with portmaster -rf xcb-util, it gave me:
Code:
 ===>>> Gathering distinfo list for installed ports

===>>> Currently installed version: xcb-util-0.2.1
===>>> Port directory: /usr/ports/x11/xcb-util
===>>> Launching 'make checksum' for x11/xcb-util in background
===>>> Gathering dependency list for x11/xcb-util from ports
===>>> Starting recursive 'make config' check
===>>> Launching child to update devel/gperf
        xcb-util-0.2.1 >> devel/gperf

===>>> Port directory: /usr/ports/devel/gperf
===>>> Launching 'make checksum' for devel/gperf in background
===>>> Gathering dependency list for devel/gperf from ports
===>>> No dependencies for devel/gperf
===>>> Recursive 'make config' check complete for x11/xcb-util

===>>> Checking ports that depend on xcb-util-0.2.1

===>>> Launching child to update bluefish-1.0.7_5
        xcb-util-0.2.1 >> bluefish-1.0.7_5

===>>> Port directory: /usr/ports/www/bluefish
===>>> Launching 'make checksum' for www/bluefish in background
===>>> Gathering dependency list for www/bluefish from ports
===>>> Starting recursive 'make config' check
===>>> Launching child to update gconf2-2.24.0
        xcb-util-0.2.1 >> bluefish-1.0.7_5 >> gconf2-2.24.0

===>>> Port directory: /usr/ports/devel/gconf2
===>>> Launching 'make checksum' for devel/gconf2 in background
===>>> Gathering dependency list for devel/gconf2 from ports
===>>> Starting recursive 'make config' check
Terminated
Terminated

===>>> Update for gconf2-2.24.0 failed
===>>> Aborting update

===>>> Update for bluefish-1.0.7_5 failed
===>>> Aborting update
so I did it with portmaster xcb-util.

The great news is that bluefish and tea are both working again! THANK YOU!

And I was so excited to thank you that I haven't tried anything else yet. I have just a few more questions if you don't mind.

How do I update the libraries first? Manually, one by one? (I'm pretty ignorant of the libraries, if you couldn't tell.) And will all libraries start with "lib"? So if I do a "pkg_version -v" all the lib*s listed there should be done first? Or is there a different command to do it more automatically?

I'm thinking now all I need to do is to reinstall the ones that aren't there anymore, and I'll be fixed, but is there something else I should do to make sure everything is right? Redo the portmaster -rf libxcb and portmaster -rf xcb-util?

Would it be a bad idea at this point to use portmaster -iva to get everything updated (that is kinda how this mess started)?

Quote:
Personally, I keep a list of software written out, kind of like a Standard Operating Environment (SOE). That lets me know exactly what software is needed; including the ability to semi-automate installing it all from that list. It also has the perk, I can remove every installed package and build fresh if things get to annoying or two hopelessly out of date. I've never had to call that in though, even if similar situations to your present one. One virtue of unix systems, it is usually very easy to repair with a bit of effort and a couple hours or days.
Easy to repair if you know enough or can find good helpers, like I seem to have found here. The list is a good idea, I'm going to do that once it's in proper working order. I feel like I need to keep a running log of everything I do, until I know better what I'm doing, just so I can go back and remember everything.

Thank you so much, once again, and thanks for all the tips also. Once I've made sure everything is working again, I'll let you know, and add a [solved] to the subject line.
Reply With Quote
Old 13th April 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

On my box (7-stable complied a few weeks ago) /usr/bin/true is a 4kb file; or did you mean the file being sent? (I assume true is to : like test is to [ in sh script; but I've rarely seen true or : used)


I believe some programs (either on their own genius or threw ports 'make' targets I dunno about yet) can save old libs (portupgrade comes to mind), but generally yeah it should've killed it; ports/pkg have an idea of what files they come with and try and clean up after themselves.

The way I found out about it, was looking up libxcb, and following the link in pkg-descr to cure curiosity over it as an "xlib replacement"; which mentioned using supporting libs (with a list) for higher level programming (I'm a programmer by nature; cleaner by trade). When I looked over the output you posed again, I saw the 'libxcb-render-util.so.0' part and it clicked: libxcb-render was one of the supporting libs I saw on the web page.Having the libraries name, I knew it had to be either part of libxcb, libxcb-render, or some other package; a search of ports turned up xcb-util and a look around their pkg-plist / Makefile 's clinched it. (I use ports-mgmt/psearch and www.freebsd.org/ports for it). The files in /var/db/pkg/pkg-x.y.z_a and /usr/port/category/portname can be very handy for gathering info.


Really, I think a big part of computer savy'ness is learning how to get half a clue, and hack away at it until it leads to something else; trying to learn more about that shows good signs padawan ;-)

You'll find us lot much more inclined to help those who are willing to help themselves.



One thing you might like is using 'script' to log stuff; normally when doing a big round of updates I execute 'script /home/Terry/descriptive-name.scr' from the root shell and go run stuff, so I can have some clue of the output of programs beyond the terminals scrollback buffer. (note: control chars from shell line editing or apps like vi show up in the file, and can sometimes make it harder to search the file via editor or grep). I've still got a 15M 'world.scr' from last weeks update (I think the logs of portmaster were over 50M)



& thank you for deciding to add a [solved] to the thread title when it eventually is solved; it helps people find the thread and know "hey, the solution is probably there" :-)



I still remember the joys of dealing with libxcb / glib20 back in February'ish in my before-last periodic update of everything. Ended up having to rebuilt most of X11 and GTK+.
__________________
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
Old 14th April 2009
AncientDragonfly's Avatar
AncientDragonfly AncientDragonfly is offline
not quite new user
 
Join Date: Apr 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

Well, I've hit a snag with gstreamer that I'm trying to figure out how to fix, so I'll come back and be more conversational tomorrow (or else be back begging for help again).
Reply With Quote
Old 19th April 2009
AncientDragonfly's Avatar
AncientDragonfly AncientDragonfly is offline
not quite new user
 
Join Date: Apr 2009
Posts: 25
Thanked 0 Times in 0 Posts
Default

I guess it's later than tomorrow ^, but I'm back with an update.

Little by little, I am getting the things I need back, by using these:
portmaster and portupgrade with an assortment of switches
and
make clean build deinstall reinstall (from the proper directory, I won't make that mistake again!)

Sometimes when something won't finish, I'm getting the last message on the screen and searching for whatever is causing the problem, sometimes doing a workaround instead of actually solving the problem.

For instance, emelfm2 was hanging on gstreamer, and I tried installing gstreamer-plugins, but got this:
Code:
configure: Requested 'gstreamer-0.10 >= 0.10.21.1' but version of GStreamer is 0.10.21
configure: error: no gstreamer-0.10 >= 0.10.21.1 (GStreamer) found
===>  Script "configure" failed unexpectedly.
Please report the problem to multimedia@FreeBSD.org [maintainer] and attach
the
"/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.22/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. an `ls /var/db/pkg`).
*** Error code 1
I am not sure if I should submit that, because I know I have problems, so wouldn't want the developer people to spend time chasing a bug that is not a bug but my messed-up system.

Anyway, I got to wondering why a file manager would use gstreamer (after searching and finding out what it was), and there was a configuration for
'THUMB=off (default) "Enable the thumbnail plugin" ' which I had enabled the first time around, and once I did make config and set it to off again, it compiled.

I am still not finished though, and my latest problem is:
Code:
===>  Building for tuxcards-1.2_2
/usr/local/bin/uic src/gui/dialogs/expiredElementsDialog/ExpiredElementsDialogInterface.ui -o src/gui/dialogs/expiredElementsDialog/ExpiredElementsDialogInterface.h
/libexec/ld-elf.so.1: Shared object "libaudio.so.2" not found, required by "libqt-mt.so.3"
*** Error code 1

Stop in /usr/ports/deskutils/tuxcards/work/tuxcards-1.2.
*** Error code 1
so I'll go try to figure that out, and maybe one day, I will have all my programs back. But I actually will be happier when I get the time to build a 7.1 system from scratch, so nothing from my screw-up will come back to haunt me later.

Quote:
Originally Posted by TerryP View Post
On my box (7-stable complied a few weeks ago) /usr/bin/true is a 4kb file; or did you mean the file being sent? (I assume true is to : like test is to [ in sh script; but I've rarely seen true or : used)
The cache file was 7mb.

Quote:
I believe some programs (either on their own genius or threw ports 'make' targets I dunno about yet) can save old libs (portupgrade comes to mind), but generally yeah it should've killed it; ports/pkg have an idea of what files they come with and try and clean up after themselves.
Well, if the icon-theme.cache file keeps growing, I'll get rid of it manually (after renaming it and testing, so I don't get in another mess).

Quote:
The way I found out about it, was looking up libxcb, and following the link in pkg-descr to cure curiosity over it as an "xlib replacement"; which mentioned using supporting libs (with a list) for higher level programming (I'm a programmer by nature; cleaner by trade). When I looked over the output you posed again, I saw the 'libxcb-render-util.so.0' part and it clicked: libxcb-render was one of the supporting libs I saw on the web page.Having the libraries name, I knew it had to be either part of libxcb, libxcb-render, or some other package; a search of ports turned up xcb-util and a look around their pkg-plist / Makefile 's clinched it. (I use ports-mgmt/psearch and www.freebsd.org/ports for it). The files in /var/db/pkg/pkg-x.y.z_a and /usr/port/category/portname can be very handy for gathering info.
I seem to remember from when I was using Gentoo Linux that there was a command that would tell you what libraries were supplied by which program packages - like "command libraryname" and it would spit out what you had to install to get the library. Of course, FreeBSD is not Gentoo (thank god!), and I may be misremembering too, it's been a couple of years or more.

Quote:
Really, I think a big part of computer savy'ness is learning how to get half a clue, and hack away at it until it leads to something else; trying to learn more about that shows good signs padawan ;-)
Thank you; I'm not new to technical stuff, just fairly new to compiling from source. I'm also pretty shy by nature, and hate to look like an idiot in public, even if y'all don't know who I am. lol, silly, I know.

Quote:
You'll find us lot much more inclined to help those who are willing to help themselves.
Ah, yes, I'm a bit that way myself. When people can't bother to try to be self-sufficient, they're gonna need a LOT of handholding, and perhaps it's best if they don't go there in the first place. I try to be understanding, though, that sometimes things that seem obvious to the experienced don't make sense to the inexperienced.

Quote:
One thing you might like is using 'script' to log stuff; normally when doing a big round of updates I execute 'script /home/Terry/descriptive-name.scr' from the root shell and go run stuff, so I can have some clue of the output of programs beyond the terminals scrollback buffer. (note: control chars from shell line editing or apps like vi show up in the file, and can sometimes make it harder to search the file via editor or grep). I've still got a 15M 'world.scr' from last weeks update (I think the logs of portmaster were over 50M)
Great, making a note of that one!
Quote:
& thank you for deciding to add a [solved] to the thread title when it eventually is solved; it helps people find the thread and know "hey, the solution is probably there" :-)
Sure thing.

Quote:
I still remember the joys of dealing with libxcb / glib20 back in February'ish in my before-last periodic update of everything. Ended up having to rebuilt most of X11 and GTK+.
Shudder! I still have nightmares about the big x.org update, where it went from monolithic to modular. I was using Gentoo at the time. I think perhaps some of my bad experiences with it is what makes me timid to upgrade FBSD. It may have improved again by now (it wasn't always bad), but I haven't looked back since coming to the daemon side.
Reply With Quote
Old 19th April 2009
jb_daefo jb_daefo is offline
Package Pilot
 
Join Date: May 2008
Posts: 196
Thanked 5 Times in 5 Posts
Default

script configure failed unexpectedly. ( I *never* send a PR)
make build-depends-list (I alias that so I do not every have to type it:
..................................bdl maybe)
7 ports shown?
ls -lac /var/db/pkg/first-one-1.0
ls -lac /var/db/pkg/next-one-2.0
etc.
Usually the top lines of the output of the above will show you day of the most recent
(re)install of the port. You can /bin/rm -rf work
and start rebuilding the 7 from the oldest to the newest. 95 percent of the time
that *may* work. If all else fails you can pkg_add (maybe 3 percent of your
installed ports) if the tbz or whatever exists.
............
__________________
using /LOOKAT/ with /var/db/pkg files and portmaster/aliases/pipes/find/grep to meteorically speedup port upgrades/installs...
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
portupgrade messed up my autostart in rc.conf semtecs FreeBSD Installation and Upgrading 6 17th March 2009 05:04 PM
I would like to secure a system kungfujesus OpenBSD Security 4 28th September 2008 04:30 PM
File system at more than 100% michaelrmgreen FreeBSD General 4 28th July 2008 01:52 PM
How to backup my system PatrickBaer FreeBSD General 4 16th July 2008 08:12 PM
Which file system use to share data on Bsd system? aleunix Other BSD and UNIX/UNIX-like 2 1st June 2008 04:14 PM


All times are GMT. The time now is 09:07 AM.


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