me
/
guix
Archived
1
0
Fork 0

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.
master
Ludovic Courtès 2021-10-16 23:25:55 +02:00
parent 1e631e4669
commit 258bbc4fdc
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 30 additions and 22 deletions

View File

@ -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