Bug #75149 [NEW]: redefinition of typedefs ttinfo and t1info

From: Date: Sat, 02 Sep 2017 04:28:10 +0000
Subject: Bug #75149 [NEW]: redefinition of typedefs ttinfo and t1info
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210915@lists.php.net to get a copy of this message
From:             php-bugs-2017 at ryandesign dot com
Operating system: Mac OS X 10.6.8
PHP version:      7.2.0RC1
Package:          Compile Failure
Bug Type:         Bug
Bug description:redefinition of typedefs ttinfo and t1info

Description:
------------
PHP 7.2.0RC1 fails to build on Mac OS X 10.6.8 with its default
compiler, the Apple-modified version of gcc 4.2.1:

In file included from ./ext/date/lib/parse_date.c:29:
./ext/date/lib/timelib_private.h:126: error: redefinition of typedef
‘ttinfo’
./ext/date/lib/timelib.h:134: error: previous declaration of
‘ttinfo’ was here
./ext/date/lib/timelib_private.h:132: error: redefinition of typedef
‘tlinfo’
./ext/date/lib/timelib.h:135: error: previous declaration of
‘tlinfo’ was here

Here is a full build log from the MacPorts automated build system:

https://build.macports.org/builders/ports-10.6_i386_legacy-builder/builds/26911/steps/install-dependencies/logs/stdio

This is a regression from PHP 7.2.0beta3 which built fine on that
system.

I suspect this commit, "Upgrade timelib to 2017.05beta7":

https://github.com/php/php-src/commit/bdd56f31078bf1f34341943603cf6aaa72e0db5c


-- 
Edit bug report at https://bugs.php.net/bug.php?id=75149&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=75149&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=75149&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=75149&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=75149&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=75149&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=75149&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=75149&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=75149&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=75149&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=75149&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=75149&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=75149&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=75149&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75149&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=75149&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=75149&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=75149&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75149&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=75149&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=75149&r=mysqlcfg



Thread (7 messages)

« previous php.bugs (#210915) next »