Bug 196220 - 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
Summary: devel/git: base compiler CONFLICTS_BUILD with devel/utf8cpp: builtin/blame.c:...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Renato Botelho
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2014-12-23 00:25 UTC by Jan Beich
Modified: 2015-01-25 12:54 UTC (History)
2 users (show)

See Also:


Attachments
mark default ports include path as -isystem (442 bytes, patch)
2014-12-23 00:26 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 freebsd_triage 2014-12-23 00:25:58 UTC
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.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-12-23 00:25:58 UTC
Maintainers CC'd
Comment 2 Jan Beich freebsd_committer freebsd_triage 2014-12-23 00:26:44 UTC
Created attachment 150888 [details]
mark default ports include path as -isystem
Comment 3 Jan Beich freebsd_committer freebsd_triage 2014-12-23 00:52:08 UTC
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.
Comment 4 Baptiste Daroussin freebsd_committer freebsd_triage 2015-01-25 09:31:49 UTC
Assign to new maintainer.
Comment 5 commit-hook freebsd_committer freebsd_triage 2015-01-25 12:53:38 UTC
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