| 3 Jul 2023 |
Jan Tojnar | Pol: see https://discourse.nixos.org/t/rpath-of-binary-contains-a-forbidden-reference-to-build/12200/3 | 12:54:34 |
Pol | Thanks, will do that from the train while going back home | 12:55:46 |
Pol | Btw, | 12:57:55 |
Pol | How do I know the path here? patchelf --print-rpath "$out/lib/julia/libgmpxx.so.4.6.0" | 12:58:06 |
Pol | Is it this one ? couchbase-4.1.4/modules/couchbase.so | 12:58:22 |
Pol | patchelf --print-rpath "$out/lib/php/extensions/couchbase.so" ? | 12:58:58 |
Jan Tojnar | Pol: yeah, it should be the one it complains about | 13:45:17 |
Pol | (it's building since 3pm...) | 13:50:59 |
Pol | The postInstall hook doesn't get triggered because of the issue in post-installation fixup. | 14:02:30 |
Pol | php-couchbase> buildPhase completed in 56 minutes 12 seconds | 14:02:49 |
Pol | That's painful. | 14:02:52 |
Jan Tojnar | Pol: remove the third party stuff | 17:33:40 |
Jan Tojnar | you are building ten different libraries | 17:33:51 |
Pol | It's worse. | 18:04:06 |
Pol | I think I'm going to give up on this PR. It's not my type to give up, but since I've never done C or C++ it's way out of my league. | 18:04:40 |
Pol | For the record, here's the terminal log: https://pastebin.com/NGGXcQZu | 18:26:56 |
Pol | And the derivation: https://pastebin.com/Hws3vysA | 18:29:49 |
Jan Tojnar | Pol: sounds like you are missing some dependencies | 18:31:01 |
Jan Tojnar | but it will also require some patching https://github.com/couchbaselabs/couchbase-cxx-client/blob/7c5abb0523a6a377454fcecaea9003ce8f5b0274/cmake/ThirdPartyDependencies.cmake | 18:32:51 |
Pol | I think I will leave this PR for the next person who's gonna need couchbase, I have no clue what to do since I never used all these building tools and I cannot continue to bother you or anybody else. It can wait. | 18:36:31 |
Jan Tojnar | perhaps update the PR with latest progress so that people can pick it up | 18:40:05 |
Pol | I just did for sure | 18:43:02 |
Jan Tojnar | Looks like the current repo is https://github.com/couchbase/couchbase-php-client | 18:46:43 |
Pol | Yes indeed | 18:56:33 |
Pol | Nice finding | 18:56:54 |
Pol | I'll update the PR. | 18:56:58 |
Pol | Done. | 19:03:04 |
| 4 Jul 2023 |
Shyim | ❯ nix run nixpkgs#symfony-cli new foo
error: unable to execute '/nix/store/9szxdim4wkiwkpfwwk45ahq9kn8037gp-symfony-cli-5.5.6/bin/symfony-cli': No such file or directory
How can we specify the main program 🤔
| 08:47:29 |
Gaël Reyrol | I think you can't, you can with nix shell but it does not have the same purpose: nix shell nixpkgs#symfony-cli -c symfony new foo | 09:15:28 |
@etu:failar.nu | Yeah, it can be specified | 09:16:05 |