pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39748: sysutils/munin-node installs script that uses /bin/bash



>Number:         39748
>Category:       pkg
>Synopsis:       sysutils/munin-node installs script that uses /bin/bash
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 16 12:50:00 +0000 2008
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE  (using NetBSD 3.0 RELEASE and pkgsrc 
>current)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        sysutils/munin-node apparently installs a script that
        expects to be run by /bin/bash (according to the
        pkgsrc check-interpreter test that PKG_DEVELOPER=yes runs)

>How-To-Repeat:
        I am using pkg_comp with NetBSD 3.0 release sets installed
        and libkver - but I doubt that that affects anything
        for this issue - except pkg_comp by default has PKG_DEVELOPER=yes.

        I see ...

=> Registering installation for munin-node-1.3.2nb1
munin-node-1.3.2nb1 requires installed package munin-doc-1.3.2
munin-node-1.3.2nb1 requires installed package p5-Net-SSLeay-1.35
munin-node-1.3.2nb1 requires installed package p5-Net-Server-0.97
munin-node-1.3.2nb1 requires installed package perl-5.10.0
=> Checking file-check results for munin-node-1.3.2nb1
=> Checking for non-existent script interpreters in munin-node-1.3.2nb1
ERROR: [check-interpreter.mk] The interpreter "/bin/bash" of 
"/usr/pkg/lib/munin/plugins/exim_mailqueue_alt" does not exist.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/munin-node
*** Error code 1

>Fix:
        If it really needs bash, then it needs a dependency
        on ../../shells/bash and the path needs to be altered from
        /bin/bash to /usr/pkg/bin/bash

        On the other hand if all it really needs is a shell, then
        it should be /bin/sh not /bin/bash



Home | Main Index | Thread Index | Old Index