pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/56349 (devel/got: build failure on macOS)

The following reply was made to PR pkg/56349; it has been noted by GNATS.

From: David Holland <>
Subject: Re: pkg/56349 (devel/got: build failure on macOS)
Date: Wed, 11 Aug 2021 04:27:49 +0000

 On Mon, Aug 09, 2021 at 02:10:01AM +0000, Paul W. Rankin wrote:
  >  In file included from 
  >  /opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../openbsd-compat/sha1.h:4:
  >  /usr/local/include/sha.h:36:9: error: unknown type name 'SHA1_CTX'
  >  typedef SHA1_CTX SHA_CTX;
  >           ^
 Looks like the sha1.h in openbsd-compat doesn't work. As a quick hack,
 try just deleting it before building. (That is, make patch, rm
 work/got-0.48/openbsd-compat/sha1.h, make.)
 My guess from the error is that /usr/local/include/sha.h expects to be
 using some sha1.h of its own that the "compat" version is hiding.
  > >  (It seems to still be "Darwin", not "MacOS"...)
  >  This makes sense to me, as uname -s returns Darwim
 Yeah, but since everyone calls it "MacOS" (or is it "macOS"?) and we
 went through some time back and changed most of the references to the
 name accordingly, it's confusing.
 David A. Holland

Home | Main Index | Thread Index | Old Index