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