!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

81 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
8 Jan 2023
@etu:failar.nuetu @Pol: Maybe we should consider to split out the php80 update to a separate PR to have it merged while waiting for some kind of response or take an action on php81 and php82? 15:37:18
@drupol:matrix.orgPolI'm having limited availability to a computer these days, I might take 4~5 days before I do further changes on ths.16:06:21
@drupol:matrix.orgPol * I'm having limited availability to a computer these days, I might take 4~5 days before I do further changes on this.16:06:24
@tgerbet:matrix.orgtgerbet If that's okay with you Pol I can take over to split the PHP 8.0 upgrade into an independent PR and start investigation the PHP 8.1/8.2 ext-opcache issue 16:22:52
@tgerbet:matrix.orgtgerbet * If that's okay with you Pol I can take over to split the PHP 8.0 upgrade into an independent PR and start investigating the PHP 8.1/8.2 ext-opcache issue 16:26:01
@drupol:matrix.orgPolMerci <316:56:19
@tgerbet:matrix.orgtgerbet

The test fails because we have 2 additionnel warnings not present in the expectation 🤔 :

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
GH-9968: Preload crash on non-linked class [tests/gh9968.phpt]
=====================================================================


================================================================================
/build/php-8.2.1/ext/opcache/tests/gh9968.phpt
================================================================================
Warning: PHP Startup: Failed to open stream: No such file or directory in /build/php-8.2.1/ext/opcache/tests/gh9968-1.inc on line 3

Warning: PHP Startup: Failed opening 'ext/opcache/tests/gh9968-2.inc' for inclusion (include_path='.:/nix/store/bca038mr2v54v4y36lnq94qrji20bsp8-php-8.2.1/lib/php') in /build/php-8.2.1/ext/opcache/tests/gh9968-1.inc on line 3

Fatal error: Uncaught Error: Class "Root1_Constant_Referencer" not found in /build/php-8.2.1/ext/opcache/tests/gh9968.php:3
Stack trace:
#0 {main}
  thrown in /build/php-8.2.1/ext/opcache/tests/gh9968.php on line 3
================================================================================
001+ Warning: PHP Startup: Failed to open stream: No such file or directory in /build/php-8.2.1/ext/opcache/tests/gh9968-1.inc on line 3
002+ 
003+ Warning: PHP Startup: Failed opening 'ext/opcache/tests/gh9968-2.inc' for inclusion (include_path='.:/nix/store/bca038mr2v54v4y36lnq94qrji20bsp8-php-8.2.1/lib/php') in /build/php-8.2.1/ext/opcache/tests/gh9968-1.inc on line 3
001- Warning: Can't preload unlinked class Root1_Constant_Referencer: Unknown parent Root2_Empty_Empty in %s on line %d
     
     Fatal error: Uncaught Error: Class "Root1_Constant_Referencer" not found in %s:%d
     Stack trace:
--
================================================================================
17:44:51
@tgerbet:matrix.orgtgerbet *

The test fails because we have 2 warnings that are not present in the expectation 🤔 :

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
GH-9968: Preload crash on non-linked class [tests/gh9968.phpt]
=====================================================================


================================================================================
/build/php-8.2.1/ext/opcache/tests/gh9968.phpt
================================================================================
Warning: PHP Startup: Failed to open stream: No such file or directory in /build/php-8.2.1/ext/opcache/tests/gh9968-1.inc on line 3

Warning: PHP Startup: Failed opening 'ext/opcache/tests/gh9968-2.inc' for inclusion (include_path='.:/nix/store/bca038mr2v54v4y36lnq94qrji20bsp8-php-8.2.1/lib/php') in /build/php-8.2.1/ext/opcache/tests/gh9968-1.inc on line 3

Fatal error: Uncaught Error: Class "Root1_Constant_Referencer" not found in /build/php-8.2.1/ext/opcache/tests/gh9968.php:3
Stack trace:
#0 {main}
  thrown in /build/php-8.2.1/ext/opcache/tests/gh9968.php on line 3
================================================================================
001+ Warning: PHP Startup: Failed to open stream: No such file or directory in /build/php-8.2.1/ext/opcache/tests/gh9968-1.inc on line 3
002+ 
003+ Warning: PHP Startup: Failed opening 'ext/opcache/tests/gh9968-2.inc' for inclusion (include_path='.:/nix/store/bca038mr2v54v4y36lnq94qrji20bsp8-php-8.2.1/lib/php') in /build/php-8.2.1/ext/opcache/tests/gh9968-1.inc on line 3
001- Warning: Can't preload unlinked class Root1_Constant_Referencer: Unknown parent Root2_Empty_Empty in %s on line %d
     
     Fatal error: Uncaught Error: Class "Root1_Constant_Referencer" not found in %s:%d
     Stack trace:
--
================================================================================
17:46:29
@tgerbet:matrix.orgtgerbetI have a fix, I'm doing some tests18:31:08
@tgerbet:matrix.orgtgerbet PR updated, I'm running nixpkgs-review on it from a x86_64 systemd 18:52:55
@tgerbet:matrix.orgtgerbet * PR updated, I'm running nixpkgs-review on it from a x86_64 system 18:52:57
@drupol:matrix.orgPolI saw the fix, nice !!!19:30:56
19 Jan 2023
@robert:funklause.de@robert:funklause.de joined the room.18:20:24
@robert:funklause.de@robert:funklause.de left the room.18:22:06
20 Jan 2023
@phaer:matrix.orgphaer Hello, I am running php-fpm on nginx on nixos 22.11 and even though error_log = syslog by default and i have catch_workers_output in my pool config, php errors do not seem to end up in php-fpms journal or anywhere else i can find them. 12:36:54
@phaer:matrix.orgphaerIs this expected behaviour? Shouldn't php errors be logged somewhere by default? Am i mssing a critical setting?12:37:23
@hexa:lossy.networkhexamayeb the app has a statedir, where it logs into var/log17:58:36
@hexa:lossy.networkhexaI'm looking at you, wallabag17:58:44
21 Jan 2023
@philipp:xndr.dephilippAnd laravel and magento (shudder).15:28:05
23 Jan 2023
@drupol:matrix.orgPolLooking for comments in here: https://github.com/NixOS/nixpkgs/pull/212249#issuecomment-140025596912:22:06
@drupol:matrix.orgPolEspecially from PHP Maintainers ^^12:22:26
@etu:failar.nuetuI also have the question if PHP version really matters when using that tool12:25:59
@etu:failar.nuetuLike, does it make a difference to have 3 variants for it for each version?12:26:20
@etu:failar.nuetuAnd the commit history needs... some work ;)12:26:34
@drupol:matrix.orgPol The commit history is the least of the issues and can be addressed at the end. I think here you're also making a good point and I would not include it in the php-packages namespace. 12:34:49
@drupol:matrix.orgPol In the long run this is something I wish I could do in Nix... like remove phpstan, psalm, phpcsfixer from the php-packages namespace. 12:35:25
@etu:failar.nuetuCertain tools it makes sense to run with specific PHP versions12:58:11
@drupol:matrix.orgPolYup, but not these12:59:40
@drupol:matrix.orgPol
In reply to @drupol:matrix.org
Looking for comments in here: https://github.com/NixOS/nixpkgs/pull/212249#issuecomment-1400255969
He closed the PR... I think I got him frustrated
13:00:15
@drupol:matrix.orgPol:(13:00:22

Show newer messages


Back to Room ListRoom Version: 6