Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: fsvs & openbsd & MacOS 10.4

fsvs
Discussion topic

Hide all messages in topic

All messages in topic

Re: fsvs & openbsd & MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-09-07 11:48:40 PDT
Message Hello Julien,

are the self-tests ("make run-tests") now running through?
BTW, thank you for your patience!


Regards,

Phil

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

Re: fsvs & openbsd & MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-09-03 00:58:35 PDT
Message On Sunday 03 September 2006 07:00 Benjamin M. wrote:
> Here my run-tests... (revision 412):
...
> An error occurred at 23:56:14.027: No such file or directory (2)
> in main: cannot chdir to "-m"
That's the same problem I have with OpenBSD ...
Options aren't recognized after non-options.
So "fsvs commit -m message" doesn't work, "fsvs -m message commit" works.

I'll try to incorporate your paths into the setup - I hope I find some way to
get autoconf do the work.


Regards

Phil

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

Re: fsvs & openbsd & MacOS 10.4

Author benjaminm
Full name Benjamin M.
Date 2006-09-02 22:00:25 PDT
Message Philipp Marek wrote, On 30/08/06 05:56:
> On Tuesday 29 August 2006 20:03 Benjamin M. wrote:
>
>> Philipp Marek wrote, On 29/08/06 12:46:
>>
>>> Does it work now?
>>>
>> Yep! But I've a problem with /usr/bin/ld: Undefined symbols but it's
>> probably on my side... will try to take a closer look later...
>>
> Looks like the linker cannot find the apr libraries. Where are they located?
> You could try changing the /openpkg/lib in Makefile to something else.
Openpkg isn't installed by default so I will have to verify if MacOSX is
supported... for now... here my changes to INCDIRS and LDFLAGS in
Makefile...

INCDIRS := /usr/local/pcre-6.7/include /usr/local/apr/include
/usr/local/apr/include/apr-0 /usr/local/include /usr/include
/openpkg/include

LDFLAGS += -L/usr/local/apr-uti​l-0.9.12/lib -L/usr/local/pcre-6.7/lib
-L/usr/local/apr/lib -L/usr/local/lib -lsvn_subr-1 -lsvn_ra-1
-lsvn_client-1 -lpcre -lapr-0 -laprutil-0 -lsvn_delta-1 -liconv

> Please tell me whether you got it working!
Here my run-tests... (revision 412):

export WAA=/tmp/WAA/
make run-tests VERBOSE=1
make -C test BINARY=/Users/benjam​in/fsvs/fsvs/src/fsv​s
Preparing default repository.
rm: /tmp/WAA/1d/c5/de297​3b03ff84e6d1384eddb9​e97//*: No such file or
directory

An error occurred at 23:56:14.027: No such file or directory (2)
  in main: cannot chdir to "-m"
FSVS (licensed under the GPLv2), (C) by Ph. Marek; version trunk:396
make[3]: *** [prepare_wc1] Error 1
make[2]: *** [prepare_clean] Error 2
make[1]: *** [/tmp/fsvs-test-501/​default-repository] Error 2
make: *** [run-tests] Error 2


Ben.
Attachments

Re: fsvs & openbsd & MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-09-01 12:09:08 PDT
Message On Friday 01 September 2006 19:17 Julien TOUCHE wrote:
> what's that ... lot of things !!!
What really makes me wonder is that:

...
> 19:14:46.185 dir__enumerator[direnum.c:367] found 82944 (null)
...
> 19:14:46.187 hlp__lstat[helper.c:232] .warnings.d: uid=1000 gid=0...
...
> N...     89647  (null)
So the directory entries are found, but apart from the one debug output the
filenames are not printed!
But they are found, as the hlp__lstat() function tells us.
Strange, strange ...


Sad that the sourceforge hosts have no apr or svn libraries installed, and I
think gdb or ddd won't be on them, too ...


Regards,

Phil


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

Re: fsvs & openbsd & MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-09-01 11:21:15 PDT
Message On Friday 01 September 2006 19:17 Julien TOUCHE wrote:
> Philipp Marek wrote on 01/09/2006 15:57:
> > What happens on "fsvs -d st"?
>
> what's that ... lot of things !!!
That's the debug output :-)

So we see that openbsd's getopt() is order-sensitive and doesn't find options
after non-options ...

I'll have a look.


Regards,

Phil


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

Re: fsvs & openbsd & MacOS 10.4

