#50508 [Opn->Fbk]: Conflicting HEADER type declarations
| From: | jani@php.net | Date: | Fri, 18 Dec 2009 10:33:45 +0000 |
| Subject: | #50508 [Opn->Fbk]: Conflicting HEADER type declarations | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145883@lists.php.net to get a copy of this message | ||
ID: 50508
Updated by: jani@php.net
Reported By: Bjorn dot Wiberg at its dot uu dot se
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: IBM AIX 5.3 5300-08-01-0819
PHP Version: 5.*, 6
New Comment:
Why does AIX break everthing? This works fine with linux distros. And
BSD. (nevermind MacOS, they also break everything :). Is arpa/nameser.h
including nameser_compat.h also or why are those both defining HEADER?
This does not sound quite right to me since HEADER should only be
defined in arpa/nameser_compat.h. What bind version do you have
installed there? And are you sure you haven't messed the installations
somehow?
Previous Comments:
------------------------------------------------------------------------
[2009-12-18 05:13:03] Bjorn dot Wiberg at its dot uu dot se
As for 5.3.0, we actually did do the testing with the beta/release
candidate versions prior to the release (and noticed and filed some bug
reports). But for minor upgrades we haven't been hit very hard with
severe bugs so far so usually stick with the releases (which often work
fine).
------------------------------------------------------------------------
[2009-12-18 05:10:04] Bjorn dot Wiberg at its dot uu dot se
Sorry about that -- I compiled and packaged 5.3.0 on AIX a couple of
months ago but was not aware of the 5.3.1 release until yesterday (when
visiting the download pages). We're planning to migrate to 5.3.x the
upcoming spring.
At the moment we're running 5.2.11, which is working fine, so we did
not anticipate any problems with 5.2.12 as it is a minor upgrade.
------------------------------------------------------------------------
[2009-12-18 00:37:23] jani@php.net
btw. You always seem to report these just after the actual release. Why
didn't you test the RCs..?
------------------------------------------------------------------------
[2009-12-18 00:36:20] jani@php.net
See also bug #50510 (same thing but with MacOSX)
------------------------------------------------------------------------
[2009-12-17 17:47:10] Bjorn dot Wiberg at its dot uu dot se
Suggested patch for 5.2.12:
*** php-5.2.12/ext/standard/dns.c 2009-10-16 18:09:49.000000000
+0200
--- php-5.2.12-my/ext/standard/dns.c 2009-12-17 18:10:55.000000000
+0100
***************
*** 56,63 ****
--- 56,65 ----
#undef T_UNSPEC
#endif
#if HAVE_ARPA_NAMESER_COMPAT_H
+ #ifndef HAVE_ARPA_NAMESER_H
#include <arpa/nameser_compat.h>
#endif
+ #endif
#if HAVE_ARPA_NAMESER_H
#include <arpa/nameser.h>
#endif
Suggested patch for PHP 5.3.1:
*** php-5.3.1/ext/standard/dns.c 2009-08-12 00:07:35.000000000
+0200
--- php-5.3.1-my/ext/standard/dns.c 2009-12-17 18:15:38.000000000
+0100
***************
*** 47,54 ****
--- 47,56 ----
#include <arpa/nameser.h>
#endif
#if HAVE_ARPA_NAMESER_COMPAT_H
+ #ifndef HAVE_ARPA_NAMESER_H
#include <arpa/nameser_compat.h>
#endif
+ #endif
#if HAVE_RESOLV_H
#include <resolv.h>
#endif
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/50508
--
Edit this bug report at http://bugs.php.net/?id=50508&edit=1