From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 28 11:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 524D8667 for ; Tue, 28 Jan 2014 11:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2CBA1143C for ; Tue, 28 Jan 2014 11:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0SBo1PY074115 for ; Tue, 28 Jan 2014 11:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0SBo11Z074114; Tue, 28 Jan 2014 11:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 28 Jan 2014 11:50:01 GMT Resent-Message-Id: <201401281150.s0SBo11Z074114@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Sivachenko Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7ED71596 for ; Tue, 28 Jan 2014 11:44:30 +0000 (UTC) Received: from husqvarna.yandex.ru (unknown [IPv6:2a02:6b8:0:c38::8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DCFE913CB for ; Tue, 28 Jan 2014 11:44:29 +0000 (UTC) Received: from husqvarna.yandex.ru (localhost [127.0.0.1]) by husqvarna.yandex.ru (8.14.7/8.14.7) with ESMTP id s0SBiOGq003516 for ; Tue, 28 Jan 2014 15:44:24 +0400 (MSK) (envelope-from mitya@husqvarna.yandex.ru) Received: (from mitya@localhost) by husqvarna.yandex.ru (8.14.7/8.14.7/Submit) id s0SBiNEX003471; Tue, 28 Jan 2014 15:44:23 +0400 (MSK) (envelope-from mitya) Message-Id: <201401281144.s0SBiNEX003471@husqvarna.yandex.ru> Date: Tue, 28 Jan 2014 15:44:23 +0400 (MSK) From: Dmitry Sivachenko To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/186189: Unable to compile boost with gcc-4.7 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2014 11:50:01 -0000 >Number: 186189 >Category: ports >Synopsis: Unable to compile boost with gcc-4.7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 28 11:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Dmitry Sivachenko >Release: FreeBSD 10.0-PRERELEASE amd64 >Organization: >Environment: FreeBSD agata 10.0-PRERELEASE FreeBSD 10.0-PRERELEASE #4 r260558M: Wed Jan 22 14:55:52 MSK 2014 root@agata:/opt/WRK/obj/opt/WRK/src/sys/CAVIA amd64 >Description: I am trying to compile boost with gcc-4.7 on FreeBSD-10. I added USE_GCC=4.7 to Makefile. Build fails: ### ### Using 'gcc' toolset. ### rm -rf bootstrap mkdir bootstrap gcc47 -o bootstrap/jam0 command.c compile.c constants.c debug.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathunix.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c md5.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c ./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= clean ...found 1 target... ...updating 1 target... ...updated 1 target... ./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= ...found 50 targets... ...updating 3 targets... [MKDIR] bin.freebsdx86_64 [COMPILE] bin.freebsdx86_64/b2 gcc: not found "gcc" -o bin.freebsdx86_64/b2 "-DNDEBUG" "-DOPT_HEADER_CACHE_EXT" "-DOPT_GRAPH_DEBUG_EXT" "-DOPT_SEMAPHORE" "-DOPT_AT_FILES" "-DOPT_DEBUG_PROFILE" "-DOPT_FIX_TARGET_VARIABLES_EXT" "-DOPT_IMPROVED_PATIENCE_EXT" "-DYYSTACKSIZE=5000" "-pedantic" "-fno-strict-aliasing" "-s" "-O3" "-Wno-long-long" "command.c" "compile.c" "constants.c" "debug.c" "function.c" "glob.c" "hash.c" "hcache.c" "headers.c" "hdrmacro.c" "jam.c" "jambase.c" "jamgram.c" "lists.c" "make.c" "make1.c" "mem.c" "object.c" "option.c" "output.c" "parse.c" "regexp.c" "rules.c" "scan.c" "search.c" "subst.c" "w32_getreg.c" "timestamp.c" "variable.c" "modules.c" "strings.c" "filesys.c" "builtins.c" "pwd.c" "class.c" "native.c" "md5.c" "modules/set.c" "modules/path.c" "modules/regex.c" "modules/property-set.c" "modules/sequence.c" "modules/order.c" "execunix.c" "fileunix.c" "pathunix.c" ...failed [COMPILE] bin.freebsdx86_64/b2... ...skipped bjam for lack of b2... ...failed updating 1 target... ...skipped 1 target... As you see, it first uses "gcc47" but then tries to use just "gcc" which is not present on FreeBSD-10 at all. Seems that it does not honor $CXX correctly. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: