php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58834 Build error 'void value not ignored ...'
Submitted: 2009-08-27 06:07 UTC Modified: 2016-08-15 22:47 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: mathias dot tausig at a-cert dot at Assigned: kalle (profile)
Status: Closed Package: *General Issues
PHP Version: 5.2.9 OS: Suse 9.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mathias dot tausig at a-cert dot at
New email:
PHP Version: OS:

 

 [2009-08-27 06:07 UTC] mathias dot tausig at a-cert dot at
Description:
------------
gcc-3.3.1
php-5.2.9 (manually built)

The build (after phpize, configure) fails. Since the same procedure worked on a different host, I am suspecting that the oldish gcc version is responsible for this.

Here is the 'make' output

/bin/sh /tmp/Fileinfo-1.0.4/libtool --mode=compile gcc  -I. -I/tmp/Fileinfo-1.0.4 -DPHP_ATOM_INC -I/tmp/Fileinfo-1.0.4/include -I/tmp/Fileinfo-1.0.4/main -I/tmp/Fileinfo-1.0.4 -I/usr/local//include/php -I/usr/local//include/php/main -I/usr/local//include/php/TSRM -I/usr/local//include/php/Zend -I/usr/local//include/php/ext -I/usr/local//include/php/ext/date/lib  -I/usr/local//include/php -DHAVE_CONFIG_H  -g -O2   -c /tmp/Fileinfo-1.0.4/fileinfo.c -o fileinfo.lo 
mkdir .libs
 gcc -I. -I/tmp/Fileinfo-1.0.4 -DPHP_ATOM_INC -I/tmp/Fileinfo-1.0.4/include -I/tmp/Fileinfo-1.0.4/main -I/tmp/Fileinfo-1.0.4 -I/usr/local//include/php -I/usr/local//include/php/main -I/usr/local//include/php/TSRM -I/usr/local//include/php/Zend -I/usr/local//include/php/ext -I/usr/local//include/php/ext/date/lib -I/usr/local//include/php -DHAVE_CONFIG_H -g -O2 -c /tmp/Fileinfo-1.0.4/fileinfo.c  -fPIC -DPIC -o .libs/fileinfo.o
/tmp/Fileinfo-1.0.4/fileinfo.c: In function `zif_finfo_set_flags':
/tmp/Fileinfo-1.0.4/fileinfo.c:339: error: void value not ignored as it ought to be
/tmp/Fileinfo-1.0.4/fileinfo.c: In function `_php_finfo_get_type':
/tmp/Fileinfo-1.0.4/fileinfo.c:369: error: void value not ignored as it ought to be
/tmp/Fileinfo-1.0.4/fileinfo.c:413: error: void value not ignored as it ought to be
make: *** [fileinfo.lo] Error 1



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-15 22:46 UTC] kalle@php.net
-Package: Fileinfo +Package: *General Issues
 [2016-08-15 22:47 UTC] kalle@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2016-08-15 22:47 UTC] kalle@php.net
Please try using this snapshot:

  http://snaps.php.net/php-trunk-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

Please try the bundled version of fileinfo with php and see it the issue have then been solved
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 08:01:28 2024 UTC