Subject: pkg/36055: chat/silc-client does not build if LC_ALL is set to non "C"
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <zafer@aydogan.de>
List: pkgsrc-bugs
Date: 03/21/2007 23:55:00
>Number:         36055
>Category:       pkg
>Synopsis:       chat/silc-client does not build if LC_ALL is set to non "C"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 21 23:55:00 +0000 2007
>Originator:     Zafer Aydogan
>Release:        4.99.15
>Organization:
>Environment:
i386
>Description:
chat/silc-client does not build if the environment variable LC_ALL is set and is not equal "C".
Build breaks at:


          (/usr/pkg/bin/gmake || /usr/pkg/bin/gmake) && \
          cd ..; \
        done
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = "de_DE.ISO8859-15",
        LC_MONETARY = "C",
        LC_MESSAGES = "C",
        LC_NUMERIC = "C",
        LC_CTYPE = "C",
        LC_COLLATE = "C",
        LC_TIME = "C",
        LANG = "C"
    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: /usr/pkgsrc/chat/silc-client/work/.tools/bin/perl perl perl5 perl5.8.8 miniperl, in these dirs: /usr/pkgsrc/chat/silc-client/work/.wrapper/bin /usr/pkgsrc/chat/silc-client/work/.buildlink/bin /usr/pkgsrc/chat/silc-client/work/.gcc/bin /usr/pkgsrc/chat/silc-client/work/.tools/bin /usr/pkg/bin /home/zafer/bin /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin /usr/pkg/bin /usr/pkg/sbin /usr/games /usr/local/bin /usr/local/sbin /usr/pkg/bin /usr/X11R6/bin /usr/pkg/bin)
Writing Makefile for Irssi
gmake[5]: Entering directory `/usr/pkgsrc/chat/silc-client/work/silc-client-1.0.2/irssi/src/perl/common'
sh: /usr/pkgsrc/chat/silc-client/work/silc-client-1.0.2/irssi/src/perl/common/0: not found
gmake[5]: *** [blib/lib/.exists] Fehler 127
gmake[5]: Leaving directory `/usr/pkgsrc/chat/silc-client/work/silc-client-1.0.2/irssi/src/perl/common'
gmake[5]: Entering directory `/usr/pkgsrc/chat/silc-client/work/silc-client-1.0.2/irssi/src/perl/common'
sh: /usr/pkgsrc/chat/silc-client/work/silc-client-1.0.2/irssi/src/perl/common/0: not found
gmake[5]: *** [blib/lib/.exists] Fehler 127
gmake[5]: Leaving directory `/usr/pkgsrc/chat/silc-client/work/silc-client-1.0.2/irssi/src/perl/common'
cd: can't cd to ui
cd: can't cd to textui
cd: can't cd to silc
gmake[4]: *** [all-local] Fehler 2
gmake[4]: Leaving directory `/usr/pkgsrc/chat/silc-client/work/silc-client-1.0.2/irssi/src/perl'
gmake[3]: *** [all-recursive] Fehler 1
gmake[3]: Leaving directory `/usr/pkgsrc/chat/silc-client/work/silc-client-1.0.2/irssi/src'
gmake[2]: *** [all-recursive] Fehler 1
gmake[2]: Leaving directory `/usr/pkgsrc/chat/silc-client/work/silc-client-1.0.2/irssi'
gmake[1]: *** [all] Fehler 2
gmake[1]: Leaving directory `/usr/pkgsrc/chat/silc-client/work/silc-client-1.0.2/irssi'
gmake: *** [all-recursive] Fehler 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/chat/silc-client
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/silc-client
# 

>How-To-Repeat:
try to build silc-client with LC_ALL set to non "C".

>Fix:
set LC_ALL to "C" or unset LC_ALL