Subject: pkgsrc + RedHat 8.0 + "USE_LIBTOOL = YES"
To: None <tech-pkg@netbsd.org>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: tech-pkg
Date: 02/09/2003 19:09:38
Is anyone else using pkgsrc on RHL 8.0?   I'm noticing the need to comment
out "USE_LIBTOOL = YES" from Makefiles in order for buildlink2 not to fail.
As a result, dynamic libs arn't being properly built.  I blew away all the RPM version of the autotools and libtool, in fact, i've blown away just about every non-essential.

...and on a small rant, how is it that RedHat has survived so long with such
a terrible packaging system? I mean, i've used a LOT of packaging systems
over the years, and I would honestly have to say I'd prefer Debian or
Solaris, even in thier extremely depricated conditions, to this piece of
crap. Anway, details:

..without commenting it out (setting it to NO is not sufficient):

bash-2.05b# pwd
/root/pkgsrc/graphics/gdk-pixbuf
bash-2.05b# bmake buildlink
=> Checksum OK for gdk-pixbuf-0.22.0.tar.bz2.
===> Extracting for gdk-pixbuf-0.22.0
===> Required installed package jpeg-6b: jpeg-6b found
===> Required installed package png>=1.2.4: png-1.2.5nb2 found
===> Required installed package tiff>=3.5.4: tiff-3.5.7nb1 found
===> Required installed package gtk+>=1.2.8: gtk+-1.2.10nb3 found
===> Required installed package glib>=1.2.8: glib-1.2.10nb3 found
===> Required installed package libtool-base>=1.4.20010614nb11: libtool-base-1.4.20010614nb13 found
===> Required installed package x11-links>=0.12: x11-links-0.12 found
===> Patching for gdk-pixbuf-0.22.0
===> Applying pkgsrc patches for gdk-pixbuf-0.22.0
/bin/sed -e 's/gnome-config/x.gnome-config.x/g'  /root/pkgsrc/graphics/gdk-pixbuf/work/gdk-pixbuf-0.22.0/configure >/root/pkgsrc/graphics/gdk-pixbuf/work/gdk-pixbuf-0.22.0/.tmp &&  /bin/mv /root/pkgsrc/graphics/gdk-pixbuf/work/gdk-pixbuf-0.22.0/.tmp /root/pkgsrc/graphics/gdk-pixbuf/work/gdk-pixbuf-0.22.0/configure
/bin/chmod a+x /root/pkgsrc/graphics/gdk-pixbuf/work/gdk-pixbuf-0.22.0/configure
===> Buildlinking for gdk-pixbuf-0.22.0
lafile="/root/pkgsrc/graphics/gdk-pixbuf/work/.buildlink/lib/libpthread.la";                     libpattern="/usr/lib/libpthread.*";     if [ ! -f $lafile ]; then                                     case ELF in                                     Mach-O) _lib=`/bin/ls -1 $libpattern 2>/dev/null | /usr/bin/head -1` ;;  *)      _lib=`/bin/ls -1r $libpattern 2>/dev/null | /usr/bin/head -1` ;;  esac;                                                      if [ -n "$_lib" ]; then                               /bin/true "Creating libtool archive: $lafile";  /root/pkgsrc/graphics/gdk-pixbuf/work/.buildlink/bin/.fake-la $_lib > $lafile;                fi;                                                     fi
libtool: link: the `-version-info' option requires an argument
Try `libtool --help --mode=link' for more information.
libtool: install: `.la' is not a valid libtool archive
Try `libtool --help --mode=install' for more information.
/bin/sed: can't read /root/pkgsrc/graphics/gdk-pixbuf/work/.buildlink/.tmp/inst/.la: No such file or directory
*** Error code 2

Stop.
bmake: stopped in /root/pkgsrc/graphics/gdk-pixbuf
*** Error code 1

Stop.
bmake: stopped in /root/pkgsrc/graphics/gdk-pixbuf
-bash-2.05b# which libtool
/usr/pkg/bin/libtool

------------------------------------------------------

...and as a result of commenting it out:

from chat/gaim:

make[1]: Leaving directory `/root/pkgsrc/chat/gaim/work/gaim-0.59.8'
/bin/ls: /usr/X11R6/lib/gaim/libgg.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gaim/libicq.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gaim/libirc.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gaim/libjabber.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gaim/libmsn.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gaim/libnapster.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gaim/libyahoo.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gaim/libzephyr.a: No such file or directory
===> Registering installation for gaim-0.59.8nb2
pkg_create: can't stat `/usr/X11R6/lib/gaim/libgg.a'
pkg_create: can't stat `/usr/X11R6/lib/gaim/libicq.a'
pkg_create: can't stat `/usr/X11R6/lib/gaim/libirc.a'
pkg_create: can't stat `/usr/X11R6/lib/gaim/libjabber.a'
pkg_create: can't stat `/usr/X11R6/lib/gaim/libmsn.a'
pkg_create: can't stat `/usr/X11R6/lib/gaim/libnapster.a'
pkg_create: can't stat `/usr/X11R6/lib/gaim/libyahoo.a'
pkg_create: can't stat `/usr/X11R6/lib/gaim/libzephyr.a'


