[libguestfs/f13/master] Workaround bug that still exists in Gnulib test getlogin_r.

Richard W.M. Jones rjones at fedoraproject.org
Tue Aug 17 18:07:36 UTC 2010


commit 1a2bac989c8108ae81fc8d5eb1e519172c9d6362
Author: Richard Jones <rjones at redhat.com>
Date:   Tue Aug 17 19:07:24 2010 +0100

    Workaround bug that still exists in Gnulib test getlogin_r.

 libguestfs.spec |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/libguestfs.spec b/libguestfs.spec
index 931d210..8c029fd 100644
--- a/libguestfs.spec
+++ b/libguestfs.spec
@@ -42,7 +42,7 @@ Summary:       Access and modify virtual machine disk images
 Name:          libguestfs
 Epoch:         1
 Version:       1.4.2
-Release:       1%{?dist}
+Release:       1.1%{?dist}
 License:       LGPLv2+
 Group:         Development/Libraries
 URL:           http://libguestfs.org/
@@ -492,6 +492,15 @@ export LD_PRELOAD
 # checksum at runtime.
 export SKIP_TEST_CHECKSUM_DEVICE=1
 
+# Work around 'test-getlogin_r.c:55: assertion failed' in Gnulib tests.
+pushd daemon/tests
+borked=test-getlogin_r
+make $borked
+rm $borked
+touch $borked
+chmod +x $borked
+popd
+
 %if %{runtests}
 make check
 %endif
@@ -701,8 +710,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
-* Tue Aug 17 2010 Richard W.M. Jones <rjones at redhat.com> - 1:1.4.2-1
+* Tue Aug 17 2010 Richard W.M. Jones <rjones at redhat.com> - 1:1.4.2-1.1
 - New stable branch version 1.4.2.
+- Workaround bug that still exists in Gnulib test getlogin_r.
 
 * Tue Jul 20 2010 Richard W.M. Jones <rjones at redhat.com> - 1:1.4.1-1.2
 - Requires binutils (RHBZ#616437).


More information about the scm-commits mailing list