Hello community, here is the log from the commit of package erlang for openSUSE:Leap:15.2 checked in at 2020-03-02 17:21:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/erlang (Old) and /work/SRC/openSUSE:Leap:15.2/.erlang.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "erlang" Mon Mar 2 17:21:41 2020 rev:37 rq:780504 version:22.2.7 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/erlang/erlang.changes 2020-01-15 14:54:13.277548960 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.erlang.new.26092/erlang.changes 2020-03-02 17:21:49.786119155 +0100 @@ -2 +2 @@ -Sun Dec 01 16:02:00 UTC 2019 - Matwey Kornilov <[email protected]> +Wed Feb 19 14:06:40 UTC 2020 - [email protected] @@ -4,5 +4,157 @@ -- Changes for 20.3.8.24: - * ssh: The ssh cli (e.g shell) server behaved strangely when - characters were inserted in a string so that the last - characters tried to wrap the line. - * common_test: The ct_property_test logging is improved. +- Changes for 22.2.7: + * compiler: Fixed a bug that could cause the compiler to reject + valid code that used the is_map_key/2 BIF. + * compiler: Fixed a bug that could cause the compiler to reject + valid code that matched the same map key several times. + * compiler: The compiler could crash when compiling a convoluted + receive statement. + * compiler: The compiler could crash when a fun was created but + never used. The compiler could crash when compiling the + expression true = 0 / X. + +- jsc#SLE-10913 + +------------------------------------------------------------------- +Sat Feb 15 09:40:37 UTC 2020 - [email protected] + +- Changes for 22.2.6: + * erts: A process could get into an inconsistent state where it + was runnable, but never scheduled for execution. This could + occur when a mix of normal and low priority processes where + scheduled on the same type of dirty scheduler simultaneously. + +------------------------------------------------------------------- +Fri Feb 7 09:01:17 UTC 2020 - Gabriele Santomaggio <[email protected]> + +- Changes for 22.2.5: + * erts: A process could end up in a state where it got + endlessly rescheduled without making any progress. This + occurred when a system task, such as check of process + code (part of a code purge), was scheduled on a high + priority process trying to execute on a dirty + scheduler. + * erts: Improved signal handling for processes executing dirty. + For example, avoid busy wait in dirty signal handler + process when process is doing garbage collection on + dirty scheduler. + * stdlib: A directory traversal vulnerability has been eliminated + in erl_tar. erl_tar will now refuse to extract symlinks + that points outside the targeted extraction directory + and will return {error,{Path,unsafe_symlink}}. (Thanks + to Eric Meadows-Jönsson for the bug report and for + suggesting a fix.) + +------------------------------------------------------------------- +Mon Feb 3 07:59:55 UTC 2020 - Gabriele Santomaggio <[email protected]> + +- Changes for 22.2.4: + * ssl: Enhance error handling, all ALERTS shall be handled + gracefully and not cause a crash. + * ssl: Enhance alert logging, in some places the role + indication of the alert origin was missing. So the log + would say undefined instead of client or server. + * ssl: Two different optimizations did not work together and + resulted in the possible breakage of connections using + stream ciphers (that is RC4). Reworked the + implementation to avoid this. + +------------------------------------------------------------------- +Fri Jan 24 08:08:38 UTC 2020 - [email protected] + +- Changes for 22.2.3: + * ssl: Fix the handling of GREASE values sent by web browsers + when establishing TLS 1.3 connections. This change improves + handling of GREASE values in various protocol elements sent in + a TLS 1.3 ClientHello. + * ssl: Correct DTLS listen emulation, could cause problems with + opening a new DTLS listen socket for a port previously used by + a now closed DTLS listen socket. + * compiler: Fixed a bug in the compiler that could cause it to + reject valid code. + +------------------------------------------------------------------- +Fri Jan 17 08:34:03 UTC 2020 - [email protected] + +- Changes for 22.2.2: + * erts: Taking a scheduler offline could cause timers set while + executing on that scheduler to be delayed until the scheduler + was put online again. This bug was introduced in ERTS version + 10.0 (OTP 21.0). + * erts: The ets:update_counter/4 core dumped when given an + ordered_set with write_concurrency enabled and an invalid + position. This bug has been fixed. + * erts: A process calling erlang:system_flag(multi_scheduling, + block) could end up blocked waiting for the operation to + complete indefinitely. + * erts: Duplicate entries for [socket:]getopt and [socket:]setopt + in man page. + * stdlib: The ets:update_counter/4 core dumped when given an + ordered_set with write_concurrency enabled and an invalid + position. This bug has been fixed. + * crypto: Constant time comparisons added. + * ssh: Fixed that ssh_connection:send could allocate a large + amount of memory if given an iolist() as input data. + * ssh: Safe atom conversions. + * ssh: Constant time comparisons added. +- Changes for 22.2.1: + * erts: Corrected an issue with the new socket api which could + cause a core dump. A race during socket close could cause a + core dump (an invalid nif environment free). + * erts: Corrected an issue with the new socket api which could + cause a core dump. When multiple accept processes waiting for a + connect a connect could cause a core dump. + * snmp: Its now possible to remove selected varbinds (from the + final message) when sending a notification. This is done by + setting the 'value' (in the varbind(s) of the varbinds list) to + '?NOTIFICATION_IGNORE_VB_VALUE'. + * snmp: Its now possible to specify that an oid shall be + "truncated" (trailing ".0" to be removed) when sending an + notification. + * ssl: Add missing alert handling clause for TLS record handling. + Could sometimes cause confusing error behaviors of TLS + connections. + * ssl: Fix handling of ssl:recv that happens during a + renegotiation. Using the passive receive function + ssl:recv/[2,3] during a renegotiation would fail the connection + with unexpected msg. + +------------------------------------------------------------------- +Thu Dec 19 16:04:42 UTC 2019 - Dominique Leuenberger <[email protected]> + +- BuildRequire pkgconfig(libsystemd) instead of systemd-devel: + Allow OBS to shortcut through the -mini flavors. + +------------------------------------------------------------------- +Thu Dec 12 07:55:22 UTC 2019 - Gabriele Santomaggio <[email protected]> + +- Changes for 22.2 + * http://erlang.org/download/OTP-22.2.README + * Highlights: + * erts: The Kernel application's User's Guide now contains a + Logger Cookbook with common usage patterns. + * erts: Numerous improvements in the new socket and net modules + * Standard libraries: common_test: ct_property_test logging is improved + * Standard libraries: ssl: Correct handling of unordered chains so that it + works as expected + * Tools: Emacs erlang-mode function that lets the user open the documentation + for an Erlang/OTP function in an Emacs buffer has been improved. + Users will be asked if they want the man pages downloaded if they are not present + in the system. + +------------------------------------------------------------------- +Wed Nov 27 09:00:15 UTC 2019 - Gabriele Santomaggio <[email protected]> + +- Changes for 22.1.8 + * http://erlang.org/download/OTP-22.1.8.README + * erts: Large amounts of quickly executed dirty work could + cause heavy contention on an internal spin lock. The + spin lock was replaced by a mutex which behaves much + better under these conditions. + +------------------------------------------------------------------- +Mon Nov 11 11:22:05 UTC 2019 - Gabriele Santomaggio <[email protected]> + +- Changes for 22.1.7 + * http://erlang.org/download/OTP-22.1.7.README + * compiler: Fixed a performance bug that caused repeated matches of + large records to take a very long time to compile. @@ -10,5 +162,32 @@ - uses of it had been removed. This occurred either when a - terminating process had a complex exit reason referring to a - literal that concurrently was removed, or when a terminating - process continued executing a dirty NIF accessing a literal - (via the heap) that concurrently was removed. + uses of it had been removed. This occurred either when + a terminating process had a complex exit reason + referring to a literal that concurrently was removed, + or when a terminating process continued executing a + dirty NIF accessing a literal (via the heap) that + concurrently was removed. + * erts: Fix bug causing VM crash due to memory corruption of + distribution entry. Probability of crash increases if + Erlang distribution is frequently disconnected and + reestablished towards same node names. Bug exists since + OTP-21.0. + * erts: Fixed bug causing crash of VM built with configuration + --enable--sharing-preserving. Provoked when a sent + message contains both a bit string and the heap binary + (< 65 bytes) which the bit string was matched from. Bug + exists since OTP-19.0 but has seen to be easier to + provoke since OTP-22.1. + +- Changes for 22.1.6 + * http://erlang.org/download/OTP-22.1.6.README + * compiler, erts: The compiler could do an unsafe optimization of + receives, which would cause a receive to only scan part + of the message queue. + * crypto: The AEAD tag was not previously checked on decrypt with + chacha20_poly1305 + * erts:Fix bug where the receive marker used by the runtime to ++++ 1287 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/erlang/erlang.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.erlang.new.26092/erlang.changes Old: ---- OTP-20.3.8.24.tar.gz crypto.patch New: ---- OTP-22.2.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ erlang.spec ++++++ --- /var/tmp/diff_new_pack.S9D3nl/_old 2020-03-02 17:21:51.118121721 +0100 +++ /var/tmp/diff_new_pack.S9D3nl/_new 2020-03-02 17:21:51.122121729 +0100 @@ -25,8 +25,10 @@ %undefine _missing_build_ids_terminate_build %endif +%{!?make_build:%{expand: %%global make_build %%{__make} %%{?_smp_mflags}}} + Name: erlang -Version: 20.3.8.24 +Version: 22.2.7 Release: 0 # not set up to be built with position independend executable support #!BuildIgnore: gcc-PIE @@ -46,8 +48,6 @@ Patch0: otp-R16B-rpath.patch # PATCH-FIX-OPENSUSE erlang-not-install-misc.patch - [email protected] -- patch from Fedora, this removes unneeded magic Patch4: erlang-not-install-misc.patch -# PATCH-FIX-UPSTREAM crypto.patch - [email protected] -- fix compilation with disabled EC in openssl -Patch5: crypto.patch BuildRequires: autoconf BuildRequires: gcc-c++ BuildRequires: ncurses-devel @@ -62,6 +62,7 @@ BuildRequires: Mesa-devel BuildRequires: fdupes BuildRequires: fop +BuildRequires: dejavu-fonts BuildRequires: java-devel >= 1.6.0 BuildRequires: krb5-devel BuildRequires: update-alternatives @@ -79,13 +80,9 @@ BuildRequires: wxWidgets-devel >= 2.8 %define wx_requires_generator 1 %else -%if 0%{?suse_version} >= 1140 BuildRequires: wxWidgets >= 2.8 BuildRequires: wxWidgets-wxcontainer-devel >= 2.8 %define wx_requires_generator 1 -%else -BuildRequires: wxGTK-devel >= 2.8 -%endif %endif %endif @@ -95,7 +92,7 @@ %endif %if 0%{?suse_version} >=1230 -BuildRequires: systemd-devel +BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(systemd) %define have_systemd 1 %endif @@ -296,11 +293,7 @@ Summary: A library for wxWidgets support in Erlang Group: Development/Languages/Other Requires: %{name} = %{version} -%if 0%{?suse_version} >= 1140 Requires: wxWidgets >= 2.8 -%else -Requires: wxGTK >= 2.8 -%endif %description wx A Graphics System used to write platform independent user interfaces. @@ -309,7 +302,6 @@ %setup -q -n otp-OTP-%{version} %patch0 -p1 -b .rpath %patch4 -p1 -%patch5 -p1 cp %{S:9} . ./otp_build autoconf @@ -322,6 +314,7 @@ sed -i 's|WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`|WX_LIBS="`$WX_CONFIG_WITH_ARGS --libs` -lGLU"|' lib/wx/configure || return 1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects # we need build only 1.6 target for java # for SLE only %if 0%{?sles_version} >= 10 || 0%{?suse_version} >= 1110 @@ -347,11 +340,10 @@ %endif --enable-shared-zlib # clean stalled files before rebuild them -make %{?_smp_mflags} clean -# should work up to at least -j8 -make %{?_smp_mflags} +%make_build clean +%make_build # to build the docs, just compiled erlang is required -PATH=$PWD/bin:$PATH make %{?_smp_mflags} docs +PATH=$PWD/bin:$PATH %make_build docs %install %if 0%{?sles_version} >= 10 @@ -399,13 +391,11 @@ (load-library "erlang-start") EOF -%if 0%{?suse_version} > 1020 # hardlink duplicates: find . -name "start_erl*" | xargs chmod 755 %fdupes %{buildroot}/%{_libdir}/erlang # %%doc macro copies the files to the package doc dir, hardlinks thus don't work %fdupes -s erlang_doc -%endif install -d -m 0750 %{buildroot}%{epmd_home} install -d -m 0755 %{buildroot}%{_sbindir} @@ -415,9 +405,9 @@ ln -s /sbin/service %{buildroot}%{_sbindir}/rcepmd %else ln -s /etc/init.d/epmd %{buildroot}%{_sbindir}/rcepmd -%endif install -D -m 0755 %{S:4} %{buildroot}/etc/init.d/epmd install -D -m 0644 %{S:5} %{buildroot}%{_fillupdir}/sysconfig.erlang +%endif install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang %pre epmd @@ -447,8 +437,8 @@ %{insserv_cleanup} %files -%defattr(-,root,root) -%doc AUTHORS LICENSE.txt README +%license LICENSE.txt +%doc AUTHORS README %if 0%{?have_systemd} %doc README.SUSE %endif @@ -472,13 +462,6 @@ %{_libdir}/erlang/lib/asn1-*/ %{_libdir}/erlang/lib/common_test-*/ %{_libdir}/erlang/lib/compiler-*/ -%{_libdir}/erlang/lib/cosEvent-*/ -%{_libdir}/erlang/lib/cosEventDomain-*/ -%{_libdir}/erlang/lib/cosFileTransfer-*/ -%{_libdir}/erlang/lib/cosNotification-*/ -%{_libdir}/erlang/lib/cosProperty-*/ -%{_libdir}/erlang/lib/cosTime-*/ -%{_libdir}/erlang/lib/cosTransactions-*/ %{_libdir}/erlang/lib/crypto-*/ %{_libdir}/erlang/lib/edoc-*/ %{_libdir}/erlang/lib/eldap-*/ @@ -487,15 +470,14 @@ %{_libdir}/erlang/lib/erts-*/ %{_libdir}/erlang/lib/eunit-*/ %{_libdir}/erlang/lib/hipe-*/ -%{_libdir}/erlang/lib/ic-*/ +%{_libdir}/erlang/lib/ftp-*/ %{_libdir}/erlang/lib/inets-*/ %{_libdir}/erlang/lib/kernel-*/ %{_libdir}/erlang/lib/megaco-*/ %{_libdir}/erlang/lib/mnesia-*/ %{_libdir}/erlang/lib/odbc-*/ -%{_libdir}/erlang/lib/orber-*/ +%{_libdir}/erlang/lib/tftp-*/ %{_libdir}/erlang/lib/os_mon-*/ -%{_libdir}/erlang/lib/otp_mibs-*/ %{_libdir}/erlang/lib/parsetools-*/ %{_libdir}/erlang/lib/public_key-*/ %{_libdir}/erlang/lib/runtime_tools-*/ @@ -551,10 +533,11 @@ %if 0%{?have_systemd} %{_unitdir}/epmd.service %{_unitdir}/epmd.socket -%endif +%else /etc/init.d/epmd -%{_sbindir}/rcepmd %{_fillupdir}/sysconfig.erlang +%endif +%{_sbindir}/rcepmd %files jinterface %defattr(-,root,root,-) ++++++ OTP-20.3.8.24.tar.gz -> OTP-22.2.7.tar.gz ++++++ /work/SRC/openSUSE:Leap:15.2/erlang/OTP-20.3.8.24.tar.gz /work/SRC/openSUSE:Leap:15.2/.erlang.new.26092/OTP-22.2.7.tar.gz differ: char 12, line 1 ++++++ README.SUSE ++++++ --- /var/tmp/diff_new_pack.S9D3nl/_old 2020-03-02 17:21:51.182121845 +0100 +++ /var/tmp/diff_new_pack.S9D3nl/_new 2020-03-02 17:21:51.182121845 +0100 @@ -21,5 +21,6 @@ To enable accepting external connections to EPMd, create ```/etc/systemd/system/epmd.socket.d/port.conf``` with following content: ``` [Socket] +ListenStream= ListenStream=0.0.0.0:4369 ``` ++++++ erlang-not-install-misc.patch ++++++ --- /var/tmp/diff_new_pack.S9D3nl/_old 2020-03-02 17:21:51.246121968 +0100 +++ /var/tmp/diff_new_pack.S9D3nl/_new 2020-03-02 17:21:51.246121968 +0100 @@ -3,17 +3,11 @@ Subject: [PATCH] Do not format man-pages and do not install miscellaneous utilities for dealing with man-pages. -Signed-off-by: Peter Lemenkov <[email protected]> ---- - erts/etc/common/Makefile.in | 4 ---- - erts/etc/unix/Install.src | 10 ---------- - 2 files changed, 14 deletions(-) - -Index: otp-OTP-20.1.2/erts/etc/common/Makefile.in +Index: otp-OTP-22.1/erts/etc/common/Makefile.in =================================================================== ---- otp-OTP-20.1.2.orig/erts/etc/common/Makefile.in -+++ otp-OTP-20.1.2/erts/etc/common/Makefile.in -@@ -495,10 +495,6 @@ endif +--- otp-OTP-22.1.orig/erts/etc/common/Makefile.in ++++ otp-OTP-22.1/erts/etc/common/Makefile.in +@@ -504,10 +504,6 @@ endif ifneq ($(INSTALL_TOP_BIN),) $(INSTALL_PROGRAM) $(INSTALL_TOP_BIN) "$(RELEASE_PATH)" endif @@ -24,11 +18,11 @@ ifneq ($(INSTALL_SRC),) $(INSTALL_DIR) "$(RELEASE_PATH)/erts-$(VSN)/src" $(INSTALL_DATA) $(INSTALL_SRC) "$(RELEASE_PATH)/erts-$(VSN)/src" -Index: otp-OTP-20.1.2/erts/etc/unix/Install.src +Index: otp-OTP-22.1/erts/etc/unix/Install.src =================================================================== ---- otp-OTP-20.1.2.orig/erts/etc/unix/Install.src -+++ otp-OTP-20.1.2/erts/etc/unix/Install.src -@@ -141,14 +141,4 @@ cp -p ../releases/%I_SYSTEM_VSN%/start_* +--- otp-OTP-22.1.orig/erts/etc/unix/Install.src ++++ otp-OTP-22.1/erts/etc/unix/Install.src +@@ -141,14 +141,5 @@ cp -p ../releases/%I_SYSTEM_VSN%/start_* cp -p ../releases/%I_SYSTEM_VSN%/no_dot_erlang.boot . cp -p $Name.boot start.boot cp -p ../releases/%I_SYSTEM_VSN%/$Name.script start.script @@ -41,5 +35,5 @@ - cd "$ERL_ROOT" - ./misc/format_man_pages "$ERL_ROOT" -fi -- + exit 0 ++++++ otp-R16B-rpath.patch ++++++ --- /var/tmp/diff_new_pack.S9D3nl/_old 2020-03-02 17:21:51.290122053 +0100 +++ /var/tmp/diff_new_pack.S9D3nl/_new 2020-03-02 17:21:51.290122053 +0100 @@ -1,8 +1,8 @@ -Index: otp-OTP-20.2.2/lib/crypto/c_src/Makefile.in +Index: otp-OTP-22.1/lib/crypto/c_src/Makefile.in =================================================================== ---- otp-OTP-20.2.2.orig/lib/crypto/c_src/Makefile.in -+++ otp-OTP-20.2.2/lib/crypto/c_src/Makefile.in -@@ -96,7 +96,7 @@ endif +--- otp-OTP-22.1.orig/lib/crypto/c_src/Makefile.in ++++ otp-OTP-22.1/lib/crypto/c_src/Makefile.in +@@ -113,7 +113,7 @@ TEST_ENGINE_LIB = $(LIBDIR)/otp_test_eng DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@ ifeq ($(DYNAMIC_CRYPTO_LIB),yes) @@ -11,10 +11,10 @@ CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME) EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB else -Index: otp-OTP-20.2.2/lib/crypto/priv/Makefile +Index: otp-OTP-22.1/lib/crypto/priv/Makefile =================================================================== ---- otp-OTP-20.2.2.orig/lib/crypto/priv/Makefile -+++ otp-OTP-20.2.2/lib/crypto/priv/Makefile +--- otp-OTP-22.1.orig/lib/crypto/priv/Makefile ++++ otp-OTP-22.1/lib/crypto/priv/Makefile @@ -61,7 +61,7 @@ OBJS = $(OBJDIR)/crypto.o # ----------------------------------------------------
