public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Text.Pandoc.Citeproc.Data Build error on MacOS 11
@ 2022-03-26  7:42 Axel Kielhorn (Pandoc)
       [not found] ` <AD120412-17EB-4F4C-AA09-CB76632B1296-Mm1VAy9jqyoZTkkHcba27w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Axel Kielhorn (Pandoc) @ 2022-03-26  7:42 UTC (permalink / raw)
  To: Pandoc discuss discuss

Good morning!

I finally moved to MacOS 11 and while rebuilding my sofware collection I got the following error with Pandoc:

Building library for pandoc-2.17.1.1..
[  7 of 228] Compiling Text.Pandoc.Citeproc.Data
<command line>: dlopen(/Users/axel/.stack/snapshots/x86_64-osx/a4fba83ee12c2cc920b010d5c63a7de938b897775f67157aafc4d9c16fd190b6/8.10.7/lib/x86_64-osx-ghc-8.10.7/libHSdoctemplates-0.10.0.1-DiKqdVos367KWTBIYWd89i-ghc8.10.7.dylib, 5): Symbol not found: _doclayoutzm0zi3zi1zi1zm56pmtftaLXrIvlVMq8dBEzz_TextziDocLayout_updateMatchState_closure
  Referenced from: /Users/axel/.stack/snapshots/x86_64-osx/a4fba83ee12c2cc920b010d5c63a7de938b897775f67157aafc4d9c16fd190b6/8.10.7/lib/x86_64-osx-ghc-8.10.7/libHSdoctemplates-0.10.0.1-DiKqdVos367KWTBIYWd89i-ghc8.10.7.dylib
  Expected in: /Users/axel/.stack/snapshots/x86_64-osx/dddb17f41c46588cb1d34344728a6366e87736fd16fade64c40dd46a808e1815/8.10.7/lib/x86_64-osx-ghc-8.10.7/libHSdoclayout-0.3.1.1-56pmtftaLXrIvlVMq8dBEz-ghc8.10.7.dylib
 in /Users/axel/.stack/snapshots/x86_64-osx/a4fba83ee12c2cc920b010d5c63a7de938b897775f67157aafc4d9c16fd190b6/8.10.7/lib/x86_64-osx-ghc-8.10.7/libHSdoctemplates-0.10.0.1-DiKqdVos367KWTBIYWd89i-ghc8.10.7.dylib

--  While building package pandoc-2.17.1.1 (scroll up to its section to see the error) using:
      /Users/axel/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_3.2.1.0_ghc-8.10.7 --builddir=.stack-work/dist/x86_64-osx/Cabal-3.2.1.0 build lib:pandoc exe:pandoc --ghc-options " -fdiagnostics-color=always"
    Process exited with code: ExitFailure 1

I did `stack clean` but the error persists.

Greetings Axel

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/AD120412-17EB-4F4C-AA09-CB76632B1296%40axelkielhorn.de.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Text.Pandoc.Citeproc.Data Build error on MacOS 11
       [not found] ` <AD120412-17EB-4F4C-AA09-CB76632B1296-Mm1VAy9jqyoZTkkHcba27w@public.gmane.org>
@ 2022-03-26 20:49   ` John MacFarlane
       [not found]     ` <m2tubkcucx.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2022-03-26 20:49 UTC (permalink / raw)
  To: Axel Kielhorn (Pandoc), Pandoc discuss discuss


I've had this sort of issue with stack before. It seems to happen
when we switch to using a github dependency in stack.yaml.
(Are you compiling the dev version?)

There's probably a better solution, but the only one that has
worked for me is deleting the global user stack directory
entirely.

Actually, I've switched to developing in cabal just because of
this issue!

"Axel Kielhorn (Pandoc)" <Pandoc-Mm1VAy9jqyoZTkkHcba27w@public.gmane.org> writes:

