Edit report at https://bugs.php.net/bug.php?id=75115&edit=1
ID: 75115
Comment by: spam2 at rhsoft dot net
Reported by: spam2 at rhsoft dot net
Summary: make: *** No rule to make target 'prof-gen'. Stop.
Status: Feedback
Type: Bug
Package: *Compile Issues
PHP Version: 7.1Git-2017-08-24 (Git)
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
just read what I posted - dou you see the "touch configure.am" which was suggested by Remi
on the internals list where I complained that 7.2 fails with libtool version errors, looks like that
breaks 7.1
previously that line was "touch configure.in"
so I suggest that you get your house clean when it was possible to build every 7.o/7.1/HEAD
including releases, snapshots and even the experimental JIT brunch from Zend without touch any
single line in the php.spec except the version to find the tarball
Previous Comments:
------------------------------------------------------------------------
[2017-08-25 16:48:36] cmb@php.net
> autoheader: 'configure.ac' and 'configure.in' both present.
I'd start with this, and wouldn't even go further until I found
out why both files are there. Actually, the snapshot contains only
configure.in and that doesn't change after `./buildconf &&
./configure. So, where does configure.ac` come from?
------------------------------------------------------------------------
[2017-08-25 15:41:40] spam2 at rhsoft dot net
FWITW: that above is https://git.php.net/?p=php-src.git;a=snapshot;h=3641ba4332549f863b24f7190d4573525c936389;sf=tgz
"php-7.1.9" is just because i don't give much about the version of test builds,
unpack the tarball, rename it and make a tar.xz because my rpm packages contain the current
date/time in the release tag and so switch between builds is easier
------------------------------------------------------------------------
[2017-08-25 15:37:32] spam2 at rhsoft dot net
indeed configure fails
autoheader: 'configure.ac' and 'configure.in' both present.
autoheader: proceeding with 'configure.ac'
autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
______________________________
is that dance still not enough?
# force use of system libtool and regenerate configure scripts
libtoolize --force --copy --quiet
cat aclocal --print-ac-dir/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >
build/libtool.m4
touch configure.ac
./buildconf --force
______________________________
[builduser@testserver:/rpmbuild/SPECS]$ rpmbuild -bb php.spec
Ausführung(%prep): /bin/sh -e /var/tmp/rpm-tmp.jE00ME
+ umask 022
+ cd /home/builduser/rpmbuild/BUILD
+ export LANG=C
+ LANG=C
+ cd /home/builduser/rpmbuild/BUILD
+ rm -rf php-7.1.9
+ /usr/bin/xz -dc /home/builduser/rpmbuild/SOURCES/php-7.1.9.tar.xz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd php-7.1.9
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (php-realpath-cache-openbasedir.patch):'
Patch #1 (php-realpath-cache-openbasedir.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .realpath --fuzz=0
patching file main/main.c
+ echo 'Patch #3 (php-71-systzdata.patch):'
Patch #3 (php-71-systzdata.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .systzdata-71 --fuzz=0
patching file ext/date/lib/parse_tz.c
patching file ext/date/lib/timelib.m4
+ '[' -f /usr/bin/php ']'
+ /usr/bin/php Zend/zend_vm_gen.php --with-vm-kind=CALL
zend_vm_opcodes.h generated successfully.
zend_vm_opcodes.c generated successfully.
zend_vm_execute.h generated successfully.
+ rm -f TSRM/tsrm_win32.h TSRM/tsrm_config.w32.h Zend/zend_config.w32.h ext/mysqlnd/config-win.h
ext/standard/winver.h main/win32_internal_function_disabled.h main/win95nt.h
+ find . -name '*.[ch]' -exec chmod 644 '{}' ';'
+ xargs rm -f
+ rm -rf ext/openssl/tests/
+ exit 0
Ausführung(%build): /bin/sh -e /var/tmp/rpm-tmp.P6E2Ia
+ umask 022
+ cd /home/builduser/rpmbuild/BUILD
+ cd php-7.1.9
+ export LANG=C
+ LANG=C
+ libtoolize --force --copy --quiet
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
+ cat /usr/share/aclocal/libtool.m4 /usr/share/aclocal/ltoptions.m4 /usr/share/aclocal/ltsugar.m4
/usr/share/aclocal/ltversion.m4 /usr/share/aclocal/lt~obsolete.m4
+ touch configure.ac
+ ./buildconf --force
Forcing buildconf
Removing configure caches
buildconf: checking installation...
buildconf: autoconf version 2.69 (ok)
rebuilding aclocal.m4
rebuilding configure
autoconf: warning: both configure.ac' and configure.in' are present.
autoconf: warning: proceeding with `configure.ac'.
rebuilding main/php_config.h.in
autoheader: 'configure.ac' and 'configure.in' both present.
autoheader: proceeding with 'configure.ac'
autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
+ QUIET_FLAG=--quiet
+ export 'CFLAGS=-m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge
-D_FORTIFY_SOURCE=2 -fdevirtualize-speculatively -fgraphite-identity -fipa-pta -fira-loop-pressure
-fivopts -floop-block -floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer
-fsemantic-interposition -fstack-protector --param=ssp-buffer-size=8 -fstrict-aliasing
-ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im
-ftree-loop-ivcanon -fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0
-minline-all-stringops -pipe -fno-align-labels -fno-exceptions -fno-gcse -fno-math-errno
-fuse-ld=gold -fuse-linker-plugin -Wformat -Werror=format-security -Wno-stack-protector
-Wstrict-aliasing -Wa,--noexecstack'
+ CFLAGS='-m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge
-D_FORTIFY_SOURCE=2 -fdevirtualize-speculatively -fgraphite-identity -fipa-pta -fira-loop-pressure
-fivopts -floop-block -floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer
-fsemantic-interposition -fstack-protector --param=ssp-buffer-size=8 -fstrict-aliasing
-ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im
-ftree-loop-ivcanon -fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0
-minline-all-stringops -pipe -fno-align-labels -fno-exceptions -fno-gcse -fno-math-errno
-fuse-ld=gold -fuse-linker-plugin -Wformat -Werror=format-security -Wno-stack-protector
-Wstrict-aliasing -Wa,--noexecstack'
+ export 'CC=gcc -m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge
-D_FORTIFY_SOURCE=2 -fdevirtualize-speculatively -fgraphite-identity -fipa-pta -fira-loop-pressure
-fivopts -floop-block -floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer
-fsemantic-interposition -fstack-protector --param=ssp-buffer-size=8 -fstrict-aliasing
-ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im
-ftree-loop-ivcanon -fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0
-minline-all-stringops -pipe -fno-align-labels -fno-exceptions -fno-gcse -fno-math-errno
-fuse-ld=gold -fuse-linker-plugin -Wformat -Werror=format-security -Wno-stack-protector
-Wstrict-aliasing -Wa,--noexecstack'
+ CC='gcc -m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge
-D_FORTIFY_SOURCE=2 -fdevirtualize-speculatively -fgraphite-identity -fipa-pta -fira-loop-pressure
-fivopts -floop-block -floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer
-fsemantic-interposition -fstack-protector --param=ssp-buffer-size=8 -fstrict-aliasing
-ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im
-ftree-loop-ivcanon -fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0
-minline-all-stringops -pipe -fno-align-labels -fno-exceptions -fno-gcse -fno-math-errno
-fuse-ld=gold -fuse-linker-plugin -Wformat -Werror=format-security -Wno-stack-protector
-Wstrict-aliasing -Wa,--noexecstack'
+ export 'CXXFLAGS=-m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge
-D_FORTIFY_SOURCE=2 -fdevirtualize-speculatively -fgraphite-identity -fipa-pta -fira-loop-pressure
-fivopts -floop-block -floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer
-fsemantic-interposition -fstack-protector --param=ssp-buffer-size=8 -fstrict-aliasing
-ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im
-ftree-loop-ivcanon -fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0
-minline-all-stringops -pipe -fno-align-labels -fno-exceptions -fno-gcse -fno-math-errno
-fuse-ld=gold -fuse-linker-plugin -Wformat -Werror=format-security -Wno-stack-protector
-Wstrict-aliasing -Wa,--noexecstack'
+ CXXFLAGS='-m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge
-D_FORTIFY_SOURCE=2 -fdevirtualize-speculatively -fgraphite-identity -fipa-pta -fira-loop-pressure
-fivopts -floop-block -floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer
-fsemantic-interposition -fstack-protector --param=ssp-buffer-size=8 -fstrict-aliasing
-ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im
-ftree-loop-ivcanon -fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0
-minline-all-stringops -pipe -fno-align-labels -fno-exceptions -fno-gcse -fno-math-errno
-fuse-ld=gold -fuse-linker-plugin -Wformat -Werror=format-security -Wno-stack-protector
-Wstrict-aliasing -Wa,--noexecstack'
+ export 'CXX=gcc -m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge
-D_FORTIFY_SOURCE=2 -fdevirtualize-speculatively -fgraphite-identity -fipa-pta -fira-loop-pressure
-fivopts -floop-block -floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer
-fsemantic-interposition -fstack-protector --param=ssp-buffer-size=8 -fstrict-aliasing
-ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im
-ftree-loop-ivcanon -fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0
-minline-all-stringops -pipe -fno-align-labels -fno-exceptions -fno-gcse -fno-math-errno
-fuse-ld=gold -fuse-linker-plugin -Wformat -Werror=format-security -Wno-stack-protector
-Wstrict-aliasing -Wa,--noexecstack'
+ CXX='gcc -m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge
-D_FORTIFY_SOURCE=2 -fdevirtualize-speculatively -fgraphite-identity -fipa-pta -fira-loop-pressure
-fivopts -floop-block -floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer
-fsemantic-interposition -fstack-protector --param=ssp-buffer-size=8 -fstrict-aliasing
-ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im
-ftree-loop-ivcanon -fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0
-minline-all-stringops -pipe -fno-align-labels -fno-exceptions -fno-gcse -fno-math-errno
-fuse-ld=gold -fuse-linker-plugin -Wformat -Werror=format-security -Wno-stack-protector
-Wstrict-aliasing -Wa,--noexecstack'
+ export 'SH_LDFLAGS=-Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,nodump
-m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2
-fdevirtualize-speculatively -fgraphite-identity -fipa-pta -fira-loop-pressure -fivopts -floop-block
-floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer -fsemantic-interposition
-fstack-protector --param=ssp-buffer-size=8 -fstrict-aliasing -ftree-loop-distribution
-ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon
-fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0 -minline-all-stringops
-pipe -fno-align-labels -fno-exceptions -fno-gcse -fno-math-errno -fuse-ld=gold -fuse-linker-plugin
-Wformat -Werror=format-security -Wno-stack-protector -Wstrict-aliasing -Wa,--noexecstack'
+ SH_LDFLAGS='-Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,nodump -m64 -O3
-mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2
-fdevirtualize-speculatively -fgraphite-identity -fipa-pta -fira-loop-pressure -fivopts -floop-block
-floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer -fsemantic-interposition
-fstack-protector --param=ssp-buffer-size=8 -fstrict-aliasing -ftree-loop-distribution
-ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon
-fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0 -minline-all-stringops
-pipe -fno-align-labels -fno-exceptions -fno-gcse -fno-math-errno -fuse-ld=gold -fuse-linker-plugin
-Wformat -Werror=format-security -Wno-stack-protector -Wstrict-aliasing -Wa,--noexecstack'
+ export 'LDFLAGS=-Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,nodump -m64
-O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2
-fdevirtualize-speculatively -fgraphite-identity -fipa-pta -fira-loop-pressure -fivopts -floop-block
-floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer -fsemantic-interposition
-fstack-protector --param=ssp-buffer-size=8 -fstrict-aliasing -ftree-loop-distribution
-ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon
-fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0 -minline-all-stringops
-pipe -fno-align-labels -fno-exceptions -fno-gcse -fno-math-errno -fuse-ld=gold -fuse-linker-plugin
-Wformat -Werror=format-security -Wno-stack-protector -Wstrict-aliasing -Wa,--noexecstack -pie
-fPIE'
+ LDFLAGS='-Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,nodump -m64 -O3
-mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2
-fdevirtualize-speculatively -fgraphite-identity -fipa-pta -fira-loop-pressure -fivopts -floop-block
-floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer -fsemantic-interposition
-fstack-protector --param=ssp-buffer-size=8 -fstrict-aliasing -ftree-loop-distribution
-ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon
-fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0 -minline-all-stringops
-pipe -fno-align-labels -fno-exceptions -fno-gcse -fno-math-errno -fuse-ld=gold -fuse-linker-plugin
-Wformat -Werror=format-security -Wno-stack-protector -Wstrict-aliasing -Wa,--noexecstack -pie
-fPIE'
+ export EXTENSION_DIR=/usr/lib64/php/modules
+ EXTENSION_DIR=/usr/lib64/php/modules
+ ./configure --quiet --host=x86_64-redhat-linux --build=x86_64-redhat-linux
--target=x86_64-redhat-linux --prefix=/usr --program-prefix= --libdir=/usr/lib64/php --disable-all
--disable-dependency-tracking --enable-bcmath=shared --enable-calendar=shared --enable-cli
--enable-ctype=shared --enable-dom=shared --enable-exif=shared --enable-fileinfo=shared
--enable-filter --enable-hash=shared --enable-huge-code-pages --enable-inline-optimization
--enable-intl=shared --enable-json=shared --enable-libxml --enable-mbregex --enable-mbstring=shared
--enable-mysqlnd=shared --enable-opcache=shared --enable-opcache-jit --enable-pcntl=shared
--enable-pdo=shared --enable-phar=shared --enable-posix=shared --enable-re2c-cgoto
--enable-session=shared --enable-shared --enable-simplexml=shared --enable-soap=shared
--enable-sockets=shared --enable-tokenizer=shared --enable-xml=shared --enable-xmlreader=shared
--enable-xmlwriter=shared --enable-zip=shared --with-apxs2=/usr/bin/apxs --with-bz2=sh!
ared,/usr --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.lounge.d
--with-curl=shared,/usr --with-freetype-dir=/usr --with-gd=shared,/usr --with-gettext=shared,/usr
--with-iconv=shared --with-imap-ssl=/usr --with-imap=shared,/usr --with-kerberos=/usr
--with-layout=GNU --with-libdir=lib64 --with-libedit=shared,/usr --with-libxml-dir=/usr
--with-libzip=/usr --with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli=shared,mysqlnd
--with-openssl=shared,/usr --with-pcre-jit --with-pcre-regex=/usr --with-pdo-mysql=shared,mysqlnd
--with-pic --with-system-ciphers --with-system-tzdata --with-tidy=shared,/usr --with-zlib=shared
--with-zlib-dir=/usr --disable-cgi --disable-dmalloc --disable-dtrace --disable-gcov
--disable-gd-jis-conv --disable-ipv6 --disable-mysqlnd-compression-support --disable-opcache-file
--disable-phpdbg --disable-rpath --disable-short-tags --disable-static --enable-gcc-global-regs
--disable-debug
+ test 0 '!=' 0
+ make --quiet -j8 prof-gen
make: *** No rule to make target 'prof-gen'. Stop.
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.P6E2Ia (%build)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=75115
--
Edit this bug report at https://bugs.php.net/bug.php?id=75115&edit=1