Bug 237841

Summary: security/nss 3.44 fails to build on powerpc64
Product: Ports & Packages Reporter: Justin Hibbits <jhibbits>
Component: Individual Port(s)Assignee: freebsd-gecko (Nobody) <gecko>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (gecko)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Poudriere log of failure none

Description Justin Hibbits freebsd_committer freebsd_triage 2019-05-11 18:47:28 UTC
Created attachment 204328 [details]
Poudriere log of failure

Attempting to build on powerpc64, I see the following error:

crypto_primitives.c: In function 'swap8b':
crypto_primitives.c:31: error: 'SHA_MASK8' undeclared (first use in this function)
crypto_primitives.c:31: error: (Each undeclared identifier is reported only once
crypto_primitives.c:31: error: for each function it appears in.)
crypto_primitives.c:32: error: 'SHA_MASK16' undeclared (first use in this function)

Full log is attached.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-05-11 23:21:03 UTC
A commit references this bug:

Author: jbeich
Date: Sat May 11 23:20:58 UTC 2019
New revision: 501327
URL: https://svnweb.freebsd.org/changeset/ports/501327

Log:
  security/nss: unbreak on powerpc64 after r501212

  crypto_primitives.c: In function 'swap8b':
  crypto_primitives.c:31: error: 'SHA_MASK8' undeclared (first use in this
  function)
  crypto_primitives.c:31: error: (Each undeclared identifier is reported only
  once
  crypto_primitives.c:31: error: for each function it appears in.)
  crypto_primitives.c:32: error: 'SHA_MASK16' undeclared (first use in this
  function)

  PR:		237841
  Reported by:	jhibbits

Changes:
  head/security/nss/files/patch-bug1551041
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-05-11 23:22:06 UTC
A commit references this bug:

Author: jbeich
Date: Sat May 11 23:21:37 UTC 2019
New revision: 501329
URL: https://svnweb.freebsd.org/changeset/ports/501329

Log:
  MFH: r501327

  security/nss: unbreak on powerpc64 after r501212

  crypto_primitives.c: In function 'swap8b':
  crypto_primitives.c:31: error: 'SHA_MASK8' undeclared (first use in this
  function)
  crypto_primitives.c:31: error: (Each undeclared identifier is reported only
  once
  crypto_primitives.c:31: error: for each function it appears in.)
  crypto_primitives.c:32: error: 'SHA_MASK16' undeclared (first use in this
  function)

  PR:		237841
  Reported by:	jhibbits
  Approved by:	ports-secteam blanket

Changes:
_U  branches/2019Q2/
  branches/2019Q2/security/nss/files/patch-bug1551041
Comment 3 Jan Beich freebsd_committer freebsd_triage 2019-05-11 23:22:40 UTC
Thanks for reporting before pkg-fallout@. Does it build fine now or are there more errors?
Comment 4 Justin Hibbits freebsd_committer freebsd_triage 2019-05-12 16:05:12 UTC
Builds fine now, thanks!