From mitya@husqvarna.yandex.ru  Tue Jan 28 11:44:30 2014
Return-Path: <mitya@husqvarna.yandex.ru>
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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <trtrmitya@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Unable to compile boost with gcc-4.7
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         186189
>Category:       ports
>Synopsis:       Unable to compile devel/boost-all with gcc-4.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    office
>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:  Sun Mar 23 19:59:09 UTC 2014
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->office-ports-bugs 
Responsible-Changed-By: demon 
Responsible-Changed-When: Tue Jan 28 15:15:13 UTC 2014 
Responsible-Changed-Why:  
To maintainers. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186189 
Responsible-Changed-From-To: office-ports-bugs->office 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Mar 23 19:56:12 UTC 2014 
Responsible-Changed-Why:  
Canonicalize assignment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186189 
>Unformatted:
