Bug 216122 - security/gnutls: 3.5.8 fails to compile on ppc
Summary: security/gnutls: 3.5.8 fails to compile on ppc
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-15 19:16 UTC by Yousef Alhashemi
Modified: 2017-01-16 10:24 UTC (History)
0 users

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


Attachments
root@ibook:/usr/ports/security/gnutls # make install clean (10.71 KB, text/plain)
2017-01-15 19:16 UTC, Yousef Alhashemi
no flags Details
patch-lib-random.c (1.55 KB, patch)
2017-01-15 19:58 UTC, Tijl Coosemans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yousef Alhashemi 2017-01-15 19:16:21 UTC
Created attachment 178932 [details]
root@ibook:/usr/ports/security/gnutls # make install clean

# uname -a
FreeBSD ibook 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 05:26:23 UTC 2016       root@releng2.nyi.freebsd.org: /usr/obj/powerpc.powerpc/usr/src/sys/GENERIC  powerpc

The output from `make install clean` is attached (this is not the first run, so some make targets have already been compiled). I tried to compile it with the suggested `MAKE_JOBS_UNSAFE=yes`, but I get the same results (I believe that's for multicore systems but I tried it anyway).
Comment 1 Tijl Coosemans freebsd_committer freebsd_triage 2017-01-15 19:58:56 UTC
Created attachment 178934 [details]
patch-lib-random.c

Try with this patch in the security/gnutls/files directory.
Comment 2 Yousef Alhashemi 2017-01-15 22:59:03 UTC
Builds fine now with that patch. Thanks.
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-01-16 10:19:32 UTC
A commit references this bug:

Author: tijl
Date: Mon Jan 16 10:19:01 UTC 2017
New revision: 431622
URL: https://svnweb.freebsd.org/changeset/ports/431622

Log:
  Make atomic operations explicit to support old gcc.

  PR:		216122

Changes:
  head/security/gnutls/files/patch-lib-random.c
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-01-16 10:22:36 UTC
A commit references this bug:

Author: tijl
Date: Mon Jan 16 10:21:52 UTC 2017
New revision: 431623
URL: https://svnweb.freebsd.org/changeset/ports/431623

Log:
  MFH: r431622

  Make atomic operations explicit to support old gcc.

  PR:		216122
  Approved by:	ports-secteam (build fix blanket)

Changes:
_U  branches/2017Q1/
  branches/2017Q1/security/gnutls/files/patch-lib-random.c