The package rpms/mozjs38.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/mozjs38.git/commit/?id=a245bda0ec764....
Change: +%ifarch %{ix86}
Thanks.
Full change: ============
commit a245bda0ec764e4a7b739e3537bf611adce00b16 Author: Marek Skalick mskalick@redhat.com Date: Thu Sep 6 10:31:58 2018 +0200
Fix tests by disabling incremental GC Disable optimization on i686 because it cases test failure
diff --git a/mozjs38.spec b/mozjs38.spec index 5f4cff0..d84fe7f 100644 --- a/mozjs38.spec +++ b/mozjs38.spec @@ -3,7 +3,7 @@ Summary: JavaScript interpreter and libraries Name: mozjs%{major} Version: %{major}.8.0 -Release: 10%{?dist} +Release: 11%{?dist} License: MPLv2.0 and BSD and GPLv2+ and GPLv3+ and LGPLv2.1 and LGPLv2.1+ and AFL and ASL 2.0 URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Relea... Source0: https://ftp.mozilla.org/pub/firefox/releases/%%7Bversion%7Desr/source/firefo... @@ -21,7 +21,8 @@ BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(zlib) BuildRequires: readline-devel BuildRequires: /usr/bin/zip -BuildRequires: python-devel +# For build time tests only +BuildRequires: python2-devel BuildRequires: perl-devel BuildRequires: gcc-c++
@@ -49,6 +50,9 @@ you will need to install %{name}-devel. %endif %patch2 -p3
+# To be sure that mozjs38 isn't affected by CVE-2018-5146 +rm -r ../../media/ + %if 0%{?fedora} || 0%{?rhel} > 7 # Correct failed to link tests due to hardened build sed -i 's|"-O2"|"-O2 -fPIC"|' configure @@ -73,16 +77,18 @@ sed -i 's|(void) (DisableExtraThreads())|JS_PUBLIC_API(\1) \2|g' vm/Runti
%build # Need -fpermissive due to some macros using nullptr as bool false -export CFLAGS="%{optflags} -fpermissive -fno-tree-vrp -fno-strict-aliasing" +CFLAGS="%{optflags} -fpermissive -fno-tree-vrp -fno-strict-aliasing" +%ifarch %{ix86} +CFLAGS+=" -O0" +%endif +export CFLAGS export CXXFLAGS="$CFLAGS" export PYTHON=/usr/bin/python2 %configure \ --with-system-nspr \ - --enable-threadsafe \ --enable-readline \ --enable-xterm-updates \ --enable-shared-js \ - --enable-gcgenerational \ --disable-optimize \ --with-system-zlib \ --enable-system-ffi \ @@ -118,7 +124,8 @@ cp %{SOURCE1} . # Skip some tests because bundled icu differs from system rm tests/test262/intl402/ch10/10.2/10.2.3_b.js tests/Intl/DateTimeFormat/format.js tests/ecma_6/String/normalize-generateddata-part1-not-listed.js
-tests/jstests.py -d -s --no-progress ../../js/src/js/src/shell/js +# Incremental GC fails some tests on all architectures +python2 tests/jstests.py -d -s --no-progress ../../js/src/js/src/shell/js -a "--no-incremental-gc"
%post -p /sbin/ldconfig
@@ -134,6 +141,11 @@ tests/jstests.py -d -s --no-progress ../../js/src/js/src/shell/js %{_includedir}/mozjs-%{major}
%changelog +* Thu Sep 06 2018 mskalick@redhat.com - 38.8.0-11 +- Fix tests by disabling incremental GC +- Disable optimization on i686 because it cases test failure +- Add missing BuildRequires: gcc/gcc-c++ + * Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 38.8.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
commit ae69c672039ddc6b67f51e423d89b6d6aab77b27 Author: Marek Skalick mskalick@redhat.com Date: Tue Feb 27 12:22:51 2018 +0100
Add missing BuildRequires: gcc/gcc-c++
diff --git a/mozjs38.spec b/mozjs38.spec index c0fbce9..5f4cff0 100644 --- a/mozjs38.spec +++ b/mozjs38.spec @@ -23,6 +23,7 @@ BuildRequires: readline-devel BuildRequires: /usr/bin/zip BuildRequires: python-devel BuildRequires: perl-devel +BuildRequires: gcc-c++
%description JavaScript is the Netscape-developed object scripting language used in millions
arch-excludes@lists.fedoraproject.org