Philipp Marek wrote, On 02/05/08 15:18:
On Friday 02 May 2008 Benjamin M. wrote:
In file included from
/usr/local/apr-1.2.12/include/apr-1/apr_file_io.h:29, from global.h:20,
                 from ac_list.c:9:
/usr/local/apr-1.2.12/include/apr-1/apr_file_info.h:200: error: expected
specifier-qualifier-list before ‘apr_ino_t’
...
This sounds like an apr install problem again - apr_file_info.h gives an
error.
It seems that apr_ino_t is not defined. I have it
in /usr/include/apr-1.0/apr.h:275; maybe one of the #ifdef goes wrong for
you?
There is the following comment in
/usr/local/apr-1.2.12/include/apr-1/apr.h. Can it be the explanation?

/* As we don't want to break users who author for 1.2.x, we can't
 * present this type until they have included apr_file_info.h
 * where it was originally declared in release 1.2.0.
 * Mask it from accedental misuse here.
 */
#define apr_ino_t apr_ino_t__requires__apr_file_info_h
That's interesting ... I have 1.2.12-2 too, but:
        /* See apr.h.in (.hw or .hnw) for the declaration of apr_ino_t,
         * but as we don't want to break users who author for 1.2.x, we
         * can't present this type until they have included apr_file_info.h
         * where it was originally declared in release 1.2.0.
         * Unmask it for use here.
         */
        #undef apr_ino_t


The was built from src:
http://apache.mirror.rafal.ca/apr/apr-1.2.12.tar.bz2
http://apache.mirror.rafal.ca/apr/apr-util-1.2.12.tar.bz2

Not sure of the implication... Perhaps I could try with the source code of 1.2.12-2 ..?
#  touch /tmp/fsvs-test-0/default-repos.dump
# make run-tests TEST_LIST=001* VERBOSE=1
make -C ../tests BINARY=/usr/src/fsvs-1.1.7/src/fsvs
Running tests...
...
An error occurred at 15:04:50.694: Unknown resolver error (6490552)
  in main
What's that?

Please try that:
        cd /tmp/fsvs-test-0
        echo file:/// | /usr/src/fsvs-1.1.7/src/fsvs urls load -d -v

Ok... we are making so progress... Could it be related to some var exportation failing since previously those weren't required to exist to run the run-tests...

/var/spool/fsvs
/etc/fsvs

~~~~~~~~~~~~~~~~~~~~~~~~~
/var/spool/fsvs and /etc/fsvs missing
~~~~~~~~~~~~~~~~~~~~~~~~~

# cd /tmp/fsvs-test-0
# echo file:/// | /usr/src/fsvs-1.1.7/src/fsvs urls load -d -v
15:26:00.246 main[fsvs.c:755] no argument at optind=5 of 5
15:26:00.247 main[fsvs.c:875] LC_ALL gives en_US.UTF-8
15:26:00.247 main[fsvs.c:882] LC_CTYPE gives en_US.UTF-8
15:26:00.247 main[fsvs.c:893] codeset found to be UTF-8
15:26:00.248 main[fsvs.c:901] codeset: using identity
15:26:00.248 main[fsvs.c:926] optind=2 per_sts=136 action=urls rec=1
15:26:00.248 main[fsvs.c:929] argument 1: urls
15:26:00.248 main[fsvs.c:929] argument 2: load
15:26:00.248 main[fsvs.c:938] filter has mask 0xFFFFFFFF (new, removed, changed, owner, group, mtime, umode, props, child, likely)


An error occurred at 15:26:00.260: No such file or directory (2)
in waa__init [waa.c:176]: stat() of waa-path '/var/spool/fsvs' failed. Does your local storage area exist?
 in main [fsvs.c:941]
15:26:00.262 main[fsvs.c:981] memory stats: 0x86b5000 to 0x86d6000, 132 KB

~~~~~~~~~~~~~~~~~~~~~~~~~
With /var/spool/fsvs:
~~~~~~~~~~~~~~~~~~~~~~~~~

# cd /tmp/fsvs-test-0
# echo file:/// | /usr/src/fsvs-1.1.7/src/fsvs urls load -d -v
15:40:23.770 main[fsvs.c:755] no argument at optind=5 of 5
15:40:23.771 main[fsvs.c:875] LC_ALL gives en_US.UTF-8
15:40:23.771 main[fsvs.c:882] LC_CTYPE gives en_US.UTF-8
15:40:23.771 main[fsvs.c:893] codeset found to be UTF-8
15:40:23.771 main[fsvs.c:901] codeset: using identity
15:40:23.771 main[fsvs.c:926] optind=2 per_sts=136 action=urls rec=1
15:40:23.771 main[fsvs.c:929] argument 1: urls
15:40:23.771 main[fsvs.c:929] argument 2: load
15:40:23.772 main[fsvs.c:938] filter has mask 0xFFFFFFFF (new, removed, changed, owner, group, mtime, umode, props, child, likely) 15:40:23.772 waa__init[waa.c:189] using 64 bytes for temporary WAA+conf paths 15:40:23.772 ign__new_pattern[ignore.c:1114] getting 1 new entries - max is 0, used are 0
15:40:23.772 ign__new_pattern[ignore.c:1173] new pattern INODE:253:6:393257
15:40:23.772 ign___init_pattern_into[ignore.c:637] pattern:  case, ignore
15:40:23.773 opt__load_settings[options.c:287] reading settings from /etc/fsvs/config, with prio 1
15:40:23.781 hlp__string_from_filep[helper.c:695] read string file:///
15:40:23.781 urls__work[url.c:1046] parsing file:/// into 0
15:40:23.781 url__parse[url.c:309] input: file:///
15:40:23.781 url__parse[url.c:334] cur=file:/// value=/// vlen=3 nlen=5
15:40:23.781 url__parse[url.c:390] known protocol found
15:40:23.781 url__find_by_url[url.c:239] url with url file:/// not found!
15:40:23.781 urls__work[url.c:1048] had=0
1 URL loaded.
15:40:23.782 url___set_internal_nums[url.c:573] inum for file:/// is -1
15:40:23.782 url___set_internal_nums[url.c:579] found a free bit for file:///: 1
15:40:23.782 waa__get_waa_directory[waa.c:291] path is /tmp/fsvs-test-0
15:40:23.782 waa__get_waa_directory[waa.c:336] md5 of /tmp/fsvs-test-0


An error occurred at 15:40:23.783: No such file or directory (2)
in waa__mkdir [waa.c:252]: cannot mkdir(/etc/fsvs/45cd816f7e1dd0ec022ee493d55d02d3)
 in waa__get_waa_directory [waa.c:375]
 in waa__open [waa.c:425]
 in url__output_list [url.c:779]
 in urls__work [url.c:1092]
 in main [fsvs.c:970]: action urls failed
15:40:23.787 main[fsvs.c:981] memory stats: 0xa01d000 to 0xa03e000, 132 KB

~~~~~~~~~~~~~~~~~~~~~~~~~
With /var/spool/fsvs and /etc/fsvs/:
~~~~~~~~~~~~~~~~~~~~~~~~~

