<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Crossbuilder - mk-build-deps]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I'm trying to get the crossbuilder working on the example in the documentation. But I'm stuck on an some thing to do with mk-build-deps??</p>
<p dir="auto">So I'm using qemu/kvm running Ubuntu 18.04.3.... fresh install...</p>
<pre><code> crossbuilder setup-lxd
 cd ~/src/git/address-book-app
</code></pre>
<p dir="auto">Then</p>
<pre><code>  bash -x crossbuilder
</code></pre>
<p dir="auto">a lot of output... but the last command is:</p>
<pre><code>+ lxc exec address-book-app-usdk-16-04-amd64-armhf-dev -- sh -c 'mk-build-deps                 -t '\''apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y'\''                 -i --host-arch armhf                 /home/demo/patched_debian_control'
dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_gencontrol debug symbol wrapper: all non-arch-all packages for this build platform armhf: address-book-app-cross-build-deps 
dh_gencontrol debug symbol wrapper: packages to act on: address-book-app-cross-build-deps 
dh_gencontrol debug symbol wrapper: ignored packages: 
dh_gencontrol debug symbol wrapper: no debian/address-book-app-cross-build-deps-dbgsym, skipping package address-book-app-cross-build-deps
dh_md5sums
dh_builddeb
dpkg-deb: building package 'address-book-app-cross-build-deps' in '../address-book-app-cross-build-deps_1.0_armhf.deb'.

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package address-book-app-cross-build-deps:armhf.
(Reading database ... 53932 files and directories currently installed.)
Preparing to unpack address-book-app-cross-build-deps_1.0_armhf.deb ...
Unpacking address-book-app-cross-build-deps:armhf (1.0) ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies...Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) address-book-app-cross-build-deps [ armhf ] &lt; 1.0 &gt; ( devel )
Broken address-book-app-cross-build-deps:armhf Depends on dh-translations [ armhf ] &lt; none -&gt;  &gt; ( none )
  Removing address-book-app-cross-build-deps:armhf because I can't find dh-translations:armhf
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
  libgl1-mesa-dev:armhf libgl1-mesa-glx:armhf mesa-common-dev:armhf
The following packages will be REMOVED:
  address-book-app-cross-build-deps:armhf
The following NEW packages will be installed:
  libgl1-mesa-dev:armhf libgl1-mesa-glx:armhf mesa-common-dev:armhf
