From owner-freebsd-ports-bugs@freebsd.org Mon May 13 14:00:33 2019 Return-Path: Delivered-To: freebsd-ports-bugs@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 ED90A1590D3B for ; Mon, 13 May 2019 14:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 851B382DC9 for ; Mon, 13 May 2019 14:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4264A1590D35; Mon, 13 May 2019 14:00:32 +0000 (UTC) Delivered-To: ports-bugs@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 1E5101590D34 for ; Mon, 13 May 2019 14:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADF0A82DC0 for ; Mon, 13 May 2019 14:00:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EBCC18ABD for ; Mon, 13 May 2019 14:00:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x4DE0U9W099309 for ; Mon, 13 May 2019 14:00:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4DE0Urf099308 for ports-bugs@FreeBSD.org; Mon, 13 May 2019 14:00:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 237878] net/geoipupdate: textproc/hs-pandoc is incomplete Date: Mon, 13 May 2019 14:00:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Trond.Endrestol@ximalas.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 May 2019 14:00:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237878 Bug ID: 237878 Summary: net/geoipupdate: textproc/hs-pandoc is incomplete Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: Trond.Endrestol@ximalas.info CC: adamw@FreeBSD.org, haskell@FreeBSD.org CC: adamw@FreeBSD.org, haskell@FreeBSD.org For some reason pandoc from textproc/hs-pandoc refers to files created duri= ng the build of textproc/hs-pandoc and not captured by the package, causing th= ese issues for net/geoipupdate: -- Phase: build ---------------------------------------------------------------------------= ----- =3D=3D=3D> Building for geoipupdate-4.0.2 gmake[2]: Entering directory '/construction/xports/net/geoipupdate/work/geoipupdate-4.0.2' mkdir -p build (cd cmd/geoipupdate && go build -ldflags '-X main.defaultConfigFile=3D/usr/local/etc/GeoIP.conf -X main.defaultDatabaseDirectory=3D/usr/local/share/GeoIP') sed -e 's|CONFFILE|/usr/local/etc/GeoIP.conf|g' -e 's|DATADIR|/usr/local/share/GeoIP|g' conf/GeoIP.conf.default > build/GeoIP.= conf sed -e 's|CONFFILE|/usr/local/etc/GeoIP.conf|g' -e 's|DATADIR|/usr/local/share/GeoIP|g' doc/GeoIP.conf.md > build/GeoIP.conf.md sed -e 's|CONFFILE|/usr/local/etc/GeoIP.conf|g' -e 's|DATADIR|/usr/local/share/GeoIP|g' doc/geoipupdate.md > build/geoipupdate= .md dev-bin/make-man-pages.pl Could not find data file /construction/xports/textproc/hs-pandoc/work/cabal-home/.cabal/share/x86_64= -freebsd-ghc-8.6.3/pandoc-2.7.1/data/templates/default.man pandoc failed at dev-bin/make-man-pages.pl line 32. gmake[2]: *** [Makefile:49: build/GeoIP.conf.5] Error 25 gmake[2]: *** Waiting for unfinished jobs.... cp cmd/geoipupdate/geoipupdate build gmake[2]: Leaving directory '/construction/xports/net/geoipupdate/work/geoipupdate-4.0.2' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /xports/net/geoipupdate *** Error code 1 Stop. make: stopped in /xports/net/geoipupdate Once you take care of ${WRKDIRPREFIX}/${PORTSDIR}/textproc/hs-pandoc/work/cabal-home/.cabal/share= /x86_64-freebsd-ghc-8.6.3/pandoc-2.7.1/data/templates/default.man, then ${WRKDIRPREFIX}/${PORTSDIR}/textproc/hs-pandoc/work/cabal-home/.cabal/share= /x86_64-freebsd-ghc-8.6.3/pandoc-2.7.1/data/abbreviations pops up. I think Haskell's/cabal's notion of ${HOME} should rather be ${LOCALBASE}/s= hare and thus be captured and preserved by the package(s) in a more reasonable w= ay. Short term mitigation is to fake the missing directories and files: pre-build: mkdir -p ${WRKDIRPREFIX}/${PORTSDIR}/textproc/hs-pandoc/work/cabal-home/.cabal/share= /x86_64-freebsd-ghc-8.6.3/pandoc-2.7.1/data/templates touch=20=20=20 ${WRKDIRPREFIX}/${PORTSDIR}/textproc/hs-pandoc/work/cabal-home/.cabal/share= /x86_64-freebsd-ghc-8.6.3/pandoc-2.7.1/data/templates/default.man touch=20=20=20 ${WRKDIRPREFIX}/${PORTSDIR}/textproc/hs-pandoc/work/cabal-home/.cabal/share= /x86_64-freebsd-ghc-8.6.3/pandoc-2.7.1/data/abbreviations While this problem occured when building net/geoipupdate, the root cause li= es within the Haskell ecosystem. Feel free to redirect to the Haskell maintainer(s). --=20 You are receiving this mail because: You are the assignee for the bug.=