The package rpms/mozjs24.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/mozjs24.git/commit/?id=b64f179725b25....
Change: -%ifarch %{arm}
Thanks.
Full change: ============
commit b64f179725b250c30f32597eb3dea4926b203f10 Author: Peter Lemenkov lemenkov@gmail.com Date: Wed Sep 19 14:08:01 2018 +0300
Unmaintained. Obsoleted long time ago. No longer used by any Fedora package.
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 016f8da..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/mozjs-24.*.tar.bz2 diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..64cd605 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Unmaintained. Obsoleted long time ago. No longer used by any Fedora package. diff --git a/js17-build-fixes.patch b/js17-build-fixes.patch deleted file mode 100644 index 4ef5123..0000000 --- a/js17-build-fixes.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 0e27b45a3409e0a5c23e63af9e86048e1e7661da Mon Sep 17 00:00:00 2001 -From: Colin Walters walters@verbum.org -Date: Wed, 18 Jan 2012 22:25:47 -0500 -Subject: [PATCH] build: Add toplevel trampoline configure/Makefile - -These just invoke the ones in js/src. ---- - Makefile | 5 +++++ - configure | 5 +++++ - 2 files changed, 10 insertions(+), 0 deletions(-) - create mode 100644 Makefile - create mode 100755 configure - -diff --git a/Makefile b/Makefile -new file mode 100644 -index 0000000..98de844 ---- /dev/null -+++ b/Makefile -@@ -0,0 +1,5 @@ -+all: -+ cd js/src && $(MAKE) -+ -+install: -+ cd js/src && $(MAKE) install DESTDIR=$(DESTDIR) -diff --git a/configure b/configure -new file mode 100755 -index 0000000..93ef339 ---- /dev/null -+++ b/configure -@@ -0,0 +1,5 @@ -+#!/bin/sh -+# http://people.gnome.org/~walters/docs/build-api.txt -+echo #buildapi-variable-no-builddir >/dev/null -+cd js/src -+exec ./configure "$@" --- -1.7.1 - diff --git a/mozjs24-0001-Add-AArch64-support.patch b/mozjs24-0001-Add-AArch64-support.patch deleted file mode 100644 index 3895fff..0000000 --- a/mozjs24-0001-Add-AArch64-support.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- mozjs-24.2.0/js/src/assembler/jit/ExecutableAllocator.h.orig 2013-10-29 20:40:26.000000000 +0000 -+++ mozjs-24.2.0/js/src/assembler/jit/ExecutableAllocator.h 2014-01-22 16:52:53.603726328 +0000 -@@ -391,6 +391,12 @@ - { - reprotectRegion(start, size, Executable); - } -+#elif WTF_CPU_AARCH64 && WTF_PLATFORM_LINUX -+ static void cacheFlush(void* code, size_t size) -+ { -+ intptr_t end = reinterpret_cast<intptr_t>(code) + size; -+ __builtin___clear_cache(reinterpret_cast<char*>(code), reinterpret_cast<char*>(end)); -+ } - #else - static void makeWritable(void*, size_t) {} - static void makeExecutable(void*, size_t) {} ---- mozjs-24.2.0/js/src/assembler/wtf/Platform.h.orig 2013-10-29 20:40:26.000000000 +0000 -+++ mozjs-24.2.0/js/src/assembler/wtf/Platform.h 2014-01-22 16:52:53.604726300 +0000 -@@ -326,6 +326,10 @@ - #define WTF_THUMB_ARCH_VERSION 0 - #endif - -+/* CPU(AArch64) - 64-bit ARM */ -+#if defined(__aarch64__) -+#define WTF_CPU_AARCH64 1 -+#endif - - /* WTF_CPU_ARMV5_OR_LOWER - ARM instruction set v5 or earlier */ - /* On ARMv5 and below the natural alignment is required. ---- mozjs-24.2.0/js/src/configure.in.orig 2013-12-11 22:22:50.000000000 +0000 -+++ mozjs-24.2.0/js/src/configure.in 2014-01-22 16:52:53.604726300 +0000 -@@ -1018,6 +1018,10 @@ - CPU_ARCH=arm - ;; - -+aarch64) -+ CPU_ARCH=aarch64 -+ ;; -+ - mips|mipsel) - CPU_ARCH="mips" - ;; ---- mozjs-24.2.0/mfbt/double-conversion/utils.h.orig 2014-01-22 16:52:42.596045903 +0000 -+++ mozjs-24.2.0/mfbt/double-conversion/utils.h 2014-01-22 16:52:53.605726272 +0000 -@@ -58,6 +58,7 @@ - defined(__mips__) || defined(__powerpc__) || \ - defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ - defined(__SH4__) || defined(__alpha__) || \ -+ defined(__aarch64__) || \ - defined(_MIPS_ARCH_MIPS32R2) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(_M_IX86) || defined(__i386__) || defined(__i386) diff --git a/mozjs24-48-bit-VA-fix.patch b/mozjs24-48-bit-VA-fix.patch deleted file mode 100644 index 3da8ddd..0000000 --- a/mozjs24-48-bit-VA-fix.patch +++ /dev/null @@ -1,57 +0,0 @@ -From c3ef56fa3239d9133be922059300a6fd2e7c1435 Mon Sep 17 00:00:00 2001 -From: Zheng Xu zheng.xu@linaro.org -Date: Wed, 17 Aug 2016 11:59:15 +0800 -Subject: [PATCH] Bug 1143022 - Manually mmap on arm64 to ensure high 17 bits are clear. r=ehoogeveen - -There might be 48-bit VA on arm64 depending on kernel configuration. -Manually mmap heap memory to align with the assumption made by JS engine. - -Change-Id: Ic5d2b2fe4b758b3c87cc0688348af7e71a991146 ---- - -diff --git a/js/src/gc/Memory.cpp b/js/src/gc/Memory.cpp -index 153ccb4..b2d1311 100644 ---- a/js/src/gc/Memory.cpp -+++ b/js/src/gc/Memory.cpp -@@ -339,6 +339,41 @@ - return MAP_FAILED; - } - return region; -+#elif defined(__aarch64__) -+ /* -+ * There might be similar virtual address issue on arm64 which depends on -+ * hardware and kernel configurations. But the work around is slightly -+ * different due to the different mmap behavior. -+ * -+ * TODO: Merge with the above code block if this implementation works for -+ * ia64 and sparc64. -+ */ -+ const uintptr_t start = (uintptr_t)(0x0000070000000000UL); -+ const uintptr_t end = (uintptr_t)(0x0000800000000000UL); -+ const uintptr_t step = ChunkSize; -+ /* -+ * Optimization options if there are too many retries in practice: -+ * 1. Examine /proc/self/maps to find an available address. This file is -+ * not always available, however. In addition, even if we examine -+ * /proc/self/maps, we may still need to retry several times due to -+ * racing with other threads. -+ * 2. Use a global/static variable with lock to track the addresses we have -+ * allocated or tried. -+ */ -+ uintptr_t hint; -+ void* region = MAP_FAILED; -+ for (hint = start; region == MAP_FAILED && hint + length <= end; hint += step) { -+ region = mmap((void*)hint, length, prot, flags, fd, offset); -+ if (region != MAP_FAILED) { -+ if ((uintptr_t(region) + (length - 1)) & 0xffff800000000000) { -+ if (munmap(region, length)) { -+ MOZ_ASSERT(errno == ENOMEM); -+ } -+ region = MAP_FAILED; -+ } -+ } -+ } -+ return region == MAP_FAILED ? nullptr : region; - #else - return mmap(NULL, length, prot, flags, fd, offset); - #endif diff --git a/mozjs24-hardening-flags.patch b/mozjs24-hardening-flags.patch deleted file mode 100644 index 3b5be74..0000000 --- a/mozjs24-hardening-flags.patch +++ /dev/null @@ -1,81 +0,0 @@ -False positives in configure tests caused by overriding -fPIE in CFLAGS -but not -pie in LDFLAGS - ---- a/js/src/build/autoconf/gcc-pr49911.m4 2013-10-29 15:40:26.000000000 -0500 -+++ b/js/src/build/autoconf/gcc-pr49911.m4 2015-11-08 20:21:30.974969000 -0600 -@@ -15,7 +15,9 @@ AC_LANG_SAVE - AC_LANG_CPLUSPLUS - - _SAVE_CXXFLAGS=$CXXFLAGS -+_SAVE_LDFLAGS=$LDFLAGS - CXXFLAGS="-O2" -+LDFLAGS= - AC_TRY_RUN([ - extern "C" void abort(void); - typedef enum { -@@ -57,6 +59,7 @@ int main(void) { - ac_have_gcc_pr49911="yes", - true) - CXXFLAGS="$_SAVE_CXXFLAGS" -+LDFLAGS="$_SAVE_LDFLAGS" - - AC_LANG_RESTORE - ---- a/js/src/build/autoconf/llvm-pr8927.m4 2013-10-29 15:40:26.000000000 -0500 -+++ b/js/src/build/autoconf/llvm-pr8927.m4 2015-11-08 20:20:47.163405600 -0600 -@@ -13,7 +13,9 @@ AC_LANG_SAVE - AC_LANG_C - - _SAVE_CFLAGS=$CFLAGS -+_SAVE_LDFLAGS=$LDFLAGS - CFLAGS="-O2" -+LDFLAGS= - AC_TRY_RUN([ - struct foobar { - int x; -@@ -37,6 +39,7 @@ int main() { - ac_have_llvm_pr8927="yes", - true) - CFLAGS="$_SAVE_CFLAGS" -+LDFLAGS="$_SAVE_LDFLAGS" - - AC_LANG_RESTORE - ---- a/js/src/configure 2013-12-11 16:23:20.000000000 -0600 -+++ b/js/src/configure 2015-11-08 20:23:47.067750600 -0600 -@@ -9750,7 +9750,9 @@ - - - _SAVE_CXXFLAGS=$CXXFLAGS -+_SAVE_LDFLAGS=$LDFLAGS - CXXFLAGS="-O2" -+LDFLAGS="-O2" - if test "$cross_compiling" = yes; then - true - else -@@ -9809,6 +9811,7 @@ - fi - - CXXFLAGS="$_SAVE_CXXFLAGS" -+LDFLAGS="$_SAVE_LDFLAGS" - - ac_ext=c - # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -@@ -9901,7 +9904,9 @@ - - - _SAVE_CFLAGS=$CFLAGS -+_SAVE_LDFLAGS=$LDFLAGS - CFLAGS="-O2" -+LDFLAGS= - if test "$cross_compiling" = yes; then - true - else -@@ -9942,6 +9947,7 @@ - fi - - CFLAGS="$_SAVE_CFLAGS" -+LDFLAGS="$_SAVE_LDFLAGS" - - ac_ext=c - # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. diff --git a/mozjs24-perl522.patch b/mozjs24-perl522.patch deleted file mode 100644 index 64b2d5e..0000000 --- a/mozjs24-perl522.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/js/src/config/milestone.pl 2013-11-19 13:42:43.000000000 -0600 -+++ b/js/src/config/milestone.pl 2015-11-08 13:41:22.698305000 -0600 -@@ -56,7 +56,7 @@ $MILESTONE_FILE = "$TOPSRCDIR/config/mi - # - my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE); - --if (defined(@TEMPLATE_FILE)) { -+if (@TEMPLATE_FILE) { - my $TFILE; - - foreach $TFILE (@TEMPLATE_FILE) { diff --git a/mozjs24.spec b/mozjs24.spec deleted file mode 100644 index 6c34885..0000000 --- a/mozjs24.spec +++ /dev/null @@ -1,138 +0,0 @@ -Summary: JavaScript interpreter and libraries -Name: mozjs24 -Version: 24.2.0 -Release: 16%{?dist} -License: MPLv2.0 -Group: Development/Languages -URL: http://www.mozilla.org/js/ -Source0: http://ftp.mozilla.org/pub/mozilla.org/js/mozjs-%%7Bversion%7D.tar.bz2 -BuildRequires: gcc -BuildRequires: gcc-c++ -BuildRequires: pkgconfig(nspr) -BuildRequires: readline-devel -BuildRequires: /usr/bin/zip -BuildRequires: /usr/bin/python -BuildRequires: perl(Getopt::Long) - -Patch0: js17-build-fixes.patch -Patch1: mozjs24-0001-Add-AArch64-support.patch -Patch2: mozjs24-hardening-flags.patch -Patch3: mozjs24-perl522.patch -Patch4: mozjs24-48-bit-VA-fix.patch - -%description -JavaScript is the Netscape-developed object scripting language used in millions -of web pages and server applications worldwide. Netscape's JavaScript is a -super set of the ECMA-262 Edition 3 (ECMAScript) standard scripting language, -with only mild differences from the published standard. - -%package devel -Summary: Header files, libraries and development documentation for %{name} -Group: Development/Libraries -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -This package contains the header files, static libraries and development -documentation for %{name}. If you like to develop programs using %{name}, -you will need to install %{name}-devel. - -%prep -%setup -q -n mozjs-%{version} -# Delete bundled sources -rm js/src/editline -rf -rm js/src/ctypes/libffi -rf -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -chmod a+x configure - -%build -%configure \ - --disable-static \ - --with-system-nspr \ - --enable-threadsafe \ - --enable-readline \ -%ifarch %{arm} - --disable-yarr-jit \ - --disable-ion \ -%endif - --enable-xterm-updates -make %{?_smp_mflags} - -%install -make install DESTDIR=%{buildroot} -# For some reason the headers and pkg-config file are executable -find %{buildroot}%{_includedir} -type f -exec chmod a-x {} ; -chmod a-x %{buildroot}%{_libdir}/pkgconfig/*.pc -# Upstream does not honor --disable-static yet -rm -f %{buildroot}%{_libdir}/*.a -# This is also statically linked; once that is fixed that we could -# consider shipping it. -rm -f %{buildroot}%{_bindir}/js24 - -# However, delete js-config since everything should use -# the pkg-config file. -rm -f %{buildroot}%{_bindir}/js24-config - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%doc LICENSE README -%{_libdir}/*.so - -%files devel -%{_libdir}/pkgconfig/*.pc -%{_includedir}/mozjs-24 - -%changelog -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 24.2.0-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Feb 08 2018 Fedora Release Engineering releng@fedoraproject.org - 24.2.0-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering releng@fedoraproject.org - 24.2.0-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering releng@fedoraproject.org - 24.2.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering releng@fedoraproject.org - 24.2.0-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Sep 21 2016 Peter Robinson pbrobinson@fedoraproject.org 24.2.0-11 -- Disable JIT on ARMv7 (fixes rhbz #1378054) - -* Mon Sep 12 2016 Debarshi Ray rishi@fedoraproject.org 24.2.0-10 -- Backport fix for 48-bit VA on Aarch64 (RH #1375305) - -* Thu Feb 04 2016 Fedora Release Engineering releng@fedoraproject.org - 24.2.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Mon Nov 09 2015 Yaakov Selkowitz yselkowi@redhat.com - 24.2.0-8 -- Specify perl module dependencies for F24 - -* Mon Nov 09 2015 Yaakov Selkowitz yselkowi@redhat.com - 24.2.0-7 -- Fix build with hardening flags, Perl 5.22 (#1239699) - -* Wed Jun 17 2015 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 24.2.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sun Aug 17 2014 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 24.2.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 24.2.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Wed Jan 22 2014 Peter Robinson pbrobinson@fedoraproject.org 24.2.0-3 -- Add patch to fix FTBFS on aarch64 - -* Fri Jan 10 2014 Debarshi Ray rishi@fedoraproject.org 24.2.0-2 -- Fix a spelling mistake - -* Thu Jan 09 2014 Debarshi Ray rishi@fedoraproject.org 24.2.0-1 -- Initial spec diff --git a/sources b/sources deleted file mode 100644 index 074e8b2..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -5db79c10e049a2dc117a6e6a3bc78a8e mozjs-24.2.0.tar.bz2