!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

77 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
7 Sep 2023
@drupol:matrix.orgPol I've just rebased that branch, maybe Jan Tojnar if you could have a look? I have the feeling that the compilation goes further than last time... maybe I'm wrong, feel free to correct me. 11:37:39
@drupol:matrix.orgPolI got it working... work in progres...14:16:39
@drupol:matrix.orgPol * I got it working... work in progress... 14:16:42
@drupol:matrix.orgPol We are almost there actually. It seems that the tokenizer extension is failing to build, the rest looks pretty fine ! 14:38:30
@drupol:matrix.orgPolOk I give up... I'm a noob when it comes to yacc, bison, flex and makefiles. Do you know who could help on this?15:24:19
@jtojnar:matrix.orgJan Tojnarmost of the older Nixpkgs contributors will be familiar with those tools but they will probably also be quite busy. Your best bet is probably asking on Discourse or main chat room and hoping someone can sacrifice an hour for digging into the PHP build system20:24:45
@drupol:matrix.orgPolI will post on discourse tomorrow. I'm trying to understand why it is so complex and what's the issue there.20:26:10
@jtojnar:matrix.orgJan Tojnarthe makefile is generated by phpize, IIRC20:28:05
@drupol:matrix.orgPolyeah... is it an issue ?20:29:34
@drupol:matrix.orgPolI wrote my findings here: https://github.com/fossar/nix-phps/pull/104#issuecomment-171032081820:30:48
@drupol:matrix.orgPolWhy there's no Makefile in the PHP distribution (in ext/tokenizer)20:31:21
@drupol:matrix.orgPolThat is also something I'd like to understand20:31:30
@drupol:matrix.orgPolBut since I never used those tools, it's complicated for me20:31:41
@jtojnar:matrix.orgJan Tojnarthe lex error sounds like lex is missing some flag as well20:35:37
@drupol:matrix.orgPol These are RE2C_FLAGS ? 20:37:01
@drupol:matrix.orgPolHave you seen this? https://github.com/php/php-src/blob/master/scripts/dev/genfiles20:45:00
@drupol:matrix.orgPolMaybe we should use it ?20:45:04
@drupol:matrix.orgPolGOT IT WORKING !!!!20:53:02
@drupol:matrix.orgPolJust pushed the change20:54:05
@drupol:matrix.orgPolNow going straigh to bed... 20:55:38
8 Sep 2023
@drupol:matrix.orgPol Lars Strojny: Now I will work on a PR to provide a flake.nix in the php/php-src source directly :) so we can have a CI that builds PHP at each commit ! 05:01:49
@drupol:matrix.orgPolAnd we are green ! https://github.com/fossar/nix-phps/pull/10405:34:32
@drupol:matrix.orgPolOne year later :D05:34:35
@drupol:matrix.orgPolphp-master branch is building on Nix! https://github.com/fossar/nix-phps/pull/10405:34:51
@drupol:matrix.orgPolSomeone to review this? https://github.com/NixOS/nixpkgs/pull/25400110:17:31
@drupol:matrix.orgPol Lars Strojny: I just made a flake.nix file for https://github.com/php/php-src that compile the master branch :) Works pretty fine !! Do you think it worth submitting a PR ? 11:06:45
@drupol:matrix.orgPolWe could imagine also a default devShell that would provide all the tools needed for a PHP core developer :)11:07:23
@drupol:matrix.orgPolWe could imagine a Github action what would check if a commit is not breaking the builds ! :)11:14:36
@drupol:matrix.orgPolPlenty of new possibilities !!!11:14:44
@drupol:matrix.orgPolPR is green ^^ 13:10:22

Show newer messages


Back to Room ListRoom Version: 6