Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123222 - subversion 1.3.0 compile fails with apr-1.2.2
Summary: subversion 1.3.0 compile fails with apr-1.2.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-17 20:08 UTC by R. May
Modified: 2006-04-17 12:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to make perl bindings compile (apr_cppflags.patch,426 bytes, patch)
2006-04-16 09:17 UTC, Helge Haugland
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description R. May 2006-02-17 20:08:55 UTC
i686-pc-linux-gnu-gcc -c  -I/usr/include/apr-1   -I/usr/include/apr-1 -I/usr/include/db4.3  -I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl  -I../../../../../subversion/include  -I../../../../../subversion/bindings/swig -g -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -fomit-frame-pointer   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.7/i686-linux/CORE"   core.c
In file included from /usr/include/apr-1/apr_pools.h:37,
                 from ../../../../../subversion/include/svn_time.h:25,
                 from core.c:1094:
/usr/include/apr-1/apr.h:270: error: parse error before "apr_off_t"
/usr/include/apr-1/apr.h:270: warning: data definition has no type or storage class
In file included from ../../../../../subversion/include/svn_string.h:71,
                 from ../../../../../subversion/include/svn_props.h:30,
                 from ../../../../../subversion/include/svn_error_codes.h:48,
                 from ../../../../../subversion/include/svn_error.h:48,
                 from ../../../../../subversion/include/svn_time.h:28,
                 from core.c:1094:
/usr/include/apr-1/apr_strings.h:297: error: parse error before "apr_off_t"
/usr/include/apr-1/apr_strings.h:313: error: parse error before '*' token
/usr/include/apr-1/apr_strings.h:349: error: parse error before "size"
In file included from /usr/include/apr-1/apr_file_io.h:29,
                 from ../../../../../subversion/include/svn_diff.h:48,
                 from core.c:1102:
/usr/include/apr-1/apr_file_info.h:204: error: parse error before "apr_off_t"
/usr/include/apr-1/apr_file_info.h:204: warning: no semicolon at end of struct or union
/usr/include/apr-1/apr_file_info.h:206: warning: data definition has no type or storage class
/usr/include/apr-1/apr_file_info.h:212: error: 'ctime' redeclared as different kind of symbol
/usr/include/time.h:254: error: previous declaration of 'ctime' was here
/usr/include/apr-1/apr_file_info.h:212: error: 'ctime' redeclared as different kind of symbol
/usr/include/time.h:254: error: previous declaration of 'ctime' was here
/usr/include/apr-1/apr_file_info.h:219: error: parse error before '}' token
In file included from ../../../../../subversion/include/svn_diff.h:48,
                 from core.c:1102:
/usr/include/apr-1/apr_file_io.h:548: error: parse error before "apr_off_t"
/usr/include/apr-1/apr_file_io.h:740: error: parse error before "apr_off_t"
In file included from ../../../../../subversion/include/svn_diff.h:52,
                 from core.c:1102:
../../../../../subversion/include/svn_io.h:872: error: parse error before "apr_off_t"
In file included from core.c:1102:
../../../../../subversion/include/svn_diff.h:218: error: parse error before "apr_off_t"
../../../../../subversion/include/svn_diff.h:237: error: parse error before "apr_off_t"
../../../../../subversion/include/svn_diff.h:251: error: parse error before "apr_off_t"
../../../../../subversion/include/svn_diff.h:263: error: parse error before "apr_off_t"
../../../../../subversion/include/svn_diff.h:280: error: parse error before "apr_off_t"
In file included from ../../../../../subversion/include/svn_wc.h:46,
                 from ../../../../../subversion/include/svn_client.h:38,
                 from ../../../../../subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h:36,
                 from core.c:1109:
