| Summary: | devel/git: base compiler CONFLICTS_BUILD with devel/utf8cpp: builtin/blame.c:25: In file included from /usr/local/include/utf8.h:31: utf8/core.h:31:10: fatal error: 'iterator' file not foun | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
| Component: | Individual Port(s) | Assignee: | Renato Botelho <garga> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | k, wxs | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Maintainers CC'd Created attachment 150888 [details]
mark default ports include path as -isystem
Not a devel/utf8cpp bug, just base compiler not having consistent includes with ports versions of lang/(gcc|clang)*. toolchain@ considers "/usr/local/include by default" a linuxism ad absurdum by ignoring freebsdisms it introduces. Assign to new maintainer. A commit references this bug: Author: jbeich Date: Sun Jan 25 12:53:08 UTC 2015 New revision: 377892 URL: https://svnweb.freebsd.org/changeset/ports/377892 Log: Unbreak build with devel/utf8cpp installed Let preprocessor know ${LOCALBASE}/include is a system include path, so #include "..." shouldn't try to pick headers from there. lang/gcc* and lang/clang* already do the right thing. PR: 196220 Differential Revision: https://reviews.freebsd.org/D1664 Approved by: garga (maintainer) Approved by: bapt (mentor) Changes: head/devel/git/Makefile |
cc -o builtin/blame.o -c -MF builtin/.depend/blame.o.d -MQ builtin/blame.o -MMD -MP -I/usr/local/include -O2 -pipe -fstack-protector -I. -I/usr/local/include -I/usr/local/include -I/usr/include -DUSE_ST_TIMESPEC -DNO_GETTEXT -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_STRINGS_H -DGMTIME_UNRELIABLE_ERRORS -DSHA1_HEADER='<openssl/sha.h>' -DFREAD_READS_DIRECTORIES -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' builtin/blame.c In file included from builtin/blame.c:25: In file included from /usr/local/include/utf8.h:31: In file included from /usr/local/include/utf8/checked.h:31: /usr/local/include/utf8/core.h:31:10: fatal error: 'iterator' file not found #include <iterator> ^ 1 error generated. Same issue as bug 193187.