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

pandoc-server-0.1.0.5 does not compile on Linux x86_64 #9765

Closed
peti opened this issue May 15, 2024 · 3 comments
Closed

pandoc-server-0.1.0.5 does not compile on Linux x86_64 #9765

peti opened this issue May 15, 2024 · 3 comments
Labels

Comments

@peti
Copy link

peti commented May 15, 2024

We are seeing the following build error on openSUSE Linux:

[   40s] [1 of 1] Compiling Text.Pandoc.Server
[   40s] 
[   40s] src/Text/Pandoc/Server.hs:42:41: error: [GHC-61689]
[   40s]     Module ‘Text.Pandoc.Shared’ does not export ‘headerShift’.
[   40s]    |
[   40s] 42 | import Text.Pandoc.Shared (safeStrRead, headerShift, filterIpynbOutput,
[   40s]    |                                         ^^^^^^^^^^^
[   40s] 
[   40s] src/Text/Pandoc/Server.hs:42:54: error: [GHC-61689]
[   40s]     Module ‘Text.Pandoc.Shared’ does not export ‘filterIpynbOutput’.
[   40s]    |
[   40s] 42 | import Text.Pandoc.Shared (safeStrRead, headerShift, filterIpynbOutput,
[   40s]    |                                                      ^^^^^^^^^^^^^^^^^
[   40s] 
[   40s] src/Text/Pandoc/Server.hs:43:28: error: [GHC-61689]
[   40s]     Module ‘Text.Pandoc.Shared’ does not export ‘eastAsianLineBreakFilter’.
[   40s]    |
[   40s] 43 |                            eastAsianLineBreakFilter)
[   40s]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^

I suppose this means the Cabal version constraints of the build are incorrect? This is the environment we're building in:

[   40s] Configuring pandoc-server-0.1.0.5...
[   40s] Dependency aeson >=2.0 && <2.3: using aeson-2.2.1.0
[   40s] Dependency base >=4.12 && <5: using base-4.19.1.0
[   40s] Dependency base64-bytestring >=0.1 && <1.3: using base64-bytestring-1.2.1.0
[   40s] Dependency bytestring >=0.9 && <0.13: using bytestring-0.12.1.0
[   40s] Dependency containers >=0.6.0.1 && <0.8: using containers-0.6.8
[   40s] Dependency data-default >=0.4 && <0.8: using data-default-0.7.1.1
[   40s] Dependency doctemplates >=0.11 && <0.12: using doctemplates-0.11
[   40s] Dependency pandoc >=3.0: using pandoc-3.2
[   40s] Dependency pandoc-types >=1.22 && <1.24: using pandoc-types-1.23.1
[   40s] Dependency servant-server >=0.19 && <0.21: using servant-server-0.20
[   40s] Dependency skylighting >=0.13 && <0.15: using skylighting-0.14.1.2
[   40s] Dependency text >=1.1.1.0 && <2.2: using text-2.1.1
[   40s] Dependency unicode-collation >=0.1.1 && <0.2: using unicode-collation-0.1.3.6
[   40s] Dependency wai >=3.2 && <3.3: using wai-3.2.4
[   40s] Dependency wai-cors >=0.2.7 && <0.3: using wai-cors-0.2.7
@peti peti added the bug label May 15, 2024
@jgm
Copy link
Owner

jgm commented May 15, 2024

Ah yes -- I should have released a new version of pandoc-server and bumped some dependency ranges. Need to tighten up my release procedure to prevent this in the future.

@jgm
Copy link
Owner

jgm commented May 15, 2024

Released pandoc-server-0.1.0.6, updated version bounds in pandoc-cli as a Hackage revision. It should work for you now; let me know if it doesn't.

@peti
Copy link
Author

peti commented May 15, 2024

Everything builds fine now. Thank you very much for the quick response!

@peti peti closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants