pkgsrc-Bugs archive

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

pkg/33370: pkgtools/pkg_chk: some messages are not displayed



>Number:         33370
>Category:       pkg
>Synopsis:       pkgtools/pkg_chk: some messages are not displayed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 26 16:10:00 +0000 2006
>Originator:     Yoshito Komatsu
>Release:        NetBSD 3.99.18
>Organization:
>Environment:
System: NetBSD c8.ln.akaumigame.org 3.99.18 NetBSD 3.99.18 (XENU) #0: Tue Apr 
25 04:55:49 JST 2006 
root%c8.ln.akaumigame.org@localhost:/usr/obj/sys/arch/i386/compile/XENU i386
Architecture: i386
Machine: i386
>Description:
        pkgdirs_from_conf() uses fatal() and verbose() to display messages.
        pkgdirs_from_conf() is used with command substitution.

        Example:
        PKGDIRLIST="$(pkgdirs_from_conf $PKGCHK_CONF $PKGDIRLIST)"
        
        So if fatal() is executed in this situation, the error message is
        not displayed and "exit 1" is executed without notice.
>How-To-Repeat:
        # echo "PKGCHK_UPDATE_CONF=/nonexistent" >> /etc/mk.conf
        # pkg_chk -a -u -b -B

        The message "Unable to read PKGCHK_CONF '/nonexistent'"
        should be displayed, but it is not displayed.
>Fix:




Home | Main Index | Thread Index | Old Index