Subject: pkg/26056: pgksrc/apache/subversion packages lack dependency on libiconv
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <m.hunkel@t-systems.com>
List: pkgsrc-bugs
Date: 06/25/2004 10:40:51
>Number:         26056
>Category:       pkg
>Synopsis:       pgksrc/apache/subversion packages lack dependency on libiconv
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 25 13:58:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Manfred Hunkel
>Release:        1.6.2/i386
>Organization:
T-Systems International
>Environment:
NetBSD w9e01497 1.6.2 NetBSD 1.6.2 (GENERIC) #0: Tue Feb 10 21:53:10 UTC 2004     autobuild@tgm.netbsd.org:/autobuild/netbsd-1-6-PATCH002/i386/OBJ/autobuild/netbsd-1-6-PATCH002/src/sys/arch/i386/compile/GENERIC i386
>Description:
Installed Apache/SVN from pkgsrc.  Build & install work ok, but libiconv ought to be included among the dependencies somewhere (see below). Otherwise, there'll be no locale support for SVN clients run server-side, i.e. those clients will be unable to obey LC_CTYPE locale definitions and thus unable to deal with e.g. filenames with accented characters.
>How-To-Repeat:
1) Build and install Apache/SVN combo

2) Create SVN repository

3) On a Windows box (i.e. _not_ server-side), use TortoiseSVN or similar client to add/commit a new file to the repository that has at least one accented character (German umlauts , French accented chars ...) in its name.

4) Server side: Export appropriate LC_CTYPE setting and call 'svnlook tree' on repository created in step 2).

5) Look at error message in httpd's error log, e.g.
   subversion/libsvn_subr/utf.c:211: (apr_err=22)
   svn: Safe data:
   "[... actual filename prefix deleted by author]"
   ... was followed by non-ascii byte 195.

   Non-ascii character detected (see above), and unable to convert to/from UTF-8
>Fix:
Make at least apr-util package dependent on a suitable version of libiconv. Not sure where to best introduce that dependency (i.e. apr-util, httpd, or subversion).


>Release-Note:
>Audit-Trail:
>Unformatted:

!DSPAM:40dc2f6d126331391750239!