[Bug 209103] texproc/irstlm: Fix build with libc++ 3.8.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Apr 27 17:50:05 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209103
Bug ID: 209103
Summary: texproc/irstlm: Fix build with libc++ 3.8.0
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: dim at FreeBSD.org
Created attachment 169763
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169763&action=edit
Remove -isystem from CXXFLAGS to fix build
During the exp-run in bug 208158, it was found that textproc/irstlm gives
errors with libc++ 3.8.0 [1]:
In file included from dictionary.cpp:23:
In file included from ./mfstream.h:26:
In file included from /usr/include/c++/v1/iostream:38:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:439:
In file included from /usr/include/c++/v1/algorithm:624:
In file included from /usr/include/c++/v1/initializer_list:47:
/usr/include/c++/v1/cstddef:43:15: fatal error: 'stddef.h' file not found
#include_next <stddef.h>
^
This is because the port inexplicably tries to add /usr/include as a system
include directory, using -isystem, and this screws up the order of include
directories. Fix it by removing the unnecessary -isystem flag.
[1]
http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_18h30m05s/logs/errors/irstlm-5.80.03_4.log
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list