!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

75 Members
A room for PHP developers running on Nix21 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
30 Jun 2023
@drupol:matrix.orgPolThis is what I do when I build php with all extensions enabled.07:37:19
@tgerbet:matrix.orgtgerbetFYI, I will start the work to move `php` to `php82` this week-end. I'm going to open an issue to list the impacted packages by the move to check if all of them have announced a compat with PHP 8.2 or not.18:38:21
1 Jul 2023
@tgerbet:matrix.orgtgerbetOh but it's already done :p 13:25:00
@jtojnar:matrix.orgJan Tojnar
In reply to @drupol:matrix.org
php-couchbase> CMake Error: The source directory "/build/couchbase-4.1.4" does not appear to contain CMakeLists.txt.
Is that even a CMake project?
15:08:00
@jtojnar:matrix.orgJan Tojnar looking at the tarball, you probably want cd src/ in preConfigure 15:11:05
@drupol:matrix.orgPolI'm away from computer , I'll check this out tonight 16:04:07
@drupol:matrix.orgPolI implemented your change. It seems it goes further... but... it still breaks, logs has been updated in the OP: https://github.com/NixOS/nixpkgs/pull/24067319:24:36
@jtojnar:matrix.orgJan Tojnar Pol: It is a typical CMake project now so packaging it will be a pain 19:31:28
@jtojnar:matrix.orgJan Tojnarwell, two CMake projects, actually19:31:39
@jtojnar:matrix.orgJan Tojnar you will want to disable the vendored dependencies by adding stuff like -DCOUCHBASE_CXX_CLIENT_POST_LINKED_OPENSSL=true to cmakeFlags and removing src/deps/couchbase-cxx-client/third_party/ to prevent accidentally building them 19:34:23
@drupol:matrix.orgPolThere's no difference :S19:50:52
@jtojnar:matrix.orgJan Tojnar Pol: also -DCOUCHBASE_CXX_CLIENT_EMBED_MOZILLA_CA_BUNDLE=false 19:54:08
@jtojnar:matrix.orgJan Tojnarhttps://github.com/couchbaselabs/couchbase-cxx-client/blob/7c5abb0523a6a377454fcecaea9003ce8f5b0274/cmake/OpenSSL.cmake#L11119:54:36
@drupol:matrix.orgPolTrying.19:54:44
@jtojnar:matrix.orgJan Tojnarand probably more, you will need to read the CMake file19:55:11
@drupol:matrix.orgPolok... never did that before. Will try.19:55:44
@jtojnar:matrix.orgJan Tojnarit is mostly like any other programming language, you get an error with a trace and you need to look at where it points to19:57:46
@drupol:matrix.orgPolIT's building !19:59:48
@drupol:matrix.orgPol * It's building !19:59:51
@jtojnar:matrix.orgJan Tojnarand like with most programs, the less code there is, the fewer issues you will have. So keep an eye for options that disable code from being run.19:59:54
@jtojnar:matrix.orgJan Tojnar There are other libraries vendored which we should replace with ones from Nixpkgs. Try deleting src/deps/couchbase-cxx-client/third_party/ to prevent accidentally building them. 20:00:44

Show newer messages


Back to Room ListRoom Version: 6