from graphics/gdk-pixbuf:


bin/rm /usr/X11R6/lib/gnomecanvaspixbufConf.sh
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-bmp.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-bmp.la: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-bmp.so: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-gif.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-gif.la: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-gif.so: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-ico.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-ico.la: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-ico.so: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-jpeg.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-jpeg.la: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-jpeg.so: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-png.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-png.la: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-png.so: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-pnm.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-pnm.la: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-pnm.so: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-ras.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-ras.la: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-ras.so: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-tiff.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-tiff.la: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-tiff.so: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-xbm.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-xbm.la: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-xbm.so: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-xpm.a: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-xpm.la: No such file or directory
/bin/ls: /usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-xpm.so: No such file or directory
/bin/ls: /usr/X11R6/lib/libgdk_pixbuf.so.2.0: No such file or directory
/bin/ls: /usr/X11R6/lib/libgdk_pixbuf_xlib.a: No such file or directory
/bin/ls: /usr/X11R6/lib/libgdk_pixbuf_xlib.la: No such file or directory
/bin/ls: /usr/X11R6/lib/libgdk_pixbuf_xlib.so: No such file or directory
/bin/ls: /usr/X11R6/lib/libgdk_pixbuf_xlib.so.2: No such file or directory
/bin/ls: /usr/X11R6/lib/libgdk_pixbuf_xlib.so.2.0: No such file or directory
===> Registering installation for gdk-pixbuf-0.22.0
pkg_create: can't stat `/usr/X11R6/lib/libgdk_pixbuf.so.2.0'
pkg_create: can't stat `/usr/X11R6/lib/libgdk_pixbuf_xlib.so.2.0'
pkg_create: can't stat `/usr/X11R6/lib/libgdk_pixbuf_xlib.so.2'
pkg_create: can't stat `/usr/X11R6/lib/libgdk_pixbuf_xlib.so'
pkg_create: can't stat `/usr/X11R6/lib/libgdk_pixbuf_xlib.la'
pkg_create: can't stat `/usr/X11R6/lib/libgdk_pixbuf_xlib.a'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-png.so'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-png.la'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-png.a'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-jpeg.so'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-jpeg.la'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-jpeg.a'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-gif.so'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-gif.la'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-gif.a'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-ico.so'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-ico.la'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-ico.a'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-ras.so'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-ras.la'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-ras.a'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-xpm.so'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-xpm.la'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-xpm.a'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-tiff.so'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-tiff.la'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-tiff.a'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-pnm.so'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-pnm.la'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-pnm.a'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-bmp.so'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-bmp.la'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-bmp.a'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-xbm.so'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-xbm.la'
pkg_create: can't stat `/usr/X11R6/lib/gdk-pixbuf/loaders/libpixbufloader-xbm.a'


installed packages:

# pkg_info
Password:
digest-20021220     Message digest wrapper utility
libtool-base-1.4.20010614nb13 Generic shared library support script (the script itself)
jpeg-6b             IJG's jpeg compression utilities
png-1.2.5nb2        Library for manipulating PNG images
x11-links-0.12      shadow tree of links to X11R6 headers and libraries
aterm-0.4.2nb3      aterm (Afterstep XVT) - a VT102 emulator for the X window system
gnome-dirs-1.1      Shared GTK/GNOME (v1 and v2) directories
gnome1-dirs-1.1     Shared GTK/GNOME (v1) directories
libaudiofile-0.2.3nb1 Sound library for SGI audio file
esound-0.2.29       the Enlightened sound daemon
zlib-1.1.4          General purpose data compression library
tiff-3.5.7nb1       Library and tools for reading and writing TIFF data files
glib-1.2.10nb3      Some useful routines for C programming
gettext-m4-0.11.5   autoconf/automake m4 files for GNU NLS library
gettext-lib-0.11.5  tools for providing messages in different languages, libintl only
libiconv-1.8        character set conversion library
gettext-0.11.5nb1   tools for providing messages in different languages
gtk+-1.2.10nb3      Gimp toolkit. Libraries for building X11 user interfaces
gdk-pixbuf-0.22.0   the GNOME image loading library
mplayer-share-0.90rc13 Documentation and fonts used by mplayer and gmplayer
cdparanoia-3.0.9.8  CDDA reading utility with extra data verification features
gaim-0.59.8nb2      GTK+-based client for AOL's Instant Messenger chat system
mad-0.14.2b         High-quality MPEG audio decoder
libogg-1.0.0.8      Ogg project codecs library

-lava