Skip to content
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

fails to build in stackage #35

Closed
alaendle opened this issue Oct 30, 2024 · 4 comments
Closed

fails to build in stackage #35

alaendle opened this issue Oct 30, 2024 · 4 comments

Comments

@alaendle
Copy link

 Building library for sequenceTools-1.5.3.1..
       Preprocessing executable 'vcf2eigenstrat' for sequenceTools-1.5.3.1..
       Building executable 'vcf2eigenstrat' for sequenceTools-1.5.3.1..
       [1 of 1] Compiling Main [SequenceFormats.FreqSum package changed]

       /home/curators/work/unpack-dir/unpacked/sequenceTools-1.5.3.1-54e9f0959a741bf603bcc485603f256e26a21f561f025ac7d572cd6a858bcc84/src-executables/vcf2eigenstrat.hs:65:75: error: [GHC-83865]
           • Couldn't match expected type: Pipes.Internal.Proxy
                                             ()
                                             (EigenstratSnpEntry, SequenceFormats.Eigenstrat.GenoLine)
                                             ()
                                             Pipes.Internal.X
                                             (Pipes.Safe.SafeT IO)
                                             ()
                         with actual type: Producer
                                             (EigenstratSnpEntry, SequenceFormats.Eigenstrat.GenoLine)
                                             m0
                                             ()
                                           -> m0 ()
           • Probable cause: ‘writeEigenstrat’ is applied to too few arguments
             In the second argument of ‘(>->)’, namely
               ‘writeEigenstrat genoOut snpOut indOut indEntries’
             In the second argument of ‘($)’, namely
               ‘vcfProducer >-> P.map (freqSumToEigenstrat False)
                  >-> writeEigenstrat genoOut snpOut indOut indEntries’
             In a stmt of a 'do' block:
               runEffect
                 $ vcfProducer >-> P.map (freqSumToEigenstrat False)
                     >-> writeEigenstrat genoOut snpOut indOut indEntries
          |
       65 |         runEffect $ vcfProducer >-> P.map (freqSumToEigenstrat False) >-> writeEigenstrat genoOut snpOut indOut indEntries
          |                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@alaendle
Copy link
Author

Similar to #32. Will disable sequenceTools in stackage until a fix is released.

alaendle added a commit to commercialhaskell/stackage that referenced this issue Oct 30, 2024
@stschiff
Copy link
Owner

stschiff commented Nov 1, 2024

Ah OK, thanks for letting me know. This is because I pushed an update to another library sequence-formats which introduced a breaking change to the API. I recently rolled that back and so will have to push another update to that other library. Once that's done, this one should compile again. Will let you know.

@stschiff
Copy link
Owner

stschiff commented Nov 8, 2024

OK, sequence-formats has been updated on hackage. If I understand stackage correctly, it should now try and compile this with the newest dependent library, so it should compile. Can you try @alaendle?

alaendle added a commit to alaendle/stackage that referenced this issue Nov 9, 2024
@alaendle
Copy link
Author

alaendle commented Nov 9, 2024

Thanks - created a PR to re-enable the package.
commercialhaskell/stackage#7577

@alaendle alaendle closed this as completed Nov 9, 2024
mihaimaruseac added a commit to commercialhaskell/stackage that referenced this issue Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants