Ph. Marek | 16 Nov 2006 09:15
Picon

Re: fsvs & openbsd


...
> $ gmake run-tests 2>&1 | tee test.log01
>
> $ LC_ALL=C gmake run-tests 2>&1 | tee test.log02
> $ LC_ALL=8859_1 gmake run-tests 2>&1 | tee test.log03
> $ LC_ALL=ASCII gmake run-tests 2>&1 | tee test.log04
> $ LANG=C LC_ALL=C gmake run-tests 2>&1 | tee test.log02b
>
> still a locale problem.
Could you please tell me what
    $ locale
and
    $ locale -a
print?

Regards,

Phil

--

-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!
Julien TOUCHE | 16 Nov 2006 10:32
Picon

Re: fsvs & openbsd

Ph. Marek wrote on 16/11/2006 09:15:
> Could you please tell me what
>     $ locale
> and
>     $ locale -a
> print?

as said before, no locale on openbsd

$ locale
bash: locale: command not found
$ env |egrep -i '(lc|lang)'
$

seems it doesn't exist in base, see
http://www.undeadly.org/cgi?action=article&sid=20030206041352
another direction seems "citrus patch" but not in base too
http://www.undeadly.org/cgi?action=article&sid=20050518060555

Regards

		Julien
Ph. Marek | 17 Nov 2006 14:07
Picon

Re: fsvs & openbsd


> Ph. Marek wrote on 16/11/2006 09:15:
>> Could you please tell me what
>>     $ locale
>> and
>>     $ locale -a
>> print?
>
> as said before, no locale on openbsd
>
> $ locale
> bash: locale: command not found
> $ env |egrep -i '(lc|lang)'
> $
>
> seems it doesn't exist in base, see
> http://www.undeadly.org/cgi?action=article&sid=20030206041352
> another direction seems "citrus patch" but not in base too
> http://www.undeadly.org/cgi?action=article&sid=20050518060555

Does this work for you?

=== fsvs.c
==================================================================
--- fsvs.c      (revision 860)
+++ fsvs.c      (local)
 <at>  <at>  -497,6 +497,7  <at>  <at> 
                        local_codeset=NULL;
        }

(Continue reading)

Julien TOUCHE | 17 Nov 2006 17:33
Picon

Re: fsvs & openbsd

Ph. Marek wrote on 17/11/2006 14:07:
> Does this work for you?

here the result:

$ gmake
cc  -idirafter /usr/local/include  -idirafter /usr/include  -idirafter
/openpkg/include  -idirafter /usr/local/include/apr-1 -MM -MF .fsvs.d fsvs.c
ctags ac_list.c actions.c add_unvers.c build.c checksum.c commit.c
direnum.c est_ops.c export.c fsvs.c helper.c ignore.c info.c init.c
pwcache.c racallback.c remote.c status.c sync.c update.c waa.c
warnings.c actions.h add_unvers.h build.h checksum.h commit.h config.h
direnum.h est_ops.h export.h global.h helper.h ignore.h info.h init.h
interface.h pwcache.h racallback.h remote.h status.h sync.h update.h
waa.h warnings.h
Duplicate entry in file direnum.c, line 118: dir__start_enum
Second entry ignored
Duplicate entry in file direnum.c, line 131: dir__enum
Second entry ignored
Duplicate entry in file direnum.c, line 148: dir__close
Second entry ignored
Duplicate entry in file direnum.c, line 160: dir__get_dir_size
Second entry ignored
Duplicate entry in file global.h, line 286: DEBUGP
Second entry ignored
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/include  -idirafter /usr/include  -idirafter
/openpkg/include  -idirafter /usr/local/include/apr-1 -Os
-DFSVS_VERSION='"trunk:479"'  -c -o fsvs.o fsvs.c
fsvs.c: In function `_DEBUGP':
(Continue reading)

Philipp Marek | 17 Nov 2006 19:50
Picon

Re: fsvs & openbsd

On Friday 17 November 2006 17:33 Julien TOUCHE wrote:
> it seems to work (see joined file)
> congratulations :)
Could you please update and try? Should work now, conditionalized on existence 
of "locale".

Regards,

Phil

--

-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!
Julien TOUCHE | 18 Nov 2006 09:25
Picon

Re: fsvs & openbsd

Philipp Marek wrote on 17/11/2006 19:50:
> Could you please update and try? Should work now, conditionalized on existence 
> of "locale".

$ svn update
[...]
Updated to revision 515.
$ AUTOCONF_VERSION=2.60 autoconf
$ (CFLAGS="-I/usr/local/include -I/usr/local/include/apr-1
-I/usr/local/include/subversion-1" LDFLAGS="-L/usr/local/lib
-L/usr/local/lib/apr-1" ./configure && CFLAGS="-I/usr/local/include
-I/usr/local/include/apr-1 -I/usr/local/include/subversion-1"
LDFLAGS="-L/usr/local/lib -L/usr/local/lib/apr-1" gmake) 2>&1 |tee
build.log11

compile ok but need to update tests script with jot & md5 if uname -s =
OpenBSD

Regards

		Julien
Philipp Marek | 17 Nov 2006 18:00
Picon

Re: fsvs & openbsd

On Friday 17 November 2006 17:33 Julien TOUCHE wrote:
> Ph. Marek wrote on 17/11/2006 14:07:
> > Does this work for you?
>
> here the result:
...
> it seems to work (see joined file)
> congratulations :)
Could you send me a patch, preferably with some check around?
Using autoconf to differentiate would probably be best - set some variable in 
test/Makefile to jot/seq and similar for md5 ...
Perhaps the easiest way is to define $SEQ and $MD5 in test/test_functions.

Pretty please?
Thank you!

Regards,

Phil

--

-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

Gmane