pkgsrc-Bugs archive

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

pkg/32834: pkg_chk fails with IRIX default ksh



>Number:         32834
>Category:       pkg
>Synopsis:       pkg_chk fails with IRIX default ksh
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 14 12:45:00 +0000 2006
>Originator:     Stuart Shelton
>Release:        n/a
>Organization:
>Environment:
IRIX64 octane 6.5 07010238 IP30
>Description:

pkg_chk fails with:

$ pkg_chk -sun
Merging in previous /usr/bsd/src/pkgchk_update.conf
String archivers/ ... too long at source line 1
String archivers/ ... too long at source line 1
String archivers/ ... too long at source line 1

... which comes from line 770:

PKGDIRLIST="$(pkgdirs_from_conf $PKGCHK_UPDATE_CONF $PKGDIRLIST)"

... where $PKGDIRLIST is a 1599 character value.

The problem is that the IRIX default ksh doesn't seem to be able to handle 
variables of this length (bash is fine with them), and the ast-ksh package 
won't build (pkg/32833).

The bigger problem here is that any other part of pkgsrc which relies on ksh 
could also be similarly affected.
>How-To-Repeat:

pkg_chk -sun
>Fix:

Since ksh doesn't build from pkgsrc, I'll try to grab the binary version and 
confirm whether pkg_chk works with an up to date ksh.




Home | Main Index | Thread Index | Old Index