summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-01-21 13:50:10 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2018-01-21 13:50:23 +0000
commit651f557f9302d29aa0de5ea10ef4e575b686fb21 (patch)
tree81849b3ff2a29a57fa8e4fd267bc6d9ce423bae0
parentkde-plasma: stabilise 5.11.5 for amd64/x86 (diff)
downloadgentoo-651f557f9302d29aa0de5ea10ef4e575b686fb21.tar.gz
gentoo-651f557f9302d29aa0de5ea10ef4e575b686fb21.tar.bz2
gentoo-651f557f9302d29aa0de5ea10ef4e575b686fb21.zip
sys-apps/guix: fix build failure when older version of guix is already installed
Pasting comment note as-is: """ guile is trying to avoid recompilation by checking if file /usr/lib64/guile/2.2/site-ccache/guix/modules.go is newer than guix/modules.scm In case it is instead of using 'guix/modules.scm' guile loads system one (from potentially older version of guix). To work it around we bump last modification timestamp of '*.scm' files. """ Package-Manager: Portage-2.3.19, Repoman-2.3.6
-rw-r--r--sys-apps/guix/guix-0.14.0.ebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-apps/guix/guix-0.14.0.ebuild b/sys-apps/guix/guix-0.14.0.ebuild
index 98b94e6fb007..fee128e9630b 100644
--- a/sys-apps/guix/guix-0.14.0.ebuild
+++ b/sys-apps/guix/guix-0.14.0.ebuild
@@ -104,6 +104,16 @@ src_prepare() {
default
# build system is very eager to run automake itself: bug #625166
eautomake
+
+ # guile is trying to avoid recompilation by checking if file
+ # /usr/lib64/guile/2.2/site-ccache/guix/modules.go
+ # is newer than
+ # guix/modules.scm
+ # In case it is instead of using 'guix/modules.scm' guile
+ # loads system one (from potentially older version of guix).
+ # To work it around we bump last modification timestamp of
+ # '*.scm' files.
+ find "${S}" -name "*.scm" -exec touch {} + || die
}
src_configure() {