NetBSD Problem Report #7916

Received: (qmail 4563 invoked from network); 5 Jul 1999 04:04:18 -0000
Message-Id: <199907050401.AAA26385@pzero.sandelman.ottawa.on.ca>
Date: Mon, 5 Jul 1999 00:01:57 -0400 (EDT)
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Reply-To: mcr@sandelman.ottawa.on.ca
To: gnats-bugs@gnats.netbsd.org
Subject: install -s fails on scripts
X-Send-Pr-Version: 3.95

>Number:         7916
>Category:       pkg
>Synopsis:       pkgsrc/databases/mysql-client's makefile uses install -s
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bad
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 04 21:05:00 +0000 1999
>Closed-Date:    Thu Oct 05 13:02:22 +0000 2000
>Last-Modified:  Thu Oct 05 13:02:22 +0000 2000
>Originator:     Michael Richardson
>Release:        1.4
>Organization:
Sandelman Software Works Corporation
>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
>Release-Note:
>Audit-Trail:

From: Christoph Badura <bad@oreilly.de>
To: mcr@sandelman.ottawa.on.ca
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/7916
Date: Sun, 11 Jul 1999 23:47:56 +0200 (MET DST)

 So, I just did a "make install" in mysql-client.  There was no "install
 -s" invoked at all.

 There was a possibility that this could have happend if your bsd.pkg.mk
 was about 2.5 months out of date.

 Unless this is reproducable, I'm going to close the PR shortly.

 -- 
 Christoph Badura					www.netbsd.org

 	Anything that can be done in O(N) can be done in O(N^2).
 	-- Ralf Schuettau (after looking at a particular piece of code)

From: Klaus Klein <kleink@ira.uka.de>
To: gnats-bugs@gnats.netbsd.org
Cc:  Subject: Re: pkg/7916: install -s fails on scripts
Date: 21 Jul 1999 16:36:38 +0200

 Michael Richardson <mcr@sandelman.ottawa.on.ca> writes:

 > This may be a bug in /usr/bin/install

 install(1) failing when explicity directed to strip(1) a Bourne shell
 script certainly isn't a bug, to the same extent as strip(1) failing
 when invoked on such a file.
Responsible-Changed-From-To: pkg-manager->bad 
Responsible-Changed-By: bad 
Responsible-Changed-When: Sun Sep 12 16:54:07 PDT 1999 
Responsible-Changed-Why:  
Assign this to me. 
State-Changed-From-To: open->feedback 
State-Changed-By: wiz 
State-Changed-When: Mon Sep 11 07:53:17 PDT 2000 
State-Changed-Why:  
Still waiting for feedback on reproducability... 
State-Changed-From-To: feedback->closed 
State-Changed-By: mcr 
State-Changed-When: Thu Oct 5 09:01:53 EDT 2000 
State-Changed-Why:  
MCR agrees that this has gone away with up to date bsd.pkg.mk. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.