NetBSD Problem Report #39694

From cheusov@tut.by  Sat Oct  4 11:30:51 2008
Return-Path: <cheusov@tut.by>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id F03D863BA98
	for <gnats-bugs@gnats.netbsd.org>; Sat,  4 Oct 2008 11:30:50 +0000 (UTC)
Message-Id: <s9363o8zm8g.fsf@chen.chizhovka.net>
Date: Sat, 04 Oct 2008 13:30:07 +0300
From: cheusov@tut.by
Reply-To:
To: gnats-bugs@gnats.NetBSD.org
Subject: bsd.prog.mk under Interix-3.5
X-Send-Pr-Version: 3.95

>Number:         39694
>Category:       pkg
>Synopsis:       bsd.prog.mk under Interix-3.5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 04 11:35:01 +0000 2008
>Closed-Date:    Sun May 29 23:30:45 +0000 2016
>Last-Modified:  Sun May 29 23:30:46 +0000 2016
>Originator:     cheusov@tut.by
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
Interix 3.5
>Description:
I'm trying to use pkgsrc's bmake under Interix for my own projects
that use bsd.prog.mk & co.

The problem is that 'bmake install' fails like this.

     bmake: exec(/bin/install-sh) failed (No such file or directory)

Interix has its own /bin/install script.

The following patch solves the problem.
This patch doesn't break pkgsrc under Interix.

>How-To-Repeat:

>Fix:

Index: files/mods/Interix.sys.mk
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Interix.sys.mk,v
retrieving revision 1.2
diff -u -r1.2 Interix.sys.mk
--- files/mods/Interix.sys.mk	11 Nov 2006 18:24:52 -0000	1.2
+++ files/mods/Interix.sys.mk	28 Sep 2008 11:56:44 -0000
@@ -51,7 +51,7 @@
 COMPILE.r?=	${FC} ${FFLAGS} ${RFLAGS} -c
 LINK.r?=	${FC} ${FFLAGS} ${RFLAGS} ${LDFLAGS}

-INSTALL?=	${LOCALBASE}/bin/install-sh
+INSTALL?=	/bin/install

 LEX?=		lex
 LFLAGS?=

>Release-Note:

>Audit-Trail:
[20110327 shattered] edited Environment: field
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 18 Jun 2015 04:54:21 +0000
State-Changed-Why:
Is this still needed? (the change still could be applied in bootstrap-mk-files)


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 29 May 2016 23:30:45 +0000
State-Changed-Why:
It seems that the original problem is really not setting LOCALBASE before
using something that relies on it. Without further information about
circumstances it's hard to know what to do. Please file a new PR, or send
in a more complete description.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.