!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

74 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
9 May 2022
@drupol:matrix.orgPolMerged !! ^^16:27:14
@drupol:matrix.orgPol Jan Tojnar: What is this issue? https://github.com/fossar/nix-phps/runs/6357683823?check_suite_focus=true Where does it comes from ?! 19:20:00
@jtojnar:matrix.orgJan Tojnar Pol: that is phpize not setting the RE2C or BISON make variables 19:21:21
@jtojnar:matrix.orgJan Tojnar * Pol: that is phpize-generated configure script not setting the RE2C or BISON make variables 19:21:44
@drupol:matrix.orgPolarghf**k19:21:56
@drupol:matrix.orgPolIs it a new patch to do for nix-phps or nixpkgs ?19:22:14
@jtojnar:matrix.orgJan Tojnaras explained here https://github.com/fossar/nix-phps/pull/104#issuecomment-111396419519:22:42
@drupol:matrix.orgPolAaaah I do remember now.19:23:06
@jtojnar:matrix.orgJan Tojnartechnically, Nixpkgs is affected too, only they do not notice because the tarballs already contain the generated files19:23:46
@drupol:matrix.orgPol Maybe we should fix it in nixpkgs directly 19:24:07
@drupol:matrix.orgPolWDYT ?19:24:31
@jtojnar:matrix.orgJan Tojnaryeah, probably test here first and then move the fix to Nixpkgs like we did with the readline issue19:25:31
@drupol:matrix.orgPolRight, so the battleplan is to add those variables and that's it?19:26:19
@jtojnar:matrix.orgJan Tojnar Adding directly them using makeFlags would work as a workaround. But ideally we would instead add https://github.com/php/php-src/blob/9e74e58bcf7e31aef563f1ee00b7f0bc17fe3ef2/configure.ac#L164-L165 to the generated configure.ac. 19:29:34
@jtojnar:matrix.orgJan TojnarMaybe just adding those lines at the top of config.m4 would work?19:30:28
@drupol:matrix.orgPol I don't know... I like the idea of using makeFlags. 19:31:19
@drupol:matrix.orgPolimage.png
Download image.png
19:31:38
@drupol:matrix.orgPolIs it here that we have to add it ? 19:31:39
@jtojnar:matrix.orgJan Tojnarno, it should go to the package-overrides19:32:01
@drupol:matrix.orgPolah ok !19:32:06
@jtojnar:matrix.orgJan Tojnar the issue with makeFlags is that you have to replicate whatever the m4 macros do 19:33:22
@drupol:matrix.orgPolimage.png
Download image.png
19:33:42
@jtojnar:matrix.orgJan Tojnar finding yacc itself will be easy but what should you set YFLAGS to? And what if upstream changes it? 19:34:27
@drupol:matrix.orgPolha.19:34:35
@drupol:matrix.orgPolindeed.19:34:45
@jtojnar:matrix.orgJan Tojnaryeah, that looks about right to me, though please follow https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/attribute-ordering.md19:34:51
@drupol:matrix.orgPol
In reply to @jtojnar:matrix.org
finding yacc itself will be easy but what should you set YFLAGS to? And what if upstream changes it?
Maybe adding it on the top of the file might be a better fit
19:36:53
@drupol:matrix.orgPolDamn, let me know what we do :)19:39:02
@jtojnar:matrix.orgJan Tojnar Pol: if you could try pasting those lines to the top of ext/pdo/config.m4 in postPatch that would be a start 19:45:44
@drupol:matrix.orgPolRight, going to experiment ;)19:46:00

There are no newer messages yet.


Back to Room ListRoom Version: 6