Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building Mir with crossbuilder fails #36

Open
wdehoog opened this issue Dec 17, 2019 · 1 comment
Open

building Mir with crossbuilder fails #36

wdehoog opened this issue Dec 17, 2019 · 1 comment

Comments

@wdehoog
Copy link

wdehoog commented Dec 17, 2019

When trying to build Mir with crossbuilder it fails with:

COMMON_CONFIGURE_OPTIONS: -DCMAKE_INSTALL_LIBEXECDIR="lib/arm-linux-gnueabihf/mir" -DMIR_ENABLE_WLCS_TESTS=OFF  -DMIR_LINK_TIME_OPTIMIZATION=ON
rm debian/tmp/usr/lib/*/libmirprotobuf.so
dh_install -pmir-utils usr/bin/mirvanity
dh_install
dh_install: usr/bin/mirvanity exists in debian/tmp but is not installed to anywhere
dh_install: missing files, aborting
debian/rules:90: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 2
make[1]: Leaving directory '/home/osboxes/mir'
debian/rules:9: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

@mardy
Copy link
Member

mardy commented Dec 18, 2019

This happens because the debian/rules files behaves differently depending on the version of target distribution; in particular, there are some workarounds applied to the xenial builds. However, when crossbuilder builds the package, it creates a new changelog entry with dch -v, which sets the distribution name to UNRELEASED. This, in turn is what causes the build to fail. I'm moving this bug to crossbuilder.

@mardy mardy transferred this issue from ubports/mir Dec 18, 2019
@mardy mardy changed the title building with crossbuilder fails building Mir with crossbuilder fails Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants