Subject: pkg/7916: install -s fails on scripts
To: None <gnats-bugs@gnats.netbsd.org>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: netbsd-bugs
Date: 07/04/1999 21:05:42
>Number:         7916
>Category:       pkg
>Synopsis:       pkgsrc/databases/mysql-client's makefile uses install -s
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul  4 21:05:00 1999
>Last-Modified:
>Originator:     Michael Richardson
>Organization:
Sandelman Software Works Corporation
>Release:        NetBSD 1.4
>Environment:
	
System: NetBSD pzero 1.4 NetBSD 1.4 (PZERO) #7: Wed Jun 16 00:09:36 EDT 1999 mcr@istari.sandelman.ottawa.on.ca:/j/netbsd/obj/PZERO i386

	-current pkgsrc.

>Description:
	when installing pkgsrc/databases/mysql-client, the Makefile that is generated
	uses "install -s" to install a bourne shell script in the scripts subdirectory.

>How-To-Repeat:
	Try to install mysql-client with a 1.4 base and comp. You will see complaints
	about unrecognized file format.
	
>Fix:
	Workaround: fix pkgsrc/databases/mysql-client/work.i386/mysql-3.22.22/scripts/Makefile to
	define INSTALL_SCRIPT differently from INSTALL_PROGRAM.

	Unsure of correct behaviour. This may be a bug in /usr/bin/install
>Audit-Trail:
>Unformatted: