Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2019-02-26 22:13:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bluez" Tue Feb 26 22:13:14 2019 rev:159 rq:677827 version:5.50 Changes: -------- --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2019-02-04 15:32:57.399107725 +0100 +++ /work/SRC/openSUSE:Factory/.bluez.new.28833/bluez.changes 2019-02-26 22:13:16.254256120 +0100 @@ -1,0 +2,10 @@ +Wed Feb 20 20:22:38 UTC 2019 - Stefan Seyfried <[email protected]> + +- use gcc8 for now to work around boo#1121404 + +------------------------------------------------------------------- +Sat Feb 2 13:35:50 UTC 2019 - Stefan Seyfried <[email protected]> + +- add btmgmt to bluez-test + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bluez.spec ++++++ --- /var/tmp/diff_new_pack.8XhID5/_old 2019-02-26 22:13:17.078255831 +0100 +++ /var/tmp/diff_new_pack.8XhID5/_new 2019-02-26 22:13:17.086255828 +0100 @@ -43,6 +43,12 @@ # fix some memory leak with malformed packet (reported upstream but not yet fixed) Patch101: CVE-2016-9800-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch Patch102: CVE-2016-9804-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch + +# workaround for gcc9 problem, boo#1121404 +%if 0%{?suse_version} >= 1550 +BuildRequires: gcc8 +%define gcc_suf -8 +%endif BuildRequires: automake BuildRequires: flex BuildRequires: libtool @@ -164,6 +170,7 @@ echo AutoEnable=true >> src/main.conf %build +export CC=gcc%{?gcc_suf} # because of patch4... autoreconf -fi # --enable-experimental is needed or btattach does not build (bug?) @@ -186,6 +193,7 @@ make %{?_smp_mflags} all %install +export CC=gcc%{?gcc_suf} %make_install find %{buildroot} -type f -name "*.la" -delete -print install --mode=0644 -D %{SOURCE7} %{buildroot}/%{_sysconfdir}/modprobe.d/50-bluetooth.conf @@ -204,6 +212,8 @@ ## install btgatt-client for -test package, see ## https://www.spinics.net/lists/linux-bluetooth/msg63258.html install -m0755 tools/btgatt-client %{buildroot}%{_bindir} +# btmgmt can be useful +install -m0755 tools/btmgmt %{buildroot}%{_bindir} # for auto-enable subpackage find . -name main.conf @@ -218,6 +228,7 @@ %check %if ! 0%{?qemu_user_space_build} +export CC=gcc%{?gcc_suf} ##make %%{?_smp_mflags} check # deliberately not running parallel, as the test suite has spurious failures otherwise make check V=0 @@ -317,6 +328,7 @@ %{_bindir}/l2test %{_bindir}/rctest %{_bindir}/btgatt-client +%{_bindir}/btmgmt %dir %{_libdir}/bluez %{_libdir}/bluez/test
