From owner-freebsd-ports-bugs@freebsd.org Sun Oct 2 10:13:47 2016 Return-Path: Delivered-To: freebsd-ports-bugs@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 DF4A8AD988D for ; Sun, 2 Oct 2016 10:13:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 B3DDB8D1 for ; Sun, 2 Oct 2016 10:13:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u92ADlrH078023 for ; Sun, 2 Oct 2016 10:13:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211808] graphics/opencv-core: c++ compiler error due to "fatal error: 'stddef.h' file not found" Date: Sun, 02 Oct 2016 10:13:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ohartman@zedat.fu-berlin.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: bug_severity flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2016 10:13:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211808 ohartman@zedat.fu-berlin.de changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Many People |Affects Some People Flags| |maintainer-feedback+ --- Comment #3 from ohartman@zedat.fu-berlin.de --- The problem still persists on one box and drives me nuts. It seems the compiler doesn't find its standard includes - or gets confused= by accidentally found remanants of previous, non-cleaned installations. I trie= d to rebuild opencv-core with "portmaster -d" option to build everything, but it doesn't help much. Running an update of port graphics/opencv-core on most recent ports tree (r423107) on a 12-CURRENT (FreeBSD 12.0-CURRENT #30 r306561: Sat Oct 1 23:55:43 CEST 2016), results in a compilation error shown below. The port h= as been successfully installed when CURRENT was 11-CURRENT and updated as it h= as been required by port changes (compiled from sources!). In /etc/src.conf, I use these lines reflcting compilation of the OS sources: # CPUTYPE?=3D native # CFLAGS+=3D -O3 # for the kernel COPTFLAGS+=3D -O3 # #CXXFLAGS+=3D -std=3Dc++11 # WITH_CLANG_EXTRAS=3D YES WITH_CLANG_FULL=3D YES WITH_LLDB=3D YES [...] and I use in /etc/make.conf also apart from the standard/vanilla parameter= s: [...] CPUTYPE?=3Dnative CFLAGS+=3D-O3 COPTFLAGS+=3D-O3 [...] The error while compilation is then shown as [...] /usr/include/c++/v1/cstddef:43:15: fatal error: 'stddef.h' file not found --=20 You are receiving this mail because: You are the assignee for the bug.=