# echo file:/// | /usr/src/fsvs-1.1.7/src/fsvs urls load -d -v
15:43:56.217 main[fsvs.c:755] no argument at optind=5 of 5
15:43:56.217 main[fsvs.c:875] LC_ALL gives en_US.UTF-8
15:43:56.217 main[fsvs.c:882] LC_CTYPE gives en_US.UTF-8
15:43:56.217 main[fsvs.c:893] codeset found to be UTF-8
15:43:56.217 main[fsvs.c:901] codeset: using identity
15:43:56.217 main[fsvs.c:926] optind=2 per_sts=136 action=urls rec=1
15:43:56.217 main[fsvs.c:929] argument 1: urls
15:43:56.217 main[fsvs.c:929] argument 2: load
15:43:56.217 main[fsvs.c:938] filter has mask 0xFFFFFFFF (new, removed, changed, owner, group, mtime, umode, props, child, likely) 15:43:56.217 waa__init[waa.c:189] using 58 bytes for temporary WAA+conf paths 15:43:56.217 ign__new_pattern[ignore.c:1114] getting 1 new entries - max is 0, used are 0
15:43:56.218 ign__new_pattern[ignore.c:1173] new pattern INODE:253:4:49156
15:43:56.218 ign___init_pattern_into[ignore.c:637] pattern:  case, ignore
15:43:56.218 opt__load_settings[options.c:287] reading settings from /etc/fsvs/config, with prio 1
15:43:56.218 hlp__string_from_filep[helper.c:695] read string file:///
15:43:56.218 urls__work[url.c:1046] parsing file:/// into 0
15:43:56.218 url__parse[url.c:309] input: file:///
15:43:56.218 url__parse[url.c:334] cur=file:/// value=/// vlen=3 nlen=5
15:43:56.218 url__parse[url.c:390] known protocol found
15:43:56.218 url__find_by_url[url.c:239] url with url file:/// not found!
15:43:56.218 urls__work[url.c:1048] had=0
1 URL loaded.
15:43:56.218 url___set_internal_nums[url.c:573] inum for file:/// is -1
15:43:56.218 url___set_internal_nums[url.c:579] found a free bit for file:///: 1
15:43:56.218 waa__get_waa_directory[waa.c:291] path is /tmp/fsvs-test-0
15:43:56.218 waa__get_waa_directory[waa.c:336] md5 of /tmp/fsvs-test-0
15:43:56.219 waa__get_waa_directory[waa.c:382] returning /etc/fsvs/45cd816f7e1dd0ec022ee493d55d02d3/ 15:43:56.219 waa__open[waa.c:442] tmp for target /etc/fsvs/45cd816f7e1dd0ec022ee493d55d02d3/Urls is /etc/fsvs/45cd816f7e1dd0ec022ee493d55d02d3/Urls.tmp
15:43:56.219 waa__open[waa.c:458] got fh 3
15:43:56.219 waa__open[waa.c:470] reallocate target name array to 5
15:43:56.219 url__output_list[url.c:803] writing line 1 0 T:-1,N:,P:0,file:/// 15:43:56.219 waa__close[waa.c:517] filehandle 3 should be /etc/fsvs/45cd816f7e1dd0ec022ee493d55d02d3/Urls
15:43:56.219 waa__get_waa_directory[waa.c:291] path is /tmp/fsvs-test-0
15:43:56.220 waa__get_waa_directory[waa.c:336] md5 of /tmp/fsvs-test-0
15:43:56.220 waa__get_waa_directory[waa.c:382] returning /etc/fsvs/45cd816f7e1dd0ec022ee493d55d02d3/
15:43:56.220 wa__summary[warnings.c:235] 0# meta-mtime: 0x
15:43:56.220 wa__summary[warnings.c:235] 1# meta-user: 0x
15:43:56.220 wa__summary[warnings.c:235] 2# meta-group: 0x
15:43:56.220 wa__summary[warnings.c:235] 3# meta-umask: 0x
15:43:56.220 wa__summary[warnings.c:235] 4# no-urllist: 0x
15:43:56.220 wa__summary[warnings.c:235] 5# charset-invalid: 0x
15:43:56.220 wa__summary[warnings.c:235] 6# chmod-eperm: 0x
15:43:56.220 wa__summary[warnings.c:235] 7# chmod-other: 0x
15:43:56.220 wa__summary[warnings.c:235] 8# chown-eperm: 0x
15:43:56.220 wa__summary[warnings.c:235] 9# chown-other: 0x
15:43:56.220 wa__summary[warnings.c:235] 10# overlayed-entries: 0x
15:43:56.220 wa__summary[warnings.c:235] 11# propname-reserved: 0x
15:43:56.220 wa__summary[warnings.c:235] 12# mixed-rev-wc: 0x
15:43:56.220 wa__summary[warnings.c:235] 13# diff-status: 0x
15:43:56.220 wa__summary[warnings.c:235] 14# _test-warning: 0x
15:43:56.220 main[fsvs.c:981] memory stats: 0x965b000 to 0x967c000, 132 KB


Interesting, interesting ...
TBH - I'm starting to think about this:
        http://tomayko.com/writings/that-dilbert-cartoon :-)
hmmm... I will have to pause and think about it...

More to follow...
I thought so ... ;-)

;-)

Ben.

Reply via email to