svn commit: r508626 - head/devel/ghidra
Tobias Kortkamp
tobik at FreeBSD.org
Sun Aug 11 14:44:42 UTC 2019
Author: tobik
Date: Sun Aug 11 14:44:41 2019
New Revision: 508626
URL: https://svnweb.freebsd.org/changeset/ports/508626
Log:
devel/ghidra: Fix build error caused by cache cleanup
The issue seems to be caused by Gradle caches being cleaned up
between build sessions [1]. It did not come up before because the
cached files were not old enough to be deleted.
Cleanup happens after a build session, so running the two build
targets (yajswDevUnpack and buildGhidra) in the same session fixes
the issue.
[1] https://docs.gradle.org/current/userguide/directory_layout.html#dir:gradle_user_home:cache_cleanup)
PR: 239472
Submitted by: Tamas Szakaly <sghctoma at gmail.com> (maintainer)
Modified:
head/devel/ghidra/Makefile
Modified: head/devel/ghidra/Makefile
==============================================================================
--- head/devel/ghidra/Makefile Sun Aug 11 14:19:28 2019 (r508625)
+++ head/devel/ghidra/Makefile Sun Aug 11 14:44:41 2019 (r508626)
@@ -100,8 +100,7 @@ post-patch-JDK12-on:
@${ECHO_CMD} "org.gradle.java.home=${LOCALBASE}/openjdk12" > ${WRKSRC}/gradle.properties
do-build:
- cd ${WRKSRC} && ${GRADLE_RUN} yajswDevUnpack
- cd ${WRKSRC} && ${GRADLE_RUN} buildGhidra
+ cd ${WRKSRC} && ${GRADLE_RUN} yajswDevUnpack buildGhidra
post-build:
@${RM} ${GRADLE_HOME_BASE}/gradle-${PORTNAME}
More information about the svn-ports-all
mailing list