* 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
* Re: a2ps: manpages fail to build
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
0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2013-10-09 21:30 UTC (permalink / raw)
To: Nikita Karetnikov; +Cc: guix-devel
Nikita Karetnikov <nikita@karetnikov.org> skribis:
> 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
There’s a bug in its build system, but most likely it wants ‘help2man’
(as native input.)
> Also, I don’t like the synopsis from Womb, so I used my own. Is it OK?
No it’s not. :-)
If you have a strong argument, tell Karl what you don’t like and what
you’d prefer. But the policy is for Guix to follow what’s done there.
> (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"))))
Rather use (substitute* (find-files "." ".*") ...) if that works.
> (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.")
Now description have to be taken from pkgdescr.txt (run ‘make
sync-descriptions’ to get the right text.)
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: a2ps: manpages fail to build
2013-10-09 21:30 ` Ludovic Courtès
@ 2013-10-09 21:57 ` Nikita Karetnikov
2013-10-09 22:02 ` Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: Nikita Karetnikov @ 2013-10-09 21:57 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 491 bytes --]
> There’s a bug in its build system, but most likely it wants ‘help2man’
> (as native input.)
Could you expand on the bug part?
I added ‘help2man’, but it didn’t help.
> Rather use (substitute* (find-files "." ".*") ...) if that works.
It takes too much time, or I’m doing something wrong.
> Now description have to be taken from pkgdescr.txt (run ‘make
> sync-descriptions’ to get the right text.)
I should package more, thanks for pointing this out.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: a2ps: manpages fail to build
2013-10-09 21:57 ` Nikita Karetnikov
@ 2013-10-09 22:02 ` Ludovic Courtès
2013-10-10 11:09 ` Nikita Karetnikov
0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2013-10-09 22:02 UTC (permalink / raw)
To: Nikita Karetnikov; +Cc: guix-devel
Nikita Karetnikov <nikita@karetnikov.org> skribis:
>> There’s a bug in its build system, but most likely it wants ‘help2man’
>> (as native input.)
>
> Could you expand on the bug part?
It invokes /missing instead of $top_srcdir/build-aux/missing.
> I added ‘help2man’, but it didn’t help.
Could you check the configure log for clues?
Also, can you check the makefiles to see how it’s supposed to build the
man pages?
>> Rather use (substitute* (find-files "." ".*") ...) if that works.
>
> It takes too much time, or I’m doing something wrong.
Too much time? But it succeeds?
(It should be just as fast as running ‘find’ in that directory.)
HTH,
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: a2ps: manpages fail to build
2013-10-09 22:02 ` Ludovic Courtès
@ 2013-10-10 11:09 ` Nikita Karetnikov
2013-10-10 12:14 ` Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: Nikita Karetnikov @ 2013-10-10 11:09 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 679 bytes --]
> It invokes /missing instead of $top_srcdir/build-aux/missing.
>> I added ‘help2man’, but it didn’t help.
> Could you check the configure log for clues?
> Also, can you check the makefiles to see how it’s supposed to build the
> man pages?
It just needed Perl.
>>> Rather use (substitute* (find-files "." ".*") ...) if that works.
> Too much time? But it succeeds?
Sorry, I was thinking about a different command. Yours fails with
“string contains #\nul character.” May I stick to the list of files
instead of using ‘find-files’?
Now, 20 of 25 tests failed. Tests are written in Ksh, not Bash, so I’ll
try to package it first.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: a2ps: manpages fail to build
2013-10-10 11:09 ` Nikita Karetnikov
@ 2013-10-10 12:14 ` Ludovic Courtès
0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2013-10-10 12:14 UTC (permalink / raw)
To: Nikita Karetnikov; +Cc: guix-devel
Nikita Karetnikov <nikita@karetnikov.org> skribis:
>> It invokes /missing instead of $top_srcdir/build-aux/missing.
>
>>> I added ‘help2man’, but it didn’t help.
>
>> Could you check the configure log for clues?
>
>> Also, can you check the makefiles to see how it’s supposed to build the
>> man pages?
>
> It just needed Perl.
OK.
>>>> Rather use (substitute* (find-files "." ".*") ...) if that works.
>
>> Too much time? But it succeeds?
>
> Sorry, I was thinking about a different command. Yours fails with
> “string contains #\nul character.” May I stick to the list of files
> instead of using ‘find-files’?
Hmm yes, but it looks really long, and thus hard to maintain. Can’t it
be reduced?
> Now, 20 of 25 tests failed. Tests are written in Ksh, not Bash, so I’ll
> try to package it first.
Forgive my ignorance, but is Ksh somehow compatible with tcsh (tcsh is
already packaged)?
Thanks,
Ludo’.
^ 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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.