Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2018 20:30:38 +0200
From:      Stefan Esser <se@freebsd.org>
To:        Koichiro Iwao <meta@freebsd.org>, ports@freebsd.org
Subject:   Re: Why portmaster uses g++ not g++6 nor clang++?
Message-ID:  <7c7d5ebc-e8e4-6a2c-92fc-879663cf5926@freebsd.org>
In-Reply-To: <0101016373cfd7a2-a231a144-9162-4315-82b5-93d3823e99b5-000000@us-west-2.amazonses.com>
References:  <0101016373cfd7a2-a231a144-9162-4315-82b5-93d3823e99b5-000000@us-west-2.amazonses.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 18.05.18 um 17:13 schrieb Koichiro Iwao:
> Hi,
> 
> I'm building devel/qt5-make by portmaster. Somehow portmaster incorrectly
> detects gcc6 and uses g++ despite it is actually installed as g++6. If I > build it without portmaster, clang++ is used and build finishes successfully.

Sorry, this was my fault and I hope it is fixed with the follow-up commit
to portmaster version 3.19-10.

I had received a proposed patch to significantly speed-up portmaster by
caching of a few parameters in environment variables. My commit was meant
to work around a side effect of the proposed patch (sourcing of a script
imported several unused subroutines into portmaster and I wanted to just
use the result of execution of the one relevant subroutine, but missed the
fact that the quoting came out wrong ...).

(If you are interested: The environment variable _CXXINTERNAL_acaad9ca
should contain the literal character sequence "-lc++" including the
double quotes, when I use eval as in the defective version, I either get
no quotes around -lc++ or I get extra double-quotes around the whole
variable, if I eval the script output piped through sed s:":\\:" ...)

Since I did not manage to get the correct result without sourcing the
script, I gave in and accept the fact, that these subroutines are now
imported into portmaster.

Anyway, I hope my latest commit has fixed the problem ...

Regards, STefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7c7d5ebc-e8e4-6a2c-92fc-879663cf5926>