-
Notifications
You must be signed in to change notification settings - Fork 441
Closed
cachix/git-hooks.nix
#647Labels
nixpkgsBuild errors and issues with nixpkgs packagesBuild errors and issues with nixpkgs packages
Description
Describe the bug
I get a build error when I enable PHP support on github:cachix/devenv-nixpkgs/rolling.
direnv: ([/nix/store/3by7b7afc50p6v1khzj7wyml1rdmagff-direnv-2.37.1/bin/direnv export fish]) is taking a while to execute. Use CTRL-C to give up.
error: Cannot build '/nix/store/4m46w082habdfswbjagviz3b43g86c8z-php-dom-8.2.29.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/s5z66l72zzdwy3xnryjlm6rirsqi05sw-php-dom-8.2.29-dev
/nix/store/sx302l6hdjk8rqvgljm292ry7wdlvrcq-php-dom-8.2.29
Last 25 log lines:
> ---------------------------------------------------------------------
>
> Number of tests : 345 327
> Tests skipped : 18 ( 5.2%) --------
> Tests warned : 0 ( 0.0%) ( 0.0%)
> Tests failed : 1 ( 0.3%) ( 0.3%)
> Expected fail : 2 ( 0.6%) ( 0.6%)
> Tests passed : 324 ( 93.9%) ( 99.1%)
> ---------------------------------------------------------------------
> Time taken : 4 seconds
> =====================================================================
>
> =====================================================================
> EXPECTED FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> Bug #47847 (importNode loses the namespace of an XML element) [tests/bug47847.phpt] XFAIL REASON: See https://github.com/php/php-src/pull/12308
> Bug #55294 (DOMDocument::importNode shifts namespaces when "default" namespace exists) [tests/bug55294.phpt] XFAIL REASON: See https://github.com/php/php-src/pull/12308
> =====================================================================
>
> =====================================================================
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> GH-10234 (Setting DOMAttr::textContent results in an empty attribute value.) [tests/gh10234.phpt]
> =====================================================================
> make: *** [Makefile:136: test] Error 1
For full logs, run:
nix log /nix/store/4m46w082habdfswbjagviz3b43g86c8z-php-dom-8.2.29.drv
error: Cannot build '/nix/store/4m46w082habdfswbjagviz3b43g86c8z-php-dom-8.2.29.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/s5z66l72zzdwy3xnryjlm6rirsqi05sw-php-dom-8.2.29-dev
/nix/store/sx302l6hdjk8rqvgljm292ry7wdlvrcq-php-dom-8.2.29
Last 25 log lines:
> ---------------------------------------------------------------------
>
> Number of tests : 345 327
> Tests skipped : 18 ( 5.2%) --------
> Tests warned : 0 ( 0.0%) ( 0.0%)
> Tests failed : 1 ( 0.3%) ( 0.3%)
> Expected fail : 2 ( 0.6%) ( 0.6%)
> Tests passed : 324 ( 93.9%) ( 99.1%)
> ---------------------------------------------------------------------
> Time taken : 4 seconds
> =====================================================================
>
> =====================================================================
> EXPECTED FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> Bug #47847 (importNode loses the namespace of an XML element) [tests/bug47847.phpt] XFAIL REASON: See https://github.com/php/php-src/pull/12308
> Bug #55294 (DOMDocument::importNode shifts namespaces when "default" namespace exists) [tests/bug55294.phpt] XFAIL REASON: See https://github.com/php/php-src/pull/12308
> =====================================================================
>
> =====================================================================
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> GH-10234 (Setting DOMAttr::textContent results in an empty attribute value.) [tests/gh10234.phpt]
> =====================================================================
> make: *** [Makefile:136: test] Error 1
For full logs, run:
nix log /nix/store/4m46w082habdfswbjagviz3b43g86c8z-php-dom-8.2.29.drv
error: Cannot build '/nix/store/52mazxaxw7m1gw04hlap9igaslaqrsyl-php-xmlreader-8.2.29.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/bnvlhrq3yazgnzb5hl79jcz9npykhig4-php-xmlreader-8.2.29-dev
/nix/store/cyslqkfywvymsjzvgjadp2c5xmy74j89-php-xmlreader-8.2.29
error: Cannot build '/nix/store/r6fih1g097yl93sqaw2wprwk77762ncv-php-extra-init-8.2.29.ini.drv'.
Reason: 2 dependencies failed.
Output paths:
/nix/store/0yih06mg9fkvvp5zyx2qm0x9c2flgaqf-php-extra-init-8.2.29.ini
error: Cannot build '/nix/store/8s1xhbawvvzk9f4k78bdz9yz744dpc9h-php-with-extensions-8.2.29.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/6lilsy31d04c44hk2daack6f57qc5wvx-php-with-extensions-8.2.29
error: Cannot build '/nix/store/kgjpp6aclynpn5z1arv3r33x111idlr7-composer-phar-2.8.12.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/6mfp7fwh3hampym68in3pfhxsvlwl0v2-composer-phar-2.8.12
error: Cannot build '/nix/store/95ncyhq824daixfl8bnj7ifq4v3i0gdq-composer-2.8.12.drv'.
Reason: 2 dependencies failed.
Output paths:
/nix/store/hz8xscvlq9c77klb8mfbjdldgb0jr3ks-composer-2.8.12
error: Cannot build '/nix/store/aahdcnz7syqi4cx1zbhq4h8srv7m1v1f-php-cs-fixer-3.87.2.drv'.
Reason: 2 dependencies failed.
Output paths:
/nix/store/5517rningn76r52drycin2wl07bnivkl-php-cs-fixer-3.87.2
error: Cannot build '/nix/store/ffwn9s052qy34sh2rg23mrma2f3ydas4-devenv-profile.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/ib1ra03nrfsxd2pbd545376ypzxfqfhv-devenv-profile
error: Cannot build '/nix/store/zim1bp5waciqlhg24b9l16cqa1a9myi0-pre-commit-config.json.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/a0pvcchmc4q3p3xmnm41rk53q96bqlsc-pre-commit-config.json
error: Cannot build '/nix/store/0zynvasgzj7iq9skrk6vxib2gwdv6xqi-devenv-git-hooks-install.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/647w60dxa26xvd3bp12wwm3xf1n3119v-devenv-git-hooks-install
error: Cannot build '/nix/store/7g7g3i5371qj66ni57g9sya4mp44l9vl-tasks.json.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/862g912mxgbn69n28qw4ybld74a52z9n-tasks.json
error:
error: Cannot build '/nix/store/1b87x0pw50l4wgxdjasa26mbdvbg6yap-devenv-shell-env.drv'.
Reason: 4 dependencies failed.
Output paths:
/nix/store/9h95v48fv5d5psh058jfv7dzb9n5s2rr-devenv-shell-env
✖ Building shell in 83.9s
Error: × Command `/nix/store/2wr11dbihy4iccrks9myhyiqhyld1y1v-devenv-nix-2.30.4/bin/nix --show-trace --extra-experimental-features nix-command --extra-experimental-features flakes --option lazy-trees true --option warn-dirty false --keep-going --max-jobs 8 --option eval-cache false
│ --option always-allow-substitutes true --option http-connections 100 --option extra-substituters https://devenv.cachix.org --option extra-trusted-public-keys devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw= pbek-nixcfg-devenv.cachix.org-
│ 1:jBmtCC3qOgMZ9I88GwjDi4xwKb6zp1ubaqXWKpnmpvA= print-dev-env --profile /home/omega/Code/VPU/Nextcloud/webapppassword/.devenv/gc/shell -vv --log-format internal-json` failed with exit code 1
direnv: failed to build the devenv environment. devenv.nix may contain errors. see above.
direnv: export +DEVENV_CMDLINE +DEVENV_DIRENVRC_ROLLING_UPGRADE +DEVENV_DIRENVRC_VERSION
I don't have this issue with github:NixOS/nixpkgs/nixos-unstable.
It's also strange that it seems to reference PHP 8.2 and not 8.4 (like on unstable).
To reproduce
devenv.yaml
inputs:
nixpkgs:
url: github:cachix/devenv-nixpkgs/rollingdevenv.nix
_:
{
# https://devenv.sh/supported-languages/php/
languages.php.enable = true;
}Version
devenv 1.10.0 (x86_64-linux)
Metadata
Metadata
Assignees
Labels
nixpkgsBuild errors and issues with nixpkgs packagesBuild errors and issues with nixpkgs packages