From andreas@klemm.gtn.com  Thu Jul 18 00:40:12 2002
Return-Path: <andreas@klemm.gtn.com>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9A04437B400
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 18 Jul 2002 00:40:12 -0700 (PDT)
Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8615543E64
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 18 Jul 2002 00:40:11 -0700 (PDT)
	(envelope-from andreas@klemm.gtn.com)
Received: from srv1.cosmo-project.de (localhost [IPv6:::1])
	by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g6I7e90i094191
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 18 Jul 2002 09:40:09 +0200 (CEST)
	(envelope-from andreas@klemm.gtn.com)
Received: (from uucp@localhost)
	by srv1.cosmo-project.de (8.12.3/8.12.3/Submit) with UUCP id g6I7e8rd094190
	for FreeBSD-gnats-submit@FreeBSD.org; Thu, 18 Jul 2002 09:40:08 +0200 (CEST)
	(envelope-from andreas@klemm.gtn.com)
Received: from titan.klemm.apsfilter.org (localhost.klemm.apsfilter.org [127.0.0.1])
	by klemm.gtn.com (8.12.5/8.12.3) with ESMTP id g6I7dekU036973
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 18 Jul 2002 09:39:45 +0200 (CEST)
	(envelope-from andreas@titan.klemm.apsfilter.org)
Received: (from andreas@localhost)
	by titan.klemm.apsfilter.org (8.12.5/8.12.3/Submit) id g6I7ddQP036972;
	Thu, 18 Jul 2002 09:39:39 +0200 (CEST)
	(envelope-from andreas)
Message-Id: <200207180739.g6I7ddQP036972@titan.klemm.apsfilter.org>
Date: Thu, 18 Jul 2002 09:39:39 +0200 (CEST)
From: Andreas Klemm <andreas@klemm.gtn.com>
Reply-To: Andreas Klemm <andreas@klemm.gtn.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:
Subject: change in install(1) breaks installation of port
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         40724
>Category:       bin
>Synopsis:       change in install(1) breaks installation of port
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 18 00:50:01 PDT 2002
>Closed-Date:    Thu Jul 18 06:36:54 PDT 2002
>Last-Modified:  Thu Jul 18 06:36:54 PDT 2002
>Originator:     Andreas Klemm
>Release:        FreeBSD-4.6
>Organization:
FreeBSD
>Environment:

System: FreeBSD titan.klemm.apsfilter.org 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jul 14 23:00:47 CEST 2002 root@titan.klemm.apsfilter.org:/usr/src/sys/compile/TITAN i386

>Description:

installs behaviour on -C -d option has been changed in
xinstall.c revision 1.55.

This change leads to breakage of some ports in the "install target".

I think this change should be backed out to unbreak port installation
on -STABLE.

===>  Installing for unarj-2.43_1
install -C -d -m 755 -o root -g wheel  /usr/local/share/doc/unarj
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

Stop in /usr/ports/archivers/unarj.
*** Error code 1


>How-To-Repeat:

Update FreeBSD 4.6 to -STABLE after change has been introduced
2002/06/05.

cd /usr/ports/archivers/unarj/
make install clean

>Fix:

would be to backout this:
xinstall.c:
----------------------------
revision 1.55
date: 2002/06/05 17:37:48;  author: ru;  state: Exp;  lines: +1 -8
Start the (overdue) de-orbit sequence for the -d -C combo,
as was promised in revision 1.43.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: andreas 
State-Changed-When: Thu Jul 18 00:57:49 PDT 2002 
State-Changed-Why:  
I analyzed the problem. 
Our skeleton etc/defaults/make.conf 
still has the lines 
# Compare before install 
#INSTALL=install -C 
in it, what erraneously implies, that you still can use this 
option in -STABLE. 
If you don't read src/UPDATING you trapp into the problem 
that some of your ports don't install cleanly anymore. 
A complete solution would be, to remove those lines 
from the skeleton files in -current and all FreeBSD 
releases after this change to xinstall.c 
has been introduced (2002/06/05 17:37:48;). 
I assigned this PR to you ru, since you introduced the 
change in xinstall.c, hope thats o.k. for you. 
If you don't have the time, drop me a note, then I will 
do this cosmetic, but important fix. 


Responsible-Changed-From-To: freebsd-bugs->ru 
Responsible-Changed-By: andreas 
Responsible-Changed-When: Thu Jul 18 00:57:49 PDT 2002 
Responsible-Changed-Why:  
I analyzed the problem. 
Our skeleton etc/defaults/make.conf 
still has the lines 
# Compare before install 
#INSTALL=install -C 
in it, what erraneously implies, that you still can use this 
option in -STABLE. 
If you don't read src/UPDATING you trapp into the problem 
that some of your ports don't install cleanly anymore. 
A complete solution would be, to remove those lines 
from the skeleton files in -current and all FreeBSD 
releases after this change to xinstall.c 
has been introduced (2002/06/05 17:37:48;). 
I assigned this PR to you ru, since you introduced the 
change in xinstall.c, hope thats o.k. for you. 
If you don't have the time, drop me a note, then I will 
do this cosmetic, but important fix. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40724 
State-Changed-From-To: analyzed->patched 
State-Changed-By: ru 
State-Changed-When: Thu Jul 18 05:55:11 PDT 2002 
State-Changed-Why:  
Documentation and example make.conf have been fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40724 
State-Changed-From-To: patched->closed 
State-Changed-By: ru 
State-Changed-When: Thu Jul 18 06:34:44 PDT 2002 
State-Changed-Why:  
The fixes to documentation and /etc/defaults/make.conf were merged. 

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