NetBSD Problem Report #18425

Received: (qmail 10882 invoked by uid 605); 26 Sep 2002 10:29:00 -0000
Message-Id: <200209270629.g8R6Tdj06728@mofo.grunta.com>
Date: Fri, 27 Sep 2002 16:29:39 +1000 (EST)
From: grant@netbsd.org
Sender: gnats-bugs-owner@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: buildlink2 silently fails when it cannot find _BLNK_WRAPPEES in PATH
X-Send-Pr-Version: 3.95

>Number:         18425
>Category:       pkg
>Synopsis:       buildlink2 silently fails when it cannot find _BLNK_WRAPPEES in PATH
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jlam
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 26 10:30:00 +0000 2002
>Closed-Date:    Tue Oct 08 01:07:21 +0000 2002
>Last-Modified:  Sat Apr 29 08:48:58 +0000 2006
>Originator:     grant beattie
>Release:        -current pkgsrc
>Organization:
>Environment:
System: NetBSD mofo 1.6H NetBSD 1.6H (MOFO.PROF) #0: Thu Sep 19 00:54:25 EST 2002 grant@mofo:/raid0/netbsd/current/src/sys/arch/i386/compile/MOFO.PROF i386
Architecture: i386
Machine: i386
>Description:
While creating the buildlink2 wrapper scripts, bsd.buildlink2.mk
silently fails if it cannot find the various wrappees (from
_BLNK_WRAPPEES) in the PATH.
>How-To-Repeat:
attempt to build a pkg which uses buildlink2 while compiler tools are
not in the PATH.
>Fix:
One possible fix:

Index: bsd.buildlink2.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/buildlink2/bsd.buildlink2.mk,v
retrieving revision 1.31
diff -u -r1.31 bsd.buildlink2.mk
--- bsd.buildlink2.mk	2002/09/24 22:16:42	1.31
+++ bsd.buildlink2.mk	2002/09/26 10:28:03
@@ -699,7 +699,7 @@
 		done;							\
 		IFS="$$OLDIFS";						\
 		if [ ! -x "$${wrappee}" ]; then				\
-			${ECHO_BUILDLINK_MSG} "$${wrappee}: No such file"; \
+			${ECHO_MSG} "$${wrappee}: Not found in PATH $${PATH}"; \
 			exit 1;						\
 		fi;							\
 		;;							\
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->jlam 
Responsible-Changed-By: wiz 
Responsible-Changed-When: Sat Sep 28 17:10:14 PDT 2002 
Responsible-Changed-Why:  
Johnny will surely find the best fix for this :) 
State-Changed-From-To: open->closed 
State-Changed-By: jlam 
State-Changed-When: Mon Oct 7 18:06:59 PDT 2002 
State-Changed-Why:  
I fixed it the way you suggested.  Thanks! 
>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.