Date: Sun, 9 Dec 2001 02:07:43 +0100 (CET) From: Florian Schrack <florian.schrack@freenet.de> To: FreeBSD-gnats-submit@freebsd.org Subject: misc/32635: 'make installworld' fails during update to -current Message-ID: <200112090107.fB917hs01175@ramanujan.dyndns.org>
next in thread | raw e-mail | index | archive | help
>Number: 32635 >Category: misc >Synopsis: 'make installworld' fails during update to -current >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 08 17:10:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Florian Schrack >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD ramanujan.dyndns.org 4.4-STABLE FreeBSD 4.4-STABLE #13: Fri Dec 7 16:27:41 CET 2001 root@ramanujan.dyndns.org:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: When I try to update a 4.4-STABLE environment to 5.0-CURRENT (during a 'make release'), the 'make installworld' step fails because the shared library 'libc.so.4' cannot be found. This happens during the installation of the 'adventure' program, whose Makefile invokes the 'chown' binary. The newly compiled 'chown' binary, which is dynamically linked to 'libc.so.5', has not been installed yet, so the Makefile of the 'adventure' program uses the old version, still linked to 'libc.so.4'. This produces an error, because the old library seems to have been deleted from the system and to have been replaced by the new version. >How-To-Repeat: I encountered the error during a 'make release'. I do not know if it also happens during a normal update from 4.4-STABLE to 5.0-CURRENT, but I think so, since 'make release' just uses the ordinary build and install procedure in a chroot'ed environment. For this reason, I do not want to try an ordinary update, since the error could leave me with a totally trashed system consisting of binaries linked to 'libc.so.4' and only 'libc.so.5' in the library path. >Fix: I think there are at least two different fixes possible: 1) Change the order of subdirectories in /usr/src/Makefile.inc1, i.e. put 'usr.sbin' before 'games'. This should install 'chown' before 'adventure' and therefore avoid the error. I do not know if this method solves all possible similar dependency problems. 2) Ensure that a 'libc.so.4' library is in the library path of the 'make installworld' process. There is such a library in /usr/src/lib/compat/compat4x.*, so the only problem would be to put it in a suitable location *before* the invocation of old binaries. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112090107.fB917hs01175>