From nobody@FreeBSD.org  Wed Jul 10 06:10:39 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2866337B400
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Jul 2002 06:10:39 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C29A743E64
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Jul 2002 06:10:38 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g6ADAcOT065379
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Jul 2002 06:10:38 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g6ADAcM8065378;
	Wed, 10 Jul 2002 06:10:38 -0700 (PDT)
Message-Id: <200207101310.g6ADAcM8065378@www.freebsd.org>
Date: Wed, 10 Jul 2002 06:10:38 -0700 (PDT)
From: ryan schwarzenberger <ryan@brad-x.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: make installworld problem ('install` syntax error?)
X-Send-Pr-Version: www-1.0

>Number:         40414
>Category:       misc
>Synopsis:       make installworld problem ('install` syntax error?)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 10 06:20:02 PDT 2002
>Closed-Date:    Thu Jul 11 10:16:23 PDT 2002
>Last-Modified:  Thu Jul 11 10:16:23 PDT 2002
>Originator:     ryan schwarzenberger
>Release:        FreeBSD 4.6-STABLE
>Organization:
>Environment:
FreeBSD aquemini.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Tue Jul  9 10:58:14 CDT 2002     root@tau.aquemini.net:/usr/obj/usr/src/sys/TAUversion4.6-STABLE_SEQUEL  i386
>Description:
      Problem occurs during `make installworld`, after succesfully completing previous steps -- `m
ake buildworld`, `make buildkernel`, `make installkernel` -- as specified in the handbook pa
ge http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html and /usr/src/UPD
ATING. The system sources were cvsupped immediately prior to the install/setup process, at a
pproximately Tue Jul  9 08:34:31 CDT 2002 (time documented by usage of `script` command). `m
ake installworld` error output is as follows:

--- INSTALLWORLD ERROR OUTPUT ---
        ===> share/sendmail
install -C -o root -g wheel -m 755 -d /usr/share/sendmail/cf
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
*** Error code 64

[snipped recursive folder errors. irrelevant to problem at hand.]
--- END MAKE INSTALLWORLD ERROR OUTPUT --
>How-To-Repeat:
      A cvsup of sources at the time noted above. NO_BIND  = true, NOPERL = true, and NOPROFILE = 
true uncommented in /etc/make.conf. I'm probably missing other helpful information here, but
 I can't think of anything else at the moment. Any further inquiries can be sent to ryan@bra
d-x.com if I left out details necessary to fixing the problem.
>Fix:
      I mentioned this problem in #freebsd on OPN (irc.openprojects.net), and a person made note t
hat the -d flag should be specified first before other flags and args if it is to be used. P
ersonally, I'm not familiar with the usage of `install`, so I can't verify this, even after 
reading man install(1), as the man page does not state whether the person's claim to be true
 or not.
>Release-Note:
>Audit-Trail:

From: Bruce Evans <bde@zeta.org.au>
To: ryan schwarzenberger <ryan@brad-x.com>
Cc: freebsd-gnats-submit@FreeBSD.ORG, <ru@FreeBSD.ORG>
Subject: Re: misc/40414: make installworld problem ('install` syntax error?)
Date: Thu, 11 Jul 2002 02:07:02 +1000 (EST)

 On Wed, 10 Jul 2002, ryan schwarzenberger wrote:
 
 > >Description:
 >       Problem occurs during `make installworld`, after succesfully completing previous steps -- `m
 > ake buildworld`, `make buildkernel`, `make installkernel` -- as specified in the handbook pa
 > ge http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html and /usr/src/UPD
 > ATING. The system sources were cvsupped immediately prior to the install/setup process, at a
 > pproximately Tue Jul  9 08:34:31 CDT 2002 (time documented by usage of `script` command). `m
 > ake installworld` error output is as follows:
 
 Please keep line lengths shorter than a few hundred characters.
 
 >
 > --- INSTALLWORLD ERROR OUTPUT ---
 >         ===> share/sendmail
 > install -C -o root -g wheel -m 755 -d /usr/share/sendmail/cf
 > usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
 >                [-o owner] file1 file2
 >        install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
 >                [-o owner] file1 ... fileN directory
 >        install -d [-v] [-g group] [-m mode] [-o owner] directory ...
 > *** Error code 64
 
 This is caused by setting INSTALL to "install -C" somewhere (e.g., in
 /etc/make.conf or in the enviroment) combined with MFC of interface
 breakage in -current (-C is now gratuitously incompatible with -d).
 
 This bug affects little more than share/sendmail since almost everything
 else uses depends on mtree preinstalling directories.  The share/sendmail
 subdirectories aren't in the mtree database.
 
 Bruce
 
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Thu Jul 11 10:14:02 PDT 2002 
State-Changed-Why:  
Please see the 20020703 entry in RELENG_4's src/UPDATING. 
The make.conf(5) manpage still needs fixing, but I have 
the COPY -> INSTALL_COPY rename in the works. 


Responsible-Changed-From-To: freebsd-bugs->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Thu Jul 11 10:14:02 PDT 2002 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=40414 
>Unformatted:
