Bug 222221

Summary: lang/parrot: fails to build with warnings in system headers
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Jan Beich <jbeich>
Status: Closed FIXED    
Severity: Affects Only Me CC: perl, w.schwarzenfeld
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (perl)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Ignore -Werror in system headers
none
Ignore -Werror in system headers none

Description Jan Beich freebsd_committer freebsd_triage 2017-09-11 11:55:32 UTC
In file included from src/ops/core_ops.c:72:
In file included from /usr/local/include/unicode/uchar.h:28:
In file included from /usr/local/include/unicode/utypes.h:38:
In file included from /usr/local/include/unicode/umachine.h:46:
In file included from /usr/local/include/unicode/ptypes.h:52:
In file included from /usr/local/include/unicode/platform.h:25:
/usr/local/include/unicode/uvernum.h:128:5: error: 'U_PLATFORM_HAS_WINUWP_API' is not defined, evaluates to 0 [-Werror,-Wundef]
#if U_PLATFORM_HAS_WINUWP_API == 0
    ^
1 error generated.

http://package23.nyi.freebsd.org/data/103i386-default-PR218788/2017-05-17_09h18m57s/logs/errors/parrot-8.1.0_4.log
Comment 1 Jan Beich freebsd_committer freebsd_triage 2017-09-11 12:09:10 UTC
Created attachment 186257 [details]
Ignore -Werror in system headers

-Werror skips warnings in system headers but /usr/local/include wasn't declared as system.
Comment 2 Jan Beich freebsd_committer freebsd_triage 2017-09-11 12:21:45 UTC
Created attachment 186258 [details]
Ignore -Werror in system headers

USES=localbase:ldflags maybe more correct but I'm not sure where -L/usr/local/lib is bootlegged from if LDFLAGS is empty.
Comment 3 Jan Beich freebsd_committer freebsd_triage 2017-09-12 16:24:07 UTC
Unblocked via https://reviews.freebsd.org/differential/changeset/?ref=316633
Comment 4 Walter Schwarzenfeld 2018-02-03 08:41:43 UTC
Maintainer feedback please!
Comment 5 Walter Schwarzenfeld 2019-08-13 22:57:49 UTC
Fixed with ports r494932.