Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2019 14:45:38 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r508627 - branches/2019Q3/devel/ghidra
Message-ID:  <201908111445.x7BEjc8t049921@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}



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