Hello community, here is the log from the commit of package qemu for openSUSE:Factory checked in at 2017-12-03 10:03:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qemu (Old) and /work/SRC/openSUSE:Factory/.qemu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qemu" Sun Dec 3 10:03:55 2017 rev:131 rq:546547 version:2.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/qemu/qemu-linux-user.changes 2017-11-03 16:22:23.569577002 +0100 +++ /work/SRC/openSUSE:Factory/.qemu.new/qemu-linux-user.changes 2017-12-03 10:03:58.727587307 +0100 @@ -1,0 +2,7 @@ +Wed Nov 29 17:31:29 UTC 2017 - brog...@suse.com + +- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 +* Patches added: + 0043-scripts-avoid-usr-bin-python-refere.patch + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/qemu/qemu-testsuite.changes 2017-11-03 16:22:26.717462432 +0100 +++ /work/SRC/openSUSE:Factory/.qemu.new/qemu-testsuite.changes 2017-12-03 10:04:03.663407852 +0100 @@ -1,0 +2,19 @@ +Wed Nov 29 17:31:26 UTC 2017 - brog...@suse.com + +- Avoid ref to /usr/bin/python in vmstate-static-checker.py script + 0043-scripts-avoid-usr-bin-python-refere.patch +- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.10 + +------------------------------------------------------------------- +Tue Nov 28 17:55:42 UTC 2017 - brog...@suse.com + +- For SLE15, it's been decided to stop providing SDL based graphics + due to packaging constraints. Long ago GTK became the default, + and there is little benefit to providing both. For now, keep it + enabled for openSUSE (Tumblweed and Leap), but consider it marked + deprecated there and if no one complains it will be removed for + openSUSE as well in the near future. (fate#324465) +- Fix problem building skiboot.lid + skiboot-build-LDFLAGS-pass-pie-flag-explicitly-to-ld.patch + +------------------------------------------------------------------- qemu.changes: same change New: ---- 0043-scripts-avoid-usr-bin-python-refere.patch skiboot-build-LDFLAGS-pass-pie-flag-explicitly-to-ld.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qemu-linux-user.spec ++++++ --- /var/tmp/diff_new_pack.u5WUDN/_old 2017-12-03 10:04:23.934670838 +0100 +++ /var/tmp/diff_new_pack.u5WUDN/_new 2017-12-03 10:04:23.938670692 +0100 @@ -19,7 +19,7 @@ Name: qemu-linux-user Url: http://www.qemu.org/ Summary: Universal CPU emulator -License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT +License: BSD-3-Clause AND GPL-2.0 AND GPL-2.0+ AND LGPL-2.1+ AND MIT Group: System/Emulators/PC Version: 2.10.1 Release: 0 @@ -68,6 +68,7 @@ Patch0040: 0040-io-monitor-encoutput-buffer-size-fr.patch Patch0041: 0041-cirrus-fix-oob-access-in-mode4and5-.patch Patch0042: 0042-9pfs-use-g_malloc0-to-allocate-spac.patch +Patch0043: 0043-scripts-avoid-usr-bin-python-refere.patch # Please do not add QEMU patches manually here. # Run update_git.sh to regenerate this queue. Source400: update_git.sh @@ -163,6 +164,7 @@ %patch0040 -p1 %patch0041 -p1 %patch0042 -p1 +%patch0043 -p1 %build ./configure \ ++++++ qemu-testsuite.spec ++++++ --- /var/tmp/diff_new_pack.u5WUDN/_old 2017-12-03 10:04:23.970669529 +0100 +++ /var/tmp/diff_new_pack.u5WUDN/_new 2017-12-03 10:04:23.974669383 +0100 @@ -121,7 +121,7 @@ Name: qemu-testsuite Url: http://www.qemu.org/ Summary: Universal CPU emulator -License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT +License: BSD-3-Clause AND GPL-2.0 AND GPL-2.0+ AND LGPL-2.1+ AND MIT Group: System/Emulators/PC Version: 2.10.1 Release: 0 @@ -187,6 +187,7 @@ Patch0040: 0040-io-monitor-encoutput-buffer-size-fr.patch Patch0041: 0041-cirrus-fix-oob-access-in-mode4and5-.patch Patch0042: 0042-9pfs-use-g_malloc0-to-allocate-spac.patch +Patch0043: 0043-scripts-avoid-usr-bin-python-refere.patch # Please do not add QEMU patches manually here. # Run update_git.sh to regenerate this queue. @@ -206,6 +207,7 @@ # skiboot Patch1400: skiboot-GCC7-fixes-for-Wimplicit-fallthr.patch Patch1401: skiboot-libc-stdio-vsnprintf.c-add-expli.patch +Patch1402: skiboot-build-LDFLAGS-pass-pie-flag-explicitly-to-ld.patch # this is to make lint happy Source300: qemu-rpmlintrc @@ -218,10 +220,12 @@ %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build #!BuildIgnore: gcc-PIE +%if 0%{?is_opensuse} BuildRequires: SDL-devel %if 0%{?suse_version} >= 1320 BuildRequires: SDL2-devel %endif +%endif BuildRequires: alsa-devel %if %{build_x86_firmware_from_source} BuildRequires: binutils-devel @@ -894,6 +898,7 @@ %patch0040 -p1 %patch0041 -p1 %patch0042 -p1 +%patch0043 -p1 pushd roms/ipxe %patch1100 -p1 @@ -912,6 +917,7 @@ pushd roms/skiboot %patch1400 -p1 %patch1401 -p1 +%patch1402 -p1 popd # as a safeguard, delete the firmware files that we intend to build @@ -938,7 +944,11 @@ --enable-modules \ --enable-pie \ --enable-docs \ +%if 0%{?is_opensuse} --audio-drv-list="pa alsa sdl oss" \ +%else + --audio-drv-list="pa alsa oss" \ +%endif --enable-attr \ --enable-bluez \ %if 0%{?suse_version} >= 1130 @@ -1031,12 +1041,16 @@ --disable-rdma \ %endif --enable-replication \ +%if 0%{?is_opensuse} --enable-sdl \ %if 0%{?suse_version} >= 1320 --with-sdlabi=2.0 \ %else --with-sdlabi=1.2 \ %endif +%else + --disable-sdl \ +%endif %if 0%{?with_seccomp} --enable-seccomp \ %else ++++++ qemu.spec ++++++ --- /var/tmp/diff_new_pack.u5WUDN/_old 2017-12-03 10:04:23.998668511 +0100 +++ /var/tmp/diff_new_pack.u5WUDN/_new 2017-12-03 10:04:24.002668365 +0100 @@ -121,7 +121,7 @@ Name: qemu Url: http://www.qemu.org/ Summary: Universal CPU emulator -License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT +License: BSD-3-Clause AND GPL-2.0 AND GPL-2.0+ AND LGPL-2.1+ AND MIT Group: System/Emulators/PC Version: 2.10.1 Release: 0 @@ -187,6 +187,7 @@ Patch0040: 0040-io-monitor-encoutput-buffer-size-fr.patch Patch0041: 0041-cirrus-fix-oob-access-in-mode4and5-.patch Patch0042: 0042-9pfs-use-g_malloc0-to-allocate-spac.patch +Patch0043: 0043-scripts-avoid-usr-bin-python-refere.patch # Please do not add QEMU patches manually here. # Run update_git.sh to regenerate this queue. @@ -206,6 +207,7 @@ # skiboot Patch1400: skiboot-GCC7-fixes-for-Wimplicit-fallthr.patch Patch1401: skiboot-libc-stdio-vsnprintf.c-add-expli.patch +Patch1402: skiboot-build-LDFLAGS-pass-pie-flag-explicitly-to-ld.patch # this is to make lint happy Source300: qemu-rpmlintrc @@ -218,10 +220,12 @@ %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build #!BuildIgnore: gcc-PIE +%if 0%{?is_opensuse} BuildRequires: SDL-devel %if 0%{?suse_version} >= 1320 BuildRequires: SDL2-devel %endif +%endif BuildRequires: alsa-devel %if %{build_x86_firmware_from_source} BuildRequires: binutils-devel @@ -894,6 +898,7 @@ %patch0040 -p1 %patch0041 -p1 %patch0042 -p1 +%patch0043 -p1 pushd roms/ipxe %patch1100 -p1 @@ -912,6 +917,7 @@ pushd roms/skiboot %patch1400 -p1 %patch1401 -p1 +%patch1402 -p1 popd # as a safeguard, delete the firmware files that we intend to build @@ -938,7 +944,11 @@ --enable-modules \ --enable-pie \ --enable-docs \ +%if 0%{?is_opensuse} --audio-drv-list="pa alsa sdl oss" \ +%else + --audio-drv-list="pa alsa oss" \ +%endif --enable-attr \ --enable-bluez \ %if 0%{?suse_version} >= 1130 @@ -1031,12 +1041,16 @@ --disable-rdma \ %endif --enable-replication \ +%if 0%{?is_opensuse} --enable-sdl \ %if 0%{?suse_version} >= 1320 --with-sdlabi=2.0 \ %else --with-sdlabi=1.2 \ %endif +%else + --disable-sdl \ +%endif %if 0%{?with_seccomp} --enable-seccomp \ %else ++++++ 0043-scripts-avoid-usr-bin-python-refere.patch ++++++ >From 4cb98f80ab51823101ee0e387d24d441b0257f0e Mon Sep 17 00:00:00 2001 From: Bruce Rogers <brog...@suse.com> Date: Wed, 29 Nov 2017 10:30:02 -0700 Subject: [PATCH] scripts: avoid /usr/bin/python reference in vmstate-static-checker.py Signed-off-by: Bruce Rogers <brog...@suse.com> --- scripts/vmstate-static-checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vmstate-static-checker.py b/scripts/vmstate-static-checker.py index bcef7ee28e..c1653ea173 100755 --- a/scripts/vmstate-static-checker.py +++ b/scripts/vmstate-static-checker.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Compares vmstate information stored in JSON format, obtained from # the -dump-vmstate QEMU command. ++++++ qemu-linux-user.spec.in ++++++ --- /var/tmp/diff_new_pack.u5WUDN/_old 2017-12-03 10:04:24.406653677 +0100 +++ /var/tmp/diff_new_pack.u5WUDN/_new 2017-12-03 10:04:24.406653677 +0100 @@ -19,7 +19,7 @@ Name: qemu-linux-user Url: http://www.qemu.org/ Summary: Universal CPU emulator -License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT +License: BSD-3-Clause AND GPL-2.0 AND GPL-2.0+ AND LGPL-2.1+ AND MIT Group: System/Emulators/PC QEMU_VERSION Release: 0 ++++++ qemu.spec.in ++++++ --- /var/tmp/diff_new_pack.u5WUDN/_old 2017-12-03 10:04:24.462651642 +0100 +++ /var/tmp/diff_new_pack.u5WUDN/_new 2017-12-03 10:04:24.462651642 +0100 @@ -121,7 +121,7 @@ Name: qemu Url: http://www.qemu.org/ Summary: Universal CPU emulator -License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT +License: BSD-3-Clause AND GPL-2.0 AND GPL-2.0+ AND LGPL-2.1+ AND MIT Group: System/Emulators/PC QEMU_VERSION Release: 0 @@ -165,6 +165,7 @@ # skiboot Patch1400: skiboot-GCC7-fixes-for-Wimplicit-fallthr.patch Patch1401: skiboot-libc-stdio-vsnprintf.c-add-expli.patch +Patch1402: skiboot-build-LDFLAGS-pass-pie-flag-explicitly-to-ld.patch # this is to make lint happy Source300: qemu-rpmlintrc @@ -177,10 +178,12 @@ %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build #!BuildIgnore: gcc-PIE +%if 0%{?is_opensuse} BuildRequires: SDL-devel %if 0%{?suse_version} >= 1320 BuildRequires: SDL2-devel %endif +%endif BuildRequires: alsa-devel %if %{build_x86_firmware_from_source} BuildRequires: binutils-devel @@ -830,6 +833,7 @@ pushd roms/skiboot %patch1400 -p1 %patch1401 -p1 +%patch1402 -p1 popd # as a safeguard, delete the firmware files that we intend to build @@ -856,7 +860,11 @@ --enable-modules \ --enable-pie \ --enable-docs \ +%if 0%{?is_opensuse} --audio-drv-list="pa alsa sdl oss" \ +%else + --audio-drv-list="pa alsa oss" \ +%endif --enable-attr \ --enable-bluez \ %if 0%{?suse_version} >= 1130 @@ -949,12 +957,16 @@ --disable-rdma \ %endif --enable-replication \ +%if 0%{?is_opensuse} --enable-sdl \ %if 0%{?suse_version} >= 1320 --with-sdlabi=2.0 \ %else --with-sdlabi=1.2 \ %endif +%else + --disable-sdl \ +%endif %if 0%{?with_seccomp} --enable-seccomp \ %else ++++++ skiboot-build-LDFLAGS-pass-pie-flag-explicitly-to-ld.patch ++++++ >From d150a119e3721e634ca31f0ec255add7b955a56d Mon Sep 17 00:00:00 2001 From: Nicholas Piggin <npig...@gmail.com> Date: Tue, 18 Jul 2017 20:40:06 +1000 Subject: [PATCH] build: LDFLAGS pass -pie flag explicitly to ld When building with some toolchains, the gcc -pie option does not enable the linker pie without explicitly passing it to ld, resulting in a non-PIE binary that silently fails (due to relocation failure). This was observed with the powerpc64le cross compiler for Debian. Pass -Wl,-pie explicitly, which allows the powerpc64le toolchain to create a position independnet binary that boots. Signed-off-by: Nicholas Piggin <npig...@gmail.com> Signed-off-by: Stewart Smith <stew...@linux.vnet.ibm.com> Signed-off-by: Bruce Rogers <brog...@suse.com> --- Makefile.main | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.main b/Makefile.main index 35d16095..07e143fd 100644 --- a/Makefile.main +++ b/Makefile.main @@ -85,6 +85,7 @@ CFLAGS += $(call try-cflag,$(CC),-Wjump-misses-init) \ CFLAGS += $(CWARNS) $(OPTS) $(DBG) LDFLAGS := -m64 -static -nostdlib -pie +LDFLAGS += -Wl,-pie LDFLAGS += -Wl,-Ttext-segment,$(LD_TEXT) -Wl,-N -Wl,--build-id=none LDFLAGS += -Wl,--no-multi-toc LDFLAGS += -mbig-endian -Wl,--oformat,elf64-powerpc -- 2.15.0 ++++++ supported.arm.txt ++++++ --- /var/tmp/diff_new_pack.u5WUDN/_old 2017-12-03 10:04:24.506650042 +0100 +++ /var/tmp/diff_new_pack.u5WUDN/_new 2017-12-03 10:04:24.506650042 +0100 @@ -95,8 +95,8 @@ direct hugetlb usage. Physical PCI and USB devices may also be passed through to the guest, including SR-IOV VF's. -- The guest UI is accessable via GTK, SDL, VNC, Spice, and serial (including - curses TUI) interfaces. +- The guest UI is accessable via GTK, VNC, Spice, and serial (including curses + TUI) interfaces. - Guest timekeeping is supported in a variety of ways, including a paravirtual clocksource, and options for the various guest clocks for how to handle the @@ -172,6 +172,8 @@ - These previously supported command line options are no longer recognized: -device pc-sysfw (no longer needed) + -display sdl + -sdl - Specifying a cpu feature with both "+feature/-feature" and "feature=on/off" will now cause a warning. The current behavior for this combination where @@ -292,7 +294,6 @@ -s -S -sandbox ... - -sdl -serial ... -show-cursor -smbios ... @@ -644,6 +645,7 @@ -qtest-log ... -rotate -sd file + -sdl -set ... -singlestep -snapshot ++++++ supported.ppc.txt ++++++ --- /var/tmp/diff_new_pack.u5WUDN/_old 2017-12-03 10:04:24.530649169 +0100 +++ /var/tmp/diff_new_pack.u5WUDN/_new 2017-12-03 10:04:24.530649169 +0100 @@ -95,8 +95,8 @@ direct hugetlb usage. Physical PCI and USB devices may also be passed through to the guest, including SR-IOV VF's. -- The guest UI is accessable via GTK, SDL, VNC, Spice, and serial (including - curses TUI) interfaces. +- The guest UI is accessable via GTK, VNC, Spice, and serial (including curses + TUI) interfaces. - Guest timekeeping is supported in a variety of ways, including a paravirtual clocksource, and options for the various guest clocks for how to handle the @@ -172,6 +172,8 @@ - These previously supported command line options are no longer recognized: -device pc-sysfw (no longer needed) + -display sdl + -sdl - Specifying a cpu feature with both "+feature/-feature" and "feature=on/off" will now cause a warning. The current behavior for this combination where @@ -291,7 +293,6 @@ -s -S -sandbox ... - -sdl -serial ... -show-cursor -smbios ... @@ -587,6 +588,7 @@ -qtest-log ... -rotate -sd file + -sdl -set ... -singlestep -snapshot ++++++ supported.s390.txt ++++++ --- /var/tmp/diff_new_pack.u5WUDN/_old 2017-12-03 10:04:24.558648151 +0100 +++ /var/tmp/diff_new_pack.u5WUDN/_new 2017-12-03 10:04:24.558648151 +0100 @@ -96,8 +96,8 @@ direct hugetlb usage. Physical PCI devices may also be passed through to the guest, including SR-IOV VF's. -- The guest UI is accessable via GTK, SDL, VNC, Spice, and serial (including - curses TUI) interfaces. +- The guest UI is accessable via GTK, VNC, Spice, and serial (including curses + TUI) interfaces. - Guest timekeeping is supported in a variety of ways, including a paravirtual clocksource, and options for the various guest clocks for how to handle the @@ -173,6 +173,8 @@ - These previously supported command line options are no longer recognized: -device pc-sysfw (no longer needed) + -display sdl + -sdl - Specifying a cpu feature with both "+feature/-feature" and "feature=on/off" will now cause a warning. The current behavior for this combination where @@ -287,7 +289,6 @@ -s -S -sandbox ... - -sdl -serial ... -show-cursor -smp ... @@ -597,6 +598,7 @@ -qtest-log ... -rotate -sd file + -sdl -set ... -singlestep -smbios ... ++++++ supported.x86.txt ++++++ --- /var/tmp/diff_new_pack.u5WUDN/_old 2017-12-03 10:04:24.590646988 +0100 +++ /var/tmp/diff_new_pack.u5WUDN/_new 2017-12-03 10:04:24.590646988 +0100 @@ -109,8 +109,8 @@ direct hugetlb usage. Physical PCI and USB devices may also be passed through to the guest, including SR-IOV VF's. -- The guest UI is accessable via GTK, SDL, VNC, Spice, and serial (including - curses TUI) interfaces. +- The guest UI is accessable via GTK, VNC, Spice, and serial (including curses + TUI) interfaces. - Guest timekeeping is supported in a variety of ways, including a paravirtual clocksource, and options for the various guest clocks for how to handle the @@ -213,6 +213,8 @@ - These previously supported command line options are no longer recognized: -device pc-sysfw (no longer needed) + -display sdl + -sdl - Specifying a cpu feature with both "+feature/-feature" and "feature=on/off" will now cause a warning. The current behavior for this combination where @@ -401,7 +403,6 @@ -s -S -sandbox ... - -sdl -serial ... -show-cursor -smbios ... @@ -708,6 +709,7 @@ -qtest-log ... -rotate -sd file + -sdl -set ... -singlestep -snapshot