[supermin] Use --disable-largefile to work around glibc bug (32 bit platforms only).

Richard W.M. Jones rjones at fedoraproject.org
Wed Feb 26 17:50:41 UTC 2014


commit d6d40231f2f3d63ffce14a412175844878f598b8
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Wed Feb 26 17:51:25 2014 +0000

    Use --disable-largefile to work around glibc bug (32 bit platforms only).

 supermin.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/supermin.spec b/supermin.spec
index 6757626..776d030 100644
--- a/supermin.spec
+++ b/supermin.spec
@@ -1,7 +1,7 @@
 Summary:       Tool for creating supermin appliances
 Name:          supermin
 Version:       5.1.0
-Release:       1%{?dist}
+Release:       2%{?dist}
 License:       GPLv2+
 
 %if 0%{?rhel} >= 7
@@ -46,7 +46,14 @@ second when you need to boot one of them.
 
 
 %build
-%configure --disable-network-tests
+# Use --disable-largefile to work around glibc bug:
+# https://sourceware.org/bugzilla/show_bug.cgi?id=15838
+# Eventually we will need to fix this properly.
+%configure \
+    --disable-network-tests \
+%ifarch %{ix86} %{arm}
+    --disable-largefile
+%endif
 make
 
 
@@ -72,7 +79,7 @@ make check
 
 
 %changelog
-* Wed Feb 26 2014 Richard W.M. Jones <rjones at redhat.com> - 5.1.0-1
+* Wed Feb 26 2014 Richard W.M. Jones <rjones at redhat.com> - 5.1.0-2
 - New upstream version 5.1.0.
 - Note this is effectively a rewrite, and is not completely compatible.
 - There is no separate 'supermin-helper' subpackage any more.


More information about the scm-commits mailing list