Summary: | security/libgpg-error : fails to build on gcc-5 due to new cpp functionality | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | John Marino <marino> | ||||
Component: | Individual Port(s) | Assignee: | Roman Bogorodskiy <novel> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(novel) |
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
John Marino
2015-02-12 09:12:12 UTC
Auto-assigned to maintainer novel@FreeBSD.org Created attachment 152914 [details]
Patch to set CPP to tradcpp
This patch fixes the build with gcc-5 for me, and bapt@ agrees it's the right fix.
novel, this PR times out in 3 days. If there's no activity on this PR before then I'll commit the patch. Please go ahead and commit, I'll not be able to get to it sooner than the next weekend anyway. A commit references this bug: Author: marino Date: Sun Mar 1 16:52:44 UTC 2015 New revision: 380211 URL: https://svnweb.freebsd.org/changeset/ports/380211 Log: security/libgpg-error: Switch cpp to support gcc-5 This port relies on CPP behavior that changes on GCC 5. To ensure libgpg-error keeps building on the newest GCC, add a build dependency on tradcpp and use it instead. PR: 197562 Submitted by: marino Approved by: maintainer (novel) Changes: head/security/libgpg-error/Makefile thanks, done. A commit references this bug: Author: marino Date: Sun Mar 1 17:41:46 UTC 2015 New revision: 380217 URL: https://svnweb.freebsd.org/changeset/ports/380217 Log: security/libgpg-error: Revert use of tradcpp (F11 regression) With the previous change, libgpg-error does not pass configure target on FreeBSD 11 due tradcpp failing "sanity checks". This is a regression since this port builds fine on FreeBSD 10. However, 2037 ports get skipped (this port is *way* too important) as a result, so revert the gcc-5 fix until a solution can be found. PR: 197562 Changes: head/security/libgpg-error/Makefile re-open, commit got reverted due to F11 regression bofh tested a different fix, "CPP+= -P" for me on 8 platforms: 8,9,10,11 x i386,amd64. It worked. I was going to commit it today, then I noticed it accidentally got committed with the PTHREAD_LIBS removal commit. I honestly don't know how that happened but it clearly did. Anyway, the fix has been in place for a week already, it didn't break anything, so I'm closing the PR. The main problem is that commit message is wrong. |