| 27 May 2022 |
aanderse | hahaha I'm so glad to hear | 16:49:58 |
| 28 May 2022 |
Pol | In reply to @jtojnar:matrix.org unfortunately, I cannot live without Nix any more We all have the same virus :D | 09:00:07 |
| 29 May 2022 |
Pol | In reply to @jtojnar:matrix.org there is no such rule in the Makefile fragments, maybe an implicit rule? https://github.com/php/php-src/blob/f590782b60a4da31487e00a3d0accfaf5d406b1d/ext/tokenizer/Makefile.frag#L1 https://github.com/php/php-src/blob/f590782b60a4da31487e00a3d0accfaf5d406b1d/Zend/Makefile.frag#L8 I dedicate a couple of hours today, grepping and searching in the PHP src, couldn't find anything relevant. Help is very welcome on this. | 20:06:47 |
Pol | These are the last lines of logs:
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3008: bad character: {
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3096: bad character: }
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3099: bad character: <
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3099: unknown error processing section 1
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3099: bad character: ,
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3099: unknown error processing section 1
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3099: bad character: >
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3099: bad character: {
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3099: unknown error processing section 1
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3099: bad character: }
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3099: bad character: {
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3105: bad character: }
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3107: bad character: *
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3107: bad character: /
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3151: bad character: }
php-tokenizer> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3152: premature EOF
php-tokenizer> make: *** [<builtin>: /build/source/ext/tokenizer/../../Zend/zend_language_scanner.c] Error 1
php-tokenizer> make: *** Waiting for unfinished jobs....
php-tokenizer> mkdir .libs
php-tokenizer> gcc -I. -I/build/source/ext/tokenizer -I/build/source/ext/tokenizer/include -I/build/source/ext/tokenizer/main -I/build/source/ext/tokenizer -I/nix/store/y4cvs6zp97b4p7qsx3gb3wli0ykpz59v-php-8.2.0.pre+date=20220529142406-dev/include/php -I/nix/store/y4cvs6zp97b4p7qsx3gb3wli0ykpz59v-php-8.2.0.pre+date=20220529142406-dev/include/php/main -I/nix/store/y4cvs6zp97b4p7qsx3gb3wli0ykpz59v-php-8.2.0.pre+date=20220529142406-dev/include/php/TSRM -I/nix/store/y4cvs6zp97b4p7qsx3gb3wli0ykpz59v-php-8.2.0.pre+date=20220529142406-dev/include/php/Zend -I/nix/store/y4cvs6zp97b4p7qsx3gb3wli0ykpz59v-php-8.2.0.pre+date=20220529142406-dev/include/php/ext -I/nix/store/y4cvs6zp97b4p7qsx3gb3wli0ykpz59v-php-8.2.0.pre+date=20220529142406-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -DZEND_COMPILE_DL_EXT=1 -c /build/source/ext/tokenizer/tokenizer_data.c -MMD -MF tokenizer_data.dep -MT tokenizer_data.lo -fPIC -DPIC -o .libs/tokenizer_data.o
php-tokenizer> mv -f y.tab.c /build/source/ext/tokenizer/../../Zend/zend_language_parser.c
php-tokenizer> mv: cannot stat 'y.tab.c': No such file or directory
php-tokenizer> make: *** [<builtin>: /build/source/ext/tokenizer/../../Zend/zend_language_parser.c] Error 1
note: keeping build directory '/tmp/nix-build-php-tokenizer-8.2.0.pre+date=20220529142406.drv-0'
error: builder for '/nix/store/hm91r5ljwl0myycnwyjccxcr014r0isd-php-tokenizer-8.2.0.pre+date=20220529142406.drv' failed with exit code 2;
last 10 log lines:
> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3107: bad character: /
> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3151: bad character: }
> /build/source/ext/tokenizer/../../Zend/zend_language_scanner.l:3152: premature EOF
> make: *** [<builtin>: /build/source/ext/tokenizer/../../Zend/zend_language_scanner.c] Error 1
> make: *** Waiting for unfinished jobs....
> mkdir .libs
> gcc -I. -I/build/source/ext/tokenizer -I/build/source/ext/tokenizer/include -I/build/source/ext/tokenizer/main -I/build/source/ext/tokenizer -I/nix/store/y4cvs6zp97b4p7qsx3gb3wli0ykpz59v-php-8.2.0.pre+date=20220529142406-dev/include/php -I/nix/store/y4cvs6zp97b4p7qsx3gb3wli0ykpz59v-php-8.2.0.pre+date=20220529142406-dev/include/php/main -I/nix/store/y4cvs6zp97b4p7qsx3gb3wli0ykpz59v-php-8.2.0.pre+date=20220529142406-dev/include/php/TSRM -I/nix/store/y4cvs6zp97b4p7qsx3gb3wli0ykpz59v-php-8.2.0.pre+date=20220529142406-dev/include/php/Zend -I/nix/store/y4cvs6zp97b4p7qsx3gb3wli0ykpz59v-php-8.2.0.pre+date=20220529142406-dev/include/php/ext -I/nix/store/y4cvs6zp97b4p7qsx3gb3wli0ykpz59v-php-8.2.0.pre+date=20220529142406-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -DZEND_COMPILE_DL_EXT=1 -c /build/source/ext/tokenizer/tokenizer_data.c -MMD -MF tokenizer_data.dep -MT tokenizer_data.lo -fPIC -DPIC -o .libs/tokenizer_data.o
> mv -f y.tab.c /build/source/ext/tokenizer/../../Zend/zend_language_parser.c
> mv: cannot stat 'y.tab.c': No such file or directory
> make: *** [<builtin>: /build/source/ext/tokenizer/../../Zend/zend_language_parser.c] Error 1
For full logs, run 'nix log /nix/store/hm91r5ljwl0myycnwyjccxcr014r0isd-php-tokenizer-8.2.0.pre+date=20220529142406.drv'.
| 20:18:14 |
Jan Tojnar | Pol: as mentioned before, this is most likely due to missing flags | 20:34:37 |
Pol | yes yes I understood, but I tried to search and grep the php-src, couldn't find anything relevant :( | 20:34:58 |
Jan Tojnar | if flex is anything like bison, it runs in compatibility mode by default | 20:35:07 |
Jan Tojnar | did you try grepping the Makefiles that were produced in the build tree? | 20:36:06 |
Jan Tojnar | ideally modify php/generic.nix to build tokenizer as part of the main package and then bail out in postConfigure | 20:37:36 |
Jan Tojnar | to observe how the upstream is supposed to build it | 20:38:02 |
Pol | Ok, will try. But I have very limited knowledge with Makefiles and the rest. | 20:41:55 |
Pol | Hey I just made a recurring donation to NixOS of 5€. | 20:50:21 |
Pol |  Download image.png | 20:50:23 |
Pol | Let's hope it help Hydra to build stuff a bit faster :) | 20:50:34 |
| 31 May 2022 |
Pol | New issue about PHP 8 @ https://github.com/NixOS/nixpkgs/issues/175630 | 19:12:45 |
| 1 Jun 2022 |
| tinybronca joined the room. | 09:08:11 |
| 9 Jun 2022 |
Andreas Schrägle | looks like a new set of php patch releases is out. will try to open a PR tomorrow if nobody else gets around to it. | 17:42:36 |
| 10 Jun 2022 |
etu | If nobody complains too much about this: https://github.com/NixOS/nixpkgs/pull/174555 (removal of PHP 7.4), I'll merge it before the end of the working day | 05:45:51 |
Pol | In reply to @andreas.schraegle:helsinki-systems.de looks like a new set of php patch releases is out. will try to open a PR tomorrow if nobody else gets around to it. What ?! | 07:50:32 |
Pol | In reply to @etu:semi.social If nobody complains too much about this: https://github.com/NixOS/nixpkgs/pull/174555 (removal of PHP 7.4), I'll merge it before the end of the working day I'm for supporting it until the end of Janurary 2023. | 07:51:05 |
Pol | See: https://www.php.net/supported-versions.php | 07:51:11 |
Pol | In reply to @etu:semi.social If nobody complains too much about this: https://github.com/NixOS/nixpkgs/pull/174555 (removal of PHP 7.4), I'll merge it before the end of the working day * I'm for supporting it until the end of Nov 2022 | 07:51:34 |
etu | Pol: We want to remove it earlier so we don't have it removed right before the branch off for the next stable (Because it should be removed in the next stable). | 07:53:24 |
etu | So it will still be in nixpkgs, it will be in 22.05. | 07:53:42 |
etu | * So it will still be supported in nixpkgs, it will be in 22.05. | 07:53:50 |
Pol | Then I'm all for it :) | 07:54:26 |
Pol | By the way, I haven't been noticed by this PR : https://github.com/NixOS/nixpkgs/pull/174555 | 07:55:00 |
Pol | And I'm the maintainer list... how come ? | 07:55:08 |
etu | Hmm | 07:55:36 |
etu | Maybe you aren't in the PHP "team" on GitHub which was created at some point from the PHP team | 07:55:59 |