!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

75 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
27 May 2022
@aanderse:nixos.devaandersehahaha I'm so glad to hear16:49:58
28 May 2022
@drupol:matrix.orgPol
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
@drupol:matrix.orgPol
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
@drupol:matrix.orgPol

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
@jtojnar:matrix.orgJan Tojnar Pol: as mentioned before, this is most likely due to missing flags 20:34:37
@drupol:matrix.orgPolyes yes I understood, but I tried to search and grep the php-src, couldn't find anything relevant :(20:34:58
@jtojnar:matrix.orgJan Tojnarif flex is anything like bison, it runs in compatibility mode by default20:35:07
@jtojnar:matrix.orgJan Tojnardid you try grepping the Makefiles that were produced in the build tree?20:36:06
@jtojnar:matrix.orgJan Tojnar ideally modify php/generic.nix to build tokenizer as part of the main package and then bail out in postConfigure 20:37:36
@jtojnar:matrix.orgJan Tojnarto observe how the upstream is supposed to build it20:38:02
@drupol:matrix.orgPol Ok, will try. But I have very limited knowledge with Makefiles and the rest. 20:41:55
@drupol:matrix.orgPolHey I just made a recurring donation to NixOS of 5€.20:50:21
@drupol:matrix.orgPolimage.png
Download image.png
20:50:23
@drupol:matrix.orgPolLet's hope it help Hydra to build stuff a bit faster :)20:50:34
31 May 2022
@drupol:matrix.orgPolNew issue about PHP 8 @ https://github.com/NixOS/nixpkgs/issues/17563019:12:45
1 Jun 2022
@tinybronca:sibnsk.nettinybronca joined the room.09:08:11
9 Jun 2022
@andreas.schraegle:helsinki-systems.deAndreas Schräglelooks 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:semi.socialetuIf 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 day05:45:51
@drupol:matrix.orgPol
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
@drupol:matrix.orgPol
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
@drupol:matrix.orgPolSee: https://www.php.net/supported-versions.php07:51:11
@drupol:matrix.orgPol
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:semi.socialetu 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:semi.socialetuSo it will still be in nixpkgs, it will be in 22.05.07:53:42
@etu:semi.socialetu * So it will still be supported in nixpkgs, it will be in 22.05.07:53:50
@drupol:matrix.orgPolThen I'm all for it :)07:54:26
@drupol:matrix.orgPolBy the way, I haven't been noticed by this PR : https://github.com/NixOS/nixpkgs/pull/17455507:55:00
@drupol:matrix.orgPolAnd I'm the maintainer list... how come ?07:55:08
@etu:semi.socialetuHmm07:55:36
@etu:semi.socialetuMaybe you aren't in the PHP "team" on GitHub which was created at some point from the PHP team07:55:59

There are no newer messages yet.


Back to Room ListRoom Version: 6