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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 10 18:05:05 +0000 2008
>Closed-Date:    Mon Jan 20 10:07:57 +0000 2020
>Last-Modified:  Mon Jan 20 10:07:57 +0000 2020
>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.


State-Changed-From-To: open->feedback
State-Changed-By: shattered@NetBSD.org
State-Changed-When: Sat, 12 Dec 2015 14:27:30 +0000
State-Changed-Why:
did any of the recent updates to tcsh fix this?  (doubtful, since the catgen wrapper still places charset file first)


State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 30 Sep 2016 07:56:56 +0000
State-Changed-Why:
assume with no response that a "doubtful" fix wasn't a fix.


State-Changed-From-To: open->feedback
State-Changed-By: kim@NetBSD.org
State-Changed-When: Sun, 05 Jan 2020 13:53:04 +0000
State-Changed-Why:
I don't have access to Tru64. Do current versions still have this problem?

If this still needs fixing, please look at nls/catgen and propose a fix.
For example, how can we best identify Tru64 (or its specific versions)
so that we can output the files in the order necessary.

I don't think changing the order for all operating systems works: some
want the charset info up front.

Thanks,
+ Kimmo


State-Changed-From-To: feedback->closed
State-Changed-By: kim@NetBSD.org
State-Changed-When: Mon, 20 Jan 2020 10:07:57 +0000
State-Changed-Why:
I'm unable to produce a fix as I don't have access to Tru64


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.