From:             glen at delfi dot ee
Operating system: 
PHP version:      5.4.7
Package:          Compile Failure
Bug Type:         Bug
Bug description:-Werror=format-security error in lsapi code

Description:
------------
php-5.4.7/sapi/litespeed/lsapi_main.c:606:5: error: format not a string
literal 
and no format arguments [-Werror=format-security]

full log:

/bin/sh /home/users/glen/rpm/packages/BUILD.x86_64-linux/php-5.4.7/libtool
--
silent --preserve-dup-deps --mode=compile ccache x86_64-pld-linux-gcc  -
Isapi/litespeed/ -I/home/users/glen/rpm/packages/BUILD.x86_64-linux/php-
5.4.7/sapi/litespeed/ -DPHP_ATOM_INC -
I/home/users/glen/rpm/packages/BUILD.x86_64-linux/php-5.4.7/include -
I/home/users/glen/rpm/packages/BUILD.x86_64-linux/php-5.4.7/main -
I/home/users/glen/rpm/packages/BUILD.x86_64-linux/php-5.4.7 -
I/home/users/glen/rpm/packages/BUILD.x86_64-linux/php-5.4.7/ext/date/lib -
I/usr/include/libxml2 -I/usr/include/openssl -I/usr/include/enchant -
I/usr/include/freetype2 -I/usr/include/imap -
I/home/users/glen/rpm/packages/BUILD.x86_64-linux/php-
5.4.7/ext/mbstring/oniguruma -I/home/users/glen/rpm/packages/BUILD.x86_64-
linux/php-5.4.7/ext/mbstring/libmbfl -
I/home/users/glen/rpm/packages/BUILD.x86_64-linux/php-
5.4.7/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell
-
I/home/users/glen/rpm/packages/BUILD.x86_64-linux/php-5.4.7/TSRM -
I/home/users/glen/rpm/packages/BUILD.x86_64-linux/php-5.4.7/Zend  -
DDEBUG_FASTCGI -DHAVE_STRNDUP -I/usr/include/xmlrpc-epi  -I/usr/include -O2
-
fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4
-fno-debug-types-section 
-fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
--
param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4
-fno-debug-types-section -
fvar-tracking-assignments -g2  -c
/home/users/glen/rpm/packages/BUILD.x86_64-
linux/php-5.4.7/sapi/litespeed/lsapi_main.c -o
sapi/litespeed/lsapi_main.lo
/home/users/glen/rpm/packages/BUILD.x86_64-linux/php-
5.4.7/sapi/litespeed/lsapi_main.c: In function 'cli_usage':
/home/users/glen/rpm/packages/BUILD.x86_64-linux/php-
5.4.7/sapi/litespeed/lsapi_main.c:606:5: error: format not a string literal
and 
no format arguments [-Werror=format-security]
cc1: some warnings being treated as errors
make: *** [sapi/litespeed/lsapi_main.lo] Error 1
make: *** Waiting for unfinished jobs....



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

Reply via email to