[lapack] 01/02: Fix regression in libblas.a, which was empty since 3.6.1-1.

Sébastien Villemot sebastien at debian.org
Wed May 24 14:45:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository lapack.

commit 83c769439ad4d861fd8a48c2c653d73d14cf5cb1
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Wed May 24 16:20:25 2017 +0200

    Fix regression in libblas.a, which was empty since 3.6.1-1.
    
    The bug has been introduced in the fix for #813309: the $(shell LC_ALL=C ls
    tmp/*.o) construct used to have a consistent ordering of object files is
    evaluated too early, and results in an empty list. Replace it by a $$(env …)
    construct, which is evaluated after the object files have been created.
    
    Gbp-Dch: Full
    Closes: #863258
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6b78d81..1c672bd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -141,7 +141,7 @@ override_dh_auto_build-arch:
 	ar d librefblas.a xerbla.o # We want to use the xerbla.o from libcblas.a
 	mkdir -p tmp
 	cd tmp && ar x ../librefblas.a && ar x ../libcblas.a
-	ar r libblas.a $(shell LC_ALL=C ls tmp/*.o)
+	ar r libblas.a $$(env LC_ALL=C ls tmp/*.o)
 	rm -rf tmp
 
 	# Build the test programs, in order to avoid FTBFS if DEB_BUILD_OPTIONS contains nocheck

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lapack.git



More information about the debian-science-commits mailing list