If you choose to install XFree86-aoutlibs from sysinstall (standard cdrom or ftp installation) the package will fail to install. Any running "install.cfg" script will then be aborted. The problem may be with the port's pkg-req: it suggests that: "There do not appear to be any a.out libraries on this machine. Please install the compat22 distribution (via /stand/sysinstall) or build it as part of your 'make world' (see /etc/make.conf)." ... even if you actually installed compat22 from the distributions list. pkg-req uses ldconfig to determine if compat22 is installed: maybe at early install time ldconfig has not yet been configured and gives wrong results to pkg-req. The same binary port installs fine from pkg_add after installation. Fix: Either give a clue about single user mode sysinstall to pkg-req (?), or run ldconfig before installing any binary ports from sysinstall (?). Other ports will then call ldconfig as specified in their plists, keeping ldconfig in sync.
Responsible Changed From-To: freebsd-ports->olgeni I'm looking for a solution to this PR. I'll follow up with a fix after some more testing.
I can confirm that this fix works (tested on a recent 4-STABLE snapshot). Index: pkg-req =================================================================== RCS file: /home/ncvs/ports/x11/XFree86-aoutlibs/pkg-req,v retrieving revision 1.2 diff -u -r1.2 pkg-req --- pkg-req 2000/03/11 17:52:08 1.2 +++ pkg-req 2001/02/01 11:46:23 @@ -1,4 +1,9 @@ #!/bin/sh + +if [ -n "${BATCH}" -o -n "${PACKAGE_BUILDING}" ]; then + exit 0 +fi + env=/usr/bin/env fgrep=/usr/bin/fgrep ldconfig=/sbin/ldconfig
Looking at sysinstall's output, the following fix is also required by the master netscape port: Index: pkg-req.aout =================================================================== RCS file: /home/ncvs/ports/www/netscape4-communicator/pkg-req.aout,v retrieving revision 1.1 diff -u -r1.1 pkg-req.aout --- pkg-req.aout 2000/03/11 17:22:02 1.1 +++ pkg-req.aout 2001/02/01 12:17:32 @@ -1,4 +1,9 @@ #!/bin/sh + +if [ -n "${BATCH}" -o -n "${PACKAGE_BUILDING}" ]; then + exit 0 +fi + env=/usr/bin/env fgrep=/usr/bin/fgrep ldconfig=/sbin/ldconfig
State Changed From-To: open->feedback Fixes committed, but this has to be tested on the 4.3 beta ISO.
State Changed From-To: feedback->closed Everything looks fine on the 4.3-RC1 ISO.