#66764 closed defect (fixed)

pandoc @3.0: build fails on Mac OS < 11

Reported by: someuser12 Owned by: judaew (Vadym-Valdis Yudaiev)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: essandess (Steve Smith), workflowsguy
Port: pandoc

Description

pandoc @3.0 fails building on Mac OS < 10.16 (the port health on the MacPorts buildbots is here: https://ports.macports.org/port/pandoc/details/). Please find an attached log.

Attachments (1)

main.log (974.3 KB) - added by someuser12 22 months ago.
Full install log

Download all attachments as: .zip

Change History (13)

Changed 22 months ago by someuser12

Attachment: main.log added

Full install log

comment:1 Changed 22 months ago by someuser12

Port: pandoc added

comment:2 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: judaew@… removed
Owner: set to judaew
Status: newassigned

comment:3 Changed 22 months ago by judaew (Vadym-Valdis Yudaiev)

Cc: essandess added

comment:4 Changed 22 months ago by workflowsguy

Cc: workflowsguy added

comment:5 Changed 22 months ago by kencu (Ken)

:info:build pandoc-cli                       > Undefined symbols for architecture x86_64:
:info:build pandoc-cli                       >   "_iconv_close", referenced from:
:info:build pandoc-cli                       >       _hs_iconv_close in libHSbase-4.16.4.0.a(iconv.o)
:info:build pandoc-cli                       >      (maybe you meant: _hs_iconv_close)
:info:build pandoc-cli                       >   "_iconv", referenced from:
:info:build pandoc-cli                       >       _hs_iconv in libHSbase-4.16.4.0.a(iconv.o)
:info:build pandoc-cli                       >      (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncoding13_closure, 

comment:6 Changed 22 months ago by essandess (Steve Smith)

Does port install pandoc -stack build?

comment:7 in reply to:  6 ; Changed 22 months ago by jmroot (Joshua Root)

Summary: pandoc @3.0: build fails on Mac OS < 10.16pandoc @3.0: build fails on Mac OS < 11

Replying to essandess:

Does port install pandoc -stack build?

Someone on macports-users posted that it does.

comment:8 in reply to:  7 Changed 22 months ago by someuser12

Replying to jmroot:

Someone on macports-users posted that it does.

I can confirm that pandoc -stack does build on Mac OS 10.13.6.

comment:9 Changed 22 months ago by essandess (Steve Smith)

Based on https://ports.macports.org/port/stack/details/ , I set stack to be the default build tool on older systems because it appeared to successfully built Haskell projects more reliably than cabal. This, apparently, is incorrect. I’ll set it back to cabal and issue a PR.

comment:10 Changed 22 months ago by szhorvat (Szabolcs Horvát)

Is port install pandoc -stack the current recommended workaround then?

comment:11 Changed 22 months ago by kencu (Ken)

that will probably work only on 10.13+, but should help those systems.

Last edited 22 months ago by kencu (Ken) (previous) (diff)

comment:12 Changed 22 months ago by essandess (Steve Smith)

Resolution: fixed
Status: assignedclosed

In c121bf37842d819006efec21989e215a347f32ce/macports-ports (master):

pandoc: Use cabal to build on older systems

Note: See TracTickets for help on using tickets.