Hello community, here is the log from the commit of package sbcl for openSUSE:Factory checked in at 2016-08-12 15:42:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sbcl (Old) and /work/SRC/openSUSE:Factory/.sbcl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sbcl" Changes: -------- --- /work/SRC/openSUSE:Factory/sbcl/sbcl.changes 2015-10-03 20:30:37.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sbcl.new/sbcl.changes 2016-08-12 15:42:19.000000000 +0200 @@ -1,0 +2,31 @@ +Sun Jul 24 15:57:01 UTC 2016 - kgronl...@suse.com + +- Update to version 1.3.7 + + enhancement: ported to ARM64 Linux. + + enhancement: a new interpreter is included which has many + benefits over sb-eval. It is disabled by default. See + src/interpreter/README for instructions to enable it, and + further details. + + enhancement: SB-THREAD support for ARM64. + + enhancement: the platform's strtod() is exposed as + SB-POSIX:STRTOD + + enhancement: speed up debug info creation for highly nested + functions. (#1563355) + + enhancement: the interleaved structure slot optimization from + release 1.2.6 has been ported to all architectures. + +- Add $(RPM_OPT_FLAGS) to CFLAGS for Linux builds +- Handle ENOENT from getprotobyname() +- sb-posix: Fix getresuid() and getresgid() + +- Remove sbcl-1.1.17-optflags.patch +- Add 0001-Handle-ENOENT-from-getprotobyname.patch +- Add 0002-sb-posix-Fix-getresuid-and-getresgid.patch +- Add 0003-Add-RPM_OPT_FLAGS-to-CFLAGS-for-Linux-builds.patch + +------------------------------------------------------------------- +Mon Mar 28 22:58:01 UTC 2016 - dval...@suse.com + +- ExcludeArch POWER64 architecture, no POWER64 port available + +------------------------------------------------------------------- Old: ---- sbcl-1.1.17-optflags.patch sbcl-1.2.15-source.tar.bz2 New: ---- 0001-Handle-ENOENT-from-getprotobyname.patch 0002-sb-posix-Fix-getresuid-and-getresgid.patch 0003-Add-RPM_OPT_FLAGS-to-CFLAGS-for-Linux-builds.patch sbcl-1.3.7-source.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sbcl.spec ++++++ --- /var/tmp/diff_new_pack.bSH4Xb/_old 2016-08-12 15:42:20.000000000 +0200 +++ /var/tmp/diff_new_pack.bSH4Xb/_new 2016-08-12 15:42:20.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package sbcl # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: sbcl -Version: 1.2.15 +Version: 1.3.7 Release: 0 Summary: Steel Bank Common Lisp License: SUSE-Public-Domain and BSD-3-Clause @@ -51,8 +51,8 @@ %else BuildRequires: texlive %endif -# PATCH-FIX-OPENSUSE sbcl-1.1.17-optflags.patch based on fedora patch tog...@opensuse.org --use optflags -Patch0: sbcl-1.1.17-optflags.patch +# PATCH-FIX-OPENSUSE Add $(RPM_OPT_FLAGS) to CFLAGS for Linux builds +Patch0: 0003-Add-RPM_OPT_FLAGS-to-CFLAGS-for-Linux-builds.patch # PATCH-FIX-OPENSUSE dont-split-doc.patch from debian author unknown --don't split docs Patch1: dont-split-doc.patch # PATCH-FIX-OPENSUSE install README.openSUSE and sbclrc.sample @@ -65,8 +65,13 @@ Patch6: sbcl-cast.patch # PATCH-FIX-OPENSUSE disable localport bsd sockets tests broken in kvm builds for some tog...@opensuse.org Patch7: disable-localport-bsd-sockets-test.patch +# PATCH-FIX-UPSTREAM Handle ENOENT from getprotobyname() +Patch8: 0001-Handle-ENOENT-from-getprotobyname.patch +# PATCH-FIX-UPSTREAM sb-posix: Fix getresuid() and getresgid(). +Patch9: 0002-sb-posix-Fix-getresuid-and-getresgid.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +ExcludeArch: ppc64 ppc64le %description Steel Bank Common Lisp (SBCL) is a high performance Common Lisp @@ -77,13 +82,15 @@ %prep %setup -q -%patch0 -p1 -b optflags +%patch0 -p1 %patch1 -p1 -b docpatch %patch3 -p1 -b install %patch4 -p1 -b personality %patch5 -p1 -b frlock %patch6 -p1 -b cast %patch7 -p1 -b sockets +%patch8 -p1 +%patch9 -p1 cp %{S:1} . cp %{S:2} . ++++++ 0001-Handle-ENOENT-from-getprotobyname.patch ++++++ >From 5097e4a35e99e2c31a1fa4b09416e147ef407a0b Mon Sep 17 00:00:00 2001 From: Stas Boukarev <stass...@gmail.com> Date: Wed, 6 Jul 2016 17:44:15 +0300 Subject: [PATCH 1/3] Handle ENOENT from getprotobyname() It happens when /etc/protocols is missing. Signal unknown-protocol in that case. Fixes lp#1596043. --- contrib/sb-bsd-sockets/inet.lisp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/contrib/sb-bsd-sockets/inet.lisp b/contrib/sb-bsd-sockets/inet.lisp index ca3cfd0..077ace4 100644 --- a/contrib/sb-bsd-sockets/inet.lisp +++ b/contrib/sb-bsd-sockets/inet.lisp @@ -79,13 +79,16 @@ a list of protocol aliases" name result-buf buffer buffer-length #-solaris result))) (cond ((eql res 0) #-solaris - (when (sb-alien::null-alien (sb-alien:deref result 0)) + (when (sb-alien:null-alien (sb-alien:deref result 0)) (error 'unknown-protocol :name name)) (return-from getprotobyname (protoent-to-values result-buf))) (t - (let ((errno (sb-unix::get-errno))) - (cond ((eql errno sockint::erange) + (let ((errno (sb-alien:get-errno))) + (cond ((eql errno sb-unix:enoent) + ;; Usually caused by missing /etc/protocols + (error 'unknown-protocol :name name)) + ((eql errno sockint::erange) (incf buffer-length 1024) (when (> buffer-length max-buffer) (error "Exceeded max-buffer of ~d" max-buffer))) -- 2.8.4 ++++++ 0002-sb-posix-Fix-getresuid-and-getresgid.patch ++++++ >From 725020472922bff9a2b7cb73e231c739e03f889c Mon Sep 17 00:00:00 2001 From: Stas Boukarev <stass...@gmail.com> Date: Mon, 18 Jul 2016 18:56:30 +0300 Subject: [PATCH 2/3] sb-posix: Fix getresuid() and getresgid(). The functions actually accept three arguments, not zero. Pass pointers to uid-t/gid-t to them, return three values. Fixes lp#1603806 --- contrib/sb-posix/interface.lisp | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/contrib/sb-posix/interface.lisp b/contrib/sb-posix/interface.lisp index 0c9c235..ac31421 100644 --- a/contrib/sb-posix/interface.lisp +++ b/contrib/sb-posix/interface.lisp @@ -280,8 +280,6 @@ ;; uid, gid (define-call "geteuid" uid-t never-fails) ; "always successful", it says - #-sunos - (define-call "getresuid" uid-t never-fails) (define-call "getuid" uid-t never-fails) (define-call "seteuid" int minusp (uid uid-t)) #-sunos @@ -293,7 +291,31 @@ (define-call "getegid" gid-t never-fails) (define-call "getgid" gid-t never-fails) #-sunos - (define-call "getresgid" gid-t never-fails) + (progn + (export '(getresgid getresuid) :sb-posix) + (declaim (inline getresgid getresuid)) + (defun getresgid () + (with-alien ((rgid gid-t) + (egid gid-t) + (sgid gid-t)) + (let ((r + (alien-funcall (extern-alien "getresgid" + (function int (* gid-t) (* gid-t) (* gid-t))) + (addr rgid) (addr egid) (addr sgid)))) + (if (minusp r) + (syscall-error 'getresgid) + (values rgid egid sgid))))) + (defun getresuid () + (with-alien ((ruid uid-t) + (euid uid-t) + (suid uid-t)) + (let ((r + (alien-funcall (extern-alien "getresuid" + (function int (* uid-t) (* uid-t) (* uid-t))) + (addr ruid) (addr euid) (addr suid)))) + (if (minusp r) + (syscall-error 'getresuid) + (values ruid euid suid)))))) (define-call "setegid" int minusp (gid gid-t)) #-sunos (define-call "setfsgid" int minusp (gid gid-t)) -- 2.8.4 ++++++ 0003-Add-RPM_OPT_FLAGS-to-CFLAGS-for-Linux-builds.patch ++++++ >From 97e625f273f84f532e1de5d6121cdbe817176a0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= <k...@koru.se> Date: Sun, 24 Jul 2016 18:12:51 +0200 Subject: [PATCH 3/3] Add $(RPM_OPT_FLAGS) to CFLAGS for Linux builds --- contrib/asdf-module.mk | 2 +- src/runtime/Config.arm64-linux | 2 ++ src/runtime/Config.ppc-linux | 2 +- src/runtime/Config.sparc-linux | 2 ++ src/runtime/Config.x86-64-linux | 2 +- src/runtime/Config.x86-linux | 2 ++ 6 files changed, 9 insertions(+), 3 deletions(-) diff --git a/contrib/asdf-module.mk b/contrib/asdf-module.mk index df134ea..57a53ae 100644 --- a/contrib/asdf-module.mk +++ b/contrib/asdf-module.mk @@ -21,7 +21,7 @@ ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME))) CC:=$(shell cygpath -m $(shell readlink -fn $(shell which $(CC)))) endif ifeq (Linux,$(UNAME)) - EXTRA_CFLAGS=-D_GNU_SOURCE + EXTRA_CFLAGS=-D_GNU_SOURCE $(RPM_OPT_FLAGS) endif export CC SBCL EXTRA_CFLAGS diff --git a/src/runtime/Config.arm64-linux b/src/runtime/Config.arm64-linux index 9d3efd0..5a21bf9 100644 --- a/src/runtime/Config.arm64-linux +++ b/src/runtime/Config.arm64-linux @@ -33,6 +33,8 @@ ifdef LISP_FEATURE_LARGEFILE CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 endif +CFLAGS += $(RPM_OPT_FLAGS) + # Nothing to do for after-grovel-headers. .PHONY: after-grovel-headers after-grovel-headers: diff --git a/src/runtime/Config.ppc-linux b/src/runtime/Config.ppc-linux index f4193ee..5ddb0ea 100644 --- a/src/runtime/Config.ppc-linux +++ b/src/runtime/Config.ppc-linux @@ -9,7 +9,7 @@ # provided with absolutely no warranty. See the COPYING and CREDITS # files for more information. -CFLAGS += -m32 +CFLAGS += -m32 $(RPM_OPT_FLAGS) LINKFLAGS += -v -rdynamic -m32 NM = ./linux-nm diff --git a/src/runtime/Config.sparc-linux b/src/runtime/Config.sparc-linux index 224ee33..2303432 100644 --- a/src/runtime/Config.sparc-linux +++ b/src/runtime/Config.sparc-linux @@ -22,6 +22,8 @@ ifdef LISP_FEATURE_SB_CORE_COMPRESSION OS_LIBS += -lz endif +CFLAGS += $(RPM_OPT_FLAGS) + ifdef LISP_FEATURE_GENCGC GC_SRC = gencgc.c else diff --git a/src/runtime/Config.x86-64-linux b/src/runtime/Config.x86-64-linux index 204eaff..3c289f8 100644 --- a/src/runtime/Config.x86-64-linux +++ b/src/runtime/Config.x86-64-linux @@ -42,7 +42,7 @@ ifdef LISP_FEATURE_SB_CORE_COMPRESSION OS_LIBS += -lz endif -CFLAGS += -fno-omit-frame-pointer +CFLAGS += -fno-omit-frame-pointer $(RPM_OPT_FLAGS) GC_SRC = gencgc.c diff --git a/src/runtime/Config.x86-linux b/src/runtime/Config.x86-linux index 117630b..0aa0e0c 100644 --- a/src/runtime/Config.x86-linux +++ b/src/runtime/Config.x86-linux @@ -49,6 +49,8 @@ LINKFLAGS += -nopie LDFLAGS += -nopie endif +CFLAGS += $(RPM_OPT_FLAGS) + GC_SRC = gencgc.c # Nothing to do for after-grovel-headers. -- 2.8.4 ++++++ sbcl-1.2.15-source.tar.bz2 -> sbcl-1.3.7-source.tar.bz2 ++++++ ++++ 108775 lines of diff (skipped)