Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

can't build with cross-builder #20

Closed
wdehoog opened this issue Nov 3, 2019 · 2 comments · Fixed by #21
Closed

can't build with cross-builder #20

wdehoog opened this issue Nov 3, 2019 · 2 comments · Fixed by #21

Comments

@wdehoog
Copy link

wdehoog commented Nov 3, 2019

When trying to build unity8 with cross-builder I get the following error:

Setting up libgtk-3-0:armhf (3.18.9-1ubuntu3.3) ...
/usr/lib/arm-linux-gnueabihf/libgtk-3-0/gtk-query-immodules-3.0: 1: /usr/lib/arm-linux-gnueabihf/libgtk-3-0/gtk-query-immodules-3.0: Syntax error: word unexpected (expecting ")")
Setting up libgcr-ui-3-1:amd64 (3.18.0-1ubuntu1) ...
Setting up gcr (3.18.0-1ubuntu1) ...
Setting up pinentry-gnome3 (0.9.7-3) ...
Setting up gnome-keyring (3.18.3-0ubuntu2.1) ...
Setting up notification-daemon:armhf (3.18.2-1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for systemd (229-4ubuntu21.22) ...
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.32.2-1ubuntu1.6) ...
Processing triggers for dbus (1.10.6-1ubuntu3.4) ...
mk-build-deps: Unable to install unity8-cross-build-deps at /usr/bin/mk-build-deps line 402.
mk-build-deps: Unable to install all build-dep packages
@lduboeuf
Copy link

lduboeuf commented Nov 3, 2019

ubports/crossbuilder#27

@wdehoog
Copy link
Author

wdehoog commented Nov 4, 2019

also 'apt-get build-dep unity8' fails with

dpkg: error processing archive /var/cache/apt/archives/libunity-api1_8.8+ubports+0~20191030025043.3~1.gbp1dbfc7_armhf.deb (--unpack):
 trying to overwrite '/usr/lib/arm-linux-gnueabihf/libunity-api.so.0.1', which is also in package libunity-api0:armhf 7.121+ubports+0~20190210194219.3~1.gbpda6fef

could it be related?

entering the cross-builder shell and running

sudo dpkg -i unity8-cross-build-deps_8.20+ubportslocal~1572796266_armhf.deb

also fails

@dobey dobey transferred this issue from ubports/unity8 Feb 19, 2020
dobey added a commit that referenced this issue Feb 19, 2020
This adds a Breaks/Conflicts on libunity-api0 for libunity-api1 to resolve
the installability issue when upgrading a system which already ahs the former
installed, due to the ABI break being released without the package name being
fixed to match. Also change the URL to the GitHub URL.

Fixes #20 and ubports/crossbuilder#27
UniversalSuperBox pushed a commit that referenced this issue Feb 19, 2020
* Resolve file conflict with Conflicts/Replaces.

This adds a Conflicts/Replaces on libunity-api0 for libunity-api1 to resolve
the installability issue when upgrading a system which already has the former
installed, due to the ABI break being released without the package name being
fixed to match. Also change the URL to the GitHub URL.

Fixes #20 and ubports/crossbuilder#27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants