From owner-freebsd-haskell@freebsd.org Sun May 12 06:58:54 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD71E158EF48 for ; Sun, 12 May 2019 06:58:54 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EBC988B7EB for ; Sun, 12 May 2019 06:58:53 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id B07D6158EF43; Sun, 12 May 2019 06:58:53 +0000 (UTC) Delivered-To: haskell@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C6C3158EF3F for ; Sun, 12 May 2019 06:58:53 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1037E8B7EA for ; Sun, 12 May 2019 06:58:52 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pg1-f172.google.com with SMTP id c13so5111312pgt.1 for ; Sat, 11 May 2019 23:58:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VxSqi4D/28cBVsa601zW8wbQuxzvBmWHRO1K8ylYOGg=; b=FmaFrxNDSj6HEmm+kEN6w+4kgRjkw0WgItAHx+QZeoyxIpAvzp1FC3MT4QXmChiT2H fAoqUuyd8Kkkqzkou+Gs5104wHnbNCH73sNZF2+t5R35JB0oX38p1lEWnJTwLHd+JF5j V/YXFhbZOW4QXweFAH5sUqvR/LfSJ/sJe31Jr7XfRXWjeRJNjSRQ9Oeen/Cn/VZNobod M7aPxtWNm0hOOVJrL4e1ORW8taiF/7HQJb0tk3QQQZENUX+lz7UvoCh+t1AcC9Uny+r5 NFx1DkGL3Y1ksCtB2lBp5vAtgjbw733YdsmHOav9LjhTTvDwgv81yR7z53MnklVIWjzz voeQ== X-Gm-Message-State: APjAAAXQj2h3EykHaSaPH3A9MRykWM0mp46Mi3GvotEAg3l08sQpdk5j +XHbcKG9zjwdsX+/MOCQLlX5KfHRKxk= X-Google-Smtp-Source: APXvYqyE6J5C6Lfz+HizUtMEoGBhDFw/gLC0RswyRIS3yKjMlTAoLKv+WTyeGioepGKyDYZM+B70WA== X-Received: by 2002:a65:4b88:: with SMTP id t8mr24498441pgq.374.1557644326078; Sat, 11 May 2019 23:58:46 -0700 (PDT) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com. [209.85.215.173]) by smtp.gmail.com with ESMTPSA id h187sm15850247pfc.52.2019.05.11.23.58.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 May 2019 23:58:45 -0700 (PDT) Received: by mail-pg1-f173.google.com with SMTP id z3so5095579pgp.8 for ; Sat, 11 May 2019 23:58:45 -0700 (PDT) X-Received: by 2002:a63:246:: with SMTP id 67mr24685250pgc.145.1557644325551; Sat, 11 May 2019 23:58:45 -0700 (PDT) MIME-Version: 1.0 References: <452774a7-ec31-2dd0-3ef9-1ce9e11bdd53@gwdg.de> In-Reply-To: From: Gleb Popov Date: Sun, 12 May 2019 10:58:19 +0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: textproc/hs-pandoc: Can't build because of broken JuicyPixels To: Rainer Hurling Cc: "haskell@freebsd.org" X-Rspamd-Queue-Id: 1037E8B7EA X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.975,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2019 06:58:55 -0000 On Sun, May 12, 2019 at 1:08 AM Rainer Hurling wrote: > Am 10.05.19 um 14:54 schrieb Gleb Popov: > > > > On Fri, May 10, 2019 at 3:00 PM Rainer Hurling rhurlin@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? > > Thanks for the response and sorry for the late answer. > > Unfortunately, the error also occurs on Poudriere, on two boxes with older > hardware (AMD Phenom II X6 1090T and Intel Core i7-2760QM). Building pandoc > again, even with -DMAKE_JOBS_DISABLE=yes does not help. > Does the error occurs in the same place? That is, when compiling [ 6 of 30] Compiling Codec.Picture.Types module? Do you have any additional knobs set in make.conf? Another thing to try is to rebuild lang/ghc port or send me your ghc executable. > This is with 16 GB RAM and 32 GB swap, SSD has 25 GB of free mem. So I > would expect, that this is not an 'out of memory' problem. > > > > > Regards, > > Rainer Hurling > >