NetBSD Problem Report #29613
From rince@angua.rince.de Sun Mar 6 23:55:32 2005
Return-Path: <rince@angua.rince.de>
Received: from angua.rince.de (angua.rince.de [194.95.226.148])
by narn.netbsd.org (Postfix) with ESMTP id 05D7263B104
for <gnats-bugs@gnats.NetBSD.org>; Sun, 6 Mar 2005 23:55:31 +0000 (UTC)
Message-Id: <20050306235540.B3D83D84F@angua.rince.de>
Date: Mon, 7 Mar 2005 00:55:40 +0100 (CET)
From: rince@angua.rince.de
Reply-To: rince@angua.rince.de
To: gnats-bugs@netbsd.org
Subject: irssi won't compile with latest perl and USE_PERL
X-Send-Pr-Version: 3.95
>Number: 29613
>Category: pkg
>Synopsis: irssi from pkgsrc won't compile with latest perl (5.8) and USE_PERL
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 06 23:56:00 +0000 2005
>Closed-Date: Sun Mar 20 18:18:22 +0000 2005
>Last-Modified: Sun Mar 20 18:19:00 +0000 2005
>Originator: Hanno Wagner <wagner@rince.de>
>Release: NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD angua 2.0G NetBSD 2.0G (ANGUA) #0: Sun Jul 25 15:09:16 CEST 2004 src@angua:/usr/src/sys/arch/i386/compile/ANGUA i386
Architecture: i386
Machine: i386
>Description:
irssi isn't able to compile with latest perl. The error message you get is:
[..]
Unable to find a perl 5 (by these names: /home/NetBSD/pkgsrc/chat/irssi/work.i386/.tools/bin/perl perl perl5 perl5.8.6 miniperl, in these dirs: /home/NetBSD/pkgsrc/chat/irssi/work.i386/.wrapper/bin /home/NetBSD/pkgsrc/chat/irssi/work.i386/.buildlink/bin /home/NetBSD/pkgsrc/chat/irssi/work.i386/.tools/bin /home/NetBSD/pkgsrc/chat/irssi/work.i386/.gcc/bin /usr/pkg/bin /usr/bin /bin /usr/pkg/bin /usr/local/bin /usr/pkg/java/jdk-1.1.8/bin /usr/pkg/bin /usr/X11R6/bin /usr/pkg/bin)
Writing Makefile for Irssi
0: not found
*** Error code 127
Stop.
make: stopped in /home/NetBSD/pkgsrc/chat/irssi/work.i386/irssi-0.8.9/src/perl/common
0: not found
[..]
but I have the following perl:
[..]
angua:/usr/pkgsrc/chat/irssi> perl -v
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "De_DE"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
This is perl, v5.8.6 built for i386-netbsd-thread-multi
[..]
>How-To-Repeat:
try to compile irssi together with perl-support
>Fix:
>Release-Note:
>Audit-Trail:
From: Hanno 'Rince' Wagner <wagner@rince.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/29613: irssi won't compile with latest perl and USE_PERL
Date: Mon, 7 Mar 2005 22:12:42 +0100
Apparently having set the LANG-Variable other than C is bringing
strange phenomenons:
here the output of "make" with some more lines:
creating libfe_perl_static.la
(cd .libs && rm -f libfe_perl_static.la && ln -s ../libfe_perl_static.la libfe_perl_static.la)
for dir in common irc ui textui; do cd $dir && if [ ! -f Makefile ]; then /home/NetBSD/pkgsrc/chat/irssi/work.i386/.tools/bin/perl Makefile.PL ; fi && (/usr/bin/make CC="cc" CCFLAGS="-f no-strict-aliasing -pipe -I/usr/pkg/include -I/usr/pkg/lib/perl5/5.8.6/i386-netbsd-thread-multi/CORE -O2 -I/usr/pkg/include -I/usr/include -Wall" || /usr/bin/make CC="cc" CCFLAGS="-fno-strict-aliasing -pipe -I/usr/pkg/include -I/usr/pkg/lib/perl5/5.8.6/i386-netbsd-thread-multi/CORE -O2 -I/usr/pkg/include -I/usr/include -Wall" ) && cd ..; done
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "De_DE"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Unable to find a perl 5 (by these names:
/home/NetBSD/pkgsrc/chat/irssi/work.i386/.tools/bin/perl perl perl5 perl5.8.6 miniperl, in these dirs: /home/NetBSD/pkgsrc/chat/irssi/work.i386/.wrapper/bin /home/NetBSD/pkgsrc/chat/irssi/work.i386/.buildlink/bin /home/NetBSD/pkgsrc/chat/irssi/work.i386/.tools/bin /home/NetBSD/pkgsrc/chat/irssi/work.i386/.gcc/bin /usr/pkg/bin/usr/bin /bin /usr/pkg/bin /usr/local/bin /usr/pkg/java/jdk-1.1.8/bin/usr/pkg/bin /usr/X11R6/bin /usr/pkg/bin)
Writing Makefile for Irssi
0: not found
*** Error code 127
Stop.
make: stopped in
/home/NetBSD/pkgsrc/chat/irssi/work.i386/irssi-0.8.9/src/perl/common
0: not found
*** Error code 127
[..]
setting a "setenv LANG C" does the trick then
Ciao, Hanno
--
| Hanno Wagner | Member of the HTML Writers Guild | Rince@IRC |
| Eine gewerbliche Nutzung meiner Email-Adressen ist nicht gestattet! |
| 74 a3 53 cc 0b 19 - we did it! | Generation @ |
Fachbegriffe der Informatik : Durch das Volk übertragene gesellschaftliche Verantwortung in Bezug
auf die zukünftige Gestaltung der Informationsgesellschaft wahrnehmen ...
-> das Internet zensieren
Peter Berlich
State-Changed-From-To: open->closed
State-Changed-By: jmmv@netbsd.org
State-Changed-When: Sun, 20 Mar 2005 18:18:22 +0000
State-Changed-Why:
Fixed, thanks.
From: "Julio M. Merino Vidal" <jmmv@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/29613 CVS commit: pkgsrc/mk
Date: Sun, 20 Mar 2005 18:18:09 +0000 (UTC)
Module Name: pkgsrc
Committed By: jmmv
Date: Sun Mar 20 18:18:09 UTC 2005
Modified Files:
pkgsrc/mk: bsd.pkg.mk
Log Message:
Reset the current locale to a sane value (that is, 'C') during the build
of packages. Several utilities behave differently or even incorrectly if
a locale different than 'C' is set.
One of these is perl, which spits a big warning and then breaks some
packages. An example is irssi, as described in PR pkg/29613 by Hanno
Wagner.
To generate a diff of this commit:
cvs rdiff -r1.1600 -r1.1601 pkgsrc/mk/bsd.pkg.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.