Victor Secarin | 9 Mar 2005 20:00

make_bootlib

To whom it may concern:

I have finally succeeded in building a recent snapshot of Hugs on my 
Fedora 1 box. I have built the late February snapshot and then the March 
7 and the March 8 ones.
All builds required the following same fix:

- in file  libraries/tools/make_bootlib - on line 77 - replace   [a-z]   
with [abcdefghijklmnopqrstuvwxyz]

Explanation: they changed the collating sequence on us.

In older distros, the Unix collating sequence, which we have learned to 
expect, used to be   ABC...XYZabc...xyz.  In that case, saying [a-z] 
means "all the lowercase letters"

However, in Fedora 1, if you do for instance an 'ls', you can easily see 
that the new collating sequence is now   AaBbCc....XxYyZz.   In this 
case, [a-z] now means "all letters, uppercase or lowercase, except A".
Since [a-z]  is in the argument to   '-prune',  the result is that it 
prunes everything except Array.hs.

Using [abcdefghijklmnopqrstuvwxyz] instead is by all means ugly, but 
then shell scripting is ugly by default. Just as long as it works.

I cannot imagine many sillier things than changing the collating 
sequence on everyone. So who do I tell? I guess we all want to be like 
Windows and we just don't know it...

yours truly,
(Continue reading)

Ross Paterson | 9 Mar 2005 20:22
Picon
Favicon

Re: make_bootlib

On Wed, Mar 09, 2005 at 12:00:12PM -0700, Victor Secarin wrote:
> - in file  libraries/tools/make_bootlib - on line 77 - replace   [a-z]   
> with [abcdefghijklmnopqrstuvwxyz]
> 
> Explanation: they changed the collating sequence on us.
> 
> In older distros, the Unix collating sequence, which we have learned to 
> expect, used to be   ABC...XYZabc...xyz.  In that case, saying [a-z] 
> means "all the lowercase letters"
> 
> However, in Fedora 1, if you do for instance an 'ls', you can easily see 
> that the new collating sequence is now   AaBbCc....XxYyZz.   In this 
> case, [a-z] now means "all letters, uppercase or lowercase, except A".
> Since [a-z]  is in the argument to   '-prune',  the result is that it 
> prunes everything except Array.hs.

What's your locale?  Does setting LC_COLLATE to C help?
Are grep and sed also affected?
Ross Paterson | 14 Mar 2005 11:09
Picon
Favicon

Re: [Haskell] ANNOUNCE: Hugs interim release

On Mon, Mar 14, 2005 at 10:52:06AM +0100, Ralf Hinze wrote:
> It compiles just fine on my amd64 box, except for the user's guide:
> 
> mkdir users_guide
> /bin/cp hugs-ug.css users_guide
> test -z 'docbook2html' || \
>   docbook2html --dsl hugs-ug.dsl users_guide.sgml
> Using catalogs: /etc/sgml/sgml-docbook-4.2.cat
> Using stylesheet: /home/test/hugs98-Mar2005/docs/users_guide/hugs-ug.dsl
> Working on: /home/test/hugs98-Mar2005/docs/users_guide/users_guide.sgml
> jade:/home/test/hugs98-Mar2005/docs/users_guide/options.sgml:1166:13:E: document type does
not allow element "VARLISTENTRY" here
> jade:/home/test/hugs98-Mar2005/docs/users_guide/options.sgml:1176:13:E: document type does
not allow element "VARLISTENTRY" here
> jade:/home/test/hugs98-Mar2005/docs/users_guide/options.sgml:1189:14:E: end tag for
"VARLISTENTRY" omitted, but OMITTAG NO was specified
> jade:/home/test/hugs98-Mar2005/docs/users_guide/options.sgml:1149:0: start tag was here
> jade:/home/test/hugs98-Mar2005/docs/users_guide/options.sgml:1156:22:E: [xref to
VARLISTENTRY unsupported]
> jade:/home/test/hugs98-Mar2005/docs/users_guide/options.sgml:1193:5:E: [xref to VARLISTENTRY unsupported]
> make[2]: *** [users_guide/license.html] Error 8
> make[2]: Leaving directory `/home/test/hugs98-Mar2005/docs/users_guide'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/test/hugs98-Mar2005/docs'
> make: *** [all] Error 2
> 
> It's probably a missing or outdated package. Can you direct me in the
> right direction (couldn't find any hints in the docs).

No, the document is malformed: a </varlistentry> is missing before line
(Continue reading)


Gmane