FreeBSD apache 2.4.25 (build fail)

Philip M. Gollucci pgollucci at p6m7g8.com
Wed Dec 28 16:36:10 UTC 2016


Why not ?

Its  a public list, subscribe or  moderator should approve in a day or so.

On Mon, Dec 26, 2016 at 8:07 PM, Marcelo Araujo <araujobsdport at gmail.com>
wrote:

> Hi Philip,
>
> As you can see, I can't send the email to dev at httpd.apache.org!!!
>
> Could you please handle this issue? I'm opened a PR for FreeBSD already.
>
> PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215594
>
> Best,
>
> Best,
> 2016-12-27 9:01 GMT+08:00 Marcelo Araujo <araujobsdport at gmail.com>:
>
>> Hi guys,
>>
>> On FreeBSD I have found an issue, specially when we are building the
>> module mpm_itk together with the newest apache version 2.4.25 that makes
>> the build fail with an error.
>>
>> the previous version:
>> usr/local/include/apache24/ap_config_auto.h:253:9: warning:
>> 'PACKAGE_VERSION' macro redefined [-Wmacro-redefined]
>> #define PACKAGE_VERSION ""
>>
>>
>> new version 2.4.25:
>> In file included from /usr/local/include/apache24/ap_config.h:138:
>> /usr/local/include/apache24/ap_config_auto.h:257:9: error:
>> 'PACKAGE_VERSION' macro redefined [-Werror,-Wmacro-redefined]
>> #define PACKAGE_VERSION ""
>>
>> As you can see, apache package added on configure.in the option
>> '-Werror', the macro-redefined before was just a warning but now the build
>> fail with an error.
>>
>> Attached there is a patch that make it build fine again on FreeBSD.
>> Basically in this patch I'm removing the -Werror.
>>
>> NOTE: I can add this patch on FreeBSD port www/apache24.
>>
>> Let me know what do you guys think about it.
>>
>>
>> Best,
>> --
>>
>> --
>> Marcelo Araujo            (__)araujo at FreeBSD.org     \\\'',)http://www.FreeBSD.org <http://www.freebsd.org/>   \/  \ ^
>> Power To Server.         .\. /_)
>>
>>
>
>
> --
>
> --
> Marcelo Araujo            (__)araujo at FreeBSD.org     \\\'',)http://www.FreeBSD.org <http://www.freebsd.org/>   \/  \ ^
> Power To Server.         .\. /_)
>
>


-- 
---------------------------------------------------------------------------------
4096R/D21D2752
<http://pgp.mit.edu/pks/lookup?op=get&search=0xF699A450D21D2752> ECDF B597
B54B 7F92 753E  E0EA F699 A450 D21D 2752
Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
Member,                           Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Director Cloud Technology,        Capital One

What doesn't kill us can only make us stronger;
Except it almost kills you.


More information about the freebsd-apache mailing list