Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2019 13:20:32 -0600
From:      Justin Hibbits <chmeeedalf@gmail.com>
To:        terry <terry@thehjs.co.uk>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Xorg taking too long to build on imac G5
Message-ID:  <20190204132032.79f7f79d@ralga.knownspace>
In-Reply-To: <393c97c4-d2ab-c174-7212-173e70dd5414@thehjs.co.uk>
References:  <393c97c4-d2ab-c174-7212-173e70dd5414@thehjs.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Feb 2019 18:20:53 +0000
terry <terry@thehjs.co.uk> wrote:

> I have installed FreeBSD onto an imac G5 20=E2=80=9D (using=20
> FreeBSD-12.0-RELEASE-powerpc-powerpc64-disc1.iso) and have started=20
> building xorg from source.
>=20
> I used =E2=80=9Cmake install=E2=80=9D with =E2=80=98BATCH=3Dyes=E2=80=99 =
to install the standard
> options and avoid halts in the build process.
>=20
> However, the build process has been running now for 106 hours and is=20
> still running! My questions are:
>=20
> 1) Has the build process somehow got into a loop (is it possible to
> test for this?) and should I terminate the build?
>=20
> 2) If yes, what precautions can I take to avoid a repetition?
>=20
> I have spent some time looked through the forum and mailing lists but=20
> have been unable to find answers so any suggestions or pointers to=20
> existing solutions would be welcomed.
>=20

Hi Terry,

Yes, on such an old machine it can take a *very* long time to build
x11/xorg and all its dependencies, there's a long list of them
including lang/gcc5, lang/gcc8 and devel/llvm60, each of which can take
over 10 hours.  If I remember correctly the iMac G5 was a single-core
single-CPU machine, so it can take even longer, significantly longer.
On my dual-core 2.3GHz it would take ~13 hours to build llvm, with 2
threads running.  So I imagine at least 20 hours with a single thread
running.

Personally, I strongly recommend installing poudriere, and building
with that, as it simplifies monitoring, and allows for a cleaner build
environment.  It doesn't save you any time at all on your build, though.

- Justin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190204132032.79f7f79d>