guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

204/207: gnu: gcc-boot0: Workaround libtool install bug.


From: Jan Nieuwenhuizen
Subject: 204/207: gnu: gcc-boot0: Workaround libtool install bug.
Date: Sat, 8 Sep 2018 13:26:35 -0400 (EDT)

janneke pushed a commit to branch wip-bootstrap
in repository guix.

commit 9650416369060f477f7214e78ff47ade6b9f36ea
Author: Jan Nieuwenhuizen <address@hidden>
Date:   Sat Sep 8 08:58:55 2018 +0200

    gnu: gcc-boot0: Workaround libtool install bug.
    
    * gnu/packages/commencement.scm (gcc-boot0): Workaround libtool install bug.
---
 gnu/packages/commencement.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 499f055..7ad8ced 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1854,6 +1854,16 @@ exec " gcc "/bin/" program
                                          ,(package-name lib)))
                              (list gmp-6.0 mpfr mpc))
                       #t)))
+                ,(match (%current-system)
+                   ("i686-linux"
+                    '(add-after 'build 'libtool-workaround
+                      (lambda _
+                        ;; libtool: install: 
/gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/install -c 
.libs/libcc1.so.0.0.0 
/gnu/store/8qf47i99nxz9jvrmq5va0g3q1yvs3x74-gcc-cross-boot0-5.5.0-lib/lib/./libcc1.so.0.0.0
+                        ;; 
/gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/install: 
cannot stat '.libs/libcc1.so.0.0.0': No such file or directory
+                        (system* "touch"
+                                 "libcc1/.libs/libcc1.so.0.0.0"
+                                 "libcc1/.libs/libcc1plugin.so.0.0.0"))))
+                   (_ 'identity))
                 (add-after 'install 'symlink-libgcc_eh
                   (lambda* (#:key outputs #:allow-other-keys)
                     (let ((out (assoc-ref outputs "lib")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]