!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

77 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
13 Feb 2024
@drupol:matrix.orgPolHope no offense taken in this12:56:48
@patka_123:matrix.org@patka_123:matrix.org Pol this was for Elis 🌱? 13:00:30
@patka_123:matrix.org@patka_123:matrix.org

I'm trying to update the composer package but when I build it I get the following error:

error: builder for '/nix/store/z7pxjfy3r5xzis8xfm6wshm2crg1zafp-composer-2.7.1.drv' failed with exit code 1;
       last 10 log lines:
       >   - Installing symfony/process (v5.4.35):     Install of symfony/process failed
       >
       > In GitDownloader.php line 116:
       >
       >   The required git reference for composer/ca-bundle is not in cache and netwo
       >   rk is disabled, aborting

Any idea's?

14:24:27
@drupol:matrix.orgPolwhaaaaaat ?!14:27:30
@drupol:matrix.orgPolTrying locally14:28:45
@drupol:matrix.orgPol
❯ ./result/bin/composer --version
Composer version 2.7.1 2024-02-09 15:26:28
~
14:29:56
@drupol:matrix.orgPolIt works locally14:29:59
@patka_123:matrix.org@patka_123:matrix.orgThat is strange... But I don't have the time to look into it too deeply. Would you mind creating the PR if you did the update already?14:30:46
@drupol:matrix.orgPolyup since the work is done here, I'm going to push it14:31:07
@patka_123:matrix.org@patka_123:matrix.org Thanks. It fixes a CVE as well https://blog.packagist.com/composer-2-7-and-cve-2024-24821/ 14:31:41
@drupol:matrix.orgPolhttps://github.com/NixOS/nixpkgs/pull/28857414:34:06
@patka_123:matrix.org@patka_123:matrix.orgHmm, I'm getting 38 packages failed to build. I guess somethings wrong on my side...14:40:42
@patka_123:matrix.org@patka_123:matrix.org* Hmm, I'm getting 38 packages (so all of them) failed to build. I guess somethings wrong on my side...14:41:51
@patka_123:matrix.org@patka_123:matrix.org What does nixpkgs-review pr --print-result 288574 do for you? 14:42:26
@drupol:matrix.orgPolLet me spawn a shell with nixpkgs-review and I'll let you know14:44:00
@drupol:matrix.orgPolshit it's failing everywhere.15:00:41
@drupol:matrix.orgPol#investigating15:07:20
@drupol:matrix.orgPolI don't understand, it's failing on composer/ca-bundle, I don't know yet where it comes form15:11:55
@drupol:matrix.orgPolI will reproduce the issue at home and open an issue at composer/composer I guess... 15:26:49
@drupol:matrix.orgPol * I will reproduce the issue without Nix at home and open an issue at composer/composer I guess... 15:27:00
@drupol:matrix.orgPolIssue identified!15:29:54
@drupol:matrix.orgPolIt's in https://github.com/nix-community/composer-local-repo-plugin15:30:11
@drupol:matrix.orgPolFor some reason, some references are still refering Git instead of a local path15:30:25
@drupol:matrix.orgPolOh no.15:30:54
@drupol:matrix.orgPolFalse alarm.15:30:57
@patka_123:matrix.org@patka_123:matrix.orgI'm on the road now so can't do much. But there's something in the release notes about plugins https://github.com/composer/composer/releases/tag/2.7.015:42:30
@drupol:matrix.orgPolI can't reproduce it locally :S https://gist.github.com/drupol/ab25340ea5fa46e3c2f49c1d9ed5eb7115:43:43
@drupol:matrix.orgPolI will bisect properly from home... 15:44:53
@drupol:matrix.orgPolIf you want to help, I just published the shell script that I use to test15:47:57
@drupol:matrix.orgPol This is basically replicating what pkgs.php.buildComposerProject {} is doing. 15:48:16

Show newer messages


Back to Room ListRoom Version: 6