Subject: pkg/23514: pkgsrc/irx: xmlcatmgr breaks due to using sgi version of awk
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <v.oostveen@hccnet.nl>
List: netbsd-bugs
Date: 11/20/2003 20:50:56
>Number:         23514
>Category:       pkg
>Synopsis:       pkgsrc/irx: xmlcatmgr breaks due to using sgi version of awk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 20 20:51:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bas van Oostveen
>Release:        pkgsrc for irix
>Organization:
na
>Environment:
IRIX Washu 6.5 6.5.19m IP32
>Description:
when trying to compile scrollkeeper on pkgsrc for irix
i encounterd a docbook-xml error.

turns out that my catalog files where empty and xmlcatmgr
produced 2 warning when installing docbook-xml onto the system

xmlcatmgr uses a hardcoded path to awk (/usr/bin/awk) which
resolves to the SGI Irix version of awk. This version is incompatible
with the awk scripts used by xmlcatmgr.

the fix is to use another version of awk (gawk) on irix systems.
does changing the path in /usr/pkg/bin/xmlcatmgr

a better solution would be if xmlcatmgr would use the 'best' awk provided on the system and in anycase not versions which are the broken with xmlcatmgr.

that would also fix problems with other systems where
/usr/bin/awk is incompatible with xmlcatmgr.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: