Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?

Bobby Knight tyskdisciplin at
Wed Aug 2 12:22:20 UTC 2006

Hello    Newly installed 6.1. Barely touched ports so one would expect it to work, yet it fails brutally for me as  a new user when I do portupgrade -arR just to upgrade a few packages.    I have no clue why and what to do so I am hoping someone here knows. Can't  see what I have done wrong. I have followed the available ports docs/mans slavishly.

That is always cvsup ports and do a portsdb -Fu; portaudit -Fa before upgrade as  well as read UPDATING.    The info I've managed to gather is listed below. I don't want to retry the  installation and maybe screw up things more before I ask you guys. Problem  seems to be with pkg-config or pkgconfig....... pkgconfig puzzles me. There

exits no port of this in the tree yet it somehow is a package now.


Thanks.    syscons buffer contents related to error I could get:    --->  Installing the new version via the port  ===>  Installing for pkg-config-0.20_2  ===>   Generating temporary packing list  ===>  Checking if devel/pkg-config already installed  ===>   pkg-config-0.20_2 is already installed        You may wish to ``make deinstall'' and install this port again        by ``make reinstall'' to upgrade it properly.        If you really wish to overwrite the old port of devel/pkg-config        without deleting it first, set the variable "FORCE_PKG_REGISTER"        in your environment or the "make install" command line.  *** Error code 1    Stop in /usr/ports/devel/pkg-config.  *** Error code 1    Stop in /usr/ports/devel/pkg-config.  ** Command failed [exit code 1]: /usr/bin/script -qa  /tmp/portupgrade42339.5 env     PORT_UPGRADE=yes make PORT_UPGRADE=yes reinstall  egrep: /var/db/pkg/pkgconfig-0.20/+CONTENTS: No such file or directory  --->  Restoring the old version  **
 Fix the installation problem and try again.  [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 45 packages  found (-    0 +1) . done]  --->  Skipping 'devel/pkg-config' (pkg-config-0.20_2) because it has  already fai    led    portversion -vl "<":    fontconfig-2.3.2_3,1        <  needs updating (port has 2.3.2_5,1)  linux_base-8-8.0_14         <  needs updating (port has 8.0_16)  pkgconfig-0.20              <  needs updating (port has 0.20_2)  xorg-clients-6.9.0_2        <  needs updating (port has 6.9.0_3)  xorg-printserver-6.9.0      <  needs updating (port has 6.9.0_1)  xorg-server-6.9.0_1         <  needs updating (port has 6.9.0_4)  xorg-vfbserver-6.9.0        <  needs updating (port has 6.9.0_1)  xterm-206_1                 <  needs updating (port has 215)    pkg_info:    bash-3.1.17         The GNU Project's Bourne Again SHell  bitstream-vera-1.10_2 Bitstream Vera TrueType font collection  cvsup-without-gui-16.1h_2 General network file distribution system
  optimized for   CVS  db41-4.1.25_3       The Berkeley DB package, revision 4.1  expat-2.0.0_1       XML 1.0 parser written in C  fontconfig-2.3.2_3,1 An XML-based font configuration API for X Windows  freetype2-2.1.10_3  A free and portable TrueType font rendering engine  gettext-0.14.5_2    GNU gettext package  gmake-3.81_1        GNU version of 'make' utility  imake-6.9.0         Imake and other utilities from X.Org  jpeg-6b_4           IJG's jpeg compression utilities  libXft-2.1.7_1      A client-sided font API for X applications  libdrm-2.0.2        Userspace interface to kernel Direct Rendering Module  servi  libiconv-1.9.2_2    A character set conversion library  libtool-1.5.22_2    Generic shared library support script  links-2.1.p21,1     Lynx-like text WWW browser  linux_base-8-8.0_14 Base set of packages needed in Linux mode (for  i386/amd64)  lynx-ssl-2.8.5_2    A non-graphical, text-based World-Wide Web client with  SSL  pcre-6.7            Perl Compatible
 Regular Expressions library  perl-5.8.8          Practical Extraction and Report Language  pkg-config-0.20_2   A utility to retrieve information about installed  libraries  pkgconfig-0.20      A utility to retrieve information about installed  libraries  png-1.2.12_1        Library for manipulating PNG images  portaudit-0.5.11    Checks installed ports against a list of security  vulnerabi  portupgrade-,2 FreeBSD ports/packages administration and  management too  l s  ruby-1.8.4_9,1      An object-oriented interpreted scripting language  ruby18-bdb-0.5.9_2  Ruby interface to Sleepycat's Berkeley DB revision 2  or lat  tiff-3.8.2          Tools and library routines for working with TIFF  images  xorg-clients-6.9.0_2 X client programs and related files from X.Org  xorg-documents-6.9.0 Documentation of X11 protocol and libraries from  X.Org  xorg-fonts-100dpi-6.9.0_1 X.Org 100dpi bitmap fonts  xorg-fonts-75dpi-6.9.0_1 X.Org 75dpi bitmap fonts 
 xorg-fonts-cyrillic-6.9.0_1 X.Org Cyrillic bitmap fonts  xorg-fonts-encodings-6.9.0_1 X.Org font encoding files  xorg-fonts-miscbitmaps-6.9.0_1 X.Org miscellaneous bitmap fonts  xorg-fonts-truetype-6.9.0 X.Org TrueType fonts  xorg-fonts-type1-6.9.0 X.Org Type1 fonts  xorg-fontserver-6.9.0_1 X font server from X.Org  xorg-libraries-6.9.0 X11 libraries and headers from X.Org  xorg-manpages-6.9.0 X.Org library manual pages  xorg-nestserver-6.9.0 Nesting X server from X.Org  xorg-printserver-6.9.0 X Print server from X.Org  xorg-server-6.9.0_1 X.Org X server and related programs  xorg-vfbserver-6.9.0 X virtual framebuffer server from X.Org  xterm-206_1         Terminal emulator for the X Window System          pkg_which pkg-config:    pkg-config-0.20_2 pkgconfig-0.20    pkg_which pkgconfig:  pkgconfig: not found


Also, when I check deps and reqs for pkg-config 

there exits none. Yet when I do the same for pkgconfig

they appear. Ports collection on net shows for example

xorg-server depending on pkg-config, in my tree it depends

on pkgconfig.

More information about the freebsd-questions mailing list