Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2015 20:54:52 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r404525 - head/lang/ghc
Message-ID:  <A2FD982C221B80054201676A@atuin.in.mat.cc>
In-Reply-To: <20151228155004.GA32943@hades.panopticon>
References:  <201512261457.tBQEvSqm060923@repo.freebsd.org> <782533722EA299DC0A146052@ogg.in.absolight.net> <20151228155004.GA32943@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
--==========0AE51C992E421FD8DA69==========
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline



+--On 28 d=C3=A9cembre 2015 18:50:04 +0300 Dmitry Marakasov =
<amdmi3@amdmi3.ru>
wrote:
| * Mathieu Arnold (mat@FreeBSD.org) wrote:
|>=20
|> | Author: amdmi3
|> | Date: Sat Dec 26 14:57:28 2015
|> | New Revision: 404525
|> | URL: https://svnweb.freebsd.org/changeset/ports/404525
|> |=20
|> | Log:
|> |   - Mark NO_CCACHE, fails to build with ccache enabled:
|> |  =20
|> |   ccache: error: Failed to create directory /nonexistent/.ccache/tmp:
|> | Permission denied  =20
|>=20
|> This should work if you don't build as a user.
|=20
| It `should' work regardless of how the port is built.
|=20
|> And while fixing ports to build as a user is a good thing, marking
|> ports BROKEN when they build as root is not a good thing.
|=20
| I haven't marked this port broken. NO_CCACHE just disables ccache.

Mmm, yes, sorry, tired. The thing is, you should not disable CCACHE if it
does not work as a user, it's not fixing the problem. devel/spark has the
same kind of problem, trying to get the HOME from /etc/password instead of
from the environment variable HOME :

http://package19.nyi.freebsd.org/data/102amd64-default-build-as-user/404607/=
logs/errors/apache-spark-1.5.2.log

--=20
Mathieu Arnold
--==========0AE51C992E421FD8DA69==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJWgZOOXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz
QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I6MQP/jZ254TTzq++QCPeZT/jdRGI
wv5KIISk/L9SREI0KMZQWBR2+SfDSCLyx1yftrQih5pDnlb5bhR7zZiG8i69+vAG
K4v9UnI8gtIR24avMcmP9dM0ukyHoNLH3PAsZ8Dws8MdWxZvbpTAChLutoGnYypj
YjBOgpJHHmbNHaDniqGxoRpt7wTBcy7xE4qfd44/ZSC3ABj6WdEEA9gnDouxK/OL
AltQXizp5wtVLVPp7gDTSu+/Texr7f96awbQo8KdtBfCSgLRqBb8McglyHQtZ8fF
GyH47KwofkVR9+ayhVM217L25TFNUYpwY3s5m8qEQeDMOGd3O2fqL+jEhKzaTnBA
R3LGlqzHXN34WB1BxvIJ9XB3I7yZ9rlF84LUFFl/MrwSZEDzxh1zQ3CRoKy8jTbX
8MTIJBPYtpixSCAcHLYs4+LVSltGeoFzjsaefY9HBiGgCTFXkazIcTHw8w9HJOMO
aJUt5k/7dA7pANY8vCXJCE2I9ErhxTBqPi6/N7iKbtZ3d5K7b+iiOTEs6cOf3XW8
867eqCpvYH0MQ+v7fsHDqWUi4yxUUR3edEMOw6re6TUQFkqfsx/J+GMlJe/NEG7y
slpzg8jI/ut2Zy+rAxecmGNhWcrnB+4PcXURFeDMSkhk3axi0KD8RZHY5Qw+wHDU
Gqqm82WznQwp0aCINJqh
=JPj9
-----END PGP SIGNATURE-----

--==========0AE51C992E421FD8DA69==========--




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