!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

85 Members
A room for PHP developers running on Nix26 Servers

Load older messages


SenderMessageTime
25 Apr 2022
@etu:semi.socialetuWe also have this hack to pass through the "right version" of the tests to each PHP package: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/php/generic.nix#L15508:01:49
@etu:semi.socialetu So you can build php81.tests to eval the tests with php81 08:02:19
@etu:semi.socialetuBut this last bit doesn't need any changes, it's just good to know :)08:02:40
@drupol:matrix.orgPolThanks mate08:02:57
@drupol:matrix.orgPolI'll ping you for further questions if needed. Don't know when, but I will.08:03:17
@etu:semi.socialetuI think the zts thing should be addressed after the next release branch off08:04:24
@etu:semi.socialetuJust as we should drop php74 and change to php81 as default by then08:04:39
@drupol:matrix.orgPolOki, could you comment on the thread, so this information is not lost in the matrix's void :)08:05:03
@andreas.schraegle:helsinki-systems.deAndreas Schrägle
In reply to @etu:semi.social
Just as we should drop php74 and change to php81 as default by then
You can add that to the 22.11 blockers project
08:08:10
@etu:semi.socialetuOh, great suggestion :)08:11:47
@etu:semi.socialetuDone!08:13:30
@drupol:matrix.orgPolHow do you do that?08:18:15
26 Apr 2022
@drupol:matrix.orgPolhttps://dpaste.org/a3euL05:23:01
@drupol:matrix.orgPolLooks like the GCC update broke PHP < 7.4 compilation05:23:13
@andreas.schraegle:helsinki-systems.deAndreas Schräglethe easiest way around that is probably just using gcc < 1107:22:54
@andreas.schraegle:helsinki-systems.deAndreas SchrägleAlso, how does nix-php (is that what it's called) handle openssl_1_0_2 finally not being a thing anymore in nixpkgs?07:23:27
@drupol:matrix.orgPolIt's using a patch08:33:54
@drupol:matrix.orgPol
In reply to @andreas.schraegle:helsinki-systems.de
the easiest way around that is probably just using gcc < 11
How to specify the gcc version to use then?
08:34:06
@andreas.schraegle:helsinki-systems.deAndreas SchrägleThere's a lot of ways, but the easiest is probably using gcc10Stdenv instead of stdenv. Although that probably breaks the build on aarch64, if that works right now, for reasons.08:39:31
@drupol:matrix.orgPolOh... damn :S08:40:10
@drupol:matrix.orgPol Jan Tojnar: WDYT ? ^^ 08:40:21
@andreas.schraegle:helsinki-systems.deAndreas Schrägle
In reply to @andreas.schraegle:helsinki-systems.de
There's a lot of ways, but the easiest is probably using gcc10Stdenv instead of stdenv.
Although that probably breaks the build on aarch64, if that works right now, for reasons.
I can link the reasons, but basically it's because libgcc_s.so is from the bootstrap tarball. Or something like that. It's complicated -.-
08:43:08
@drupol:matrix.orgPolIndeed, this is way too complex for me.08:45:01
@jtojnar:matrix.orgJan Tojnar Pol: I would look for a patch that allows it to build with newer gcc 09:59:25
@drupol:matrix.orgPolI already checked, but couldn't find anything. Nobody's looking to compile PHP < 7.4 with newest GCC !10:04:12
@jtojnar:matrix.orgJan Tojnarwell, it must have been fixed in PHP 8 at some point10:28:02
@jtojnar:matrix.orgJan Tojnarso perhaps there is patch in PHP repo that we can backport10:28:17
@jtojnar:matrix.orgJan Tojnarif we make nix-phgs able to build from git, we could try bisecting it10:29:28
@andreas.schraegle:helsinki-systems.deAndreas Schrägle
In reply to @jtojnar:matrix.org
if we make nix-phgs able to build from git, we could try bisecting it
why isn't it, right now? I remember a pr that made the php in nixpkgs build from git, which we probably didn't merge for reasons. maybe it was even by Pol? or by Izorkin? maybe I'm making all of this up. well never find out, unless someone searches github.
16:43:57
@drupol:matrix.orgPol
In reply to @andreas.schraegle:helsinki-systems.de
why isn't it, right now? I remember a pr that made the php in nixpkgs build from git, which we probably didn't merge for reasons. maybe it was even by Pol? or by Izorkin? maybe I'm making all of this up. well never find out, unless someone searches github.
I tried indeed, but I think I never submitted a PR
16:44:26

Show newer messages


Back to Room ListRoom Version: 6