-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
phpPackages.composer: use fetchgit
#258281
Conversation
Result of 2 packages failed to build:
23 packages built:
Two packages fail to build, but that does not look like a composer problem: error: builder for '/nix/store/24837mgbrxkdqzx79m40pc8ya5fd1pp9-php-php-parallel-lint-1.3.2.drv' failed with exit code 1;
last 10 log lines:
> Error Output:
> ================
> Failed loading /nix/store/kz8ahpqyvz7cyj52kz417g65bkz3rqjh-php-opcache-8.1.
> 24/lib/php/extensions/opcache.so: /nix/store/kz8ahpqyvz7cyj52kz417g65bkz3r
> qjh-php-opcache-8.1.24/lib/php/extensions/opcache.so: undefined symbol: zen
> d_build_delayed_early_binding_list
>
>
> compile [--debug] [--no-parallel] [--no-restart] [--dev] [--no-config] [--with-docker] [--composer-bin COMPOSER-BIN] [--allow-composer-check-failure] [-c|--config CONFIG] [-d|--working-dir WORKING-DIR]
>
For full logs, run 'nix log /nix/store/24837mgbrxkdqzx79m40pc8ya5fd1pp9-php-php-parallel-lint-1.3.2.drv'.
error: builder for '/nix/store/66l7q0j6zvv8n4jky49nhzvbacczp80b-php-php-parallel-lint-1.3.2.drv' failed with exit code 1;
last 10 log lines:
> Error Output:
> ================
> Failed loading /nix/store/kz8ahpqyvz7cyj52kz417g65bkz3rqjh-php-opcache-8.1.
> 24/lib/php/extensions/opcache.so: /nix/store/kz8ahpqyvz7cyj52kz417g65bkz3r
> qjh-php-opcache-8.1.24/lib/php/extensions/opcache.so: undefined symbol: zen
> d_build_delayed_early_binding_list
>
>
> compile [--debug] [--no-parallel] [--no-restart] [--dev] [--no-config] [--with-docker] [--composer-bin COMPOSER-BIN] [--allow-composer-check-failure] [-c|--config CONFIG] [-d|--working-dir WORKING-DIR]
>
For full logs, run 'nix log /nix/store/66l7q0j6zvv8n4jky49nhzvbacczp80b-php-php-parallel-lint-1.3.2.drv'.
error: 2 dependencies of derivation '/nix/store/vm72zp3djc13zzynjh7bb955psnl4p2w-review-shell.drv' failed to build |
May be worth to leave a comment in the code as well if why fetchgit is used
rather than fethFromGitHub
…On Sun, 1 Oct 2023, 00:02 Jenny, ***@***.***> wrote:
Result of nixpkgs-review pr 258281 run on x86_64-linux 1
<https://github.com/Mic92/nixpkgs-review>
2 packages failed to build:
- php82Packages.php-parallel-lint
- php83Packages.php-parallel-lint
23 packages built:
- adminer
- bookstack
- pdepend
- php81Packages.box
- php81Packages.castor
- php81Packages.composer
- php81Packages.php-parallel-lint
- php81Packages.psysh
- php82Packages.box
- php82Packages.castor
- php82Packages.composer
- php82Packages.psysh
- php83Packages.box
- php83Packages.castor
- php83Packages.composer
- php83Packages.psysh
- phpactor
- phpdocumentor
- pixelfed
- platformsh
- robo
- snipe-it
- vimPlugins.phpactor
Two packages fail to build, but that does not look like a composer problem:
error: builder for '/nix/store/24837mgbrxkdqzx79m40pc8ya5fd1pp9-php-php-parallel-lint-1.3.2.drv' failed with exit code 1; last 10 log lines: > Error Output: > ================ > Failed loading /nix/store/kz8ahpqyvz7cyj52kz417g65bkz3rqjh-php-opcache-8.1. > 24/lib/php/extensions/opcache.so: /nix/store/kz8ahpqyvz7cyj52kz417g65bkz3r > qjh-php-opcache-8.1.24/lib/php/extensions/opcache.so: undefined symbol: zen > d_build_delayed_early_binding_list > > > compile [--debug] [--no-parallel] [--no-restart] [--dev] [--no-config] [--with-docker] [--composer-bin COMPOSER-BIN] [--allow-composer-check-failure] [-c|--config CONFIG] [-d|--working-dir WORKING-DIR] > For full logs, run 'nix log /nix/store/24837mgbrxkdqzx79m40pc8ya5fd1pp9-php-php-parallel-lint-1.3.2.drv'.error: builder for '/nix/store/66l7q0j6zvv8n4jky49nhzvbacczp80b-php-php-parallel-lint-1.3.2.drv' failed with exit code 1; last 10 log lines: > Error Output: > ================ > Failed loading /nix/store/kz8ahpqyvz7cyj52kz417g65bkz3rqjh-php-opcache-8.1. > 24/lib/php/extensions/opcache.so: /nix/store/kz8ahpqyvz7cyj52kz417g65bkz3r > qjh-php-opcache-8.1.24/lib/php/extensions/opcache.so: undefined symbol: zen > d_build_delayed_early_binding_list > > > compile [--debug] [--no-parallel] [--no-restart] [--dev] [--no-config] [--with-docker] [--composer-bin COMPOSER-BIN] [--allow-composer-check-failure] [-c|--config CONFIG] [-d|--working-dir WORKING-DIR] > For full logs, run 'nix log /nix/store/66l7q0j6zvv8n4jky49nhzvbacczp80b-php-php-parallel-lint-1.3.2.drv'.error: 2 dependencies of derivation '/nix/store/vm72zp3djc13zzynjh7bb955psnl4p2w-review-shell.drv' failed to build
—
Reply to this email directly, view it on GitHub
<#258281 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADQZETVG6TL4ERNGJP5HUTX5CJI5ANCNFSM6AAAAAA5N2DDBY>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
b75c2dc
to
553a4ee
Compare
Done. |
553a4ee
to
34cc405
Compare
Using `fetchgit` prevent the `composer.lock` from being stripped out when `fetchFromGitHub` is being used
34cc405
to
1231c76
Compare
@GrahamcOfBorg build phpPackages.composer |
Auto merging this myself to avoid people reporting this issue in the upcoming days. |
It appears the |
@Seldaek hello ! Would you be ok with that ? If yes, I can provide the PR. |
Sure, I don't really mind either way |
Thanks! PR is up at composer/composer#11674 |
Using
fetchgit
prevent thecomposer.lock
from being stripped out whenfetchFromGitHub
is being usedhttps://nixpk.gs/pr-tracker.html?pr=258281
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)