On Mon, Oct 16, 2017 at 3:30 PM, Rainer Jung <rainer.j...@kippdata.de> wrote:
> Am 16.10.2017 um 11:23 schrieb build...@apache.org:
>>
>> The Buildbot has detected a new failure on builder httpd-trunk while
>> building . Full details are available at:
>>      https://ci.apache.org/builders/httpd-trunk/builds/1199
>>
>> Buildbot URL: https://ci.apache.org/
>>
>> Buildslave for this Build: bb_slave6_ubuntu
>>
>> Build Reason: The AnyBranchScheduler scheduler named
>> 'httpd-trunk-on-commit' triggered this build
>> Build Source Stamp: [branch httpd/httpd/trunk] 1812263
>> Blamelist: rjung
>>
>> BUILD FAILED: failed compile
>
>
> The failure is
>
> In file included from
> /home/buildslave/slave/httpd-trunk/build/include/ap_config.h:184:0,
>                  from
> /home/buildslave/slave/httpd-trunk/build/include/httpd.h:44,
>                  from util_expr_private.h:20,
>                  from util_expr_parse.y:32:
> /home/buildslave/slave/httpd-trunk/build/include/ap_config_auto.h:357:16:
> error: two or more data types in declaration specifiers
>  #define rlim_t int
>                 ^
> /home/buildslave/slave/httpd-trunk/build/build/rules.mk:207: recipe for
> target 'util_expr_parse.lo' failed
>
> which showed up, because now we actually run maintainer mode with -Werror.

Same error here:
configure:30308: checking for rlim_t
configure:30329: gcc -c -g -O0 -fno-strict-aliasing -Wall
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-pthread -Wpointer-arith -Wno-error=strict-prototypes -std=c89 -Werror
-Wdeclaration-after-statement -Wformat -Wformat-security -Wunused
-DLINUX -D_REENTRANT -D_GNU_SOURCE -DAP_DEBUG conftest.c >&5
conftest.c:59:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
 main ()
 ^~~~
conftest.c: In function 'main':
conftest.c:61:8: error: unused variable 'spoon' [-Werror=unused-variable]
 rlim_t spoon;
        ^~~~~
cc1: all warnings being treated as errors
configure:30329: $? = 1

So it's starting to be a lot of warnings we'd have -Wno-error in
CFLAGS, Joe's proposal looks better (not really working for me either
for now, but let's discuss it in the other thread).

>
> Does anybody know hot e can look at the contantes of
> server/util_expr_parse.c in the buildbot build dir?

I don't think it's particularly related to ap_expr code (see error
above), it's just that yacc may be using rlim_t somewhere...


Regards,
Yann.

Reply via email to