[Pkg-ayatana-devel] Bug#879942: libqtdbusmock: FTBFS on mips: DBus.Error.BadAddress: '=' character not found

Aaron M. Ucko ucko at debian.org
Fri Oct 27 13:37:25 UTC 2017


Source: libqtdbusmock
Version: 0.7+bzr49+repack1-1
Severity: important
Tags: upstream
Justification: fails to build from source
User: debian-mips at lists.debian.org

The mips build of libqtdbusmock failed with BadAddress DBusExceptions
like those observed in #879937, which libqtdbutest managed to escape
there, per the below excerpts from
https://buildd.debian.org/status/fetch.php?pkg=libqtdbusmock&arch=mips&ver=0.7%2Bbzr49%2Brepack1-1&stamp=1509015569&raw=0

Could you please take a look?

Thanks!

------------------------------------------------------------

Running tests...
/usr/bin/ctest --force-new-ctest-process -j4
Test project /<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1/obj-mips-linux-gnu
    Start 1: unit-tests
1/1 Test #1: unit-tests .......................***Failed   62.90 sec
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from TestDBusMock
[ RUN      ] TestDBusMock.StartsDBusMockSession
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/dbusmock/__main__.py", line 81, in <module>
    bus = dbusmock.testcase.DBusTestCase.get_dbus(args.system)
  File "/usr/lib/python3/dist-packages/dbusmock/testcase.py", line 150, in get_dbus
    return dbus.bus.BusConnection(os.environ['DBUS_SESSION_BUS_ADDRESS'])
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.BadAddress: '=' character not found or has no value following it
unknown file: Failure
C++ exception with description "Process [python3] for service [test.name] failed to appear on bus" thrown in the test body.
[  FAILED  ] TestDBusMock.StartsDBusMockSession (14849 ms)
[...]
[ RUN      ] TestDBusMock.GetMethodCalls
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/dbusmock/__main__.py", line 81, in <module>
    bus = dbusmock.testcase.DBusTestCase.get_dbus(args.system)
  File "/usr/lib/python3/dist-packages/dbusmock/testcase.py", line 150, in get_dbus
    return dbus.bus.BusConnection(os.environ['DBUS_SESSION_BUS_ADDRESS'])
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.BadAddress: '=' character not found or has no value following it
unknown file: Failure
C++ exception with description "Process [python3] for service [test.name] failed to appear on bus" thrown in the test body.
[  FAILED  ] TestDBusMock.GetMethodCalls (15257 ms)
[ RUN      ] TestDBusMock.GetAllMethodCalls
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/dbusmock/__main__.py", line 81, in <module>
    bus = dbusmock.testcase.DBusTestCase.get_dbus(args.system)
  File "/usr/lib/python3/dist-packages/dbusmock/testcase.py", line 150, in get_dbus
    return dbus.bus.BusConnection(os.environ['DBUS_SESSION_BUS_ADDRESS'])
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.BadAddress: '=' character not found or has no value following it
unknown file: Failure
C++ exception with description "Process [python3] for service [test.name] failed to appear on bus" thrown in the test body.
[  FAILED  ] TestDBusMock.GetAllMethodCalls (15001 ms)
[ RUN      ] TestDBusMock.AddMethods
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/dbusmock/__main__.py", line 81, in <module>
    bus = dbusmock.testcase.DBusTestCase.get_dbus(args.system)
  File "/usr/lib/python3/dist-packages/dbusmock/testcase.py", line 150, in get_dbus
    return dbus.bus.BusConnection(os.environ['DBUS_SESSION_BUS_ADDRESS'])
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.BadAddress: '=' character not found or has no value following it
unknown file: Failure
C++ exception with description "Process [python3] for service [test.name] failed to appear on bus" thrown in the test body.
[  FAILED  ] TestDBusMock.AddMethods (14999 ms)
[----------] 8 tests from TestDBusMock (62849 ms total)

[----------] Global test environment tear-down
[==========] 8 tests from 1 test case ran. (62849 ms total)
[  PASSED  ] 4 tests.
[  FAILED  ] 4 tests, listed below:
[  FAILED  ] TestDBusMock.StartsDBusMockSession
[  FAILED  ] TestDBusMock.GetMethodCalls
[  FAILED  ] TestDBusMock.GetAllMethodCalls
[  FAILED  ] TestDBusMock.AddMethods

 4 FAILED TESTS


0% tests passed, 1 tests failed out of 1

Total Test time (real) =  62.91 sec

The following tests FAILED:
      1 - unit-tests (Failed)
Errors while running CTest
Makefile:100: recipe for target 'test' failed
make[1]: *** [test] Error 8

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the Pkg-ayatana-devel mailing list