svn commit: r404525 - head/lang/ghc

Mathieu Arnold mat at FreeBSD.org
Mon Dec 28 19:54:59 UTC 2015



+--On 28 décembre 2015 18:50:04 +0300 Dmitry Marakasov <amdmi3 at amdmi3.ru>
wrote:
| * Mathieu Arnold (mat at FreeBSD.org) wrote:
|> 
|> | Author: amdmi3
|> | Date: Sat Dec 26 14:57:28 2015
|> | New Revision: 404525
|> | URL: https://svnweb.freebsd.org/changeset/ports/404525
|> | 
|> | Log:
|> |   - Mark NO_CCACHE, fails to build with ccache enabled:
|> |   
|> |   ccache: error: Failed to create directory /nonexistent/.ccache/tmp:
|> | Permission denied   
|> 
|> This should work if you don't build as a user.
| 
| It `should' work regardless of how the port is built.
| 
|> 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.
| 
| 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

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20151228/18bb8e74/attachment.sig>


More information about the svn-ports-head mailing list