> Good morning!
>
> I finally moved to MacOS 11 and while rebuilding my sofware collection I got the following error with Pandoc:
>
> Building library for pandoc-2.17.1.1..
> [  7 of 228] Compiling Text.Pandoc.Citeproc.Data
> <command line>: dlopen(/Users/axel/.stack/snapshots/x86_64-osx/a4fba83ee12c2cc920b010d5c63a7de938b897775f67157aafc4d9c16fd190b6/8.10.7/lib/x86_64-osx-ghc-8.10.7/libHSdoctemplates-0.10.0.1-DiKqdVos367KWTBIYWd89i-ghc8.10.7.dylib, 5): Symbol not found: _doclayoutzm0zi3zi1zi1zm56pmtftaLXrIvlVMq8dBEzz_TextziDocLayout_updateMatchState_closure
>   Referenced from: /Users/axel/.stack/snapshots/x86_64-osx/a4fba83ee12c2cc920b010d5c63a7de938b897775f67157aafc4d9c16fd190b6/8.10.7/lib/x86_64-osx-ghc-8.10.7/libHSdoctemplates-0.10.0.1-DiKqdVos367KWTBIYWd89i-ghc8.10.7.dylib
>   Expected in: /Users/axel/.stack/snapshots/x86_64-osx/dddb17f41c46588cb1d34344728a6366e87736fd16fade64c40dd46a808e1815/8.10.7/lib/x86_64-osx-ghc-8.10.7/libHSdoclayout-0.3.1.1-56pmtftaLXrIvlVMq8dBEz-ghc8.10.7.dylib
>  in /Users/axel/.stack/snapshots/x86_64-osx/a4fba83ee12c2cc920b010d5c63a7de938b897775f67157aafc4d9c16fd190b6/8.10.7/lib/x86_64-osx-ghc-8.10.7/libHSdoctemplates-0.10.0.1-DiKqdVos367KWTBIYWd89i-ghc8.10.7.dylib
>
> --  While building package pandoc-2.17.1.1 (scroll up to its section to see the error) using:
>       /Users/axel/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_3.2.1.0_ghc-8.10.7 --builddir=.stack-work/dist/x86_64-osx/Cabal-3.2.1.0 build lib:pandoc exe:pandoc --ghc-options " -fdiagnostics-color=always"
>     Process exited with code: ExitFailure 1
>
> I did `stack clean` but the error persists.
>
> Greetings Axel
>
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/AD120412-17EB-4F4C-AA09-CB76632B1296%40axelkielhorn.de.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/m2tubkcucx.fsf%40MacBook-Pro-2.hsd1.ca.comcast.net.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Text.Pandoc.Citeproc.Data Build error on MacOS 11
       [not found]     ` <m2tubkcucx.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
@ 2022-03-27  9:01       ` Axel Kielhorn (Pandoc)
  0 siblings, 0 replies; 3+ messages in thread
From: Axel Kielhorn (Pandoc) @ 2022-03-27  9:01 UTC (permalink / raw)
  To: Pandoc discuss discuss

Hello John, 

> Am 26.03.2022 um 21:49 schrieb John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>:
> 
> 
> I've had this sort of issue with stack before. It seems to happen
> when we switch to using a github dependency in stack.yaml.
> (Are you compiling the dev version?)

Yes, git version downloaded yesterday.

> There's probably a better solution, but the only one that has
> worked for me is deleting the global user stack directory
> entirely.

I deleted „everything“ and now it builds fine.

> Actually, I've switched to developing in cabal just because of
> this issue!

I moved to stack because cabal didn’t handle dependencies well when skipping too many pandoc versions.

Thanks for the quick rely.

Axel

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/E4AB7E0F-CB4C-489B-B8B8-3FD889B007CE%40axelkielhorn.de.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-27  9:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-26  7:42 Text.Pandoc.Citeproc.Data Build error on MacOS 11 Axel Kielhorn (Pandoc)
     [not found] ` <AD120412-17EB-4F4C-AA09-CB76632B1296-Mm1VAy9jqyoZTkkHcba27w@public.gmane.org>
2022-03-26 20:49   ` John MacFarlane
     [not found]     ` <m2tubkcucx.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2022-03-27  9:01       ` Axel Kielhorn (Pandoc)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).