From owner-freebsd-ports-bugs@freebsd.org Sun Jan 3 06:15:02 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 D7458A60232 for ; Sun, 3 Jan 2016 06:15:02 +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 AEBE818D2 for ; Sun, 3 Jan 2016 06:15:02 +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 u036F2ia010505 for ; Sun, 3 Jan 2016 06:15:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 205818] devel/ninja Date: Sun, 03 Jan 2016 06:15:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Many People X-Bugzilla-Who: kenneth.freidank@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gblach@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2016 06:15:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205818 Bug ID: 205818 Summary: devel/ninja Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: gblach@FreeBSD.org Reporter: kenneth.freidank@gmail.com Flags: maintainer-feedback?(gblach@FreeBSD.org) Assignee: gblach@FreeBSD.org The ninja port is configured to compile with g++, not clang. Clang is the FreeBSD default compiler and sets defines differently than g++. One error = with the default use of clang is use of a g++ deprecated and hence removed /user/include/c++/v1/ext/hash_map file: src/hash_map.h:91:10: fatal error: 'ext/hash_map' file not found The port's Makefile correctly uses the gnu replacement for hash_map only if= you use g++, and NOT clang. I tried using "clang-cpp -x c++ -std=3Dc++0x" in p= lace of ${CXX} in the port's Makefile, but I still had additional build errors. To build the port, I substituted g++ for ${CXX} in the Makefile. You will not experience this problem if you retained the old include files = from earlier g++ distributions! Pertinent info... PORTNAME=3Dninja PORTVERSION=3D1.6.0 FreeBSD 10.2-RELEASE-p7 #0.... root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 # c++ --version FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: i386-unkown-freebsd10.2 Thread model: posix # g++ --version g++ (FreeBSD Ports Collection) 4.8.5 Copyright (C) 2015 Free Software Foundation, Inc. ... --=20 You are receiving this mail because: You are the assignee for the bug.=