aquaproj / aqua-registry

aqua's Standard Registry
https://aquaproj.github.io
MIT License
96 stars 99 forks source link

Failed to install `dhall-lang/dhall-haskell` 1.40.2 in Mac OSX #805

Open suzuki-shunsuke opened 2 years ago

suzuki-shunsuke commented 2 years ago
$ cx t                                                                        
+ aqua -c aqua-test.yaml i --test
INFO[0000] download and unarchive the package            aqua_version=0.8.0 package_name=dhall-lang/dhall-haskell package_version=1.40.2 program=aqua registry=standard
ERRO[0002] install the package                           aqua_version=0.8.0 error="reading file in tar archive: bzip2: corrupted input: invalid stream magic" package_name=dhall-lang/dhall-haskell package_version=1.40.2 program=aqua registry=standard
FATA[0002] aqua failed                                   aqua_version=0.8.0 error="it failed to install some packages" program=aqua
exit status 1

reading file in tar archive: bzip2: corrupted input: invalid stream magic

registries:
- name: standard
  type: local
  path: registry.yaml

packages:
- name: dhall-lang/dhall-haskell@1.40.2

https://github.com/aquaproj/aqua-registry/tree/fb41b3de95a49d3f58ceead356b4f91662b7833c

$ aqua -v
aqua version 0.8.0 (b6df16abbaae88a11837dd7304a6bdfbddfe37b6)

https://github.com/aquaproj/aqua/blob/v0.8.0/go.mod#L13

github.com/mholt/archiver/v3 v3.5.1

https://github.com/mholt/archiver/blob/cc194d2e4af2dc09a812aa0ff61adc4813ea6c69/tar.go#L172 https://github.com/mholt/archiver/blob/cc194d2e4af2dc09a812aa0ff61adc4813ea6c69/tar.go#L227 https://github.com/mholt/archiver/blob/cc194d2e4af2dc09a812aa0ff61adc4813ea6c69/tar.go#L443

https://github.com/dsnet/compress

suzuki-shunsuke commented 2 years ago

https://github.com/aquaproj/aqua-registry/pull/5511