guix-commits
[Top][All Lists]
Advanced

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

branch core-updates-frozen updated: gnu: fakechroot: Update to PR #85 to


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: fakechroot: Update to PR #85 to build against glibc 2.33.
Date: Sat, 16 Oct 2021 17:38:37 -0400

This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new 258bbc4  gnu: fakechroot: Update to PR #85 to build against glibc 2.33.
258bbc4 is described below

commit 258bbc4fdcc8a0538c9b151d5a8e82a82092a3cb
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat Oct 16 23:25:55 2021 +0200

    gnu: fakechroot: Update to PR #85 to build against glibc 2.33.
    
    The latest release, 2.20.1, fails to build against glibc 2.33.  Build
    the code submitted as pull request #85 instead of the latest release.
    
    * gnu/packages/linux.scm (fakechroot)[source]: Change to
    'git-reference'.  Use other source.
    [native-inputs]: New field.
---
 gnu/packages/linux.scm | 52 +++++++++++++++++++++++++++++---------------------
 1 file changed, 30 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 4e0b3ab..9254b31 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8052,34 +8052,42 @@ have to construct the archives directly, without using 
the archiver.")
       (license license:gpl3+))))
 
 (define-public fakechroot
-  (package
-    (name "fakechroot")
-    (version "2.20.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/dex4er/fakechroot/releases/download/";
-                    version "/fakechroot-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1aijkd0b45wav25v01qhw8zxwa3pl0nnp9fabmmy1nlx7hr09gas"))))
-    (build-system gnu-build-system)
-    (arguments
-     ;; XXX: The tests heavily assume they run on an FHS system so for now
-     ;; skip them.
-     '(#:tests? #f
-       #:configure-flags '("--disable-static")))
-    (synopsis "Emulate @code{chroot} by overriding file system calls")
-    (description
-     "@command{fakechroot} runs a command in an environment were is additional
+  ;; XXX: Build from the change submitted at
+  ;; <https://github.com/dex4er/fakechroot/pull/85> to allow compilation
+  ;; against glibc 2.33.  Switch back to the official repository on the next
+  ;; release.
+  (let ((commit "e7c1f3a446e594a4d0cce5f5d499c9439ce1d5c5")
+        (revision "0"))
+    (package
+      (name "fakechroot")
+      (version (git-version "2.20.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/lipnitsk/fakechroot";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0gac6a6djx3nf343vd33sr5qqngz8ss3aij54zl8x9wb47pc11kb"))))
+      (build-system gnu-build-system)
+      (arguments
+       ;; XXX: The tests heavily assume they run on an FHS system so for now
+       ;; skip them.
+       '(#:tests? #f
+         #:configure-flags '("--disable-static")))
+      (native-inputs (list autoconf automake libtool perl))
+      (synopsis "Emulate @code{chroot} by overriding file system calls")
+      (description
+       "@command{fakechroot} runs a command in an environment were is 
additional
 possibility to use @code{chroot} command without root privileges.  This is
 useful for allowing users to create own chrooted environment with possibility
 to install another packages without need for root privileges.
 
 It works by providing @file{libfakechroot.so}, a shared library meant to be
 set as @code{LD_PRELOAD} to override the C library file system functions.")
-    (home-page "https://github.com/dex4er/fakechroot/";)
-    (license license:lgpl2.1+)))
+      (home-page "https://github.com/dex4er/fakechroot/";)
+      (license license:lgpl2.1+))))
 
 (define-public inputattach
   (package



reply via email to

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