From nobody@FreeBSD.org  Tue Jan 30 23:35:51 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 2ADB237B6C8
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Jan 2001 23:35:50 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f0V7Zo628764;
	Tue, 30 Jan 2001 23:35:50 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200101310735.f0V7Zo628764@freefall.freebsd.org>
Date: Tue, 30 Jan 2001 23:35:50 -0800 (PST)
From: riccardo@torrini.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: unable to make reinstall on a fresh installed 4.2
X-Send-Pr-Version: www-1.0

>Number:         24750
>Category:       misc
>Synopsis:       unable to make reinstall on a fresh installed 4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 30 23:40:01 PST 2001
>Closed-Date:    Thu May 31 19:45:22 PDT 2001
>Last-Modified:  Thu May 31 19:45:33 PDT 2001
>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.
>Fix:


>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@orbitel.bg>
To: riccardo@torrini.org
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4.2
Date: Wed, 31 Jan 2001 09:42:32 +0200

 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.
 

From: Neil Blakey-Milner <nbm@mithrandr.moria.org>
To: riccardo@torrini.org
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4.2
Date: Wed, 31 Jan 2001 09:55:51 +0200

 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
 

From: Riccardo Torrini <riccardo@torrini.org>
To: Peter Pentchev <roam@orbitel.bg>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4.
Date: Wed, 31 Jan 2001 23:23:49 +0100 (CET)

 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 :-(
 

From: Riccardo Torrini <riccardo@torrini.org>
To: Neil Blakey-Milner <nbm@mithrandr.moria.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4.
Date: Wed, 31 Jan 2001 23:24:11 +0100 (CET)

 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
 

From: Peter Pentchev <roam@orbitel.bg>
To: Riccardo Torrini <riccardo@torrini.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4.
Date: Thu, 1 Feb 2001 00:35:27 +0200

 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 
State-Changed-By: dd 
State-Changed-When: Thu May 31 19:45:22 PDT 2001 
State-Changed-Why:  
Originator reports pilot error. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24750 
>Unformatted:
