25 Jun 2025 |
| @neobrain:matrix.org joined the room. | 09:19:17 |
4 Jul 2025 |
Pol | I opened this: https://github.com/NixOS/nixpkgs/pull/422308 | 06:19:04 |
Pol | I'll see if I have some time to work on it tonight | 06:19:13 |
Pol | Basically, the dom extension now relies on the lexbor extension, which relies on the lexbor library | 06:19:36 |
Pol | But, the lexbor is vendored in the PHP src now... sadly. | 06:19:50 |
Pol | So I will have to check how to properly deal with that. | 06:20:00 |
| @neobrain:matrix.org left the room. | 16:49:12 |
6 Jul 2025 |
piotrkwiecinski | It seems like php uses latest commits from lexbor master | 14:29:24 |
Pol | I can't get it working yet | 18:53:59 |
Pol | But I haven't dedicated much time yet... | 18:54:10 |
Pol | I am unable to compile the lexbor extension | 19:00:59 |
piotrkwiecinski | I don't think it work the same as most other modules | 21:40:10 |
piotrkwiecinski | it's always on and is more like shared libs for other modules | 21:40:50 |
piotrkwiecinski | at least this is my initial understanding | 21:41:12 |
piotrkwiecinski | there is also new uri extension which depends on lexbor | 21:44:51 |
piotrkwiecinski | I was able to compile dom | 22:42:16 |
piotrkwiecinski | but it feels hacky | 22:42:28 |
piotrkwiecinski | https://github.com/piotrkwiecinski/nixpkgs/tree/php85 | 22:48:13 |
7 Jul 2025 |
Pol | I tried, | 04:37:27 |
Pol | but nix-build -A php85.extensions.lexbor result into an empty derivation. | 04:37:46 |
Pol | OK cherry-picked your commit, it works | 04:49:39 |
Pol | I wouldn't say this is hacky, since what you did is already made in another extension (libxml) | 04:50:00 |
Pol | Almost there | 05:57:04 |
Pol | ❯ ./result/bin/php -v
Warning: PHP Startup: Unable to load dynamic library '/nix/store/sv70hmz0knw2aj9jwbrb1jil6sg8nq5w-php-lexbor-8.5.0-alpha1/lib/php/extensions/lexbor.so' (tried: /nix/store/sv70hmz0knw2aj9jwbrb1jil6sg8nq5w-php-lexbor-8.5.0-alpha1/lib/php/extensions/lexbor.so (/nix/store/sv70hmz0knw2aj9jwbrb1jil6sg8nq5w-php-lexbor-8.5.0-alpha1/lib/php/extensions/lexbor.so: cannot open shared object file: No such file or directory), /nix/store/cmgf6nf77laz5n50ajw153hzyg1ag9nq-php-8.5.0-alpha1/lib/php/extensions//nix/store/sv70hmz0knw2aj9jwbrb1jil6sg8nq5w-php-lexbor-8.5.0-alpha1/lib/php/extensions/lexbor.so.so (/nix/store/cmgf6nf77laz5n50ajw153hzyg1ag9nq-php-8.5.0-alpha1/lib/php/extensions//nix/store/sv70hmz0knw2aj9jwbrb1jil6sg8nq5w-php-lexbor-8.5.0-alpha1/lib/php/extensions/lexbor.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 8.5.0alpha1 (cli) (built: Jul 1 2025 21:58:05) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.5.0-dev, Copyright (c) Zend Technologies
with Zend OPcache v8.5.0alpha1, Copyright (c), by Zend Technologies
| 05:57:08 |
Pol | Fixed! | 06:19:37 |
Pol | ❯ ./result/bin/php -v
PHP 8.5.0alpha1 (cli) (built: Jul 1 2025 21:58:05) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.5.0-dev, Copyright (c) Zend Technologies
with Zend OPcache v8.5.0alpha1, Copyright (c), by Zend Technologies
| 06:19:40 |
piotrkwiecinski | We also need to check https://github.com/php/php-src/tree/master/ext/uri | 06:22:10 |
Pol | Fixed | 06:26:01 |
Pol | ❯ ./result/bin/php -v
Warning: PHP Startup: Unable to load dynamic library '/nix/store/yibnimkjkkr5q2ijnrlcvysycqzmlvv3-php-uri-8.5.0-alpha1/lib/php/extensions/uri.so' (tried: /nix/store/yibnimkjkkr5q2ijnrlcvysycqzmlvv3-php-uri-8.5.0-alpha1/lib/php/extensions/uri.so (/nix/store/yibnimkjkkr5q2ijnrlcvysycqzmlvv3-php-uri-8.5.0-alpha1/lib/php/extensions/uri.so: cannot open shared object file: No such file or directory), /nix/store/cmgf6nf77laz5n50ajw153hzyg1ag9nq-php-8.5.0-alpha1/lib/php/extensions//nix/store/yibnimkjkkr5q2ijnrlcvysycqzmlvv3-php-uri-8.5.0-alpha1/lib/php/extensions/uri.so.so (/nix/store/cmgf6nf77laz5n50ajw153hzyg1ag9nq-php-8.5.0-alpha1/lib/php/extensions//nix/store/yibnimkjkkr5q2ijnrlcvysycqzmlvv3-php-uri-8.5.0-alpha1/lib/php/extensions/uri.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 8.5.0alpha1 (cli) (built: Jul 1 2025 21:58:05) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.5.0-dev, Copyright (c) Zend Technologies
with Zend OPcache v8.5.0alpha1, Copyright (c), by Zend Technologies
| 06:35:18 |
Pol | Is this a new extension ? | 06:35:26 |