pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/35013: devel/autogen has undeclared dependency upon bash
>Number: 35013
>Category: pkg
>Synopsis: devel/autogen has undeclared dependency upon bash
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 08 03:05:06 +0000 2006
>Originator: Robert Elz
>Release: NetBSD 3.99.15 (pkgsrc current as of past 6 hours or so)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15
(GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006
kre%jade.coe.psu.ac.th@localhost:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
building devel/autogen attempts to execute /usr/pkg/bin/bash
for which no dependency is listed.
>How-To-Repeat:
pkg_delete -r bash 2>/dev/null # No, you probably shouldn't...
cd ..../pkgsrc/devel.autogen
make install
Expect to see ...
gmake[2]: Entering directory
`/pkg_comp/obj/pkgsrc/devel/autogen/default/autogen-5.8.3/xml2ag'
top_builddir=.. top_srcdir=.. PATH=`cd ../columns;pwd`:$PATH ; export
top_builddir top_srcdir PATH ;
/pkg_comp/obj/pkgsrc/devel/autogen/default/autogen-5.8.3/agen5/autogen
-L../autoopts --definition=./xmlopts.def
Could not execvp( '/usr/pkg/bin/bash', ... ): 2 - No such file or directory
Closing server: Broken pipe signal (13) received
Last command issued:
cd /pkg_comp/obj/pkgsrc/devel/autogen/default/autogen-5.8.3/xml2ag
followed by a nunch of other errors, most probably caused by the
script bash was intended to run not doing what it was intended to
do.
>Fix:
Ideally, discover that hash is not really needed for the script
in question, and replace "usr/pkg/bin/bash" by "${SHELL}" or
something. Otherswise, if bash really is needed then
add a dependency.
The easy workaround is just to install shells/bash before
building autogen (manually satisfying the dependency).
That works, but ...
Please bupm PKGREVISION when this is fixed, otherwise there
will be binary packages existing that happen to have worked
because bash was installed (including mine, that I generated to
test the "manually add bash" workaround) but which don't
contain any dependency upon bash (for all I know, there may be
run time dependencies upon it, as well as the build time one
noted above).
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index