[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/63: gnu: lpsolve: Fail as early as possible.
From: |
Mark H. Weaver |
Subject: |
12/63: gnu: lpsolve: Fail as early as possible. |
Date: |
Thu, 4 Aug 2016 07:44:55 +0000 (UTC) |
mhw pushed a commit to branch core-updates-2016-08-01
in repository guix.
commit 6689d09457c8d55b4f045ef9116478ffe02679df
Author: Ludovic Courtès <address@hidden>
Date: Tue Jul 26 00:40:54 2016 +0200
gnu: lpsolve: Fail as early as possible.
* gnu/packages/maths.scm (lpsolve)[arguments]: In 'build' phase, check
the return value of 'system*' and honor it.
---
gnu/packages/maths.scm | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ad7d0e2..0e6fda3 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2198,11 +2198,10 @@ specifications.")
(delete 'configure)
(replace 'build
(lambda _
- (with-directory-excursion "lpsolve55"
- (system* "bash" "ccc"))
- (with-directory-excursion "lp_solve"
- (system* "bash" "ccc"))
- #t))
+ (and (with-directory-excursion "lpsolve55"
+ (zero? (system* "bash" "ccc")))
+ (with-directory-excursion "lp_solve"
+ (zero? (system* "bash" "ccc"))))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- 15/63: gnu: lout: Make ghostscript-gs a native input., (continued)
- 15/63: gnu: lout: Make ghostscript-gs a native input., Mark H. Weaver, 2016/08/04
- 19/63: gnu: address@hidden: Delete faulty test on mips64el only., Mark H. Weaver, 2016/08/04
- 18/63: gnu: python-2.7: Disable test failing on mips64el-linux., Mark H. Weaver, 2016/08/04
- 11/63: gnu: fastcap: Build with ghostscript-gs., Mark H. Weaver, 2016/08/04
- 17/63: gnu: skribilo: Add input ghostscript-gs., Mark H. Weaver, 2016/08/04
- 21/63: gnu: asymptote: Add native input gs., Mark H. Weaver, 2016/08/04
- 35/63: gnu: r-bsgenome: Update to 1.40.1., Mark H. Weaver, 2016/08/04
- 31/63: gnu: r-genomicranges: Update to 1.24.2., Mark H. Weaver, 2016/08/04
- 16/63: gnu: lout: Add input ghostscript., Mark H. Weaver, 2016/08/04
- 08/63: gnu: Add 'ghostscript-gs' and 'ghostscript-gs-with-x'., Mark H. Weaver, 2016/08/04
- 12/63: gnu: lpsolve: Fail as early as possible.,
Mark H. Weaver <=
- 45/63: gnu: perl-xml-libxml: Update to 2.0128., Mark H. Weaver, 2016/08/04
- 46/63: gnu: python-alembic: Update to 0.8.7., Mark H. Weaver, 2016/08/04
- 50/63: gnu: tcc: Use "kernel-headers" instead of "linux-headers" to designate input., Mark H. Weaver, 2016/08/04
- 43/63: gnu: Add glibc 2.22., Mark H. Weaver, 2016/08/04
- 23/63: gnu: r-genomicfeatures: Update to 1.24.5., Mark H. Weaver, 2016/08/04
- 24/63: gnu: r-genomeinfodb: Update to 1.8.3., Mark H. Weaver, 2016/08/04
- 20/63: Merge remote-tracking branch 'origin/master' into core-updates, Mark H. Weaver, 2016/08/04
- 28/63: gnu: r-biostrings: Update to 2.40.2., Mark H. Weaver, 2016/08/04
- 02/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 60/63: gnu: texlive-texmf: Mark as non-substitutable., Mark H. Weaver, 2016/08/04