From owner-freebsd-ports@freebsd.org Fri Oct 7 09:00:46 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC808BD3BC2 for ; Fri, 7 Oct 2016 09:00:46 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-66.reflexion.net [208.70.210.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 82E7F869 for ; Fri, 7 Oct 2016 09:00:45 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 20059 invoked from network); 7 Oct 2016 09:00:28 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 7 Oct 2016 09:00:28 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.00.0) with SMTP; Fri, 07 Oct 2016 05:00:42 -0400 (EDT) Received: (qmail 15101 invoked from network); 7 Oct 2016 09:00:42 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 7 Oct 2016 09:00:42 -0000 Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id D4052EC8EEC; Fri, 7 Oct 2016 02:00:36 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re: graphics/opencv2-core: compiler error on CURRENT: error: 'stddef.h' file not found Date: Fri, 7 Oct 2016 02:00:34 -0700 Message-Id: <66A820DB-DAE0-41F6-BF36-4BB3C1AD465E@dsl-only.net> Cc: Dimitry Andric To: FreeBSD Ports , ohartman@zedat.fu-berlin.de Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2016 09:00:46 -0000 O. Hartmann ohartman at zedat.fu-berlin.de wrote on Fri Oct 7 08:26:27 = UTC 2016 . . . . . . of having problems with not finding during some port = builds. Is there a difference in the -isystem command line options for c++ for = the working vs. failing contexts? I will presume that there is based on the following. . . (At least it = gives you something to look into.) The issue is not specific to just graphics/opencv-core and = graphics/blender ports: others also have problems with the use of = -isystem for C++ compiles. See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213217 in particular Comment #2 from Dimitry Andric. The problem is in how -isystem is used vs. what is needed for libc++ = 3.8.0 . =46rom O. Hartmann's message text: . . . > -isystem /usr/local/include/eigen3 -isystem /usr/include/include -O2 = -pipe -O3 . . . > 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 ^ --- . . . > 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 Dimitry wrote for this issue of not being found: > Summary: If for some reason you must completely rebuild the header = search path > from scratch, you need to add -isystem /usr/include/c++/v1 *before* = -isystem > /usr/include. But it is better not to do this at all. :) There is more background/supporting information in that comment. =3D=3D=3D Mark Millard markmi at dsl-only.net