[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263830

            Bug ID: 263830
           Summary: textproc/hs-pandoc build failure, HUnit missing in
                    distinfo
           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:

https://www.freshports.org/devel/hs-HUnit

Here is the build error:

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

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

Stop.
make: stopped in /usr/ports/textproc/hs-pandoc
freebsd%

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