Building Address Book
#1
Hello,

Recently got a pinephone and I am trying to play around and potentially contribute to ubuntu phone. I am attempting to build the address book from source based on the documentation here
https://docs.ubports.com/en/latest/syste...ice-itself . When I attempt to build the package
Code:
DEB_BUILD_OPTIONS="parallel=2 debug" dpkg-buildpackage -rfakeroot -b
it appears that it succeeds but then fails every unit test and dpkg exits without making the .deb package:
Code:
0% tests passed, 9 tests failed out of 9

Total Test time (real) =   1.70 sec

The following tests FAILED:
          1 - contact_list (Failed)
          2 - Contact_list_model (Failed)
          3 - Contact_list_view (Failed)
          4 - contact_editor (Failed)
          5 - contact_avatar (Failed)
          6 - list_with_actions (Failed)
          7 - contact_preview_page (Failed)
          8 - vcard_parser (Failed)
          9 - ubuntu_contact (Failed)
Errors while running CTest
Makefile:130: recipe for target 'test' failed
make[1]: *** [test] Error 8
make[1]: Leaving directory '/home/phablet/repos/address-book-app/obj-aarch64-linux-gnu'
dh_auto_test: make -j2 test ARGS+=-j2 returned exit code 2
debian/rules:9: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I kept the screen on the pinephone unlocked in case it tried to launch address book to run unit tests on that display but that didn't work.

Any help would be appreciated!


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to disable wifi MAC address randomization? dr.diesel 0 2,355 06-10-2020, 12:54 PM
Last Post: dr.diesel

Forum Jump:


Users browsing this thread: 1 Guest(s)