svn commit: r508627 - branches/2019Q3/devel/ghidra
Tobias Kortkamp
tobik at FreeBSD.org
Sun Aug 11 14:45:39 UTC 2019
Author: tobik
Date: Sun Aug 11 14:45:37 2019
New Revision: 508627
URL: https://svnweb.freebsd.org/changeset/ports/508627
Log:
MFH: r508626
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)
Approved by: ports-secteam build fix blanket
Modified:
branches/2019Q3/devel/ghidra/Makefile
Directory Properties:
branches/2019Q3/ (props changed)
Modified: branches/2019Q3/devel/ghidra/Makefile
==============================================================================
--- branches/2019Q3/devel/ghidra/Makefile Sun Aug 11 14:44:41 2019 (r508626)
+++ branches/2019Q3/devel/ghidra/Makefile Sun Aug 11 14:45:37 2019 (r508627)
@@ -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-branches
mailing list