0 upgraded, 3 newly installed, 1 to remove and 16 not upgraded.
1 not fully installed or removed.
Need to get 666 kB of archives.
After this operation, 4218 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main armhf libgl1-mesa-glx armhf 18.0.5-0ubuntu0~16.04.1 [118 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main armhf mesa-common-dev armhf 18.0.5-0ubuntu0~16.04.1 [543 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main armhf libgl1-mesa-dev armhf 18.0.5-0ubuntu0~16.04.1 [4466 B]
Fetched 666 kB in 2s (332 kB/s)               
(Reading database ... 53936 files and directories currently installed.)
Removing address-book-app-cross-build-deps:armhf (1.0) ...
Selecting previously unselected package libgl1-mesa-glx:armhf.
(Reading database ... 53932 files and directories currently installed.)
Preparing to unpack .../libgl1-mesa-glx_18.0.5-0ubuntu0~16.04.1_armhf.deb ...
Unpacking libgl1-mesa-glx:armhf (18.0.5-0ubuntu0~16.04.1) ...
Selecting previously unselected package mesa-common-dev:armhf.
Preparing to unpack .../mesa-common-dev_18.0.5-0ubuntu0~16.04.1_armhf.deb ...
Unpacking mesa-common-dev:armhf (18.0.5-0ubuntu0~16.04.1) ...
Selecting previously unselected package libgl1-mesa-dev:armhf.
Preparing to unpack .../libgl1-mesa-dev_18.0.5-0ubuntu0~16.04.1_armhf.deb ...
Unpacking libgl1-mesa-dev:armhf (18.0.5-0ubuntu0~16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Setting up libgl1-mesa-glx:armhf (18.0.5-0ubuntu0~16.04.1) ...
update-alternatives: using /usr/lib/arm-linux-gnueabihf/mesa/ld.so.conf to provide /etc/ld.so.conf.d/arm-linux-gnueabihf_GL.conf (arm-linux-gnueabihf_gl_conf) in auto mode
Setting up mesa-common-dev:armhf (18.0.5-0ubuntu0~16.04.1) ...
Setting up libgl1-mesa-dev:armhf (18.0.5-0ubuntu0~16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
mk-build-deps: Unable to install address-book-app-cross-build-deps at /usr/bin/mk-build-deps line 402.
mk-build-deps: Unable to install all build-dep packages
+ rm -r /tmp/crossbuilder.caWdHt
</code></pre>
<p dir="auto">any ideas?</p>
]]></description><link>https://forums.ubports.com/topic/3620/crossbuilder-mk-build-deps</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 07:05:46 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/3620.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Dec 2019 19:41:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Crossbuilder - mk-build-deps on Sun, 26 Dec 2021 07:38:56 GMT]]></title><description><![CDATA[<p dir="auto">I'm late to this party, but <a class="plugin-mentions-user plugin-mentions-a" href="/user/erlend" aria-label="Profile: erlend">@<bdi>erlend</bdi></a> is there something that should be fixed in the docs?</p>
]]></description><link>https://forums.ubports.com/post/59239</link><guid isPermaLink="true">https://forums.ubports.com/post/59239</guid><dc:creator><![CDATA[doniks]]></dc:creator><pubDate>Sun, 26 Dec 2021 07:38:56 GMT</pubDate></item><item><title><![CDATA[Reply to Crossbuilder - mk-build-deps on Mon, 30 Dec 2019 20:54:02 GMT]]></title><description><![CDATA[<p dir="auto">Thank you both!</p>
<p dir="auto">It seems to have worked. <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<p dir="auto">However I got a new error.... (but later in the script)... And then I fixed that one too...</p>
<p dir="auto">Seems the dh-translations was still missing... but now I have fixed it....</p>
<p dir="auto">And managed to compile it! <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/263a.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--relaxed" style="height:23px;width:auto;vertical-align:middle" title=":relaxed:" alt="☺" /></p>
]]></description><link>https://forums.ubports.com/post/26736</link><guid isPermaLink="true">https://forums.ubports.com/post/26736</guid><dc:creator><![CDATA[erlend]]></dc:creator><pubDate>Mon, 30 Dec 2019 20:54:02 GMT</pubDate></item><item><title><![CDATA[Reply to Crossbuilder - mk-build-deps on Mon, 30 Dec 2019 20:01:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/erlend" aria-label="Profile: erlend">@<bdi>erlend</bdi></a> This issue is caused by some multilib thing. I have this issue for other packages. It sometimes help to explicitely set the platform. I would try to edit the debian/control file and see if it works with dh-translations:all</p>
<p dir="auto">Please don't think I understand this. I keep on changing stuff till it works.</p>
<p dir="auto">And open an issue on github (for the app or for crossbuilder)</p>
]]></description><link>https://forums.ubports.com/post/26732</link><guid isPermaLink="true">https://forums.ubports.com/post/26732</guid><dc:creator><![CDATA[wdehoog]]></dc:creator><pubDate>Mon, 30 Dec 2019 20:01:42 GMT</pubDate></item><item><title><![CDATA[Reply to Crossbuilder - mk-build-deps on Mon, 30 Dec 2019 20:01:28 GMT]]></title><description><![CDATA[<p dir="auto">The real error is here:</p>
<blockquote>
<p dir="auto">Removing address-book-app-cross-build-deps:armhf because I can't find dh-translations:armhf</p>
</blockquote>
<p dir="auto">This means that the <code>dh-translations</code> package doesn't exist for <code>armhf</code>, and it has not specified how it should be installed for cross-building situations.</p>
<p dir="auto">Looking at the <a href="https://packages.ubuntu.com/xenial/dh-translations" rel="nofollow ugc">dh-translations package in xenial on the package tracker</a>, it only has a package available for the <code>all</code> architecture. This means that it can run on any architecture.</p>
<p dir="auto">You can fix this error, therefore, by specifying the architecture you'd like to install in the <code>debian/control</code> file. Add <code>:all</code> after <code>dh-translations</code>, under the <code>Build-Depends:</code> heading. Then try building again.</p>
]]></description><link>https://forums.ubports.com/post/26731</link><guid isPermaLink="true">https://forums.ubports.com/post/26731</guid><dc:creator><![CDATA[UniSuperBox]]></dc:creator><pubDate>Mon, 30 Dec 2019 20:01:28 GMT</pubDate></item></channel></rss>