Author Julien TOUCHE <julien dot touche at lycos dot com>
Full name Julien TOUCHE <julien dot touche at lycos dot com>
Date 2006-09-01 10:17:23 PDT
Message Philipp Marek wrote on 01/09/2006 15:57:
> What happens on "fsvs -d st"?

what's that ... lot of things !!!

Regards

        Julien

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-09-01 06:57:16 PDT
Message On Thursday 31 August 2006 23:17 Julien TOUCHE wrote:
> Philipp Marek wrote on 31/08/2006 09:09:
> > It seems that your getopt() doesn't recognize the options. -d, -m and so
> > on should be interpreted in fsvs.c, to set various flags ...
> > Why doesn't that work for you?
> >
> > Are there man pages for OpenBSD available? (matching your systems'
> > version!)
>
> here:
> http://www.openbsd.o​rg/cgi-bin/man.cgi?q​uery=getopt&apro​pos=0&sektion=0​&man
>path=OpenBSD+Cur​rent&arch=i386​&format=html
>
> openbsd has one of the best doc & man pages.
What happens on "fsvs -d st"?


Regards,

Phil

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

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author Julien TOUCHE <julien dot touche at lycos dot com>
Full name Julien TOUCHE <julien dot touche at lycos dot com>
Date 2006-08-31 14:17:32 PDT
Message Philipp Marek wrote on 31/08/2006 09:09:
> It seems that your getopt() doesn't recognize the options. -d, -m and so on
> should be interpreted in fsvs.c, to set various flags ...
> Why doesn't that work for you?
>
> Are there man pages for OpenBSD available? (matching your systems' version!)

here:
http://www.openbsd.o​rg/cgi-bin/man.cgi?q​uery=getopt&apro​pos=0&sektion=0​&manpath=OpenBSD+​Current&arch=i38​6&format=html

openbsd has one of the best doc & man pages.

Regards

        Julien

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-08-31 00:09:11 PDT
Message On Thursday 31 August 2006 00:37 Julien TOUCHE wrote:
> $ ./fsvs st -d
>
> An error occurred: No such file or directory (2)
> in main: cannot chdir to "-d"
> FSVS (licensed under the GPLv2), (C) by Ph. Marek; version trunk:396
>
> >> a quick way to test if fully functionnal ?
> >
> > The package has a test-suite in it - just call "make run-tests".
>
> not very far it seems:
...
> An error occurred at 00:36:55.020: No such file or directory (2)
> in main: cannot chdir to "-m"
It seems that your getopt() doesn't recognize the options. -d, -m and so on
should be interpreted in fsvs.c, to set various flags ...
Why doesn't that work for you?

Are there man pages for OpenBSD available? (matching your systems' version!)


Regards,

Phil

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

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author Julien TOUCHE <julien dot touche at lycos dot com>
Full name Julien TOUCHE <julien dot touche at lycos dot com>
Date 2006-08-30 15:37:48 PDT
Message Philipp Marek wrote on 30/08/2006 11:56:
> Please send me the output of "fsvs st -d".

$ ./fsvs st -d


An error occurred: No such file or directory (2)
  in main: cannot chdir to "-d"
FSVS (licensed under the GPLv2), (C) by Ph. Marek; version trunk:396

>
>> a quick way to test if fully functionnal ?
> The package has a test-suite in it - just call "make run-tests".

not very far it seems:

$ gmake run-tests
Now running autoconf ...
autoconf
Provide an AUTOCONF_VERSION environment variable, please
gmake -C test BINARY=/share2/tmp/_​testing/fsvs/src/fsv​s
gmake[1]: Entering directory `/share2/tmp/_testin​g/fsvs/src/test'
test -d /tmp/fsvs-test-1000 || mkdir -p /tmp/fsvs-test-1000
Preparing default repository.
rm: /var/spool/fsvs/3d/6​a/fb1623ebdb847d6ecd​2dbd161499//*: No such file
or directory


An error occurred at 00:36:55.020: No such file or directory (2)
  in main: cannot chdir to "-m"
FSVS (licensed under the GPLv2), (C) by Ph. Marek; version trunk:396
gmake[3]: *** [prepare_wc1] Error 1
gmake[2]: *** [prepare_clean] Error 2
gmake[1]: *** [/tmp/fsvs-test-1000​/default-repository]​ Error 2
gmake[1]: Leaving directory `/share2/tmp/_testin​g/fsvs/src/test'
gmake: *** [run-tests] Error 2

Regards

        Julien

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-08-30 02:56:54 PDT
Message On Tuesday 29 August 2006 19:29 Julien TOUCHE wrote:
> now compile with warnings. good work !
>
> some odd things:
>
> $ ./fsvs help
> An error occurred: No such file or directory (2)
> in waa__init: stat() of waa-path '/var/spool/fsvs' failed. Does your
> local storage area exist?
> FSVS (licensed under the GPLv2), (C) by Ph. Marek; version trunk:396
>
> if i create /var/spool/fsvs (with or without rights), it seems ok
> with good rights and nothing more, i get this
Ok, I will check that.

> $ ./fsvs status|head -10
> N... 276918 (null)
> N... 89647 (null)
> N... 27122 (null)
> N... 67014 (null)
> N... 0 (null)
> N... 86133 (null)
> N... 13230 (null)
> N... 3712 (null)
> N... 52 (null)
> N... 112 (null)
> is it normal ?
No, it's not.
Please send me the output of "fsvs st -d".

> a quick way to test if fully functionnal ?
The package has a test-suite in it - just call "make run-tests".


Thank you very much for your help!


Regards,

Phil

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

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-08-30 02:56:51 PDT
Message On Tuesday 29 August 2006 20:03 Benjamin M. wrote:
> Philipp Marek wrote, On 29/08/06 12:46:
> > Does it work now?
>
> Yep! But I've a problem with /usr/bin/ld: Undefined symbols but it's
> probably on my side... will try to take a closer look later...
Looks like the linker cannot find the apr libraries. Where are they located?
You could try changing the /openpkg/lib in Makefile to something else.


Thank you very much for your help!
If you've got any more questions don't hesitate to ask.

Please tell me whether you got it working!


Regards,

Phil

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

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author benjaminm
Full name Benjamin M.
Date 2006-08-29 11:03:40 PDT
Message Philipp Marek wrote, On 29/08/06 12:46:
> On Tuesday 29 August 2006 18:34 Benjamin M. wrote:
>
>> The man pages for Darwin are online here:
>> http://developer.app​le.com/documentation​/Darwin/Reference/Ma​npages/index.ht
>> ml
>> http://developer.app​le.com/documentation​/Darwin/Reference/Ma​npages/man2/fch
>> dir.2.html
>>
> Thank you, that helps.
>
> Does it work now?
>
Yep! But I've a problem with /usr/bin/ld: Undefined symbols but it's
probably on my side... will try to take a closer look later...

Ben.

<snip>

cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o waa.o waa.c
waa.c: In function 'waa__init':
waa.c:101: warning: format '%Lu' expects type 'long long unsigned int',
but argument 5 has type 'ino_t'
waa.c: In function 'waa___find_position':
waa.c:658: warning: format '%Lu' expects type 'long long unsigned int',
but argument 6 has type 'ino_t'
waa.c:658: warning: format '%Lu' expects type 'long long unsigned int',
but argument 8 has type 'ino_t'
waa.c:658: warning: format '%Lu' expects type 'long long unsigned int',
but argument 10 has type 'ino_t'
waa.c:677: warning: format '%Lu' expects type 'long long unsigned int',
but argument 6 has type 'ino_t'
waa.c: In function 'waa__output_tree':
waa.c:818: warning: format '%Lu' expects type 'long long unsigned int',
but argument 6 has type 'ino_t'
waa.c:818: warning: format '%Lu' expects type 'long long unsigned int',
but argument 7 has type 'ino_t'
waa.c:878: warning: format '%Lu' expects type 'long long unsigned int',
but argument 5 has type 'ino_t'
waa.c:896: warning: format '%u' expects type 'unsigned int', but
argument 5 has type 'long unsigned int'
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o warnings.o warnings.c
cc -L/usr/local/pcre-6.7/lib -L/usr/local/apr/lib -L/usr/local/lib
-L/openpkg/lib -lsvn_subr-1 -lsvn_ra-1 -lsvn_client-1 -lpcre fsvs.o
ac_list.o actions.o add_unvers.o build.o checksum.o commit.o direnum.o
est_ops.o export.o helper.o ignore.o info.o init.o pwcache.o
racallback.o remote.o status.o sync.o update.o waa.o warnings.o -o fsvs
/usr/bin/ld: warning -L: directory name (/openpkg/lib) does not exist
/usr/bin/ld: Undefined symbols:
_apr_initialize
_apr_pool_create_ex
_apr_md5
_apr_md5_final
_apr_md5_init
_apr_md5_update
_apr_file_close
_apr_file_open
_apr_gid_name_get
_apr_pool_destroy
_apr_uid_name_get
_svn_txdelta_send_stream
_libiconv
_libiconv_open
_apr_array_make
_apr_array_push
_svn_txdelta_apply
_apr_gid_get
_apr_pool_clear
_apr_uid_get
collect2: ld returned 1 exit status
make: *** [fsvs] Error 1
Attachments

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author Julien TOUCHE <julien dot touche at lycos dot com>
Full name Julien TOUCHE <julien dot touche at lycos dot com>
Date 2006-08-29 10:29:49 PDT
Message $ svn update
[...]
Updated to revision 404.
$ gmake clean
[..]
$ (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.log8

now compile with warnings. good work !

some odd things:

$ ./fsvs help


An error occurred: No such file or directory (2)
  in waa__init: stat() of waa-path '/var/spool/fsvs' failed. Does your
local storage area exist?
FSVS (licensed under the GPLv2), (C) by Ph. Marek; version trunk:396
$ ./fsvs --help


An error occurred: No such file or directory (2)
  in waa__init: stat() of waa-path '/var/spool/fsvs' failed. Does your
local storage area exist?
FSVS (licensed under the GPLv2), (C) by Ph. Marek; version trunk:396
$ file fsvs
fsvs: ELF 32-bit LSB executable, Intel 80386, version 1, for OpenBSD,
dynamically linked (uses shared libs), not stripped

if i create /var/spool/fsvs (with or without rights), it seems ok
with good rights and nothing more, i get this

$ ./fsvs status|head -10
N... 276918 (null)
N... 89647 (null)
N... 27122 (null)
N... 67014 (null)
N... 0 (null)
N... 86133 (null)
N... 13230 (null)
N... 3712 (null)
N... 52 (null)
N... 112 (null)

is it normal ?

a quick way to test if fully functionnal ?

Regards

        Julien

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-08-29 09:46:19 PDT
Message On Tuesday 29 August 2006 18:34 Benjamin M. wrote:
> The man pages for Darwin are online here:
> http://developer.app​le.com/documentation​/Darwin/Reference/Ma​npages/index.ht
>ml
> http://developer.app​le.com/documentation​/Darwin/Reference/Ma​npages/man2/fch
>dir.2.html
Thank you, that helps.

Does it work now?


Regards,

Phil


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

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author benjaminm
Full name Benjamin M.
Date 2006-08-29 09:34:05 PDT
Message Philipp Marek wrote, On 29/08/06 12:15:
> On Tuesday 29 August 2006 18:10 Benjamin M. wrote:
>
>> Philipp Marek wrote, On 29/08/06 11:06:
>>
>>> Did you re-configure? Or, to be more precise, run autoconf and
>>> then ./configure?
>>>
>> Yep. Even tried from a fresh co...
>>
>>
>>> If so, please post your config.h.
>>>
>> $ cat config.h
>>
> ...
>
>> /* #undef HAVE_O_DIRECTORY */
>>
> Without HAVE_O_DIRECTORY you should never get HAVE_GETDENTS64 in direnum.c,
> and without that your installation should be using opendir() instead of
> open() ...
>
>
> But now I saw that your second message told this error from waa.c, not from
> direnum.c ...
>
> What does your fchdir() man page say? Is it sufficient to open() a directory
> (without O_DIRECTORY) to do a fchdir() later, or what must be done?
>
The man pages for Darwin are online here:
http://developer.app​le.com/documentation​/Darwin/Reference/Ma​npages/index.html
http://developer.app​le.com/documentation​/Darwin/Reference/Ma​npages/man2/fchdir.2​.html

ben
Attachments

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-08-29 09:15:31 PDT
Message On Tuesday 29 August 2006 18:10 Benjamin M. wrote:
> Philipp Marek wrote, On 29/08/06 11:06:
> > Did you re-configure? Or, to be more precise, run autoconf and
> > then ./configure?
>
> Yep. Even tried from a fresh co...
>
> > If so, please post your config.h.
>
> $ cat config.h
...
> /* #undef HAVE_O_DIRECTORY */
Without HAVE_O_DIRECTORY you should never get HAVE_GETDENTS64 in direnum.c,
and without that your installation should be using opendir() instead of
open() ...


But now I saw that your second message told this error from waa.c, not from
direnum.c ...

What does your fchdir() man page say? Is it sufficient to open() a directory
(without O_DIRECTORY) to do a fchdir() later, or what must be done?


Regards,

Phil



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

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author benjaminm
Full name Benjamin M.
Date 2006-08-29 09:10:32 PDT
Message Philipp Marek wrote, On 29/08/06 11:06:
> On Tuesday 29 August 2006 16:25 Benjamin M. wrote:
>
>> Nope.
>>
>> Same error:
>>
>> $ svn update
>> At revision 403.
>> $make
>> <snip>
>> waa.c: In function 'waa__update_dir':
>> waa.c:941: error: 'O_DIRECTORY' undeclared (first use in this function)
>> waa.c:941: error: (Each undeclared identifier is reported only once
>> waa.c:941: error: for each function it appears in.)
>> make: *** [waa.o] Error 1
>>
> Did you re-configure? Or, to be more precise, run autoconf and
> then ./configure?
>
>
Yep. Even tried from a fresh co...
> If so, please post your config.h.
>

$ cat config.h
/* config.h. Generated from config.h.in by configure. */
/*******************​********************​********************​*************
 * Copyright (C) 2006 Philipp Marek.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 ********************​********************​********************​************/

#ifndef __CONFIG_H__
#define __CONFIG_H__

/* Whether the valgrind headers were found.
 * Then some initializers can specifically mark areas as initialized. */
/* #undef HAVE_VALGRIND_H */

/* If this is defined, some re-arrangements in struct-layout are made,
 * and additional bug-checking code may be included. */
/* #undef ENABLE_DEBUG */

/* Whether gcov test-coverage is wanted. */
/* #undef ENABLE_GCOV */

/* If set to 1, disable debug messages. */
/* #undef ENABLE_RELEASE */

/* unsigned 32bit type */
/* The value of AC_CV_C_UINT32_T changed between autoconf 2.59e and 2.60.
 * Since 2.60 we get "yes" instead of the type.
 * And there's no HAVE_UINT32_T ...
 * I don't seem to get that to work properly.
 * So I changed configure.in to substitute "yes" to "uint32_t". */
/* #undef HAVE_UINT32_T */
/* #if HAVE_UINT32_T
  #include <stdint.h>
  #include <inttypes.h>
#endif
*/
#define AC_CV_C_UINT32_T uint32_t

/* #undef HAVE_LINUX_TYPES_H */
/* #undef HAVE_LINUX_UNISTD_H */

/* #undef HAVE_COMPARISON_FN_T */
/* #undef HAVE_DIRFD */
/* #undef HAVE_STRUCT_STAT_ST_MTIM */
/* #undef HAVE_O_DIRECTORY */


#ifndef HAVE_COMPARISON_FN_T
typedef int (*comparison_fn_t) (__const void *, __const void *);
#endif


/* #undef HAVE_LINUX_KDEV_T_H */
#ifdef HAVE_LINUX_KDEV_T_H
#include <linux/kdev_t.h>
#else
/* Fake definitions, as reported with configure.
 * Taken from linux/kdev_t.h. */
#define MAJOR(dev) ((dev)>>8)
#define MINOR(dev) ((dev) & 0xff)
#define MKDEV(ma,mi) ((ma)<<8 | (mi))
#endif

#endif
> Although that shouldn't happen - configure now checks for O_DIRECTORY.
>
Attachments

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-08-29 08:06:49 PDT
Message On Tuesday 29 August 2006 16:25 Benjamin M. wrote:
> Nope.
>
> Same error:
>
> $ svn update
> At revision 403.
> $make
> <snip>
> waa.c: In function 'waa__update_dir':
> waa.c:941: error: 'O_DIRECTORY' undeclared (first use in this function)
> waa.c:941: error: (Each undeclared identifier is reported only once
> waa.c:941: error: for each function it appears in.)
> make: *** [waa.o] Error 1
Did you re-configure? Or, to be more precise, run autoconf and
then ./configure?

If so, please post your config.h.

Although that shouldn't happen - configure now checks for O_DIRECTORY.


Thank you!


Regards,

Phil

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

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author benjaminm
Full name Benjamin M.
Date 2006-08-29 07:25:39 PDT
Message Philipp Marek wrote, On 29/08/06 09:59:
> On Tuesday 29 August 2006 15:15 Benjamin M. wrote:
>
>> We make progress ;-)
>>
> I hope so!
>
>
>> waa.c: In function 'waa__update_dir':
>> waa.c:941: error: 'O_DIRECTORY' undeclared (first use in this function)
>> waa.c:941: error: (Each undeclared identifier is reported only once
>> waa.c:941: error: for each function it appears in.)
>> make: *** [waa.o] Error 1
>>
> Better now?
Nope.

Same error:

$ svn update
At revision 403.
$make
<snip>
waa.c: In function 'waa__update_dir':
waa.c:941: error: 'O_DIRECTORY' undeclared (first use in this function)
waa.c:941: error: (Each undeclared identifier is reported only once
waa.c:941: error: for each function it appears in.)
make: *** [waa.o] Error 1

Ben
Attachments

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-08-29 06:59:29 PDT
Message On Tuesday 29 August 2006 15:15 Benjamin M. wrote:
> We make progress ;-)
I hope so!

> waa.c: In function 'waa__update_dir':
> waa.c:941: error: 'O_DIRECTORY' undeclared (first use in this function)
> waa.c:941: error: (Each undeclared identifier is reported only once
> waa.c:941: error: for each function it appears in.)
> make: *** [waa.o] Error 1
Better now?


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

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author benjaminm
Full name Benjamin M.
Date 2006-08-29 06:15:12 PDT
Message Philipp Marek wrote, On 29/08/06 04:10:
> On Sunday 27 August 2006 11:22 Julien TOUCHE wrote:
>
>> helper.c: In function `hlp__copy_stats':
>> helper.c:206: error: structure has no member named `st_mtim'
>> helper.c:207: error: structure has no member named `st_ctim'
>>
> Next try, please?
> Thank you.
We make progress ;-)

Ben

~~~~~~~~~~~~~~~~~~~~​~~~~~~~~~~~~~~~~~

$ svn update
At revision 402.

$ make
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o fsvs.o fsvs.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o ac_list.o ac_list.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o actions.o actions.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o add_unvers.o add_unvers.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o build.o build.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o checksum.o checksum.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o commit.o commit.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o direnum.o direnum.c
direnum.c: In function 'dir__get_dir_size':
direnum.c:174: warning: label 'ex' defined but not used
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o est_ops.o est_ops.c
est_ops.c: In function 'ops___stat_to_action':
est_ops.c:223: warning: format '%Ld' expects type 'long long int', but
argument 5 has type 'dev_t'
est_ops.c:223: warning: format '%Ld' expects type 'long long int', but
argument 6 has type 'dev_t'
est_ops.c: In function 'ops__load_1entry':
est_ops.c:282: warning: format '%o' expects type 'unsigned int *', but
argument 3 has type 'mode_t *'
est_ops.c:282: warning: format '%Ld' expects type 'long long int *', but
argument 11 has type 'ino_t *'
est_ops.c:282: warning: format '%Ld' expects type 'long long int *', but
argument 12 has type 'ino_t *'
est_ops.c: In function 'ops__save_1entry':
est_ops.c:357: warning: format '%Ld' expects type 'long long int', but
argument 11 has type 'ino_t'
est_ops.c:357: warning: format '%Ld' expects type 'long long int', but
argument 12 has type 'ino_t'
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o export.o export.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o helper.o helper.c
helper.c: In function 'hlp___do_convert':
helper.c:104: warning: passing argument 2 of 'libiconv' from
incompatible pointer type
helper.c: In function 'hlp__lstat':
helper.c:230: warning: format '%Lx' expects type 'long long unsigned
int', but argument 9 has type 'dev_t'
helper.c:230: warning: format '%Ld' expects type 'long long int', but
argument 10 has type 'ino_t'
helper.c:230: warning: format '%Lx' expects type 'long long unsigned
int', but argument 11 has type 'dev_t'
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o ignore.o ignore.c
ignore.c: In function 'ign__is_ignore':
ignore.c:625: warning: format '%LX' expects type 'long long unsigned
int', but argument 5 has type 'dev_t'
ignore.c:625: warning: format '%Lu' expects type 'long long unsigned
int', but argument 6 has type 'ino_t'
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o info.o info.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o init.o init.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o pwcache.o pwcache.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o racallback.o racallback.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o remote.o remote.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o status.o status.c
status.c: In function 'st__print_entry_info':
status.c:255: warning: format '%Lu' expects type 'long long unsigned
int', but argument 2 has type 'dev_t'
status.c:256: warning: format '%Lu' expects type 'long long unsigned
int', but argument 2 has type 'ino_t'
status.c:269: warning: format '%Lu' expects type 'long long unsigned
int', but argument 2 has type 'dev_t'
status.c:269: warning: format '%Lu' expects type 'long long unsigned
int', but argument 3 has type 'int'
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o sync.o sync.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o update.o update.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/pcre-6.7/include -idirafter
/usr/local/apr/include -idirafter /usr/local/apr/include/apr-0
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/pcre-6.7/​include/apr-0
-idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/pcre-6.7/​include/apr-1 -idirafter
/usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o waa.o waa.c
waa.c: In function 'waa__init':
waa.c:101: warning: format '%Lu' expects type 'long long unsigned int',
but argument 5 has type 'ino_t'
waa.c: In function 'waa___find_position':
waa.c:658: warning: format '%Lu' expects type 'long long unsigned int',
but argument 6 has type 'ino_t'
waa.c:658: warning: format '%Lu' expects type 'long long unsigned int',
but argument 8 has type 'ino_t'
waa.c:658: warning: format '%Lu' expects type 'long long unsigned int',
but argument 10 has type 'ino_t'
waa.c:677: warning: format '%Lu' expects type 'long long unsigned int',
but argument 6 has type 'ino_t'
waa.c: In function 'waa__output_tree':
waa.c:818: warning: format '%Lu' expects type 'long long unsigned int',
but argument 6 has type 'ino_t'
waa.c:818: warning: format '%Lu' expects type 'long long unsigned int',
but argument 7 has type 'ino_t'
waa.c:878: warning: format '%Lu' expects type 'long long unsigned int',
but argument 5 has type 'ino_t'
waa.c:896: warning: format '%u' expects type 'unsigned int', but
argument 5 has type 'long unsigned int'
waa.c: In function 'waa__update_dir':
waa.c:941: error: 'O_DIRECTORY' undeclared (first use in this function)
waa.c:941: error: (Each undeclared identifier is reported only once
waa.c:941: error: for each function it appears in.)
make: *** [waa.o] Error 1
Attachments

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-08-29 01:10:05 PDT
Message On Sunday 27 August 2006 11:22 Julien TOUCHE wrote:
> helper.c: In function `hlp__copy_stats':
> helper.c:206: error: structure has no member named `st_mtim'
> helper.c:207: error: structure has no member named `st_ctim'
Next try, please?
Thank you.


Regards,

Phil


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

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author benjaminm
Full name Benjamin M.
Date 2006-08-27 09:03:18 PDT
Message Same result here:

<snip>

direnum.c: In function ‘dir__get_dir_size’:
direnum.c:174: warning: label ‘ex’ defined but not used
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/apr/include -idirafter
/usr/local/apr/include/apr-0 -idirafter /usr/local/pcre-6.7/include
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter
/usr/local/pcre-6.7/​include/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter
/usr/local/pcre-6.7/​include/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o est_ops.o est_ops.c
est_ops.c: In function ‘ops___stat_to_action’:
est_ops.c:223: warning: format ‘%Ld’ expects type ‘long long int’, but
argument 5 has type ‘dev_t’
est_ops.c:223: warning: format ‘%Ld’ expects type ‘long long int’, but
argument 6 has type ‘dev_t’
est_ops.c: In function ‘ops__load_1entry’:
est_ops.c:282: warning: format ‘%o’ expects type ‘unsigned int *’, but
argument 3 has type ‘mode_t *’
est_ops.c:282: warning: format ‘%Ld’ expects type ‘long long int *’, but
argument 11 has type ‘ino_t *’
est_ops.c:282: warning: format ‘%Ld’ expects type ‘long long int *’, but
argument 12 has type ‘ino_t *’
est_ops.c: In function ‘ops__save_1entry’:
est_ops.c:357: warning: format ‘%Ld’ expects type ‘long long int’, but
argument 11 has type ‘ino_t’
est_ops.c:357: warning: format ‘%Ld’ expects type ‘long long int’, but
argument 12 has type ‘ino_t’
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/apr/include -idirafter
/usr/local/apr/include/apr-0 -idirafter /usr/local/pcre-6.7/include
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter
/usr/local/pcre-6.7/​include/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter
/usr/local/pcre-6.7/​include/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o export.o export.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/apr/include -idirafter
/usr/local/apr/include/apr-0 -idirafter /usr/local/pcre-6.7/include
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter
/usr/local/pcre-6.7/​include/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter
/usr/local/pcre-6.7/​include/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o helper.o helper.c
helper.c: In function ‘hlp___do_convert’:
helper.c:104: warning: passing argument 2 of ‘libiconv’ from
incompatible pointer type
helper.c: In function ‘hlp__copy_stats’:
helper.c:206: error: ‘struct stat’ has no member named ‘st_mtim’
helper.c:207: error: ‘struct stat’ has no member named ‘st_ctim’
helper.c: In function ‘hlp__lstat’:
helper.c:223: warning: format ‘%Lx’ expects type ‘long long unsigned
int’, but argument 9 has type ‘dev_t’
helper.c:223: warning: format ‘%Ld’ expects type ‘long long int’, but
argument 10 has type ‘ino_t’
helper.c:223: warning: format ‘%Lx’ expects type ‘long long unsigned
int’, but argument 11 has type ‘dev_t’
make: *** [helper.o] Error 1

Ben



Julien TOUCHE wrote, On 27/08/06 05:22:
> Duplicate entry in file direnum.c, line 135: dir__enum
> Second entry ignored
> Duplicate entry in file direnum.c, line 152: dir__close
> Second entry ignored
> Duplicate entry in file direnum.c, line 164: dir__get_dir_size
> Second entry ignored
> Duplicate entry in file global.h, line 270: DEBUGP
> Second entry ignored
> cc -I/usr/local/include -I/usr/local/include/apr-1 -I/usr/local/include​/subversion-1 -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-0 -idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0 -idirafter /usr/local/include/apr-1 -idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os -DFSVS_VERSION='"trunk:396"' -c -o est_ops.o est_ops.c
> est_ops.c: In function `ops___stat_to_action':
> est_ops.c:223: warning: long long int format, different type arg (arg 5)
> est_ops.c:223: warning: long long int format, different type arg (arg 6)
> est_ops.c: In function `ops__load_1entry':
> est_ops.c:282: warning: long unsigned int format, time_t arg (arg 4)
> est_ops.c:282: warning: long unsigned int format, time_t arg (arg 5)
> est_ops.c:282: warning: long long int format, different type arg (arg 11)
> est_ops.c:282: warning: long long int format, different type arg (arg 12)
> est_ops.c: In function `ops__save_1entry':
> est_ops.c:357: warning: long long int format, different type arg (arg 11)
> est_ops.c:357: warning: long long int format, different type arg (arg 12)
> cc -I/usr/local/include -I/usr/local/include/apr-1 -I/usr/local/include​/subversion-1 -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-0 -idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0 -idirafter /usr/local/include/apr-1 -idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os -DFSVS_VERSION='"trunk:396"' -c -o export.o export.c
> cc -I/usr/local/include -I/usr/local/include/apr-1 -I/usr/local/include​/subversion-1 -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-0 -idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0 -idirafter /usr/local/include/apr-1 -idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os -DFSVS_VERSION='"trunk:396"' -c -o helper.o helper.c
> helper.c: In function `hlp___do_convert':
> helper.c:104: warning: passing arg 2 of `libiconv' from incompatible pointer type
> helper.c: In function `hlp__copy_stats':
> helper.c:206: error: structure has no member named `st_mtim'
> helper.c:207: error: structure has no member named `st_ctim'
> helper.c: In function `hlp__lstat':
> helper.c:223: warning: long long unsigned int format, different type arg (arg 9)
> helper.c:223: warning: long long int format, different type arg (arg 10)
> helper.c:223: warning: long long unsigned int format, different type arg (arg 11)
> gmake: *** [helper.o] Error 1
>

Re: fsvs &amp; openbsd &amp; MacOS 10.4

Author Julien TOUCHE <julien dot touche at lycos dot com>
Full name Julien TOUCHE <julien dot touche at lycos dot com>
Date 2006-08-27 02:22:09 PDT
Message $ svn update
U est_ops.c
U update.c
Updated to revision 401.
$ (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.log7

still error and lot of warnings

cc -I/usr/local/include -I/usr/local/include/apr-1
-I/usr/local/include​/subversion-1 -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-0 -idirafter /usr/include/apr-0 -idirafter
/openpkg/include/apr-0 -idirafter /usr/local/include/apr-1 -idirafter
/usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o helper.o helper.c
helper.c: In function `hlp___do_convert':
helper.c:104: warning: passing arg 2 of `libiconv' from incompatible
pointer type
helper.c: In function `hlp__copy_stats':
helper.c:206: error: structure has no member named `st_mtim'
helper.c:207: error: structure has no member named `st_ctim'
helper.c: In function `hlp__lstat':
helper.c:223: warning: long long unsigned int format, different type arg
(arg 9)
helper.c:223: warning: long long int format, different type arg (arg 10)
helper.c:223: warning: long long unsigned int format, different type arg
(arg 11)
gmake: *** [helper.o] Error 1


Regards

        Julien
Page: of 3 « Previous | Next »
Messages per page: