Summary: | net/geoipupdate: textproc/hs-pandoc is incomplete | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Trond Endrestøl <Trond.Endrestol> |
Component: | Individual Port(s) | Assignee: | Gleb Popov <arrowd> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | adamw, haskell, rhurlin |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Trond Endrestøl
2019-05-13 14:00:30 UTC
Thanks for this! @arrowd recently committed a fix involving enabling by default the pandoc option that bundles everything into the binary. The problem there is that it's an option, so anybody with it disabled (including all users who installed the current pandoc package before the clusters rebuilt it) are still unable to build geoipupdate. I'm going to play with some other md-to-man formatters and see if they work, because pandoc is an absolutely ludicrous dependency for something this simple. A commit references this bug: Author: adamw Date: Mon May 13 15:23:42 UTC 2019 New revision: 501577 URL: https://svnweb.freebsd.org/changeset/ports/501577 Log: Use lowdown to build manpages Pandoc is a fantastic application. It's wonderful. I use it all the time to write papers in markdown and have them converted to beautiful LaTeX-driven PDFs. I have nothing against pandoc. However, using it to make manpages is like driving a Mack truck down the driveway to check the mailbox. On my system (8-core all-SSD on ZFS) it takes nearly 6 hours to build pandoc, and also these days it doesn't work (see PR below). Instead, use lowdown to generate the manpages. They don't come out exactly right, but it's close enough to be usable. PR: 237878 Changes: head/net/geoipupdate/Makefile Ok I papered over the geoipupdate problem, but @arrowd you may still want to look at the underlying hs-pandoc problem here. (In reply to Adam Weinberger from comment #3) Yes, hang this PR onto me. RE > On my system (8-core all-SSD on ZFS) it takes nearly 6 hours to build pandoc This shouldn't be true after I added USES=cabal functionality into ports. Now the port compiles pretty quickly and the packages installs in a blink of eye. A commit references this bug: Author: arrowd Date: Thu Jun 13 13:57:22 UTC 2019 New revision: 504093 URL: https://svnweb.freebsd.org/changeset/ports/504093 Log: For ports with USES=cabal install a wrapper shell script instead of a real executable into /bin/, that sets some environment variables to workaround https://github.com/haskell/cabal/issues/5997 While there, update bunch of Haskell ports, install their data files. PR: 237878 Reviewed by: tcberner Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D20556 Changes: head/Mk/Uses/cabal.mk head/converters/hs-aeson-pretty/Makefile head/devel/hs-ShellCheck/Makefile head/devel/hs-alex/Makefile head/devel/hs-bytestring-nums/Makefile head/devel/hs-c2hs/Makefile head/devel/hs-cpphs/Makefile head/devel/hs-darcs/Makefile head/devel/hs-ghc-events/Makefile head/devel/hs-ghc-events/distinfo head/devel/hs-git-annex/Makefile head/devel/hs-git-annex/pkg-plist head/devel/hs-haddock/Makefile head/devel/hs-haddock/distinfo head/devel/hs-haddock/pkg-plist head/devel/hs-happy/Makefile head/devel/hs-happy/pkg-plist head/devel/hs-hasktags/Makefile head/devel/hs-hlint/Makefile head/devel/hs-hoogle/Makefile head/devel/hs-hoogle/distinfo head/devel/hs-hspec-discover/Makefile head/devel/hs-hspec-discover/distinfo head/devel/hs-mueval/Makefile head/devel/hs-shake/Makefile head/devel/hs-shake/distinfo head/devel/hs-threadscope/Makefile head/devel/stack/Makefile head/games/hedgewars-server/Makefile head/games/hs-scroll/Makefile head/lang/hs-brainfuck/Makefile head/lang/hs-unlambda/Makefile head/print/hs-hscolour/Makefile head/textproc/cgrep/Makefile head/textproc/hs-lhs2tex/Makefile head/textproc/hs-pandoc/Makefile head/textproc/hs-pandoc/distinfo head/textproc/hs-pandoc/pkg-plist head/textproc/hs-pandoc-citeproc/Makefile head/textproc/hs-pandoc-citeproc/distinfo head/textproc/hs-pandoc-citeproc/pkg-plist head/textproc/hs-yaml/Makefile head/www/hs-DAV/Makefile head/www/hs-hjsmin/Makefile head/www/hs-wai-app-static/Makefile head/www/hs-wai-app-static/distinfo head/www/hs-yesod-bin/Makefile head/x11/hs-xmobar/Makefile head/x11/hs-xmobar/distinfo head/x11/hs-xmobar/files/patch-fix_bug378.diff |