!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

75 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
15 Apr 2022
@drupol:matrix.orgPolCan I do that in one single PR ?13:27:01
@hexa:lossy.networkhexayep13:29:38
@drupol:matrix.orgPolJob done.13:31:43
@hexa:lossy.networkhexalooks good, I'll let the php team do the review though 🙂13:32:38
@drupol:matrix.orgPolThanks for the help!13:33:44
@christian.albrecht:matrix.mayflower.deChristian Albrecht joined the room.16:18:10
@christian.albrecht:matrix.mayflower.deChristian Albrechthello folks 👋16:18:38
@christian.albrecht:matrix.mayflower.deChristian Albrecht

ma27 send me here, because i bothered him about a failing php build on my machine. (I silenced it by disabling the failing test, so no worries for me ;)) Just to give you a heads up notice in case you are interested...

alab /ws/nixpkgs  master (a7cf937) took 1m58s
% nix-shell -I nixpkgs=/ws/nixpkgs -p 'php.withExtensions ({ fileinfo }: [ fileinfo ])'

is failing with

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0
Exts tested     :   12
---------------------------------------------------------------------

Number of tests :   52                47
Tests skipped   :    5 (  9.6%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 (  1.9%) (  2.1%)
Tests passed    :   46 ( 88.5%) ( 97.9%)
---------------------------------------------------------------------
Time taken      :    1 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #68996 (Invalid free of CG(interned_empty_string)) [tests/bug68996.phpt]
=====================================================================

You may have found a problem in PHP.
This report can be automatically sent to the PHP QA team at
http://qa.php.net/reports and http://news.php.net/php.qa.reports
This gives us a better understanding of PHP's behavior.
If you don't want to send the report immediately you can choose
option "s" to save it.  You can then email it to qa-reports@lists.php.net later.
Do you want to send this report now? [Yns]:
Please enter your email address.
(Your address will be mangled so that it will not go out on any
mailinglist in plain text):
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /build/php-8.0.18/ext/fileinfo/run-tests.php on line 1152

Warning: fsockopen(): Unable to connect to qa.php.net:80 (php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution) in /build/php-8.0.18/ext/fileinfo/run-tests.php on line 1152

The test script was unable to automatically send the report to PHP's QA Team
Please send /build/php-8.0.18/ext/fileinfo/php_test_results_20220415_1558.txt to qa-reports@lists.php.net manually, thank you.
make: *** [Makefile:131: test] Error 1
error: builder for '/nix/store/i8bx7mhkz4aiggcy3r62l32k543gfhgx-php-fileinfo-8.0.18.drv' failed with exit code 2;
       last 10 log lines:
       > Please enter your email address.
       > (Your address will be mangled so that it will not go out on any
       > mailinglist in plain text):
       > Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /build/php-8.0.18/ext/fileinfo/run-tests.php on line 1152
       >
       > Warning: fsockopen(): Unable to connect to qa.php.net:80 (php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution) in /build/php-8.0.18/ext/fileinfo/run-tests.php on line 1152
       >
       > The test script was unable to automatically send the report to PHP's QA Team
       > Please send /build/php-8.0.18/ext/fileinfo/php_test_results_20220415_1558.txt to qa-reports@lists.php.net manually, thank you.
       > make: *** [Makefile:131: test] Error 1
       For full logs, run 'nix log /nix/store/i8bx7mhkz4aiggcy3r62l32k543gfhgx-php-fileinfo-8.0.18.drv'.
error: 1 dependencies of derivation '/nix/store/5slqm7ls3kay78d2gmsjyvxbia37xylg-php-extra-init-8.0.18.ini.drv' failed to build
error: 1 dependencies of derivation '/nix/store/11s7w77n3f07nagnfzlvyjpk61j2p2l2-php-with-extensions-8.0.18.drv' failed to bu
16:27:18
16 Apr 2022
@lstrojny:matrix.orgLars Strojny joined the room.16:18:07
@lstrojny:matrix.orgLars Strojny set a profile picture.16:28:18
19 Apr 2022
@drupol:matrix.orgPolHi mate, which platform is this?07:24:01
@christian.albrecht:matrix.mayflower.deChristian Albrecht Hey Pol, this is a flakes nixos system, on recent nixpkgs master. 07:40:38
@drupol:matrix.orgPolOk!07:44:32
@drupol:matrix.orgPolAnd which platform ?07:44:36
@drupol:matrix.orgPoldarwin M1 ?07:44:41
@christian.albrecht:matrix.mayflower.deChristian Albrecht Ahh, to nervous..., didn't read. Linux tutnix 5.15.34 #1-NixOS SMP Wed Apr 13 18:59:28 UTC 2022 x86_64 GNU/Linux 07:47:33
@drupol:matrix.orgPolWeird.07:48:51
@drupol:matrix.orgPolGoing to test.07:48:55
@drupol:matrix.orgPol Funny thing, to test if this is failing, I just have to create a composer.json file in a test directory and add "ext-fileinfo": "*" to the require-dev section ;) 07:49:34
@drupol:matrix.orgPolIt works here07:51:55
@drupol:matrix.orgPolimage.png
Download image.png
07:51:57
@drupol:matrix.orgPolTo test on your side, do:07:52:14
@drupol:matrix.orgPol
  1. Create a composer.json file in a random dir
  2. The content of it should be:
{
    "name": "pol/foo",
    "require": {
        "ext-fileinfo": "*"
    }
}
  1. Run: nix develop github:loophp/nix-shell#php80 --impure in the same directory
07:53:23
@christian.albrecht:matrix.mayflower.deChristian AlbrechtOk07:53:44
@christian.albrecht:matrix.mayflower.deChristian AlbrechtThis does give me a shell indeed. Tried again the previous failing method, but this fails because of other issues right now. Will recheck when i have time to do.08:10:13
@drupol:matrix.orgPolAllrighty08:10:52
@drupol:matrix.orgPolLet us know how it goes08:10:58
@christian.albrecht:matrix.mayflower.deChristian Albrecht👍️08:12:14
@christian.albrecht:matrix.mayflower.deChristian Albrecht Hm, ok. Even nix-shell -I nixpkgs=/ws/nixpkgs -p 'php80.withExtensions ({ all, ... }: with all; [ all.fileinfo ])' works now. Sorry for the noise 🤷 08:27:00
20 Apr 2022
@ahsmha:matrix.orgahmed joined the room.19:00:21

Show newer messages


Back to Room ListRoom Version: 6