[Bug 263830] textproc/hs-pandoc build failure, HUnit missing in distinfo

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 07 May 2022 00:50:23 UTC

            Bug ID: 263830
           Summary: textproc/hs-pandoc build failure, HUnit missing in
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: haskell@FreeBSD.org
          Reporter: jfolker11@gmail.com
          Assignee: haskell@FreeBSD.org
             Flags: maintainer-feedback?(haskell@FreeBSD.org)

I ran into some trouble while attempting to build pandoc from the ports tree,
the build error is at the bottom of this post. In distinfo, I found that "SIZE"
and "SHA256" records for the HUnit tarball do not exist.

Eventually, I gave up and ran 'pkg install hs-pandoc', which works. The
maintainer of this port and I are probably the only ones who have any interest
in this, so unless anyone objects, I'll try my hand at fixing it.

I also couldn't help but notice the version of HUnit in the ports tree is older
than the one pandoc depends on. I'll try my hand at updating this port while
I'm at it:


Here is the build error:

freebsd% pwd
freebsd% doas make
===>  License GPLv2 accepted by the user
===>   hs-pandoc-2.14.2 depends on file: /usr/local/sbin/pkg - found
=> cabal/HUnit- is not in
=> Either /usr/ports/textproc/hs-pandoc/distinfo is out of date, or
=> cabal/HUnit- is spelled incorrectly.
*** Error code 1

make[1]: stopped in /usr/ports/textproc/hs-pandoc
*** Error code 1

make: stopped in /usr/ports/textproc/hs-pandoc

You are receiving this mail because:
You are the assignee for the bug.