diff -urN a/lib/Makefile.am b/lib/Makefile.am Without this patch the build phase fails during linking with: ld:./libguestfs.syms: file format not recognized; treating as linker script ld:./libguestfs.syms:23: syntax error collect2: error: ld returned 1 exit status make[3]: *** [Makefile:1252: libguestfs.la] Error 1 make[3]: *** Waiting for unfinished jobs.... Wide character in print at /tmp/guix-build-libguestfs-1.53.6.drv-0/libguestfs-1.50.1/podwrapper.pl line 633. touch stamp-guestfs.pod make[3]: Leaving directory '/tmp/guix-build-libguestfs-1.53.6.drv-0/libguestfs-1.50.1/lib' make[2]: *** [Makefile:1161: all] Error 2 make[2]: Leaving directory '/tmp/guix-build-libguestfs-1.53.6.drv-0/libguestfs-1.50.1/lib' make[1]: *** [Makefile:1083: all-recursive] Error 1 make[1]: Leaving directory '/tmp/guix-build-libguestfs-1.53.6.drv-0/libguestfs-1.50.1' make: *** [Makefile:989: all] Error 2 error: in phase 'build': uncaught exception: --- a/lib/Makefile.am 2023-07-20 17:35:16.489080853 +0200 +++ b/lib/Makefile.am 2023-07-20 17:35:47.305793499 +0200 @@ -160,8 +160,7 @@ # Force libtool to name the library 'libguestfs.so.0.$(MAX_PROC_NR).0'. # Include the version script to limit which symbols are exported. libguestfs_la_LDFLAGS = \ - -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR) \ - $(VERSION_SCRIPT_FLAGS)$(srcdir)/libguestfs.syms + -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR) if HAVE_FUSE # XXX Unfortunately FUSE_CFLAGS defines _FILE_OFFSET_BITS=64. diff -urN a/lib/Makefile.in b/lib/Makefile.in --- a/lib/Makefile.in 2023-07-20 17:35:16.489080853 +0200 +++ b/lib/Makefile.in 2023-07-20 17:36:05.474213641 +0200 @@ -1109,8 +1109,7 @@ # Force libtool to name the library 'libguestfs.so.0.$(MAX_PROC_NR).0'. # Include the version script to limit which symbols are exported. libguestfs_la_LDFLAGS = \ - -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR) \ - $(VERSION_SCRIPT_FLAGS)$(srcdir)/libguestfs.syms + -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR) @HAVE_LIBVIRT_TRUE@libvirt_is_version_SOURCES = libvirt-is-version.c @HAVE_LIBVIRT_TRUE@libvirt_is_version_LDADD = \ =dfcd1a876e8c5ded8a5ad67450deaed3a7be7475'>root/gnu/packages/cpio.scm
blob: 58b2f45937e5c6ce46b3b1f4d4b9ef87b186860b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages cpio)
  #:use-module (guix licenses)
  #:use-module (gnu packages)
  #:use-module (gnu packages autotools)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))

(define-public cpio
  (package
    (name "cpio")
    (version "2.13")
    (source (origin
             (method url-fetch)
             (uri (string-append "mirror://gnu/cpio/cpio-"
                                 version ".tar.bz2"))
             (sha256
              (base32
               "0vbgnhkawdllgnkdn6zn1f56fczwk0518krakz2qbwhxmv2vvdga"))))
    (build-system gnu-build-system)
    (home-page "https://www.gnu.org/software/cpio/")
    (synopsis "Manage cpio and tar file archives")
    (description
     "GNU cpio copies files into or out of cpio or tar archives.  Indeed,
many formats are supported, including legacy formats.  The format is
determined automatically by the program and is handled appropriately.
Furthermore, the location of the archive is not important.  It can be another
file on the drive, a tape, or data on a pipe.")
    (license gpl3+)))