Bug #74379 [Opn->Csd]: syntax error compile error in ext/fileinfo/libmagic/apprentice.c
| From: | laruence@php.net | Date: | Mon, 10 Apr 2017 03:49:26 +0000 |
| Subject: | Bug #74379 [Opn->Csd]: syntax error compile error in ext/fileinfo/libmagic/apprentice.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-208410@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74379&edit=1
ID: 74379
Updated by: laruence@php.net
Reported by: ralf dot ramge at ict dot technology
Summary: syntax error compile error in
ext/fileinfo/libmagic/apprentice.c
-Status: Open
+Status: Closed
Type: Bug
Package: Compile Failure
Operating System: Solaris 11.3
PHP Version: 7.1.3
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=341ff7119f0c8291f6617fea5c60d19a4eb22336
Log: Fixed bug #74379 (syntax error compile error in libmagic/apprentice.c)
Previous Comments:
------------------------------------------------------------------------
[2017-04-06 07:35:20] ralf dot ramge at ict dot technology
Description:
------------
Compiler used: official cc (Developer Studio, aka Solaris Studio, aka Sun Studio), actual version
12.5 (and also 12.6 beta release)
Error happens during regular compile session without special configure options (./configure
CC=${IDE_CC} CXX=${IDE_CXX} CFLAGS=-g CXXFLAGS=-g --prefix=/opt/ict
--with-apxs2=/opt/ict/usr/apache/2.4/bin/apxs)
---
"/export/home/ralf/work/devstudio/apache-httpd/php-7.1.3/ext/fileinfo/libmagic/apprentice.c",
line 2195: warning: implicit function declaration: offsetof
"/export/home/ralf/work/devstudio/apache-httpd/php-7.1.3/ext/fileinfo/libmagic/apprentice.c",
line 2195: syntax error before or at: struct
"/export/home/ralf/work/devstudio/apache-httpd/php-7.1.3/ext/fileinfo/libmagic/apprentice.c",
line 2209: syntax error before or at: struct
"/export/home/ralf/work/devstudio/apache-httpd/php-7.1.3/ext/fileinfo/libmagic/apprentice.c",
line 2380: warning: statement not reached
"/export/home/ralf/work/devstudio/apache-httpd/php-7.1.3/ext/fileinfo/libmagic/apprentice.c",
line 3213: warning: statement not reached
cc: acomp failed for
/export/home/ralf/work/devstudio/apache-httpd/php-7.1.3/ext/fileinfo/libmagic/apprentice.c
*** Error code 1
dmake: Fatal error: Command failed for target `ext/fileinfo/libmagic/apprentice.lo'
Test script:
---------------
./configure CC=${IDE_CC} CXX=${IDE_CXX} CFLAGS=-g CXXFLAGS=-g --prefix=/opt/ict
--with-apxs2=/opt/ict/usr/apache/2.4/bin/apxs
followed by a standard build.
Expected result:
----------------
able to compile
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74379&edit=1