| Summary: | unable to make reinstall on a fresh installed 4.2 | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Riccardo Torrini <riccardo> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.2-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Riccardo Torrini
2001-01-31 07:40:01 UTC
Are your /etc/make.conf files the same on the two machines? It seems to me that you have NOPROFILE=true on the build machine (the NFS server), but not on the freshly-installed one; so it's trying to install profiled libraries that have never been built. G'luck, Peter -- If there were no counterfactuals, this sentence would not have been paradoxical. On Tue, Jan 30, 2001 at 11:35:50PM -0800, riccardo@torrini.org wrote: > > >Number: 24750 > >Category: misc > >Synopsis: unable to make reinstall on a fresh installed 4.2 > >Originator: Riccardo Torrini > >Release: 4.2-RELEASE (iso image of 2000.11.22) > >Organization: > >Environment: > FreeBSD bee.fi.esaote.it 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Jan 29 17:06:19 GMT 2001 root@bee.fi.esaote.it:/usr/obj/usr/src/sys/BEE i386 > >Description: > After installing a new machine from 4.2-RELEASE cd I tryed to upgrade > system without recompiling world but using a previously tree on another > machine. I mounted /usr/(src|obj|ports), cd /usr/src and make reinstall > but it fails with "don't know how to make reinstall" > > NB: I tryed with make reinstall even if Makefile identify it as private > target because remarks before reinstall: gently explain > # If you have a build server, you can NFS mount the source and obj > # directories and do a 'make reinstall' on the *client* to install > # new binaries from the most recent server build. > > I also tryed with "make install" and "installworld" but they also fails: > ===> lib/libcom_err > cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h /usr/include > cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h /usr/include > install -c -o root -g wheel -m 444 libcom_err.a /usr/lib > install -c -o root -g wheel -m 444 libcom_err_p.a /usr/lib > install: libcom_err_p.a: No such file or directory > *** Error code 71 > > Stop in /usr/src/lib/libcom_err. > *** Error code 1 > > Stop in /usr/src/lib. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > >How-To-Repeat: > Install a fresh machine from 4.2-RELEASE CD (2000.11.22) > NFS mount /usr/(src|obj) from a 4.2-STABLE > # cd /usr/src && make reinstall > make: don't know how to make reinstall. Stop > > -OR- > > # cd /urs/src && make install > [...] > install: libcom_err_p.a: No such file or directory > Stop. > > -OR- > > # cd /usr/src && make installworld > [...] > install: libcom_err_p.a: No such file or directory > Stop. On Tue 2001-01-30 (23:35), riccardo@torrini.org wrote: > I also tryed with "make install" and "installworld" but they also fails: > ===> lib/libcom_err > cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h /usr/include > cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h /usr/include > install -c -o root -g wheel -m 444 libcom_err.a /usr/lib > install -c -o root -g wheel -m 444 libcom_err_p.a /usr/lib > install: libcom_err_p.a: No such file or directory > *** Error code 71 Did your buildworld use NOPROFILE=true ? Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org On 31-Jan-01 (07:42:32/GMT) Peter Pentchev wrote: > Are your /etc/make.conf files the same on the two machines? Ooppss. It seems my fault :-( I forgot to copy /etc/make.conf, it was a really fresh installed machine. > It seems to me that you have NOPROFILE=true on the build machine Yes, correct. But what about a less cryptict error message? ;-) And why make can't find the target install (or reinstall)? But I need profiling library (on a production machine) or not? I usually remove them from compile... Ciao, Riccardo PS: In the meantime I started a new make world :-( On 31-Jan-01 (07:55:51/GMT) Neil Blakey-Milner wrote:
> Did your buildworld use NOPROFILE=true ?
Yes, correct (see other message to Peter Pentchev)
Ciao,
Riccardo
On Wed, Jan 31, 2001 at 11:23:49PM +0100, Riccardo Torrini wrote: > On 31-Jan-01 (07:42:32/GMT) Peter Pentchev wrote: > > > Are your /etc/make.conf files the same on the two machines? > > Ooppss. It seems my fault :-( I forgot to copy /etc/make.conf, > it was a really fresh installed machine. > > > > It seems to me that you have NOPROFILE=true on the build machine > > Yes, correct. But what about a less cryptict error message? ;-) Mmm.. I don't really know how this could be made less cryptic, short of make saving something during the build, and comparing the saved settings to the ones during the install :) > And why make can't find the target install (or reinstall)? No idea on that one.. > But I need profiling library (on a production machine) or not? > I usually remove them from compile... No, you usually do not need profiling libs on production servers. I leave them out even on development machines :) G'luck, Peter -- If wishes were fishes, the antecedent of this conditional would be true. State Changed From-To: open->closed Originator reports pilot error. |