Skip to content

Error when trying to run print-api on align-equal-0.1.0.1 #41

@jonkri

Description

@jonkri

I'm receiving this error when trying to run print-api on align-equal-0.1.0.1:

cabal exec -v0 --with-compiler ghc-9.6.6 -- print-api-9.6.6 -p align-equal exited with error code 1

I'm guessing this happens since align-equal-0.1.0.1 doesn't expose any modules:

https://hackage.haskell.org/package/align-equal-0.1.0.1

align-equal-0.1.0.1 builds:

Resolving dependencies...
Build profile: -w ghc-9.6.6 -O1
In order, the following will be built (use -v for more details):
 - safe-0.3.21 (lib) (requires download & build)
 - align-equal-0.1.0.1 (exe:align-equal) (first run)
Downloading  safe-0.3.21
Downloaded   safe-0.3.21
Starting     safe-0.3.21 (lib)
Building     safe-0.3.21 (lib)
Installing   safe-0.3.21 (lib)
Completed    safe-0.3.21 (lib)
Configuring executable 'align-equal' for align-equal-0.1.0.1..
Preprocessing executable 'align-equal' for align-equal-0.1.0.1..
Building executable 'align-equal' for align-equal-0.1.0.1..
[1 of 1] Compiling Main             ( app/Main.hs, /package/dist-newstyle/build/x86_64-linux/ghc-9.6.6/align-equal-0.1.0.1/x/align-equal/build/align-equal/align-equal-tmp/Main.o )
[2 of 2] Linking /package/dist-newstyle/build/x86_64-linux/ghc-9.6.6/align-equal-0.1.0.1/x/align-equal/build/align-equal/align-equal

I'm getting this error from print-api:

Warning: The package list for 'hackage.haskell.org' is 21 days old.
Run 'cabal update' to get the latest list of available packages.
Detected GHC version: 9.6.6
print-api: print-api-9.6.6: cannot satisfy -package align-equal
    (use -v for more information)

CallStack (from HasCallStack):
  error, called at src/PrintApi/Utils.hs:51:7 in print-api-0.1.1.0-6b714ca13c5cbcdb9621f4a0e9a882901f4302b5dd03739a3bef0427fa188380:PrintApi.Utils

align-equal-0.1.0.0 (the earlier version) doesn't compile. print-api works as expected with align-equal-0.1.1.0.

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions