Subject: Make package popt-1.10.7 cores on man pages
To: pkgsrc-users <pkgsrc-users@netbsd.org>
From: Kenneth Freidank <kennethcf@earthlink.net>
List: pkgsrc-users
Date: 10/26/2007 21:00:47
Running 4.99.31, man pages don't build correctly...
Notice the following messages at the 4th or so line at the bottom of the 
listing.
    => Automatic manual page handling
    [1]   Floating point exception (core dumped) ${ldd} ${bins} $...

cvs status of each file reports:
    DESCR 1.3
    Makefile 1.38
    PLIST 1.6
    buildlink3.mk 1.11
    distinfo 1.18

I have the following options set in my kernel

option COMPAT_LINUX
option EXEC_ELF32

$ cd /usr/pkgsrc/devel/popt
$ make clean
$ make
....
(cd /usr/pkg/lib && { ln -s -f libpopt.so.0.0.0 libpopt.so.0 || { rm -f 
libpopt.
so.0 && ln -s libpopt.so.0.0.0 libpopt.so.0; }; })
(cd /usr/pkg/lib && { ln -s -f libpopt.so.0.0.0 libpopt.so || { rm -f 
libpopt.so
 && ln -s libpopt.so.0.0.0 libpopt.so; }; })
/usr/bin/install -c -o root -g wheel .libs/libpopt.lai 
/usr/pkg/lib/libpopt.la
/usr/bin/install -c -o root -g wheel .libs/libpopt.a /usr/pkg/lib/libpopt.a
chmod 644 /usr/pkg/lib/libpopt.a
ranlib /usr/pkg/lib/libpopt.a
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/pkg/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
gmake[2]: Leaving directory `/usr/pkgsrc/devel/popt/work/popt-1.10.7'
gmake[1]: Leaving directory `/usr/pkgsrc/devel/popt/work/popt-1.10.7'
=> Automatic manual page handling
[1]   Floating point exception (core dumped) ${ldd} ${bins} $...
=> Registering installation for popt-1.10.7
=> Dropping ``root'' privileges.
===> Building binary package for popt-1.10.7
=> Becoming ``root'' to make su-package-all (/usr/bin/su)
Password: