Bug #69260 [NEW]: NetBSD TCP_INFO is similar to FreeBSD

From: Date: Thu, 19 Mar 2015 08:24:31 +0000
Subject: Bug #69260 [NEW]: NetBSD TCP_INFO is similar to FreeBSD
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191463@lists.php.net to get a copy of this message
From: he at NetBSD dot org Operating system: NetBSD PHP version: 5.6.6 Package: Compile Failure Bug Type: Bug Bug description:NetBSD TCP_INFO is similar to FreeBSD Description: ------------ NetBSD has recently inherited TCP_INFO from FreeBSD, so the use needs to be similar to FreeBSD, not Linux. This fix needs to be applied to php 5.5.22 as well. Expected result: ---------------- Build should succeed on NetBSD 7 (either 7.0_BETA or 7.99.5 aka. -current) Actual result: -------------- /scratch/www/php-fpm/work/php-5.6.6/sapi/fpm/fpm/fpm_sockets.c:447:11: error: no member named 'tcpi_sacked' in 'struct tcp_info'; did you mean '__tcpi_sacked'? if (info.tcpi_sacked == 0) { ^~~~~~~~~~~ __tcpi_sacked /usr/include/netinet/tcp.h:168:11: note: '__tcpi_sacked' declared here uint32_t __tcpi_sacked; ^ /scratch/www/php-fpm/work/php-5.6.6/sapi/fpm/fpm/fpm_sockets.c:452:18: error: no member named 'tcpi_unacked' in 'struct tcp_info'; did you mean '__tcpi_unacked'? *cur_lq = info.tcpi_unacked; ^~~~~~~~~~~~ __tcpi_unacked /usr/include/netinet/tcp.h:167:11: note: '__tcpi_unacked' declared here uint32_t __tcpi_unacked; ^ /scratch/www/php-fpm/work/php-5.6.6/sapi/fpm/fpm/fpm_sockets.c:456:18: error: no member named 'tcpi_sacked' in 'struct tcp_info'; did you mean '__tcpi_sacked'? *max_lq = info.tcpi_sacked; ^~~~~~~~~~~ __tcpi_sacked /usr/include/netinet/tcp.h:168:11: note: '__tcpi_sacked' declared here uint32_t __tcpi_sacked; ^ 3 errors generated. *** [sapi/fpm/fpm/fpm_sockets.lo] Error code 1 -- Edit bug report at https://bugs.php.net/bug.php?id=69260&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69260&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69260&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69260&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=69260&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=69260&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=69260&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=69260&r=needscript Try newer version: https://bugs.php.net/fix.php?id=69260&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=69260&r=support Expected behavior: https://bugs.php.net/fix.php?id=69260&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=69260&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=69260&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=69260&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69260&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=69260&r=dst IIS Stability: https://bugs.php.net/fix.php?id=69260&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=69260&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=69260&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=69260&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=69260&r=mysqlcfg

« previous php.bugs (#191463) next »