../../../../../subversion/include/svn_ra.h:181: error: parse error before "progress"
core.c:1259: error: parse error before "apr_off_t"
core.c: In function `svn_diff_output_fns_invoke_output_common':
core.c:1260: error: `_obj' undeclared (first use in this function)
core.c:1260: error: (Each undeclared identifier is reported only once
core.c:1260: error: for each function it appears in.)
core.c:1260: error: `output_baton' undeclared (first use in this function)
core.c:1260: error: `original_start' undeclared (first use in this function)
core.c:1260: error: `original_length' undeclared (first use in this function)
core.c:1260: error: `modified_start' undeclared (first use in this function)
core.c:1260: error: `modified_length' undeclared (first use in this function)
core.c:1260: error: `latest_start' undeclared (first use in this function)
core.c:1260: error: `latest_length' undeclared (first use in this function)
core.c: At top level:
core.c:1264: error: parse error before "apr_off_t"
core.c: In function `svn_diff_output_fns_invoke_output_diff_modified':
core.c:1265: error: `_obj' undeclared (first use in this function)
core.c:1265: error: `output_baton' undeclared (first use in this function)
core.c:1265: error: `original_start' undeclared (first use in this function)
core.c:1265: error: `original_length' undeclared (first use in this function)
core.c:1265: error: `modified_start' undeclared (first use in this function)
core.c:1265: error: `modified_length' undeclared (first use in this function)
core.c:1265: error: `latest_start' undeclared (first use in this function)
core.c:1265: error: `latest_length' undeclared (first use in this function)
core.c: At top level:
core.c:1269: error: parse error before "apr_off_t"
core.c: In function `svn_diff_output_fns_invoke_output_diff_latest':
core.c:1270: error: `_obj' undeclared (first use in this function)
core.c:1270: error: `output_baton' undeclared (first use in this function)
core.c:1270: error: `original_start' undeclared (first use in this function)
core.c:1270: error: `original_length' undeclared (first use in this function)
core.c:1270: error: `modified_start' undeclared (first use in this function)
core.c:1270: error: `modified_length' undeclared (first use in this function)
core.c:1270: error: `latest_start' undeclared (first use in this function)
core.c:1270: error: `latest_length' undeclared (first use in this function)
core.c: At top level:
core.c:1274: error: parse error before "apr_off_t"
core.c: In function `svn_diff_output_fns_invoke_output_diff_common':
core.c:1275: error: `_obj' undeclared (first use in this function)
core.c:1275: error: `output_baton' undeclared (first use in this function)
core.c:1275: error: `original_start' undeclared (first use in this function)
core.c:1275: error: `original_length' undeclared (first use in this function)
core.c:1275: error: `modified_start' undeclared (first use in this function)
core.c:1275: error: `modified_length' undeclared (first use in this function)
core.c:1275: error: `latest_start' undeclared (first use in this function)
core.c:1275: error: `latest_length' undeclared (first use in this function)
core.c: At top level:
core.c:1279: error: parse error before "apr_off_t"
core.c: In function `svn_diff_output_fns_invoke_output_conflict':
core.c:1280: error: `_obj' undeclared (first use in this function)
core.c:1280: error: `output_baton' undeclared (first use in this function)
core.c:1280: error: `original_start' undeclared (first use in this function)
core.c:1280: error: `original_length' undeclared (first use in this function)
core.c:1280: error: `modified_start' undeclared (first use in this function)
core.c:1280: error: `modified_length' undeclared (first use in this function)
core.c:1280: error: `latest_start' undeclared (first use in this function)
core.c:1280: error: `latest_length' undeclared (first use in this function)
core.c:1280: error: `resolved_diff' undeclared (first use in this function)
core.c: In function `_wrap_svn_diff_output_fns_t_output_common_set':
core.c:12602: error: parse error before "apr_off_t"
core.c:12602: error: parse error before "apr_off_t"
core.c: In function `_wrap_svn_diff_output_fns_t_output_common_get':
core.c:12633: error: parse error before "apr_off_t"
core.c:12645: error: parse error before "apr_off_t"
core.c: In function `_wrap_svn_diff_output_fns_t_output_diff_modified_set':
core.c:12660: error: parse error before "apr_off_t"
core.c:12660: error: parse error before "apr_off_t"
core.c: In function `_wrap_svn_diff_output_fns_t_output_diff_modified_get':
core.c:12691: error: parse error before "apr_off_t"
core.c:12703: error: parse error before "apr_off_t"
core.c: In function `_wrap_svn_diff_output_fns_t_output_diff_latest_set':
core.c:12718: error: parse error before "apr_off_t"
core.c:12718: error: parse error before "apr_off_t"
core.c: In function `_wrap_svn_diff_output_fns_t_output_diff_latest_get':
core.c:12749: error: parse error before "apr_off_t"
core.c:12761: error: parse error before "apr_off_t"
core.c: In function `_wrap_svn_diff_output_fns_t_output_diff_common_set':
core.c:12776: error: parse error before "apr_off_t"
core.c:12776: error: parse error before "apr_off_t"
core.c: In function `_wrap_svn_diff_output_fns_t_output_diff_common_get':
core.c:12807: error: parse error before "apr_off_t"
core.c:12819: error: parse error before "apr_off_t"
core.c: In function `_wrap_svn_diff_output_fns_t_output_conflict_set':
core.c:12834: error: parse error before "apr_off_t"
core.c:12834: error: parse error before "apr_off_t"
core.c: In function `_wrap_svn_diff_output_fns_t_output_conflict_get':
core.c:12865: error: parse error before "apr_off_t"
core.c:12877: error: parse error before "apr_off_t"
core.c: In function `_wrap_svn_diff_fns_invoke_datasource_get_next_token':
core.c:13556: warning: assignment from incompatible pointer type
core.c: In function `_wrap_svn_diff_output_fns_invoke_output_common':
core.c:13691: error: parse error before "arg3"
core.c:13714: error: `arg3' undeclared (first use in this function)
core.c:13714: error: parse error before "strtoll"
core.c:13715: error: `arg4' undeclared (first use in this function)
core.c:13715: error: parse error before "strtoll"
core.c:13716: error: `arg5' undeclared (first use in this function)
core.c:13716: error: parse error before "strtoll"
core.c:13717: error: `arg6' undeclared (first use in this function)
core.c:13717: error: parse error before "strtoll"
core.c:13718: error: `arg7' undeclared (first use in this function)
core.c:13718: error: parse error before "strtoll"
core.c:13719: error: `arg8' undeclared (first use in this function)
core.c:13719: error: parse error before "strtoll"
core.c: In function `_wrap_svn_diff_output_fns_invoke_output_diff_modified':
core.c:13756: error: parse error before "arg3"
core.c:13779: error: `arg3' undeclared (first use in this function)
core.c:13779: error: parse error before "strtoll"
core.c:13780: error: `arg4' undeclared (first use in this function)
core.c:13780: error: parse error before "strtoll"
core.c:13781: error: `arg5' undeclared (first use in this function)
core.c:13781: error: parse error before "strtoll"
core.c:13782: error: `arg6' undeclared (first use in this function)
core.c:13782: error: parse error before "strtoll"
core.c:13783: error: `arg7' undeclared (first use in this function)
core.c:13783: error: parse error before "strtoll"
core.c:13784: error: `arg8' undeclared (first use in this function)
core.c:13784: error: parse error before "strtoll"
core.c: In function `_wrap_svn_diff_output_fns_invoke_output_diff_latest':
core.c:13821: error: parse error before "arg3"
core.c:13844: error: `arg3' undeclared (first use in this function)
core.c:13844: error: parse error before "strtoll"
core.c:13845: error: `arg4' undeclared (first use in this function)
core.c:13845: error: parse error before "strtoll"
core.c:13846: error: `arg5' undeclared (first use in this function)
core.c:13846: error: parse error before "strtoll"
core.c:13847: error: `arg6' undeclared (first use in this function)
core.c:13847: error: parse error before "strtoll"
core.c:13848: error: `arg7' undeclared (first use in this function)
core.c:13848: error: parse error before "strtoll"
core.c:13849: error: `arg8' undeclared (first use in this function)
core.c:13849: error: parse error before "strtoll"
core.c: In function `_wrap_svn_diff_output_fns_invoke_output_diff_common':
core.c:13886: error: parse error before "arg3"
core.c:13909: error: `arg3' undeclared (first use in this function)
core.c:13909: error: parse error before "strtoll"
core.c:13910: error: `arg4' undeclared (first use in this function)
core.c:13910: error: parse error before "strtoll"
core.c:13911: error: `arg5' undeclared (first use in this function)
core.c:13911: error: parse error before "strtoll"
core.c:13912: error: `arg6' undeclared (first use in this function)
core.c:13912: error: parse error before "strtoll"
core.c:13913: error: `arg7' undeclared (first use in this function)
core.c:13913: error: parse error before "strtoll"
core.c:13914: error: `arg8' undeclared (first use in this function)
core.c:13914: error: parse error before "strtoll"
core.c: In function `_wrap_svn_diff_output_fns_invoke_output_conflict':
core.c:13951: error: parse error before "arg3"
core.c:13975: error: `arg3' undeclared (first use in this function)
core.c:13975: error: parse error before "strtoll"
core.c:13976: error: `arg4' undeclared (first use in this function)
core.c:13976: error: parse error before "strtoll"
core.c:13977: error: `arg5' undeclared (first use in this function)
core.c:13977: error: parse error before "strtoll"
core.c:13978: error: `arg6' undeclared (first use in this function)
core.c:13978: error: parse error before "strtoll"
core.c:13979: error: `arg7' undeclared (first use in this function)
core.c:13979: error: parse error before "strtoll"
core.c:13980: error: `arg8' undeclared (first use in this function)
core.c:13980: error: parse error before "strtoll"
make[1]: *** [core.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/subversion-1.3.0/work/subversion-1.3.0/subversion/bindings/swig/perl/native'
make: *** [swig-pl] Error 2


Regards Roland
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2006-02-18 02:26:49 UTC
Could you try to remerge apr and apr-util? And perhaps try older versions of apr. These apr versions are masked, so there's a good chance subversion will not like them.
Comment 2 R. May 2006-02-18 03:41:35 UTC
Hello,

now I get


/usr/bin/apr-1-config

Regards Roland
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2006-02-20 12:04:06 UTC
Sorry, you lost me there? I'm not really clear on what you mean by that.
Comment 4 Jesús García Crespo (aka Sevein) 2006-02-26 12:53:43 UTC
The problem is Apache 2.2 depends on apr 1.x!

from http://www.apache.org/dist/httpd/CHANGES_2.2
  *) Require use of APR >= 1.2.0 and APR-util >= 1.2.0 when configured 
     to use external copies of the libraries.  [Joe Orton]
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2006-02-27 01:13:37 UTC
Subversion can currently not yet compile against it. Perhaps the two versions could be slotted so subversion could still use the 0.9.x version.
Comment 6 R. May 2006-02-27 01:38:13 UTC
Hello,

