Bug #67404 [NEW]: It's not possible to compile
From: chefuri at gmail dot com
Operating system: linux x_64 centos
PHP version: 5.6.0beta4
Package: Compile Failure
Bug Type: Bug
Bug description:It's not possible to compile
Description:
------------
I tried to compile the php 5.6.0 beta 4 with the default options. The
"configure" works correct, but fail with "make" in
ext/fileinfo/libmagic/apprentice.lo.
Thanks!
Test script:
---------------
wget wget http://downloads.php.net/tyrael/php-5.6.0beta4.tar.gz
tar -zxvf php-5.6.0beta4.tar.gz
cd php-5.6.0beta4
./configure
./make
Expected result:
----------------
Compiled ok
Actual result:
--------------
[root@www php-5.6.0beta4]# ./configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for cc... cc
.....
[root@www php-5.6.0beta4]# make
/bin/sh /root/php-5.6.0beta4/libtool --silent --preserve-dup-deps
--mode=compile cc -I/root/php-5.6.0beta4/ext/fileinfo/libmagic
-Iext/fileinfo/ -I/root/php-5.6.0beta4/ext/fileinfo/ -DPHP_ATOM_INC
-I/root/php-5.6.0beta4/include -I/root/php-5.6.0beta4/main
-I/root/php-5.6.0beta4 -I/root/php-5.6.0beta4/ext/date/lib
-I/root/php-5.6.0beta4/ext/ereg/regex -I/usr/include/libxml2
-I/root/php-5.6.0beta4/ext/sqlite3/libsqlite -I/root/php-5.6.0beta4/TSRM
-I/root/php-5.6.0beta4/Zend -I/usr/include -g -O2 -fvisibility=hidden
-c /root/php-5.6.0beta4/ext/fileinfo/libmagic/apprentice.c -o
ext/fileinfo/libmagic/apprentice.lo
cc: Error interno: `Terminado (killed)' (programa cc1)
Por favor envÃe un reporte completo de bichos.
Vea <http://bugzilla.redhat.com/bugzilla>
para más instrucciones.
make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1
**********************************************
With verbose mode obtaint this trace:
[root@www php-5.6.0beta4]# /bin/sh /root/php-5.6.0beta4/libtool
--preserve-dup-deps --mode=compile cc
-I/root/php-5.6.0beta4/ext/fileinfo/libmagic -Iext/fileinfo/
-I/root/php-5.6.0beta4/ext/fileinfo/ -DPHP_ATOM_INC
-I/root/php-5.6.0beta4/include -I/root/php-5.6.0beta4/main
-I/root/php-5.6.0beta4 -I/root/php-5.6.0beta4/ext/date/lib
-I/root/php-5.6.0beta4/ext/ereg/regex -I/usr/include/libxml2
-I/root/php-5.6.0beta4/ext/sqlite3/libsqlite -I/root/php-5.6.0beta4/TSRM
-I/root/php-5.6.0beta4/Zend -I/usr/include -g -O2 -fvisibility=hidden
-c /root/php-5.6.0beta4/ext/fileinfo/libmagic/apprentice.c -o
ext/fileinfo/libmagic/apprentice.lo --verbose
cc -I/root/php-5.6.0beta4/ext/fileinfo/libmagic -Iext/fileinfo/
-I/root/php-5.6.0beta4/ext/fileinfo/ -DPHP_ATOM_INC
-I/root/php-5.6.0beta4/include -I/root/php-5.6.0beta4/main
-I/root/php-5.6.0beta4 -I/root/php-5.6.0beta4/ext/date/lib
-I/root/php-5.6.0beta4/ext/ereg/regex -I/usr/include/libxml2
-I/root/php-5.6.0beta4/ext/sqlite3/libsqlite -I/root/php-5.6.0beta4/TSRM
-I/root/php-5.6.0beta4/Zend -I/usr/include -g -O2 -fvisibility=hidden -c
/root/php-5.6.0beta4/ext/fileinfo/libmagic/apprentice.c --verbose -fPIC
-DPIC -o ext/fileinfo/libmagic/.libs/apprentice.o
Usando especificaciones internas.
Objetivo: x86_64-redhat-linux
Configurado con: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap
--enable-shared --enable-threads=posix --enable-checking=release
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic
--with-arch_32=i686 --build=x86_64-redhat-linux
Modelo de hilos: posix
gcc versión 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
COLLECT_GCC_OPTIONS='-I/root/php-5.6.0beta4/ext/fileinfo/libmagic'
'-Iext/fileinfo/' '-I/root/php-5.6.0beta4/ext/fileinfo/'
'-DPHP_ATOM_INC' '-I/root/php-5.6.0beta4/include'
'-I/root/php-5.6.0beta4/main' '-I/root/php-5.6.0beta4'
'-I/root/php-5.6.0beta4/ext/date/lib'
'-I/root/php-5.6.0beta4/ext/ereg/regex' '-I/usr/include/libxml2'
'-I/root/php-5.6.0beta4/ext/sqlite3/libsqlite'
'-I/root/php-5.6.0beta4/TSRM' '-I/root/php-5.6.0beta4/Zend'
'-I/usr/include' '-g' '-O2' '-fvisibility=hidden'
'-c' '-v' '-fPIC'
'-DPIC' '-o' 'ext/fileinfo/libmagic/.libs/apprentice.o'
'-mtune=generic'
/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/cc1 -quiet -v
-I/root/php-5.6.0beta4/ext/fileinfo/libmagic -Iext/fileinfo/
-I/root/php-5.6.0beta4/ext/fileinfo/ -I/root/php-5.6.0beta4/include
-I/root/php-5.6.0beta4/main -I/root/php-5.6.0beta4
-I/root/php-5.6.0beta4/ext/date/lib
-I/root/php-5.6.0beta4/ext/ereg/regex -I/usr/include/libxml2
-I/root/php-5.6.0beta4/ext/sqlite3/libsqlite -I/root/php-5.6.0beta4/TSRM
-I/root/php-5.6.0beta4/Zend -I/usr/include -DPHP_ATOM_INC -DPIC
/root/php-5.6.0beta4/ext/fileinfo/libmagic/apprentice.c -quiet -dumpbase
apprentice.c -mtune=generic -auxbase-strip
ext/fileinfo/libmagic/.libs/apprentice.o -g -O2 -version
-fvisibility=hidden -fPIC -o /tmp/ccn2N6vB.s
se descarta el directorio inexistente
"/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include-fixed"
se descarta el directorio inexistente
"/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../x86_64-redhat-linux/include"
se descarta el directorio duplicado
"/root/php-5.6.0beta4/ext/fileinfo/"
se descarta el directorio duplicado "/usr/include"
porque es un directorio que no es del sistema que duplica un
directorio del sistema
la búsqueda de #include "..." inicia aquÃ:
la búsqueda de #include <...> inicia aquÃ:
/root/php-5.6.0beta4/ext/fileinfo/libmagic
ext/fileinfo/
/root/php-5.6.0beta4/include
/root/php-5.6.0beta4/main
/root/php-5.6.0beta4
/root/php-5.6.0beta4/ext/date/lib
/root/php-5.6.0beta4/ext/ereg/regex
/usr/include/libxml2
/root/php-5.6.0beta4/ext/sqlite3/libsqlite
/root/php-5.6.0beta4/TSRM
/root/php-5.6.0beta4/Zend
/usr/local/include
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include
/usr/include
Fin de la lista de búsqueda.
GNU C (GCC) versión 4.4.7 20120313 (Red Hat 4.4.7-4)
(x86_64-redhat-linux)
compilado por GNU C versión 4.4.7 20120313 (Red Hat 4.4.7-4), GMP
versión 4.3.1, MPFR versión 2.4.1.
GGC heurÃsticas: --param ggc-min-expand=98 --param
ggc-min-heapsize=127573
Compiler executable checksum: 11481e4aa93ef024f1be70ed47ae45e3
cc: Error interno: `Terminado (killed)' (programa cc1)
Por favor envÃe un reporte completo de bichos.
Vea <http://bugzilla.redhat.com/bugzilla>
para más instrucciones.
--
Edit bug report at https://bugs.php.net/bug.php?id=67404&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67404&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67404&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67404&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=67404&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=67404&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=67404&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=67404&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=67404&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=67404&r=support
Expected behavior: https://bugs.php.net/fix.php?id=67404&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=67404&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=67404&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=67404&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67404&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=67404&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=67404&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=67404&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=67404&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=67404&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=67404&r=mysqlcfg
Thread (5 messages)
- chefuri at gmail dot com