PINE64
Building Address Book - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: UBPorts on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=125)
+---- Thread: Building Address Book (/showthread.php?tid=12287)



Building Address Book - alltrue - 11-23-2020

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/systemdev/testing-locally.html#building-on-the-device-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!