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

Make buildable with ghc 9.8 #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

blackgnezdo
Copy link

I'm very uncertain about why we need the Trustworthy commit. GHC is complaining for no reason I can discern. The directory module doesn't have an explicit declaration, so maybe one of its imports changed its inferred status?

src/System/Path/Internal.hs:74:1: error: [GHC-44360]                                                                                              
    System.Directory: Can't be safely imported!                                                                                                   
    The module itself isn't safe.                                                                                                                 
   |                                                                                                                                              
74 | import qualified System.Directory            as Dir                                                                                          
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                          

@phadej
Copy link
Collaborator

phadej commented Nov 10, 2023

so maybe one of its imports changed its inferred status?

Yes.


Unfortunate news is that I don't have Hackage permissions for paths package, so even this is merged I won't be able to release it. In other words, this issue won't get resolved quickly. Someone have to contact Herbert to give someone else permissions.

@phadej
Copy link
Collaborator

phadej commented Nov 10, 2023

Also at this point it would make sense to allow GHC-9.8 as well.

blackgnezdo added a commit to blackgnezdo/ports that referenced this pull request Nov 10, 2023
Still broken wrt paths untrusted bug:
haskell-hvr/paths#16
blackgnezdo added a commit to blackgnezdo/ports that referenced this pull request Nov 10, 2023
Still broken wrt paths untrusted bug:
haskell-hvr/paths#16
blackgnezdo added a commit to blackgnezdo/ports that referenced this pull request Nov 10, 2023
Still broken wrt paths untrusted bug:
haskell-hvr/paths#16
blackgnezdo added a commit to blackgnezdo/ports that referenced this pull request Nov 11, 2023
Still broken wrt paths untrusted bug:
haskell-hvr/paths#16
@blackgnezdo
Copy link
Author

Also at this point it would make sense to allow GHC-9.8 as well.

Done

Our hand is forced by directory:

src/System/Path/Internal.hs:74:1: error: [GHC-44360]
    System.Directory: Can't be safely imported!
    The module itself isn't safe.
   |
74 | import qualified System.Directory            as Dir
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@blackgnezdo blackgnezdo changed the title Make buildable with ghc 9.6 Make buildable with ghc 9.8 Nov 12, 2023
blackgnezdo added a commit to blackgnezdo/ports that referenced this pull request Dec 10, 2023
Workaround is required until upstream releases:
haskell-hvr/paths#16
bob-beck pushed a commit to openbsd/ports that referenced this pull request Dec 12, 2023
Workaround is required until upstream releases:
haskell-hvr/paths#16

OK kili@
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

Successfully merging this pull request may close these issues.

2 participants