ubports / keyboard-component

Moved to https://gitlab.com/ubports/core/lomiri-keyboard
https://gitlab.com/ubports/core/lomiri-keyboard
GNU Lesser General Public License v3.0
10 stars 36 forks source link

Failed to build with crossbuilder #186

Closed joshuatam closed 3 years ago

joshuatam commented 3 years ago

Description

Tried to build with crossbuilder but failed, any ideas how to build with crossbuilder?

OS: Ubuntu 20.04 LXD: 4.0 Git version: latest

Logs:

dh_install -X'*.pyc' --fail-missing
cp: failed to preserve ownership for /home/joshua/ubuntu-keyboard/debian/ubuntu-keyboard-tests///usr/share/maliit/tests/ubuntu-keyboard/testlayout/Keyboard_testlayout_email.qml: No such file or directory
cp: failed to preserve ownership for /home/joshua/ubuntu-keyboard/debian/ubuntu-keyboard-tests///usr/share/maliit/tests/ubuntu-keyboard/testlayout/Keyboard_testlayout_url.qml: No such file or directory
cp: failed to preserve ownership for /home/joshua/ubuntu-keyboard/debian/ubuntu-keyboard-tests///usr/share/maliit/tests/ubuntu-keyboard/testlayout/Keyboard_testlayout_url_search.qml: No such file or directory
dh_install: cd 'debian/tmp//usr/share/maliit/tests/ubuntu-keyboard/..' && find 'ubuntu-keyboard' ! \( -regex .\*\*\\.pyc.\* \) \( -type f -or -type l \) -print0 | LC_ALL=C sort -z | xargs -0 -I {} cp --reflink=auto --parents -dp {} /home/joshua/ubuntu-keyboard/debian/ubuntu-keyboard-tests///usr/share/maliit/tests/ returned exit code 123
debian/rules:37: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 123
make[1]: Leaving directory '/home/joshua/ubuntu-keyboard'
debian/rules:11: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
joshuatam commented 3 years ago

Seems related to vmware folder sharing, directly building inside the VM storage is working fine.