!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

76 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
9 May 2022
@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
@drupol:matrix.orgPolThanks !19:46:04
@drupol:matrix.orgPolSomething like that I guess ? or you have a better option ?19:49:34
@drupol:matrix.orgPolimage.png
Download image.png
19:49:36
@drupol:matrix.orgPoltrying to build... 19:51:58
@drupol:matrix.orgPolBig nope.19:54:44
@jtojnar:matrix.orgJan Tojnar postPatch expects commands 19:57:14
@jtojnar:matrix.orgJan Tojnartry something like https://github.com/NixOS/nixpkgs/pull/170962/files#diff-53e28b8539b04d6898db30da46a18a0bd1747d920ec8e70df2cd78eb1c0fb69bR555-R56019:57:35
@jtojnar:matrix.orgJan Tojnar * Pol: try something like https://github.com/NixOS/nixpkgs/pull/170962/files#diff-53e28b8539b04d6898db30da46a18a0bd1747d920ec8e70df2cd78eb1c0fb69bR555-R560 19:57:55
@drupol:matrix.orgPolIt's building... wait & see.20:00:16
@drupol:matrix.orgPolworking ! 20:01:49
@drupol:matrix.orgPolSubmitting the patch.20:01:53
@drupol:matrix.orgPol Next issue: sodium extension. 20:18:53
@drupol:matrix.orgPolhttps://github.com/fossar/nix-phps/runs/6358975765?check_suite_focus=true20:18:57
@jtojnar:matrix.orgJan Tojnarwhere does the lex call even come from? https://github.com/fossar/nix-phps/runs/6358975765?check_suite_focus=true#step:6:83520:23:03
@jtojnar:matrix.orgJan Tojnarthere is no such rule in the Makefile fragments, maybe an implicit rule? https://github.com/php/php-src/blob/f590782b60a4da31487e00a3d0accfaf5d406b1d/ext/tokenizer/Makefile.frag#L1 https://github.com/php/php-src/blob/f590782b60a4da31487e00a3d0accfaf5d406b1d/Zend/Makefile.frag#L820:23:43
@jtojnar:matrix.orgJan Tojnartry grepping the code for lex20:24:05
@jtojnar:matrix.orgJan Tojnar * Pol: try grepping the code for lex 20:24:08
@drupol:matrix.orgPolLooks like there is something missing, there are 2 spaces in the log. 20:25:20
@drupol:matrix.orgPolimage.png
Download image.png
20:25:24
@jtojnar:matrix.orgJan Tojnarright, possibly lex flags20:26:03
@drupol:matrix.orgPol
In reply to @jtojnar:matrix.org
Pol: try grepping the code for lex
I add the --keep-failed flag and I grep ?
20:26:56
@jtojnar:matrix.orgJan Tojnaryup20:27:04
@jtojnar:matrix.orgJan Tojnaryou should see it in the generated Makefile20:27:20
@jtojnar:matrix.orgJan Tojnarand then try to find out where that part of Makefile comes from20:27:46
@drupol:matrix.orgPolokay20:28:26
@drupol:matrix.orgPolWeird, I succeeded to build it locally:20:29:17

Show newer messages


Back to Room ListRoom Version: 6