unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* a2ps: manpages fail to build
@ 2013-10-09 20:46 Nikita Karetnikov
  2013-10-09 21:30 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Nikita Karetnikov @ 2013-10-09 20:46 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 1623 bytes --]

I’m getting the following error:

make[2]: Entering directory `/tmp/nix-build-a2ps-4.14.drv-7/a2ps-4.14/man'
Updating man page fixps.1
Updating man page psmandup.1
Updating man page card.1
/nix/store/vw6j6hcbcg2siv93v66d7i3fswyj116k-bash-4.2/bin/bash: line 3: /missing: No such file or directory
/nix/store/vw6j6hcbcg2siv93v66d7i3fswyj116k-bash-4.2/bin/bash: line 3: /missing: No such file or directory
make[2]: *** [card.1] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [fixps.1] Error 1
Updating man page psset.1
/nix/store/vw6j6hcbcg2siv93v66d7i3fswyj116k-bash-4.2/bin/bash: line 3: /missing: No such file or directory
/nix/store/vw6j6hcbcg2siv93v66d7i3fswyj116k-bash-4.2/bin/bash: line 3: /missing: No such file or directory
make[2]: *** [psset.1] Error 1
make[2]: *** [psmandup.1] Error 1
make[2]: Leaving directory `/tmp/nix-build-a2ps-4.14.drv-7/a2ps-4.14/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/nix-build-a2ps-4.14.drv-7/a2ps-4.14'
make: *** [all] Error 2
phase `build' failed after 10 seconds
note: keeping build directory `/tmp/nix-build-a2ps-4.14.drv-7'
builder for `/nix/store/4dfd0qglsh76cbfs2a539j38bndkm5zj-a2ps-4.14.drv' failed with exit code 1
@ build-failed /nix/store/4dfd0qglsh76cbfs2a539j38bndkm5zj-a2ps-4.14.drv - 1 builder for `/nix/store/4dfd0qglsh76cbfs2a539j38bndkm5zj-a2ps-4.14.drv' failed with exit code 1
guix build: error: build failed: build of `/nix/store/4dfd0qglsh76cbfs2a539j38bndkm5zj-a2ps-4.14.drv' failed

What’s wrong?

Also, I don’t like the synopsis from Womb, so I used my own.  Is it OK?


[-- Attachment #1.2: a2ps.scm --]
[-- Type: text/plain, Size: 2911 bytes --]

;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.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 a2ps)
  #:use-module (guix licenses)
  #:use-module (gnu packages gperf)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))

(define-public a2ps
  (package
    (name "a2ps")
    (version "4.14")
    (source
     (origin
      (method url-fetch)
      (uri (string-append "mirror://gnu/a2ps/a2ps-"
                          version ".tar.gz"))
      (sha256
       (base32
        "195k78m1h03m961qn7jr120z815iyb93gwi159p1p9348lyqvbpk"))))
    (build-system gnu-build-system)
    (inputs
     `(("gperf" ,gperf)))
    (arguments
     '(#:phases (alist-cons-before
                 'build 'pre-build
                 (lambda _
                   (substitute* '("contrib/card.in"
                                  "contrib/fixps.in"
                                  "contrib/psset.m4"
                                  "contrib/fixps.m4"
                                  "contrib/fixbb.m4"
                                  "contrib/psmandup.in"
                                  "contrib/psmandup.m4"
                                  "contrib/card.m4"
                                  "contrib/psset.in"
                                  "afm/make_fonts_map.sh"
                                  "tests/backup.tst"
                                  "tests/defs.in"
                                  "tests/tstfiles/psmandup"
                                  "tests/gps-ref/psmandup.ps"
                                  "tests/ps-ref/psmandup.ps"
                                  "tests/view-diff"
                                  "tests/styles.tst")
                     (("/bin/rm") (which "rm"))))
                 %standard-phases)))
    (home-page "https://gnu.org/software/a2ps/")
    (synopsis "Convert any file to PostScript")
    (description
     "GNU a2ps is a filter which generates PostScript from various formats,
with pretty-printing features, has strong support for many alphabets, and
customizable layout.")
    (license gpl3+)))

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-10-10 12:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-09 20:46 a2ps: manpages fail to build Nikita Karetnikov
2013-10-09 21:30 ` Ludovic Courtès
2013-10-09 21:57   ` Nikita Karetnikov
2013-10-09 22:02     ` Ludovic Courtès
2013-10-10 11:09       ` Nikita Karetnikov
2013-10-10 12:14         ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).