[packages/libreoffice] - set core ulimit to unlimited + BR gdb and findutils to get automatic backtraces when tests segfaul
arekm
arekm at pld-linux.org
Wed Sep 16 17:09:20 CEST 2015
commit 4dba996c65d86dace827294456fc4a7ac0aae4eb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Sep 16 17:09:14 2015 +0200
- set core ulimit to unlimited + BR gdb and findutils to get automatic backtraces when tests segfault
libreoffice.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index 476bd41..7f8ce79 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -112,9 +112,11 @@ BuildRequires: cups-devel
BuildRequires: curl-devel >= 7.9.8
%{?with_system_db:BuildRequires: db-devel}
BuildRequires: dbus-glib-devel >= 0.70
+BuildRequires: findutils
BuildRequires: flex
BuildRequires: fontconfig-devel >= 1.0.1
BuildRequires: freetype-devel >= 2.1
+BuildRequires: gdb
BuildRequires: glew-devel >= 1.10.0
BuildRequires: glib2-devel >= 2.13.5
BuildRequires: gperf
@@ -2880,6 +2882,9 @@ RPM_BUILD_NR_THREADS="1"
%{__autoconf}
touch autogen.lastrun
+# get automatic backtraces while building (required gdb, too)
+ulimit -c unlimited
+
export PATH=$PATH:%{_libdir}/interbase/bin
%configure \
--with-vendor="%{distribution}" \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libreoffice.git/commitdiff/4dba996c65d86dace827294456fc4a7ac0aae4eb
More information about the pld-cvs-commit
mailing list