Date: Sat, 19 Sep 1998 00:16:37 -0400 (EDT) From: John DeBoskey <jwd@unx.sas.com> To: freebsd-current@FreeBSD.ORG Subject: make release on aout system is busted Message-ID: <199809190416.AAA09660@bb01f39.unx.sas.com>
next in thread | raw e-mail | index | archive | help
Hello, make release fails on an aout based system. A few background items. 1. I am still running an aout -current system. 2. cd /usr/src && make world still works correctly. The problem: cd /usr/src/release && make release CHROOTDIR=/snap/release \ BUILDNAME=$TITLE fails with the following from /usr/src/Makefile.inc1: -------------------------------------------------------------- >>> Re-scanning the shared libraries.. -------------------------------------------------------------- cd /usr/src; /sbin/ldconfig -R ldconfig: /var/run/ld.so.hints: No such file or directory *** Error code 255 from this entry in the reinstall target: .if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "aout" @echo @echo "--------------------------------------------------------------" @echo ">>> Re-scanning the shared libraries.." @echo "--------------------------------------------------------------" cd ${.CURDIR}; /sbin/ldconfig -R .endif This works correctly for 'make world' because /var/run/ld.so.hints exists from when the system was booted up, and /etc/objformat specifies aout as the OBJFORMAT. This fails during a 'make release' because it is run in a chroot'd environment where /var/run/ld.so.hints does not exist. ie: chroot /snap/release /mk which is done in /usr/src/Makefile. I see two options: 1. Do not execute the ldconfig command when in the chroot'd environment, at which point /var/run/ld.so.hints will be created the 1st time an installed system is booted. 2. ldconfig needs to be given the same default set of paths which are specified in /usr/src/etc/rc.conf at boot time. Would an appropriate person with commit ability please take 5 minutes to look into this problem? Comments? Critiques? Thanks! John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809190416.AAA09660>