!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

64 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
13 Aug 2024
@drupol:matrix.orgPolBasically this project automatically maintain itself. I like it.18:24:13
@drupol:matrix.orgPol However, I noticed sometimes that when we set lower bounds for patches in nixpkgs, it sometimes makes issue in my project. 18:24:37
@drupol:matrix.orgPol So I was wondering if you correctly set the version boundaries so it can be cleanly applied to the PHP versions we maintain in nixos/nixpkgs but also in my project. 18:25:15
@piotrkwiecinski:matrix.orgpiotrkwiecinskiMy fix should apply to all php8.1 versions18:25:50
@drupol:matrix.orgPolAs you can see, it's quite broken: https://github.com/loophp/php-src-nix/actions/runs/1036403572018:25:54
@drupol:matrix.orgPolOh damn, I just notice now that we will have an issue with the next PHP84 version... https://github.com/loophp/php-src-nix/actions/runs/10364035720/job/2868871119418:26:47
@drupol:matrix.orgPol
In reply to @piotrkwiecinski:matrix.org
My fix should apply to all php8.1 versions
Cool, I validate your PR then.
18:27:06
@drupol:matrix.orgPolDone.18:27:33
@piotrkwiecinski:matrix.orgpiotrkwiecinskialso is it ok to go to master?18:28:30
@piotrkwiecinski:matrix.orgpiotrkwiecinskiit has fair bit of rebuilds18:28:36
@drupol:matrix.orgPol yes master is fine. 18:29:01
@piotrkwiecinski:matrix.orgpiotrkwiecinski
> calling 'postUnpack' function hook '_updateSourceDateEpochFromSourceRoot'
       > Running phase: patchPhase
       > applying patch /nix/store/r2bw91ma55jqnlv51iwck17f05i1c76x-fix-paths-php7.patch
       > patching file ext/gettext/config.m4
18:29:07
@piotrkwiecinski:matrix.orgpiotrkwiecinskithis one is in generic.nix18:29:16
@drupol:matrix.orgPolyes, since quite a while18:30:15
@piotrkwiecinski:matrix.orgpiotrkwiecinskihttps://github.com/php/php-src/commit/c2d6edc4854b036a94e28b495ccbc1b652649b0218:57:21
@piotrkwiecinski:matrix.orgpiotrkwiecinskiI think it's the cause18:57:26
@piotrkwiecinski:matrix.orgpiotrkwiecinskifor the gettext failure18:57:48
@piotrkwiecinski:matrix.orgpiotrkwiecinskiwe'll have to prepare a new patch for 8.418:58:07
@piotrkwiecinski:matrix.orgpiotrkwiecinskialpha4 was released 2 weeks ago and doesn't have this code yet19:08:58
@piotrkwiecinski:matrix.orgpiotrkwiecinskibut beta1 was tagged today19:09:12
@piotrkwiecinski:matrix.orgpiotrkwiecinskiI'll see if I can prepare the patch for gettext later this week19:09:35
14 Aug 2024
@piotrkwiecinski:matrix.orgpiotrkwiecinskidamn patches :D13:16:03
@piotrkwiecinski:matrix.orgpiotrkwiecinski

I have a fix on local for gettext but ext-dom fails with beta1 build

   > Running phase: patchPhase
       > applying patch /nix/store/hqrpdj07y97vwiyy29jizcsmvx9hdnys-8d7365b6f009ba43e305d6459013ac4fbed7c606.diff?full_index=1
       > patching file ext/dom/tests/modern/extensions/Element_substitutedNodeValue.phpt
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 2 out of 2 hunks ignored -- saving rejects to file ext/dom/tests/modern/extensions/Element_substitutedNodeValue.phpt.rej
13:17:05
@piotrkwiecinski:matrix.orgpiotrkwiecinskimaybe its because try to apply a patch to for alpha113:18:59
@drupol:matrix.orgPol#facepalm13:21:24
@piotrkwiecinski:matrix.orgpiotrkwiecinskiif I'm not mistaken 8.4 is scheduled for the next staging-next merge13:22:33
@piotrkwiecinski:matrix.orgpiotrkwiecinskiso we'll have to wait a bit till I can update it to beta113:22:51
@piotrkwiecinski:matrix.orgpiotrkwiecinskiI'll have update prepared13:23:15
@drupol:matrix.orgPol
In reply to @piotrkwiecinski:matrix.org
if I'm not mistaken 8.4 is scheduled for the next staging-next merge
it has been merged this morning, so it's coming very soon.
13:24:14
@piotrkwiecinski:matrix.orgpiotrkwiecinskiIs this correct syntax ?13:27:59

Show newer messages


Back to Room ListRoom Version: 6