all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#29745] [PATCH 0/3] Disallow phase returning <unspecified>.
@ 2017-12-16 23:12 Arun Isaac
  2017-12-16 23:16 ` [bug#29745] [PATCH 1/3] build: gnu-build-system: " Arun Isaac
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Arun Isaac @ 2017-12-16 23:12 UTC (permalink / raw)
  To: 29745

Patch 1 modifies gnu-build-system to explicitly check the return value of each
phase for an unspecified value, and if found consider that phase to have
failed.

Patch 2 fixes several phases in gnu-build-system by making them return #t
instead of an unspecified value.

Patch 3 fixes the phases in several packages to return #t instead of an
unspecified value. I was testing patch 1, by trying to build bash. In doing
so, I found that the custom phases of many packages were not properly
returning #t, and fixed all those packages. No doubt, there are many more
packages that need fixing.

Arun Isaac (3):
  build: gnu-build-system: Disallow phase returning <unspecified>.
  build: gnu-build-system: Return #t from phases.
  gnu: Return #t from phases.

 gnu/packages/attr.scm           |  3 ++-
 gnu/packages/autotools.scm      |  3 ++-
 gnu/packages/base.scm           |  3 ++-
 gnu/packages/bash.scm           |  3 ++-
 gnu/packages/commencement.scm   | 15 ++++++++++-----
 gnu/packages/gcc.scm            |  3 ++-
 gnu/packages/libffi.scm         |  3 ++-
 gnu/packages/m4.scm             |  3 ++-
 gnu/packages/ncurses.scm        |  6 ++++--
 gnu/packages/perl.scm           |  3 ++-
 gnu/packages/readline.scm       |  3 ++-
 guix/build/gnu-build-system.scm | 18 +++++++++++++-----
 12 files changed, 45 insertions(+), 21 deletions(-)

-- 
2.15.1

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

end of thread, other threads:[~2017-12-28 11:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-16 23:12 [bug#29745] [PATCH 0/3] Disallow phase returning <unspecified> Arun Isaac
2017-12-16 23:16 ` [bug#29745] [PATCH 1/3] build: gnu-build-system: " Arun Isaac
2017-12-16 23:16   ` [bug#29745] [PATCH 2/3] build: gnu-build-system: Return #t from phases Arun Isaac
2017-12-16 23:16   ` [bug#29745] [PATCH 3/3] gnu: " Arun Isaac
2017-12-17  6:27 ` [bug#29745] [PATCH 0/3] Disallow phase returning <unspecified> Ricardo Wurmus
2017-12-17 16:55 ` Ludovic Courtès
2017-12-17 17:47   ` Arun Isaac
2017-12-18  8:01     ` Ludovic Courtès
2017-12-18  8:44       ` Ricardo Wurmus
2017-12-28 11:43         ` bug#29745: " Arun Isaac
2017-12-18  9:06       ` [bug#29745] " Arun Isaac
2017-12-19  8:38         ` Ludovic Courtès
2017-12-19 21:58           ` Mark H Weaver
2017-12-18  9:26       ` Andreas Enge
2017-12-17 18:14   ` Marius Bakke

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.