Summary: | dev-lang/php-5.6.26-r1 : /.../zend_ini_parser.c:64:25: error: too few arguments to function ‘ini_lex’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 582084 | ||
Attachments: |
dev-lang:php-5.6.26-r1:20160930-195208.log
emerge-history.txt environment build log |
Description
Toralf Förster
2016-09-30 20:26:20 UTC
Created attachment 448600 [details]
dev-lang:php-5.6.26-r1:20160930-195208.log
Created attachment 448602 [details]
emerge-history.txt
Created attachment 448604 [details]
environment
Can you please retry php-5.6.26-r2? I just fixed bug #595792 which resulted from the use of bison in the build process. Bison should never have been used. And, since zend_ini_parser.c is generated by bison... maybe this got fixed as a side effect? Just to be sure: I made a change to the -r2 ebuild in-place. The commit with the fix is, commit b32803f4f59d2320f7ab29ce495fdea71221cac3 Author: Michael Orlitzky <mjo@gentoo.org> Date: Sat Oct 1 22:14:44 2016 -0400 dev-lang/php: preserve timestamps when creating SAPI build directories. (In reply to Michael Orlitzky from comment #5) that version failed at this image too (In reply to Toralf Förster from comment #6) > (In reply to Michael Orlitzky from comment #5) > that version failed at this image too Crap, thanks for trying. Can you please post the build log from that attempt? I'd like to ensure that the bison fix is actually happening. Created attachment 448906 [details]
build log
(In reply to Toralf Förster from comment #8) > Created attachment 448906 [details] > build log This shows that bison is still being used: /var/tmp/portage/dev-lang/php-5.6.26-r2/work/sapis-build/cli/Zend/zend_ini_parser.y:267.1-12: warning: deprecated directive, use ‘%pure-parser’ [-Wdeprecated] %pure_parser ^^^^^^^^^^^^ That line occurs right before the build crashes, so it's probably responsible. Bison shouldn't be used at all, so either, 1. I screwed up and the fix for bug #595792 is incomplete. 2. You pulled your -r2 before I committed the fix. Sorry to be annoying, but can you please confirm that your php-5.6.26-r2 ebuild has "cp -a" on line 488 and not "cp -r"? I'm holding out hope for #2 =) (In reply to Michael Orlitzky from comment #9) tinderbox@mr-fox ~ $ nl -ba amd64-13.0-systemd-unstable_20160928-214401/var/db/pkg/dev-lang/php-5.6.26-r2/php-5.6.26-r2.ebuild | grep 488 488 cp -a "${S}" "${BUILD_DIR}" || die (In reply to Toralf Förster from comment #10) ick, and the "location" of the ebuild is the bullet proov, that it is now emerge fine - so bug is solved :-D (In reply to Toralf Förster from comment #11) > (In reply to Toralf Förster from comment #10) > ick, and the "location" of the ebuild is the bullet proov, that it is now > emerge fine - so bug is solved :-D Good good good, because I was out of ideas =P |