Created attachment 206097 [details] Patch to fix build error caused by cache cleanup Hi all, I've received e-mails of devel/ghidra build failures from pkg-fallout@. The issue seems to be caused by Gradle caches being cleaned up between build sessions [1]. This issue didn't came up before because the cached files were not old enough to be deleted. Cleanup happens after a build session, so the attached patch fixes this issue by running the two build targets (yajswDevUnpack and buildGhidra) in the same session. Cheers, Toma [1] https://docs.gradle.org/current/userguide/directory_layout.html#dir:gradle_user_home:cache_cleanup)
A commit references this bug: Author: tobik Date: Sun Aug 11 14:44:41 UTC 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@gmail.com> (maintainer) Changes: head/devel/ghidra/Makefile
A commit references this bug: Author: tobik Date: Sun Aug 11 14:45:38 UTC 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 Changes: _U branches/2019Q3/ branches/2019Q3/devel/ghidra/Makefile
Committed. Thanks!