From owner-freebsd-current@FreeBSD.ORG Mon Apr 29 08:42:35 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4C9F0ABA for ; Mon, 29 Apr 2013 08:42:35 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) by mx1.freebsd.org (Postfix) with ESMTP id C41011FE4 for ; Mon, 29 Apr 2013 08:42:34 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.6/8.14.6) with ESMTP id r3T8gXM1006935; Mon, 29 Apr 2013 12:42:33 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.6/8.14.6/Submit) id r3T8gXU0006934; Mon, 29 Apr 2013 12:42:33 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 29 Apr 2013 12:42:33 +0400 From: Gleb Smirnoff To: Eir Nym Subject: Re: Installing new world failed (install -l) Message-ID: <20130429084233.GO76816@glebius.int.ru> References: <20130429061941.GF76816@glebius.int.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2013 08:42:35 -0000 On Mon, Apr 29, 2013 at 12:39:06PM +0400, Eir Nym wrote: E> > I came to the following recipe when upgrading from a stale current to E> > a modern one. This workarounds problem with install(1) and failure of E> > clang bootstrap with old time.h in /usr/include. E> > E> > cd usr.bin/xinstall E> > make && make install && make clean E> > cd - E> > make hierarchy E> > make includes E> > E> > Now, make buildworld is possible. E> > E> E> I've tried this, but with no hope: E> E> Warning: Object directory not changed from original E> /usr/head/src/usr.bin/xinstall E> cc -O2 -pipe -I/usr/head/src/usr.bin/xinstall/../../contrib/mtree E> -I/usr/head/src/usr.bin/xinstall/../../lib/libnetbsd E> -I/usr/head/src/usr.bin/xinstall/../../lib/libmd -DNDEBUG -std=gnu99 E> -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W E> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes E> -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch E> -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline E> -Wnested-externs -Wredundant-decls -Wold-style-definition E> -Wno-pointer-sign -c xinstall.c E> xinstall.c: In function 'main': E> xinstall.c:301: warning: implicit declaration of function 'gid_from_group' E> xinstall.c:301: warning: nested extern declaration of 'gid_from_group' E> xinstall.c:311: warning: implicit declaration of function 'uid_from_user' E> xinstall.c:311: warning: nested extern declaration of 'uid_from_user' E> xinstall.c: In function 'metadata_log': E> xinstall.c:1331: warning: implicit declaration of function 'strsvis' E> xinstall.c:1331: warning: nested extern declaration of 'strsvis' E> cc -O2 -pipe -I/usr/head/src/usr.bin/xinstall/../../contrib/mtree E> -I/usr/head/src/usr.bin/xinstall/../../lib/libnetbsd E> -I/usr/head/src/usr.bin/xinstall/../../lib/libmd -DNDEBUG -std=gnu99 E> -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W E> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes E> -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch E> -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline E> -Wnested-externs -Wredundant-decls -Wold-style-definition E> -Wno-pointer-sign -c E> /usr/head/src/usr.bin/xinstall/../../contrib/mtree/getid.c E> /usr/head/src/usr.bin/xinstall/../../contrib/mtree/getid.c: In E> function 'setup_getid': E> /usr/head/src/usr.bin/xinstall/../../contrib/mtree/getid.c:137: E> warning: implicit declaration of function 'pwcache_groupdb' E> /usr/head/src/usr.bin/xinstall/../../contrib/mtree/getid.c:137: E> warning: nested extern declaration of 'pwcache_groupdb' E> /usr/head/src/usr.bin/xinstall/../../contrib/mtree/getid.c:139: E> warning: implicit declaration of function 'pwcache_userdb' E> /usr/head/src/usr.bin/xinstall/../../contrib/mtree/getid.c:139: E> warning: nested extern declaration of 'pwcache_userdb' E> cc -O2 -pipe -I/usr/head/src/usr.bin/xinstall/../../contrib/mtree E> -I/usr/head/src/usr.bin/xinstall/../../lib/libnetbsd E> -I/usr/head/src/usr.bin/xinstall/../../lib/libmd -DNDEBUG -std=gnu99 E> -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W E> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes E> -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch E> -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline E> -Wnested-externs -Wredundant-decls -Wold-style-definition E> -Wno-pointer-sign -o xinstall xinstall.o getid.o -lmd E> xinstall.o: In function `metadata_log': E> xinstall.c:(.text+0x169): undefined reference to `strsvis' E> xinstall.c:(.text+0x20e): undefined reference to `strsvis' E> xinstall.o: In function `main': E> xinstall.c:(.text+0x2472): undefined reference to `gid_from_group' E> xinstall.c:(.text+0x24f8): undefined reference to `uid_from_user' E> getid.o: In function `setup_getid': E> getid.c:(.text+0x7c2): undefined reference to `pwcache_groupdb' E> getid.c:(.text+0x7e2): undefined reference to `pwcache_userdb' E> *** Error code 1 Your current is even older than mine was. Looks like you need to build and install new libc, then continue with install(1). -- Totus tuus, Glebius.