Bug 222221 - lang/parrot: fails to build with warnings in system headers
Summary: lang/parrot: fails to build with warnings in system headers
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-perl mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-09-11 11:55 UTC by Jan Beich
Modified: 2018-02-03 08:41 UTC (History)
2 users (show)

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


Attachments
Ignore -Werror in system headers (903 bytes, patch)
2017-09-11 12:09 UTC, Jan Beich
no flags Details | Diff
Ignore -Werror in system headers (919 bytes, patch)
2017-09-11 12:21 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 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 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 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 2017-09-12 16:24:07 UTC
Unblocked via https://reviews.freebsd.org/differential/changeset/?ref=316633
Comment 4 w.schwarzenfeld freebsd_triage 2018-02-03 08:41:43 UTC
Maintainer feedback please!