1
0

osc copypac from project:Base:build:arm package:gettext-runtime revision:11

OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=49
This commit is contained in:
Dirk Mueller 2011-10-02 12:22:35 +00:00 committed by Git OBS Bridge
parent 16047978b4
commit ec28e8a927
2 changed files with 13 additions and 7 deletions

View File

@ -1,8 +1,12 @@
-------------------------------------------------------------------
Sat Oct 1 02:00:30 UTC 2011 - crrodriguez@opensuse.org
Thu Sep 29 13:27:17 CEST 2011 - dmueller@suse.de
- Test suite hangs in qemu-arm due to bugs in the emulator
workaround this issue.
- fix build
-------------------------------------------------------------------
Thu Sep 29 10:20:07 UTC 2011 - adrian@suse.de
- disable openmp when qemu is used for building (like on arm)
-------------------------------------------------------------------
Fri Jan 7 10:36:22 CET 2011 - meissner@suse.de

View File

@ -114,7 +114,11 @@ autoreconf -fiv
#sh autogen.sh
export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
export CXXFLAGS="$CFLAGS -Dgcc_is_lint"
%configure --enable-shared
%if 0%{?qemu_user_space_build:1}
OPTS="--disable-openmp"
%endif
%configure --enable-shared $OPTS
make %{?_smp_mflags} GMSGFMT=../src/msgfmt
# use texinfo.tex supplied by the system (texinfo)
# make -C gettext-tools/doc gettext.pdf
@ -155,18 +159,16 @@ echo ".so man3/dgettext.3" > dcgettext.3
# s390s fails this test,
# Starting test_recursive_lock ...test-lock: pthread_mutex_lock.c:66: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
%if ! 0%{?qemu_user_space_build}
make check || {
%ifarch s390x
echo "got this during mbuild testing on s390x (on both times which make check ran):"
echo "Starting test_recursive_lock ...test-lock: pthread_mutex_lock.c:66: __pthread_mutex_lock: Assertion mutex->__data.__owner == 0 failed."
echo "s390x needs kernel/glibc/gcc fix, but let it continue bootstrap for now!"
%else
%else
echo "make check failed, check it!"
exit 5
%endif
}
%endif
%clean
rm -rf %{buildroot}