From owner-freebsd-current@FreeBSD.ORG  Wed Sep 24 23:47:46 2014
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@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 E6B08A19;
 Wed, 24 Sep 2014 23:47:45 +0000 (UTC)
Received: from mail-qa0-x22e.google.com (mail-qa0-x22e.google.com
 [IPv6:2607:f8b0:400d:c00::22e])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 8E0E0D9A;
 Wed, 24 Sep 2014 23:47:45 +0000 (UTC)
Received: by mail-qa0-f46.google.com with SMTP id x12so3894927qac.5
 for <multiple recipients>; Wed, 24 Sep 2014 16:47:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=date:from:to:cc:subject:message-id:in-reply-to:references
 :mime-version:content-type;
 bh=UdfjkW8OutO/Fte21ClgcNF51zof/bVTmoM02yzQ6Mc=;
 b=HqpuqrVg4kcc/K4iC0He2i23dJlo/RNoqhRvYC4BnAq853Fbpl/mCuYiE4bRC4DQWK
 uvuEUE7WQCRI0S6QrgDHijWbnyAW+qyrL7wmQnG8jSGqiNHcn44wABhGIzCgrRW2sWbP
 xauf4A73Ulp3vmJ2jOs6k03Ogsetb5g07OnB427Tfwbt86jDxMQEsBzCMCLKvrjshl6b
 w7YdOEBzTIBzlWKxLiCMt2dvQyRhtXIZz8BafAuHRO3pXmKyjaSRfmPOSHIZh3AcPvWM
 yIMG/xslf6QgdogB/Xx6LxkpDACJCvj5cajam+ZX1US3GGaOPxStE18EVWE76xlTR+mQ
 FsJQ==
X-Received: by 10.140.81.42 with SMTP id e39mr15163505qgd.60.1411602464713;
 Wed, 24 Sep 2014 16:47:44 -0700 (PDT)
Received: from zhabar.attlocal.net
 (107-222-186-3.lightspeed.sntcca.sbcglobal.net. [107.222.186.3])
 by mx.google.com with ESMTPSA id a3sm673153qaa.49.2014.09.24.16.47.42
 for <multiple recipients>
 (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Wed, 24 Sep 2014 16:47:43 -0700 (PDT)
Date: Wed, 24 Sep 2014 16:47:31 -0700
From: Justin Hibbits <chmeeedalf@gmail.com>
To: Marcel Moolenaar <marcel@xcllnt.net>
Subject: Re: Poor state of the build infrastructure.
Message-ID: <20140924164731.2c170ced@zhabar.attlocal.net>
In-Reply-To: <FC0F5230-DF74-4740-A0A6-C2FDF022D094@xcllnt.net>
References: <4496BEA3-9F6C-4F09-B8F6-68D97A331A60@xcllnt.net>
 <1643827.epFl9jnZN1@ralph.baldwin.cx>
 <FC0F5230-DF74-4740-A0A6-C2FDF022D094@xcllnt.net>
X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; powerpc64-portbld-freebsd11.0)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 boundary="Sig_/b7Jp_gUBr12UWY=ZDZK5=3="; protocol="application/pgp-signature"
Cc: freebsd-current@freebsd.org
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Sep 2014 23:47:46 -0000

--Sig_/b7Jp_gUBr12UWY=ZDZK5=3=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Wed, 24 Sep 2014 16:33:46 -0700
Marcel Moolenaar <marcel@xcllnt.net> wrote:

>=20
> On Sep 24, 2014, at 12:54 PM, John Baldwin <jhb@freebsd.org> wrote:
>=20
> > On Tuesday, September 23, 2014 09:29:48 AM Marcel Moolenaar wrote:
> >> What is going on here?
> >> Are we still in some kind of flux and people aren't done yet or is
> >> this the intended state by virtue of noone having anything left on
> >> there TODO list?
> >=20
> > Sorry to ask a dumb question, but are you sure you did the make
> > buildworld first?  Shouldn't that have errored if it couldn't build
> > crt1?
>=20
> The root cause problem was that MAKEOBJDIRPREFIX was not set
> to whatever it was set to during buildworld. That was easy
> enough to figure out when a bunch of things don't add up.

That's a very annoying problem, and even more annoying to track down.


> But neither problem mentioned in the email had anything to
> do with MAKEOBJDIRPREFIX. Having to set the COMPILER_TYPE
> as part of an install is a bug. Entering a powerpc buildenv
> and having a compiler that builds for the host (or maybe
> just some default) is a regression.

When MAKEOBJDIRPREFIX isn't set, it takes whatever compiler it can
find.  It should probably error out instead, since the build
environment isn't sane at this point.  I ran into this probably a few
weeks back.

> The only thing the FreeBSD build is good at, really, is
> building in /usr/src for the host. The rest is just not
> up to par and I think it harms FreeBSD beyond belief.

I have no problems building outside of /usr/src.

- Justin

--Sig_/b7Jp_gUBr12UWY=ZDZK5=3=
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUI1gbAAoJEDDHhY43vi25yigIAJ+uvO30d5VA5zb4W0YWcJXT
uT24hetiZN6h7dK9sLLMIr4jArf06sKHhK+Sy+uSGAijJWiYF4FzOWf+QAKy7kCL
JhhJEBbfQM/ikDfUhJauIw432O9/3Fiv36zFYJDLvcGcLB+3OsfIM5/PQuxp+i6k
tWPC23Ws+ogYwN3pdIhNTcB8GG6A8lGcQrzupdhmxMw0XuTLg/w6ZWCykD+XTkV9
xkJjusSqXUmyFqkCz5tb8ywbBXN8ak6gT1VjXx+LpmgJL9hVPzuyNMkVh/rM8D1b
k3oPLJeMCC5JwiZZ4l4YRuVajPfSacdsSGFlTlvJTlNARHT48H7x2rvMBB5zBdM=
=bGdM
-----END PGP SIGNATURE-----

--Sig_/b7Jp_gUBr12UWY=ZDZK5=3=--