subversion-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Müller (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SVN-4813) Incompatible with apr-1.7.0: configure fails with "failed to recognize APR_INT64_T_FMT on this platform"
Date Tue, 09 Apr 2019 18:56:00 GMT

    [ https://issues.apache.org/jira/browse/SVN-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16813712#comment-16813712
] 

Ulrich Müller commented on SVN-4813:
------------------------------------

Attached patch fixes the problem for me.

 

> 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
>         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
(v7.6.3#76005)

Mime
View raw message