| 7 Aug 2022 |
Pol | =====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
pcntl_setpriority() - Check for errors [tests/pcntl_setpriority_error_linux.phpt]
=====================================================================
| 10:15:02 |
Pol | Find the complete build log here: https://gist.github.com/drupol/a3fd7c7febee964ad595540b32530332 | 10:16:17 |
Pol | Do you think I should an issue in php/php-src ? | 10:17:39 |
Pol | That test was not failing in 82-beta1 | 10:17:53 |
Pol | * That test was not failing in 8.2-beta1 | 10:17:57 |
Pol | How can I do this thing? https://github.com/php/php-src/commit/520bb2ec6ca01698f863cb16a5e9a28764df01ae#commitcomment-80552167 | 20:02:12 |
Pol | Got it now: https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/php-packages.nix#L130 | 20:18:15 |
| 8 Aug 2022 |
Pol | I'm looking for some help in here: https://github.com/php/php-src/commit/520bb2ec6ca01698f863cb16a5e9a28764df01ae#commitcomment-80635924 | 15:33:39 |
Jan Tojnar | Pol: try dumping the $USER environment variable in the build | 15:38:34 |
Pol | "In the build" ? | 15:39:01 |
Pol | Ok I will check. | 15:39:06 |
Jan Tojnar | e.g. in postPatch | 15:39:15 |
Pol | oki | 15:39:21 |
Jan Tojnar | we probably use sandbox on Linux so it might be something like nix-build-02 | 15:40:29 |
Jan Tojnar | unless the CI disables it | 15:40:40 |
Pol | When I do that locally, $USER is not set. | 15:41:01 |
Jan Tojnar | does it work locally? | 15:41:24 |
Pol |  Download Screenshot_20220808_174118.png | 15:41:32 |
Pol | No, it fails the same | 15:41:39 |
Pol |  Download Screenshot_20220808_174432.png | 15:44:41 |
Jan Tojnar | probably something to do with the sandboxing, try disabling it temporarily | 15:44:44 |
Pol | Ah ok. | 15:44:59 |
Pol | Trying. | 15:45:01 |
Pol | Is it possible to set it within the derivation or it is a command line option? | 15:46:29 |
Pol | I should modify /etc/nix/nix.conf ? | 15:57:33 |
Pol | Well done Jan Tojnar . Disabling sandboxing makes it compile. | 16:11:51 |
Pol | I will reply in the thread. | 16:12:01 |
Jan Tojnar | you will probably need to look at Nix source code for more details | 16:13:55 |
Pol | Ah | 16:14:08 |
Jan Tojnar | it probably does something with either seccomp or user namespaces | 16:14:15 |