Bug 252266 - textproc/hs-pandoc : Update to 2.11.3.1
Summary: textproc/hs-pandoc : Update to 2.11.3.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-haskell (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-29 13:22 UTC by Wen Heping
Modified: 2020-12-31 08:59 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (haskell)


Attachments
Update to 2.11.3.1 (24.84 KB, text/plain)
2020-12-29 13:22 UTC, Wen Heping
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wen Heping freebsd_committer 2020-12-29 13:22:24 UTC
Created attachment 221087 [details]
Update to 2.11.3.1

- Update to 2.11.3.1
Comment 1 Gleb Popov freebsd_committer 2020-12-29 16:38:51 UTC
Why did you remove EMBED_DATA option?
Comment 2 Rainer Hurling freebsd_committer 2020-12-29 21:45:15 UTC
Hi Wen,

This version of hs-pandoc depends on citeproc-3.0.1, loaded via cabal.

Do we need a seperate port textproc/hs-pandoc-citeproc anymore (v0.17.1 ATM)?
Comment 3 Wen Heping freebsd_committer 2020-12-29 22:27:42 UTC
(In reply to Gleb Popov from comment #1)
Now the build require EMBED enable.
Comment 4 Gleb Popov freebsd_committer 2020-12-30 11:11:51 UTC
(In reply to Rainer Hurling from comment #2)
The citeproc package also provides a standalone executable. Now that citeproc is included in pandoc, it is also of no use?
Comment 5 commit-hook freebsd_committer 2020-12-30 16:12:55 UTC
A commit references this bug:

Author: arrowd
Date: Wed Dec 30 16:12:13 UTC 2020
New revision: 559667
URL: https://svnweb.freebsd.org/changeset/ports/559667

Log:
  textproc/hs-pandoc: Update to 2.11.3.1

  PR:		252266

Changes:
  head/textproc/hs-pandoc/Makefile
  head/textproc/hs-pandoc/distinfo
  head/textproc/hs-pandoc/pkg-plist
Comment 6 Gleb Popov freebsd_committer 2020-12-30 16:36:56 UTC
(In reply to Wen Heping from comment #3)
You got confused by the way cabal-install utility works. When you ran `make cabal-extract-deps`, it picked up cabal.project file that is distributed in pandoc tarball, and it has some flags set/unset.

Another problem is that you seem to have used GHC 8.8.4 during the updating process, because your patch didn't work for me with GHC 8.10.2.

You also need to turn off *all OPTIONS* before regenerating main USE_CABAL knob and then turn them on one by one, fixing OPT_USE_CABAL knobs.

So, I had to do the update from scratch. But thanks anyways!
Comment 7 Wen Heping freebsd_committer 2020-12-30 23:05:01 UTC
(In reply to Gleb Popov from comment #6)
I use 8.10.2.
Comment 8 Gleb Popov freebsd_committer 2020-12-31 08:59:41 UTC
(In reply to Wen Heping from comment #7)
Hum, strange. When I tried your patch, cabal refused to use unliftio-core-0.2.0.1 and I had to use 0.2.0.1_1 instead.