Subject: Re: pkgsrc and case-sensitive HFS+ problem
To: None <>
From: Jed Davis <>
List: tech-pkg
Date: 06/12/2005 20:53:19
In article <Pine.NEB.4.53.0506111409450.8336@david.technoskunk.fur>,
John D. Baker <> wrote:
> I was trying to build cad/qcad with /usr/pkg and at least $WRKOBJDIR on
> a case-sensitive HFS+ filesystem.
> unpacking qcad-1.5.4.tar.gz failed as follows:
> tar: Cannot create qcad-1.5.4/libraries/hydraulics/symbols/absperrrück.dxf.68ikCy (Invalid argument)
> In case it doesn't translate, the character after "absperrr" shows up as
> a lowercase 'u' with umlaut in my rxvt terminal window.  The output of
> "tar tzvf /usr/pkgsrc/distfiles/qcad-1.5.4.tar.gz" translates it as '\374'.

Path components on HFS+ must be valid UTF-8, which that string is
not.  Furthermore, I vaguely recall that bad things can happen if the
represented Unicode is not normalized; that might just have been the
Finder rather than the filesystem getting confused, though.

(let ((C call-with-current-continuation)) (apply (lambda (x y) (x y)) (map
((lambda (r) ((C C) (lambda (s) (r (lambda l (apply (s s) l))))))  (lambda
(f) (lambda (l) (if (null? l) C (lambda (k) (display (car l)) ((f (cdr l))
(C k)))))))    '((#\J #\d #\D #\v #\s) (#\e #\space #\a #\i #\newline)))))