Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package swtpm for openSUSE:Factory checked 
in at 2023-03-24 15:15:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/swtpm (Old)
 and      /work/SRC/openSUSE:Factory/.swtpm.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "swtpm"

Fri Mar 24 15:15:57 2023 rev:14 rq:1073549 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/swtpm/swtpm.changes      2023-03-08 
14:51:31.418333328 +0100
+++ /work/SRC/openSUSE:Factory/.swtpm.new.31432/swtpm.changes   2023-03-24 
15:16:01.145496926 +0100
@@ -1,0 +2,6 @@
+Tue Mar 21 12:45:54 UTC 2023 - Marcus Meissner <[email protected]>
+
+- swtpm-fix-build.patch: disable -Wstack-protector, it fails on s390x
+  bsc#1209117
+
+-------------------------------------------------------------------

New:
----
  swtpm-fix-build.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ swtpm.spec ++++++
--- /var/tmp/diff_new_pack.kkXGUA/_old  2023-03-24 15:16:01.661499680 +0100
+++ /var/tmp/diff_new_pack.kkXGUA/_new  2023-03-24 15:16:01.665499702 +0100
@@ -32,6 +32,7 @@
 URL:            https://github.com/stefanberger/swtpm
 Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 Source100:      swtpm-rpmlintrc
+Patch0:         swtpm-fix-build.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  expect

++++++ swtpm-fix-build.patch ++++++
Index: swtpm-0.8.0/configure.ac
===================================================================
--- swtpm-0.8.0.orig/configure.ac
+++ swtpm-0.8.0/configure.ac
@@ -418,11 +418,11 @@ if test "x$enable_hardening" != "xno"; t
        # Some versions of gcc fail with -Wstack-protector,
        # some with -Wstack-protector-strong enabled
        if ! $CC -fstack-protector-strong -Wstack-protector 
$srcdir/include/swtpm/tpm_ioctl.h 2>/dev/null; then
-               if $CC -fstack-protector -Wstack-protector 
$srcdir/include/swtpm/tpm_ioctl.h 2>/dev/null; then
-                       HARDENING_CFLAGS="-fstack-protector -Wstack-protector"
+               if $CC -fstack-protector $srcdir/include/swtpm/tpm_ioctl.h 
2>/dev/null; then
+                       HARDENING_CFLAGS="-fstack-protector"
                fi
        else
-               HARDENING_CFLAGS="-fstack-protector-strong -Wstack-protector"
+               HARDENING_CFLAGS="-fstack-protector-strong"
        fi
 
        dnl Only support -D_FORTIFY_SOURCE=2 and have higher levels passed in 
by user

Reply via email to