Created attachment 472668 [details] net-wireless/bluez-5.45:20170515-161358.log PASS: unit/test-lib x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -c -o unit/test-gatt.o unit/test-gatt.c /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pie -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o unit/test-gatt unit/test-gatt.o src/libshared-glib.la lib/libbluetooth-internal.la -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 libtool: link: x86_64-pc-linux-gnu-gcc -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pie -Wl,-O1 -Wl,--hash-style=gnu -o unit/test-gatt unit/test-gatt.o -pthread -Wl,--as-needed src/.libs/libshared-glib.a lib/.libs/libbluetooth-internal.a -lgthread-2.0 -lglib-2.0 -pthread ./test-driver: line 107: 654929 Segmentation fault "$@" > $log_file 2>&1 FAIL: unit/test-gatt x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -c -o unit/test-hog.o unit/test-hog.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -c -o profiles/input/hog-lib.o profiles/input/hog-lib.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -c -o profiles/scanparam/scpp.o profiles/scanparam/scpp.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -c -o profiles/battery/bas.o profiles/battery/bas.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -c -o profiles/deviceinfo/dis.o profiles/deviceinfo/dis.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -c -o attrib/att.o attrib/att.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -c -o attrib/gatt.o attrib/gatt.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -c -o attrib/gattrib.o attrib/gattrib.c /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pie -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o unit/test-hog unit/test-hog.o btio/btio.o profiles/input/hog-lib.o profiles/scanparam/scpp.o profiles/battery/bas.o profiles/deviceinfo/dis.o src/log.o attrib/att.o attrib/gatt.o attrib/gattrib.o src/libshared-glib.la lib/libbluetooth-internal.la -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 libtool: link: x86_64-pc-linux-gnu-gcc -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pie -Wl,-O1 -Wl,--hash-style=gnu -o unit/test-hog unit/test-hog.o btio/btio.o profiles/input/hog-lib.o profiles/scanparam/scpp.o profiles/battery/bas.o profiles/deviceinfo/dis.o src/log.o attrib/att.o attrib/gatt.o attrib/gattrib.o -pthread -Wl,--as-needed src/.libs/libshared-glib.a lib/.libs/libbluetooth-internal.a -lgthread-2.0 -lglib-2.0 -pthread PASS: unit/test-hog x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -c -o unit/test-gattrib.o unit/test-gattrib.c /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pie -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o unit/test-gattrib unit/test-gattrib.o attrib/gattrib.o btio/btio.o src/log.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 -ldbus-1 -ldl -lrt libtool: link: x86_64-pc-linux-gnu-gcc -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pie -Wl,-O1 -Wl,--hash-style=gnu -o unit/test-gattrib unit/test-gattrib.o attrib/gattrib.o btio/btio.o src/log.o -pthread -Wl,--as-needed lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lgthread-2.0 -lglib-2.0 -ldbus-1 -ldl -lrt -pthread PASS: unit/test-gattrib x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -DMIDI_TEST -O2 -c -o unit/unit_test_midi-test-midi.o `test -f 'unit/test-midi.c' || echo './'`unit/test-midi.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -DMIDI_TEST -O2 -c -o profiles/midi/unit_test_midi-libmidi.o `test -f 'profiles/midi/libmidi.c' || echo './'`profiles/midi/libmidi.c /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -DMIDI_TEST -O2 -pie -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o unit/test-midi unit/unit_test_midi-test-midi.o profiles/midi/unit_test_midi-libmidi.o src/libshared-glib.la -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lasound libtool: link: x86_64-pc-linux-gnu-gcc -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -DMIDI_TEST -O2 -pie -Wl,-O1 -Wl,--hash-style=gnu -o unit/test-midi unit/unit_test_midi-test-midi.o profiles/midi/unit_test_midi-libmidi.o -pthread -Wl,--as-needed src/.libs/libshared-glib.a -lgthread-2.0 -lglib-2.0 -lasound -pthread PASS: unit/test-midi ============================================================================ Testsuite summary for bluez 5.45 ============================================================================ # TOTAL: 26 # PASS: 25 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See ./test-suite.log ============================================================================ make[3]: *** [Makefile:8504: test-suite.log] Error 1 make[2]: *** [Makefile:8612: check-TESTS] Error 2 make[1]: *** [Makefile:8996: check-am] Error 2 make: *** [Makefile:8998: check] Error 2 * ERROR: net-wireless/bluez-5.45::gentoo failed (test phase): * Make check failed. See above for details. * * Call stack: * ebuild.sh, line 115: Called src_test * environment, line 3887: Called multilib-minimal_src_test * environment, line 2343: Called multilib_foreach_abi 'multilib-minimal_abi_src_test' * environment, line 2515: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_test' * environment, line 2208: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_test' * environment, line 2206: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_test' * environment, line 549: Called multilib-minimal_abi_src_test * environment, line 2337: Called multilib_src_test * environment, line 2793: Called default * phase-functions.sh, line 807: Called default_src_test * phase-functions.sh, line 836: Called __eapi0_src_test * phase-helpers.sh, line 763: Called die * The specific snippet of code: * $emake_cmd ${internal_opts} check || \ * die "Make check failed. See above for details."
Created attachment 472670 [details] $WORKDIR/bluez-5.45-abi_x86_64.amd64/test-suite.log /robustness/no-reliable-characteristic - init /robustness/no-reliable-characteristic - setup /robustness/no-reliable-characteristic - setup complete /robustness/no-reliable-characteristic - run /robustness/no-reliable-characteristic - test passed /robustness/no-reliable-characteristic - teardown /robustness/no-reliable-chaFAIL unit/test-gatt (exit status: 139)
occam ~ # dmesg | tail -n 2 [770998.531982] traps: test-gatt[654929] general protection ip:442774fbf4 sp:3eabc204b50 error:0 [770998.531992] in test-gatt[4427704000+69000]
*** Bug 623892 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb5b9e0040ae2ed733dedbf282801136fe368aeb commit eb5b9e0040ae2ed733dedbf282801136fe368aeb Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2020-03-11 15:04:47 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2020-03-11 15:04:47 +0000 net-wireless/bluez: Version bump to 5.53 Also check for needed kernel options for regular bluetooth usage and test suite. Use python3. Thanks-to: Joakim Tjernlund Closes: https://bugs.gentoo.org/711430 Closes: https://bugs.gentoo.org/618548 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Pacho Ramos <pacho@gentoo.org> net-wireless/bluez/Manifest | 1 + net-wireless/bluez/bluez-5.53.ebuild | 294 +++++++++++++++++++++++++++++++++++ 2 files changed, 295 insertions(+)