php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63786 Compile failure in ext/json/utf8_to_utf16.c
Submitted: 2012-12-17 11:21 UTC Modified: 2012-12-17 16:20 UTC
From: me at derrabus dot de Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.5Git-2012-12-17 (Git) OS: Ubuntu 12.10
Private report: No CVE-ID: None
 [2012-12-17 11:21 UTC] me at derrabus dot de
Description:
------------
I've just tried to compile the current 5.5 branch from git. ext/json fails to build.

My test machine runs a Ubuntu 12.10 standard configuration.

Linux 3.5.0-19-generic (64bit)
GCC 4.7.2

Test script:
---------------
./configure --prefix=/opt/php/php-5.5-dev --enable-cli --with-zlib --with-pear
make

Expected result:
----------------
A compiled version of PHP 5.5.

Actual result:
--------------
/home/rabus/php-src/ext/json/json.c: In function ‘json_escape_string’:
/home/rabus/php-src/ext/json/json.c:422:6: warning: unknown conversion type character ‘k’ in format [-Wformat]
/home/rabus/php-src/ext/json/json.c: In function ‘php_json_encode’:
/home/rabus/php-src/ext/json/json.c:630:6: warning: unknown conversion type character ‘k’ in format [-Wformat]
make: *** No rule to make target `/home/rabus/php-src/ext/json/utf8_to_utf16.c', needed by `ext/json/utf8_to_utf16.lo'.  Stop.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-17 11:48 UTC] johannes@php.net
Have you run ./buildconf and configure to regenerate the Makefile after updating from git?
 [2012-12-17 11:48 UTC] johannes@php.net
-Status: Open +Status: Feedback
 [2012-12-17 16:07 UTC] me at derrabus dot de
-Status: Feedback +Status: Open
 [2012-12-17 16:07 UTC] me at derrabus dot de
Thank you for your quick reply. After running buildconf (which I forgot after the pull), php compiles fine. Sorry for this bogus report. :-(
 [2012-12-17 16:20 UTC] reeze@php.net
-Status: Open +Status: Not a bug
 [2012-12-17 16:20 UTC] reeze@php.net
closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 09:01:30 2024 UTC