!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

78 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
22 Jun 2023
@drupol:matrix.orgPolWe'll see... 07:31:52
@drupol:matrix.orgPolOk I got it working09:31:01
@drupol:matrix.orgPolGoing to post a PR in a few minutes.09:31:07
@drupol:matrix.orgPolReady for review: https://github.com/NixOS/nixpkgs/pull/23915110:15:35
@tgerbet:matrix.orgtgerbet I see in your change that I forgot to cleanup some lib.versionAtLeast php.version "8.1" conditions with the PHP 8.0 removal πŸ˜“ 14:44:34
@drupol:matrix.orgPolCa arrive mΓͺme aux meilleurs ;)😁15:42:06
@drupol:matrix.orgPolAnd also, there's some leftovers of php 8.0 in php-probe.nix (blackfire extension).17:47:21
@drupol:matrix.orgPolThere's an issue with the php-probe extension... 18:39:18
@drupol:matrix.orgPolhttps://gist.github.com/GrahamcOfBorg/eb307c2a2e15412c65011c546ceb982d18:39:21
@drupol:matrix.orgPol What's the flag to add in the metadata to disable it for php 8.3 ? I used broken but it's not the good one I think. 18:40:15
@drupol:matrix.orgPolThat issue is preventing me from merging PHP 8.3 right now18:44:36
@tgerbet:matrix.orgtgerbet

Maybe move the blackfire attribute into something optional? Something like

// lib.optionalAttrs (!(lib.versionAtLeast php.version "8.3")) {
  blackfire = ...
}
19:07:42
@drupol:matrix.orgPolWhere ? I haven't seen that 19:16:18
23 Jun 2023
@drupol:matrix.orgPolPHP 8.3 PR is ready for your review/merge at: https://github.com/NixOS/nixpkgs/pull/23915106:57:55
@drupol:matrix.orgPolI'm not satisfied with how the blackfire extension is managed, but I guess this is something I will likely refine very soon06:58:51
@drupol:matrix.orgPolAnything left to do in here before I leave ? ^^16:32:11
@tgerbet:matrix.orgtgerbetToo tired after a day of meetings but I will take a look tomorrow πŸ™‚16:38:56
@tgerbet:matrix.orgtgerbetYou might want to fetchpatch the patch fixing the build of fileinfo, it just got merged upstream16:39:44
@drupol:matrix.orgPolOh good idea. Doing it right now.16:44:04
@drupol:matrix.orgPolJob done.16:47:59
@drupol:matrix.orgPol tgerbet: Tests are failing with PHP 8.3: https://logs.ofborg.org/?key=nixos/nixpkgs.239151&attempt_id=b3b3603d-9438-44a1-9fd5-482484952538 21:44:49
@drupol:matrix.orgPolI can reproduce the issue locally, but I wasn't able to fix it.21:45:08
24 Jun 2023
@etu:failar.nu@etu:failar.nu changed their profile picture.13:19:44
25 Jun 2023
@tgerbet:matrix.orgtgerbet Looking at the stack traces the issue is caused when PHP do the clean up at the end of a request (it's the php_request_shutdown you see the stack trace) and more specifically when it deals with the sessions (php_rshutdown_session_globals).
nixosTests.php83.httpd and nixosTests.php83.pcre succeeds if you remove session from the list of enabled extensions
11:09:18
@tgerbet:matrix.orgtgerbetI do not think this is on us, I'm trying to bisect11:41:15
@tgerbet:matrix.orgtgerbetCreated https://github.com/php/php-src/issues/1152913:18:59
@drupol:matrix.orgPolthanks for creating it and debugging it17:53:43
26 Jun 2023
@drupol:matrix.orgPol tgerbet: Ping 11:53:11
@drupol:matrix.orgPolI updated the PR with the patch, but the tests are still failing locally and on Github.11:53:28
@drupol:matrix.orgPolI don't know if I applied the patch correctly though.11:53:37

Show newer messages


Back to Room ListRoom Version: 6