!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

74 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
1 Jul 2023
@jtojnar:matrix.orgJan Tojnar but we probably should not use buildPecl in the first place, as this does not really use PECL-style build system 20:09:40
@drupol:matrix.orgPolSo, a regular derivation ?20:10:43
@jtojnar:matrix.orgJan Tojnaryeah20:10:48
@jtojnar:matrix.orgJan Tojnar
In reply to @jtojnar:matrix.org
That sounds like it tries to guess where the PHP headers are located and fails.
you will need to find out how the build system tries to add PHP headers to include directories and continue based on that
20:11:35
@jtojnar:matrix.orgJan Tojnaractually, it looks like the extension does have pecl-style build system20:12:23
@jtojnar:matrix.orgJan Tojnarit just invokes CMake internally20:12:34
@jtojnar:matrix.orgJan Tojnar(see the config.m4 in the tarball)20:12:45
@jtojnar:matrix.orgJan Tojnar Pol: so you will probably want to use env.COUCHBASE_CMAKE_EXTRA instead of cmakeFlags 20:13:54
@jtojnar:matrix.orgJan Tojnar and dontUseCmakeConfigure = true; 20:14:11
@drupol:matrix.orgPolhum20:14:16
@drupol:matrix.orgPolTrying all of that,20:15:27
@drupol:matrix.orgPol
In reply to @jtojnar:matrix.org
and dontUseCmakeConfigure = true;
This is breaking the build from the beginning. Are you sure about this?
20:32:29
@jtojnar:matrix.orgJan Tojnaryes, that is necessary if you do not want the build to be hijacked by cmake setup hook21:01:29
@jtojnar:matrix.orgJan Tojnar Pol: that does not mean that buildPecl will work – maybe the config.m4 is invoking without some required args that the setup hook would pass, and you would need to replicate that using env.COUCHBASE_CMAKE_EXTRA 21:03:12
2 Jul 2023
@drupol:matrix.orgPol I tried many things, but when I dontUseCmakeConfigure = true;, I get this: https://pastebin.com/DnkVj5tK 08:42:22
@drupol:matrix.orgPol Just published this: https://github.com/NixOS/nixpkgs/pull/241072 Shyim ^^ 09:09:57
@jtojnar:matrix.orgJan Tojnar
In reply to @drupol:matrix.org
I tried many things, but when I dontUseCmakeConfigure = true;, I get this: https://pastebin.com/DnkVj5tK
Did you keep the buildPecl?
11:34:29
@drupol:matrix.orgPol With buildPecl, it goes a bit further: https://pastebin.com/GhH0hTJy 18:00:14
@drupol:matrix.orgPol Also trying to restore blackfire extension in php80: https://github.com/fossar/nix-phps/pull/251 18:40:24
@jtojnar:matrix.orgJan Tojnar
In reply to @drupol:matrix.org
With buildPecl, it goes a bit further: https://pastebin.com/GhH0hTJy
what is the current expression?
20:54:52
@drupol:matrix.orgPolLet me copy paste it here20:55:06
@drupol:matrix.orgPolhttps://pastebin.com/VZ2RYVfQ20:55:59
@drupol:matrix.orgPolI'm going to bed, I'll see you replies tomorrow 21:01:08
@jtojnar:matrix.orgJan Tojnar Yeah, you should not need to do cd src now 21:09:17
@jtojnar:matrix.orgJan Tojnarthat was only done to go to the cmake project root21:09:36
@jtojnar:matrix.orgJan Tojnar and -DCOUCHBASE_CXX_CLIENT_POST_LINKED_OPENSSL=true should not be needed with openssl_1_1 21:21:49
3 Jul 2023
@drupol:matrix.orgPolWe're almost there: https://pastebin.com/Ek0KD6iK06:34:14
@drupol:matrix.orgPolThe issue comes from something during compilation... 08:36:45
@drupol:matrix.orgPolDebugging ongoinsn08:36:52
@drupol:matrix.orgPol * Debugging ongoing08:36:53

Show newer messages


Back to Room ListRoom Version: 6