with this use Flags it works. The Problem was Perl:

emerge -pv dev-libs/apr subversion

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-libs/apr-1.2.2  +ipv6 -urandom 0 kB
[ebuild   R   ] dev-util/subversion-1.3.0  +apache2 -bash-completion +berkdb -emacs +java -minimal +nls -nowebdav -perl +python -ruby +zlib 0 kB

R. R.
Comment 7 Jesús García Crespo (aka Sevein) 2006-02-27 02:34:41 UTC
Nice! I disabled perl USE for subversion and it worked as you said. It is a provisional solution.
Comment 8 Paul de Vrieze (RETIRED) gentoo-dev 2006-02-27 07:09:41 UTC
I've confirmed the bug, and found it to be caused by a broken perl makefile. I've asked the subversion list about it.
Comment 9 Alexey Maximov 2006-04-01 14:03:02 UTC
http://svn.haxx.se/dev/archive-2006-02/1529.shtml
Comment 10 Helge Haugland 2006-04-16 09:17:47 UTC
Created attachment 84786 [details, diff]
patch to make perl bindings compile

This patch to apr.m4 makes subversion compile with perl bindings.
Comment 11 Paul de Vrieze (RETIRED) gentoo-dev 2006-04-17 12:20:27 UTC
I've just committed the patch. (It's only in 1.3.1)