!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

81 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
7 Aug 2022
@drupol:matrix.orgPol
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
pcntl_setpriority() - Check for errors [tests/pcntl_setpriority_error_linux.phpt]
=====================================================================
10:15:02
@drupol:matrix.orgPolFind the complete build log here: https://gist.github.com/drupol/a3fd7c7febee964ad595540b3253033210:16:17
@drupol:matrix.orgPol Do you think I should an issue in php/php-src ? 10:17:39
@drupol:matrix.orgPol That test was not failing in 82-beta1 10:17:53
@drupol:matrix.orgPol * That test was not failing in 8.2-beta1 10:17:57
@drupol:matrix.orgPolHow can I do this thing? https://github.com/php/php-src/commit/520bb2ec6ca01698f863cb16a5e9a28764df01ae#commitcomment-8055216720:02:12
@drupol:matrix.orgPolGot it now: https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/php-packages.nix#L13020:18:15
8 Aug 2022
@drupol:matrix.orgPolI'm looking for some help in here: https://github.com/php/php-src/commit/520bb2ec6ca01698f863cb16a5e9a28764df01ae#commitcomment-8063592415:33:39
@jtojnar:matrix.orgJan Tojnar Pol: try dumping the $USER environment variable in the build 15:38:34
@drupol:matrix.orgPol"In the build" ?15:39:01
@drupol:matrix.orgPolOk I will check.15:39:06
@jtojnar:matrix.orgJan Tojnare.g. in postPatch15:39:15
@drupol:matrix.orgPoloki15:39:21
@jtojnar:matrix.orgJan Tojnar we probably use sandbox on Linux so it might be something like nix-build-02 15:40:29
@jtojnar:matrix.orgJan Tojnarunless the CI disables it15:40:40
@drupol:matrix.orgPolWhen I do that locally, $USER is not set.15:41:01
@jtojnar:matrix.orgJan Tojnardoes it work locally?15:41:24
@drupol:matrix.orgPolScreenshot_20220808_174118.png
Download Screenshot_20220808_174118.png
15:41:32
@drupol:matrix.orgPolNo, it fails the same15:41:39
@drupol:matrix.orgPolScreenshot_20220808_174432.png
Download Screenshot_20220808_174432.png
15:44:41
@jtojnar:matrix.orgJan Tojnarprobably something to do with the sandboxing, try disabling it temporarily15:44:44
@drupol:matrix.orgPolAh ok.15:44:59
@drupol:matrix.orgPolTrying.15:45:01
@drupol:matrix.orgPolIs it possible to set it within the derivation or it is a command line option?15:46:29
@drupol:matrix.orgPol I should modify /etc/nix/nix.conf ? 15:57:33
@drupol:matrix.orgPol Well done Jan Tojnar . Disabling sandboxing makes it compile. 16:11:51
@drupol:matrix.orgPolI will reply in the thread.16:12:01
@jtojnar:matrix.orgJan Tojnaryou will probably need to look at Nix source code for more details16:13:55
@drupol:matrix.orgPolAh16:14:08
@jtojnar:matrix.orgJan Tojnarit probably does something with either seccomp or user namespaces16:14:15

Show newer messages


Back to Room ListRoom Version: 6