Subject: pkg/35742: mail/wl contains undeclared dependancy upon bash
To: None <,,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 02/20/2007 18:40:01
>Number:         35742
>Category:       pkg
>Synopsis:       mail/wl contains undeclared dependancy upon bash
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 20 18:40:00 +0000 2007
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15   (pkgsrc current within past 12 hours)
	Prince of Songkla University
System: NetBSD 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 i386
Architecture: i386
Machine: i386
	mail/wl looks for  /usr/pkg/bin/bash  -- which would be fine
	(well, OK) if it had a dependency upon bash, but it doesn't...

	Make sure bash is not installed (using pkg_comp in an
	empty sandbox is an easy way for this) and attempt
	to build mail/wl

	Expect to see ...

Formatting: mhc.el ...
Formatting: wl-addrbook.el ...
Formatting: mime-w3m.el ...
Formatting: \x92\xa5\xcf\x92\xa5\xa4\x92\xa5\xe9\x92\xa5\xa4\x92\xa5\xc8\x92\xa4
\xce\x92\xc0\xdf\x92\xc4\xea ...
	[ and more of this kind of thing ]
\xe0 ...
Formatting: \x92\xba\xf7\x92\xb0\xfa ...
Formatting: \x92\xb3\xb5\x92\xc7\xb0\x92\xba\xf7\x92\xb0\xfa ...
Searching for program: no such file or directory, /usr/pkg/bin/bash
INFODIR is /usr/pkg/info

*** Error code 255

make: stopped in /pkg_comp/obj/pkgsrc/mail/wl/default/wl-2.14.0

	Most likely, don't use bash, but sh instead, if possible.
	if bash is really needed, add a DEPENDS line to Makefile.