Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 463372

Summary: dev-lan/php-5.5.0_beta1-r3 Fails to Build with -ipv6 flag
Product: Gentoo Linux Reporter: Todd Goodman <tsg>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: ayurchuk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.php.net/bug.php?id=64508
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
emerge -pqv '=dev-lang/php-5.5.0_beta1-r3'
emerge --info '=dev-lang/php-5.5.0_beta1-r3'

Description Todd Goodman 2013-03-26 14:02:56 UTC
The build fail if the -ipv6 flag is set.  In ext/sockets/conversion.c there are calls to php_set_inet6_addr() without the #HAVE_IPV6 guard.

Reproducible: Always

Steps to Reproduce:
1.Emerge php-5.5.0_beta1-r3 with -ipv6 use flag
2.
3.
Actual Results:  
Build fails

Expected Results:  
Build succeeds
Comment 1 Todd Goodman 2013-03-26 14:05:16 UTC
Created attachment 343310 [details]
Build log
Comment 2 Todd Goodman 2013-03-26 14:12:16 UTC
Created attachment 343312 [details]
emerge -pqv '=dev-lang/php-5.5.0_beta1-r3'
Comment 3 Todd Goodman 2013-03-26 14:12:38 UTC
Created attachment 343314 [details]
emerge --info '=dev-lang/php-5.5.0_beta1-r3'
Comment 4 Ole Markus With (RETIRED) gentoo-dev 2013-03-26 19:23:21 UTC
Is already an upstream bug for this.
Comment 5 Ole Markus With (RETIRED) gentoo-dev 2013-03-26 19:24:06 UTC
Meh. Correct $URL now.
Comment 6 Peter Asplund 2013-05-17 19:13:25 UTC
From the upstream bug:

[2013-05-08 18:05 UTC] cataphract@php.net

The fix for this bug has been committed.
Comment 7 Ole Markus With (RETIRED) gentoo-dev 2013-05-18 08:59:41 UTC
It did not make it to RC1 though. Will close once the next RC is out.
Comment 8 David Carlos Manuelda 2013-06-05 13:06:43 UTC
RC2 is out since May 23 and addresses this bug already as it states some comments above.
The ebuild request is bug #472402 by the way. So please, put it in this bug's dependencies :)