NetBSD Problem Report #46589
From www@NetBSD.org Tue Jun 12 07:47:06 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 7DC0763B89C
for <gnats-bugs@gnats.NetBSD.org>; Tue, 12 Jun 2012 07:47:06 +0000 (UTC)
Message-Id: <20120612074705.73BDE63B882@www.NetBSD.org>
Date: Tue, 12 Jun 2012 07:47:05 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joernc@gmail.com
To: gnats-bugs@NetBSD.org
Subject: non-critical(?) error when installing shells/tcsh
X-Send-Pr-Version: www-1.0
>Number: 46589
>Category: pkg
>Synopsis: non-critical(?) error when installing shells/tcsh
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 12 07:50:00 +0000 2012
>Closed-Date: Fri Jun 03 21:46:18 +0000 2022
>Last-Modified: Fri Jun 03 21:46:18 +0000 2022
>Originator: Jörn Clausen
>Release: NetBSD 5.1
>Organization:
University of Bielefeld
>Environment:
>Description:
Building shells/tcsh on NetBSD 5.1 shows this error:
===> Installing for tcsh-6.18.01nb2
=> Creating installation directories
mkdir -p /usr/pkgsrc/shells/tcsh/work/.destdir/usr/pkg/share/locale/C/LC_MESSAGES
/usr/bin/install -c -o root -g wheel /usr/pkgsrc/shells/tcsh/work/.destdir/usr/pkg/share/locale/C/LC_MESSAGES/tcsh.cat
usage: install [-Ubcprs] [-M log] [-D dest] [-T tags] [-B suffix]
[-a aftercmd] [-f flags] [-m mode] [-N dbdir] [-o owner] [-g group]
[-l linkflags] [-h hash] [-S stripflags] file1 file2
install [-Ubcprs] [-M log] [-D dest] [-T tags] [-B suffix]
[-a aftercmd] [-f flags] [-m mode] [-N dbdir] [-o owner] [-g group]
[-l linkflags] [-h hash] [-S stripflags] file1 ... fileN directory
install -d [-Up] [-M log] [-D dest] [-T tags] [-a aftercmd] [-m mode]
[-N dbdir] [-o owner] [-g group] directory ...
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/shells/tcsh/work/tcsh-6.18.01/nls
/usr/bin/install -c -o root -g wheel -m 644 tcsh.man /usr/pkgsrc/shells/tcsh/work/.destdir/usr/pkg/man/man1/tcsh.1
/usr/bin/install -c -s -o root -g wheel -m 755 tcsh /usr/pkgsrc/shells/tcsh/work/.destdir/usr/pkg/bin/tcsh
As far as I can tell, this is non-critical and installation continues. All files from PLIST are installed and "pkg_admin check" reports no errors. But maybe some localizations are missing.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/46589: non-critical(?) error when installing shells/tcsh
Date: Tue, 12 Jun 2012 10:27:46 +0200
On Tue, Jun 12, 2012 at 07:50:01AM +0000, joern.clausen@uni-bielefeld.de wrote:
> >Number: 46589
> >Category: pkg
> >Synopsis: non-critical(?) error when installing shells/tcsh
> >Confidential: no
> >Severity: non-critical
> >Priority: low
> >Responsible: pkg-manager
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Tue Jun 12 07:50:00 +0000 2012
> >Originator: Jörn Clausen
> >Release: NetBSD 5.1
> >Organization:
> University of Bielefeld
> >Environment:
> >Description:
> Building shells/tcsh on NetBSD 5.1 shows this error:
>
> ===> Installing for tcsh-6.18.01nb2
> => Creating installation directories
> mkdir -p /usr/pkgsrc/shells/tcsh/work/.destdir/usr/pkg/share/locale/C/LC_MESSAGES
> /usr/bin/install -c -o root -g wheel /usr/pkgsrc/shells/tcsh/work/.destdir/usr/pkg/share/locale/C/LC_MESSAGES/tcsh.cat
The source argument seems to be missing.
Does this work if you add
USE_TOOLS+=gmake
and build that way?
Thomas
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/46589: non-critical(?) error when installing shells/tcsh
Date: Tue, 12 Jun 2012 22:15:28 +0900
On Tue, 12 Jun 2012 17:30:04 +0900, Thomas Klausner <wiz@netbsd.org> wrote:
> > ===> Installing for tcsh-6.18.01nb2
> > => Creating installation directories
> > mkdir -p /usr/pkgsrc/shells/tcsh/work/.destdir/usr/pkg/share/locale/C/LC_MESSAGES
> > /usr/bin/install -c -o root -g wheel /usr/pkgsrc/shells/tcsh/work/.destdir/usr/pkg/share/locale/C/LC_MESSAGES/tcsh.cat
> The source argument seems to be missing.
> Does this work if you add
> USE_TOOLS+=gmake
> and build that way?
It will resolve the error, but will rise other issues.
First point, in Makefile,
BUILD_TARGET= all catalogs
INSTALL_TARGET= install install.man
Those should be gone away, with Makefile of tcsh-6.18.1:
* `all' target is depend on `catalogs' target,
* `install' target is depend on `install.catalogs' and `install.man' target.
Question point is:
How to manage post-install target? and resolve mismatch between the result
of `install.catalogs' and `post-install'?
With `install.catalogs' from Makefile of tcsh-6.18.1,
message catalogs will be installed as:
share/locale/C/LC_MESSAGES/tcsh.cat
share/locale/de/LC_MESSAGES/tcsh.cat
share/locale/es/LC_MESSAGES/tcsh.cat
share/locale/et/LC_MESSAGES/tcsh.cat
share/locale/fi/LC_MESSAGES/tcsh.cat
share/locale/fr/LC_MESSAGES/tcsh.cat
share/locale/gr/LC_MESSAGES/tcsh.cat
share/locale/it/LC_MESSAGES/tcsh.cat
share/locale/ja/LC_MESSAGES/tcsh.cat
share/locale/pl/LC_MESSAGES/tcsh.cat
share/locale/ru/LC_MESSAGES/tcsh.cat
share/locale/ru_UA.koi8u/LC_MESSAGES/tcsh.cat
With `post-install' of tcsh-6.17.00nb1:
share/nls/C/tcsh.cat
share/nls/et_EE.ISO_8859-15/tcsh.cat
share/nls/fi_FI.ISO_8859-1/tcsh.cat
share/nls/fr_BE.ISO_8859-1/tcsh.cat
share/nls/fr_CA.ISO_8859-1/tcsh.cat
share/nls/fr_CH.ISO_8859-1/tcsh.cat
share/nls/fr_FR.ISO_8859-1/tcsh.cat
share/nls/de_AT.ISO_8859-1/tcsh.cat
share/nls/de_CH.ISO_8859-1/tcsh.cat
share/nls/de_DE.ISO_8859-1/tcsh.cat
share/nls/el_GR.ISO_8859-7/tcsh.cat
share/nls/it_CH.ISO_8859-1/tcsh.cat
share/nls/it_IT.ISO_8859-1/tcsh.cat
share/nls/ja_JP.eucJP/tcsh.cat
share/nls/pl_PL.ISO_8859-2/tcsh.cat
share/nls/ru_RU.KOI8-R/tcsh.cat
share/nls/ru_SU.KOI8-R/tcsh.cat
share/nls/es_ES.ISO_8859-1/tcsh.cat
share/nls/uk_UA.KOI8-U/tcsh.cat
In 6.17.00, various codesets are used, but 6.18.0, any of them are UTF-8.
Not since tcsh-6.18.1, tcsh has a capable to convert message catalog
with iconv for current locale.
Dependency on libiconv should be added?
Those matter may be need to handled with different way for shells/standalone-tcsh.
--
OBATA Akio / obache@NetBSD.org
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: Thomas Klausner <wiz@NetBSD.org>, pkg-manager@NetBSD.org,
gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/46589: non-critical(?) error when installing shells/tcsh
Date: Tue, 12 Jun 2012 15:21:52 +0200
> USE_TOOLS+=gmake
The error is gone and the localized catalogs are installed.
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
State-Changed-From-To: open->closed
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Fri, 03 Jun 2022 21:46:18 +0000
State-Changed-Why:
Stale bug report from a decade ago. If still an issue, we can re-open this.
>Unformatted:
(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.