Bug #67404 [Opn]: It's not possible to compile

From: Date: Tue, 10 Jun 2014 05:46:09 +0000
Subject: Bug #67404 [Opn]: It's not possible to compile
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186123@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67404&edit=1 ID: 67404 User updated by: chefuri at gmail dot com Reported by: chefuri at gmail dot com Summary: It's not possible to compile Status: Open Type: Bug Package: Compile Failure Operating System: linux x_64 centos PHP Version: 5.6.0beta4 Block user comment: N Private report: N New Comment: Actually I have PHP 5.5.10 in my server and I tried to upgrade. The "make" works correct with the source code PHP 5.5.10, but fails with lastest PHP 5.5.13 with the same error that I reported. Thanks! Previous Comments: ------------------------------------------------------------------------ [2014-06-10 05:35:57] chefuri at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=67404&edit=1

« previous php.bugs (#186123) next »