textproc/hs-pandoc: Can't build because of broken JuicyPixels

Gleb Popov arrowd at freebsd.org
Fri May 10 12:55:08 UTC 2019


On Fri, May 10, 2019 at 3:00 PM Rainer Hurling <rhurlin at gwdg.de> wrote:

> Dear list,
>
> After the updates of ghc and hs-ports hit the tree, I try to update
> textproc/hs-pandoc. Unfortunately, cabal can not built JuicyPixels:
>
>
> [..snip..]
> Configuring library for JuicyPixels-3.3.3..
> Preprocessing library for JuicyPixels-3.3.3..
> Building library for JuicyPixels-3.3.3..
> [ 1 of 30] Compiling Codec.Picture.InternalHelper (
> src/Codec/Picture/InternalHelper.hs,
>
> /usr/ports/textproc/hs-pandoc/work/pandoc-2.7.1/dist-newstyle/build/x86_64-freebsd/ghc-8.6.3/JuicyPixels-3.3.3/build/Codec/Picture/InternalHelper.o
> )
> [ 2 of 30] Compiling Codec.Picture.Metadata.Exif (
> src/Codec/Picture/Metadata/Exif.hs,
>
> /usr/ports/textproc/hs-pandoc/work/pandoc-2.7.1/dist-newstyle/build/x86_64-freebsd/ghc-8.6.3/JuicyPixels-3.3.3/build/Codec/Picture/Metadata/Exif.o
> )
> [ 3 of 30] Compiling Codec.Picture.Metadata (
> src/Codec/Picture/Metadata.hs,
>
> /usr/ports/textproc/hs-pandoc/work/pandoc-2.7.1/dist-newstyle/build/x86_64-freebsd/ghc-8.6.3/JuicyPixels-3.3.3/build/Codec/Picture/Metadata.o
> )
> [ 4 of 30] Compiling Codec.Picture.Tiff.Internal.Types (
> src/Codec/Picture/Tiff/Internal/Types.hs,
>
> /usr/ports/textproc/hs-pandoc/work/pandoc-2.7.1/dist-newstyle/build/x86_64-freebsd/ghc-8.6.3/JuicyPixels-3.3.3/build/Codec/Picture/Tiff/Internal/Types.o
> )
> [ 5 of 30] Compiling Codec.Picture.Tiff.Internal.Metadata (
> src/Codec/Picture/Tiff/Internal/Metadata.hs,
>
> /usr/ports/textproc/hs-pandoc/work/pandoc-2.7.1/dist-newstyle/build/x86_64-freebsd/ghc-8.6.3/JuicyPixels-3.3.3/build/Codec/Picture/Tiff/Internal/Metadata.o
> )
> [ 6 of 30] Compiling Codec.Picture.Types ( src/Codec/Picture/Types.hs,
>
> /usr/ports/textproc/hs-pandoc/work/pandoc-2.7.1/dist-newstyle/build/x86_64-freebsd/ghc-8.6.3/JuicyPixels-3.3.3/build/Codec/Picture/Types.o
> )
> ghc: internal error: m32_allocator_init: Failed to map
>     (GHC version 8.6.3 for x86_64_portbld_freebsd)
>     Please report this as a GHC bug:
> http://www.haskell.org/ghc/reportabug
> cabal: Failed to build JuicyPixels-3.3.3 (which is required by
> exe:pandoc from
> pandoc-2.7.1). The build process terminated with exit code -6
> *** Error code 1
> Stop.
> make[1]: stopped in /usr/ports/textproc/hs-pandoc
> *** Error code 1
>
>
> This is on 13-0 CURRENT amd64 r347130. I need Pandoc for my daily work
> with math/R.
>
> Any help is really appreciated. Thanks in advance.
>

I wasn't able to reproduce this locally, although I have a bit earlier
world revision. But the error message resembles an out of memory one. Have
you tried building pandoc again?


> Regards,
> Rainer Hurling
> _______________________________________________
> freebsd-haskell at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-haskell
> To unsubscribe, send any mail to "freebsd-haskell-unsubscribe at freebsd.org"
>


More information about the freebsd-haskell mailing list