You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Julian Foad (Jira)" <ji...@apache.org> on 2019/09/27 14:23:00 UTC

[jira] [Closed] (SVN-4813) Incompatible with apr-1.7.0: configure fails with "failed to recognize APR_INT64_T_FMT on this platform"

     [ https://issues.apache.org/jira/browse/SVN-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Foad closed SVN-4813.
----------------------------
    Fix Version/s: 1.12.x
       Resolution: Fixed

Thank you for confirming. I will close the issue as "fixed".

> Incompatible with apr-1.7.0: configure fails with "failed to recognize APR_INT64_T_FMT on this platform"
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SVN-4813
>                 URL: https://issues.apache.org/jira/browse/SVN-4813
>             Project: Subversion
>          Issue Type: Bug
>          Components: compile
>    Affects Versions: all
>            Reporter: Thomas Deutschmann
>            Priority: Major
>             Fix For: 1.12.x
>
>         Attachments: subversion-1.11.1-apr-1.7.0.patch
>
>
> Building current released subversion (1.9.x, 1.10.x, 1.11.x) or 1.12.0 RC1 against apr-1.7.0 will fail configure with
>  
> {noformat}
> [...]
> configure: Configuring python swig binding
> checking for Python includes... (cached) -I$(PYTHON_INCLUDEDIR)
> checking for compiling Python extensions... x86_64-pc-linux-gnu-gcc -pthread -fPIC
> checking for linking Python extensions... x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L.
> checking for linking Python libraries... -Wl,-O1 -Wl,--as-needed -L.
> checking for apr_int64_t Python/C API format string...
> configure: error: failed to recognize APR_INT64_T_FMT on this platform
> {noformat}
> I tried to debug the problem. The _conftest.c_ file is
>  
>  
> {code:java}
> [...]
> /* end confdefs.h.  */
> #include <apr.h>
>                      MaTcHtHiS APR_INT64_T_FMT EnDeNd
> {code}
> and the test will validate the output of
>  
> {noformat}
> gcc -E -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 conftest.c{noformat}
> against one of the following regular expressions
>  
> {noformat}
> /bin/grep -E 'MaTcHtHiS +"lld" +EnDeNd'
> /bin/grep -E 'MaTcHtHiS +"ld" +EnDeNd'
> /bin/grep -E 'MaTcHtHiS +"d" +EnDeNd'{noformat}
> However, the output of the command has changed between 1.6.5 - 1.7.0:
>  
>  
> {code:java}
> > @@ -2201,4 +2249,8 @@
> >  
> >  typedef apr_uint64_t apr_uintptr_t;
> >  # 48 "conftest.c" 2
> > -                      MaTcHtHiS "ld" EnDeNd
> > +                      MaTcHtHiS 
> > +# 48 "conftest.c" 3 4
> > +                               "l" "d" 
> > +# 48 "conftest.c"
> > +                                               EnDeNd
> {code}
> So there's no match anymore.
>  
> Check is coming from build/ac-macros/swig.m4.
> Additional note:
> You will hit this error even if you try to configure with _--without-swig_.
>  
> This is Gentoo-Bug https://bugs.gentoo.org/682786.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)