Date: Mon, 29 Apr 2013 12:42:33 +0400 From: Gleb Smirnoff <glebius@FreeBSD.org> To: Eir Nym <eirnym@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Installing new world failed (install -l) Message-ID: <20130429084233.GO76816@glebius.int.ru> In-Reply-To: <CAO8GK0o2zcHafSiUeHNf5AdkZ5nZLB6VqmV7MgaGP9KFwHuXkw@mail.gmail.com> References: <CAO8GK0ox-VHCoP9%2BJhc0twOPVFLAXwaOH-_onhs=m%2BrOwWDTNQ@mail.gmail.com> <20130429061941.GF76816@glebius.int.ru> <CAO8GK0o2zcHafSiUeHNf5AdkZ5nZLB6VqmV7MgaGP9KFwHuXkw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130429084233.GO76816>