mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user