From owner-freebsd-current@FreeBSD.ORG Mon Apr 29 08:49:09 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4DFBA23F; Mon, 29 Apr 2013 08:49:09 +0000 (UTC) (envelope-from eirnym@gmail.com) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by mx1.freebsd.org (Postfix) with ESMTP id 29BCB10C1; Mon, 29 Apr 2013 08:49:09 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id hk2so505517pac.8 for ; Mon, 29 Apr 2013 01:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=fAlXvvrtJET+KZZRuXAmDNIiOo2HWukqPe9Gsgyc/IM=; b=Qb/nHRtwN7clElCbOdQ3unb0IBaPHjt0rjgOlqtXfqyfoBK/qi7R+/xOCRlfiAuFcU +8s2K9F5AGVl/EKTOtnIkZU/IEWDFNOOXon2ytruHkYKpFIvVm4/W7rO0SiYRk66wpNi sBmd3Peaqj9E6XZ8xhjXzpAWSrboYreI8Q6jKrF5LQnfBcwYIl8iJVdv1sw2th3aRsLz Lk1EuBuQttgXr8gBpuCOBuo030oLk1l33KmJK2KGEdR5dt4hGCXbOIuVMfLZi80iS1aM vpegCs4Hn6pLblEc7S6GRsu6WKg/f3/Jm6W5RCOhBYHb6+hd9gK55xGNFJ2j7lMpuyye YwYQ== X-Received: by 10.66.48.201 with SMTP id o9mr41539118pan.196.1367225342618; Mon, 29 Apr 2013 01:49:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.156.163 with HTTP; Mon, 29 Apr 2013 01:48:42 -0700 (PDT) In-Reply-To: <20130429084233.GO76816@glebius.int.ru> References: <20130429061941.GF76816@glebius.int.ru> <20130429084233.GO76816@glebius.int.ru> From: Eir Nym Date: Mon, 29 Apr 2013 12:48:42 +0400 Message-ID: Subject: Re: Installing new world failed (install -l) To: Gleb Smirnoff Content-Type: text/plain; charset=UTF-8 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:49:09 -0000 On 29 April 2013 12:42, Gleb Smirnoff wrote: > 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. I have r226748 which is near FreeBSD-9-Release. It was I trying to do. But if I'll build libc.. and other things, all my system will be unavailable. PS: install from toolchain is correct.