Pandoc build error on Ventura 13.1 arm64

Mircea Trandafir tramir at hotmail.com
Thu Jan 19 10:47:12 UTC 2023


Hi all,

I’m on a MacBook Air M1, Ventura 13, Xcode 14.1.  Pandoc is trying to get upgraded to 2.19.2 as part of the usual "upgrade outdated,” but the build fails (it used to fail at ghc a couple of days ago, but it seems a recent update fixed that). The error seems to be here (main.log attached):

:info:build Building library for pandoc-2.19.2..
[output omitted]
:info:build [ 30 of 227] Compiling Text.Pandoc.Shared
:info:build src/Text/Pandoc/Shared.hs:593:7: error:
:info:build     Not in scope: data constructor ‘Null’
:info:build     |
:info:build 593 |   go (Null:xs) = go xs
:info:build     |       ^^^^
:info:build src/Text/Pandoc/Shared.hs:977:16: error:
:info:build     Not in scope: data constructor ‘Null’
:info:build     |
:info:build 977 | blockToInlines Null = mempty
:info:build     |                ^^^^
:info:build [ 36 of 227] Compiling Text.Pandoc.Slides
:info:build src/Text/Pandoc/Slides.hs:33:88: error:
:info:build     Data constructor not in scope: Null :: Block
:info:build     Suggested fix: Perhaps use variable ‘null’ (imported from Prelude)
:info:build    |
:info:build 33 | prepSlides slideLevel = ensureStartWithH . splitHrule . extractRefsHeader . filter (/= Null)
:info:build    |                                                                                        ^^^^

Did anybody have the same issue and has a workaround, or should I file a bug report?

Thanks,
Mircea

--
Mircea Trandafir
Senior researcher
Rockwool Foundation Research Unit
Ny Kongensgade 6
DK 1472, Copenhagen
Denmark
Web: http://www.mirceatrandafir.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20230119/0d7e4598/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.log
Type: application/octet-stream
Size: 101006 bytes
Desc: main.log
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20230119/0d7e4598/attachment.obj>


More information about the macports-users mailing list