Subject: pkg/24259: subversion-base fails to install with weird locale error
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/27/2004 08:31:38
>Number:         24259
>Category:       pkg
>Synopsis:       subversion-base fails to install with weird locale error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 27 14:32:00 UTC 2004
>Release:        NetBSD 1.6.1
System: NetBSD wile 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Tue Apr 8 12:05:52 UTC 2003 i386
Architecture: i386
Machine: i386
root@wile:/usr/pkgsrc/devel/subversion# echo $LC_CTYPE
root@wile:/usr/pkgsrc/devel/subversion# echo $LANG
Attempted to run make install in devel/subversion.  This went on over to
subversion-base.  That package appeared to build, and mostly install;
then, I saw:

/usr/pkgsrc/devel/subversion-base/work/subversion-0.37.0/ac-helpers/install-sh -c -m 644 ./subversion/svnserve/svnserve.conf.5 /usr/pkg/man/man5/svnserve.conf.5
/usr/pkgsrc/devel/subversion-base/work/subversion-0.37.0/ac-helpers/install-sh -c -m 644 ./subversion/svnversion/svnversion.1 /usr/pkg/man/man1/svnversion.1
/usr/pkgsrc/devel/subversion-base/work/subversion-0.37.0/ac-helpers/install-sh -c -d /usr/pkg/info
subversion/svnversion/svnversion . /repos/svn/trunk > /usr/pkg/include/subversion-1/svn-revision.txt
svnversion: error: cannot set LC_CTYPE locale
svnversion: error: environment variable LC_CTYPE is en_US
*** Error code 1


make install
unset LC_CTYPE appears to work around the immediate problem.  I don't know
where LC_CTYPE is being set (I have never configured it that way on this
system, though it is correct for me).