Subject: pkg/18425: buildlink2 silently fails when it cannot find _BLNK_WRAPPEES in PATH
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@netbsd.org>
List: netbsd-bugs
Date: 09/27/2002 16:29:39
>Number: 18425
>Category: pkg
>Synopsis: buildlink2 silently fails when it cannot find _BLNK_WRAPPEES in PATH
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Sep 26 03:30:00 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: