Closed AkechiShiro closed 9 months ago
Additionally phar_utils may also need some correction.
Also, here the error build I'm getting :
Executing composerRepositoryCheckHook
ERROR: composer files validation failed
The validation of the composer.json and composer.lock failed.
Make sure that the file composer.lock is consistent with composer.json.
note: keeping build directory '/tmp/nix-build-passbolt-4.4.2-composer-repository.drv-0'
error: builder for '/nix/store/sdcbqcllqgynd07ixcgiighgjc6gcxry-passbolt-4.4.2-composer-repository.drv' failed with exit code 1;
last 10 log lines:
> Local repository has been successfully created in /build/source/repository
> Finished composerRepositoryBuildHook
> Running phase: checkPhase
> Executing composerRepositoryCheckHook
>
> ERROR: composer files validation failed
>
> The validation of the composer.json and composer.lock failed.
> Make sure that the file composer.lock is consistent with composer.json.
>
For full logs, run 'nix log /nix/store/sdcbqcllqgynd07ixcgiighgjc6gcxry-passbolt-4.4.2-composer-repository.drv'.
And also the check is run from this https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/php/hooks/composer-repository-hook.sh#L69
Thanks @AkechiShiro for bringing it to our attention. We have created internal ticket(PB-29376) to tackle this problem.
Thanks @dlen @ishanvyas22 when will this commit (8a8defe land into a release ? Is there any release schedule ?
it is already part of the latest release https://github.com/passbolt/passbolt_api/releases/tag/v4.5.2
Bump Duo Universal PHP from 1.0.1 to 1.0.2
What you did
I'm working on packaging passbolt_api for NixOS and I've ran into an issue with composer files not being validated correctly. Hence I got stuck.
I can patch the nix package in order to use 1.0.2 in order to make progress but if upstream could upgrade duo_universal_php it would be better so I do not have to maintain downstream patches for the package.
Here is the new release : https://github.com/duosecurity/duo_universal_php/releases/tag/1.0.2
What happened
What you expected to happen
All composer files should be valid.