NetBSD Problem Report #38402

From martin@duskware.de  Thu Apr 10 18:02:33 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id F2D2E63B8C8
	for <gnats-bugs@gnats.netbsd.org>; Thu, 10 Apr 2008 18:02:32 +0000 (UTC)
Message-Id: <20080410173724.86C0963B8C8@narn.NetBSD.org>
Date: Thu, 10 Apr 2008 17:37:24 +0000 (UTC)
From: rosenfeld@grumpf.hope-2000.org
Reply-To: rosenfeld@grumpf.hope-2000.org
To: netbsd-bugs-owner@NetBSD.org
Subject: shells/tcsh fails to build message catalogs with Tru64 /bin/gencat
X-Send-Pr-Version: www-1.0

>Number:         38402
>Category:       pkg
>Synopsis:       shells/tcsh fails to build message catalogs with Tru64 /bin/gencat
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kim
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 10 18:05:05 +0000 2008
>Last-Modified:  Sat Apr 12 01:19:57 +0000 2008
>Originator:     Hans Rosenfeld
>Release:        Tru64 5.1b
>Organization:
>Environment:
OSF1 coolidge.zOffice V5.1 2650 alpha
>Description:
The build of shells/tcsh (and probably shells/standalone-tcsh and shells/static-tcsh, too) fails because the Tru64 /bin/gencat expects that the message sets occur in ascending order in the source. When the tcsh Makefile cats the individual sources together before running gencat, the charset (set 255) is the first set in the resulting file, causing /bin/gencat to fail.
>How-To-Repeat:
try to build shells/tcsh on Tru64
>Fix:
change the order the files are concatenated in nls/Makefile:

--- nls/Makefile.orig   2008-04-10 18:43:31.000000000 +0200
+++ nls/Makefile        2008-04-10 18:43:31.000000000 +0200
@@ -11,7 +11,7 @@
        do \
            echo "$$i"; \
            cd $$i; \
-           cat ${CHARSET} set[0-9] set[0-9][0-9] > ../../tcsh.$$i.m; \
+           cat set[0-9] set[0-9][0-9] ${CHARSET} > ../../tcsh.$$i.m; \
            cd ..; \
            ${GENCAT} ../tcsh.$$i.cat ../tcsh.$$i.m; \
        done

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->kim
Responsible-Changed-By: snj@NetBSD.org
Responsible-Changed-When: Sat, 12 Apr 2008 01:19:57 +0000
Responsible-Changed-Why:
Over to maintainer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.