cross compile armhf fails when outside of home

Bug #1497620 reported by Borim
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ubuntu-touch-meta (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I create a new project (QML App with c++ plugin (cmake)) in the ubuntu sdk with armhf kit, than I can compile and run it when the project is created inside my home directory.
Normally I store my source code on a separate partition. But when I create the new project there it does not build. I only get follwing error messages:

21:30:57: Running steps for project cm-test...
21:30:57: Starting: "/home/mat/.config/ubuntu-sdk/ubuntu-sdk-15.04-armhf/make"
E: Failed to change to directory \u2018/Daten/code/uapps/build-cm-test-UbuntuSDK_for_armhf_GCC_ubuntu_sdk_15_04_vivid-Default\u2019: No such file or directory
I: The directory does not exist inside the chroot. Use the --directory option to run the command in a different directory.
Command returned 1: schroot -c 'click-ubuntu-sdk-15.04-armhf-ucca-1000-{96e6fe63-bed5-49f8-b87e-679337b0f2cc}' --run-session -- env DEB_HOST_ARCH_ENDIAN=little DEB_TARGET_GNU_TYPE=arm-linux-gnueabihf DEB_BUILD_ARCH_ENDIAN=little DEB_TARGET_ARCH_CPU=arm DEB_TARGET_GNU_CPU=arm DEB_HOST_MULTIARCH=arm-linux-gnueabihf DEB_TARGET_MULTIARCH=arm-linux-gnueabihf DEB_HOST_ARCH_CPU=arm DEB_TARGET_ARCH=armhf DEB_BUILD_ARCH_BITS=64 DEB_TARGET_ARCH_OS=linux DEB_HOST_GNU_SYSTEM=linux-gnueabihf DEB_HOST_ARCH=armhf DEB_BUILD_GNU_SYSTEM=linux-gnu DEB_HOST_ARCH_OS=linux DEB_BUILD_ARCH_OS=linux DEB_BUILD_MULTIARCH=x86_64-linux-gnu DEB_TARGET_ARCH_ENDIAN=little DEB_BUILD_GNU_CPU=x86_64 DEB_BUILD_ARCH_CPU=amd64 DEB_HOST_ARCH_BITS=32 DEB_BUILD_ARCH=amd64 DEB_HOST_GNU_CPU=arm DEB_BUILD_GNU_TYPE=x86_64-linux-gnu DEB_TARGET_GNU_SYSTEM=linux-gnueabihf DEB_TARGET_ARCH_BITS=32 DEB_HOST_GNU_TYPE=arm-linux-gnueabihf make
21:30:59: The process "/home/mat/.config/ubuntu-sdk/ubuntu-sdk-15.04-armhf/make" exited with code 1.
Error while building/deploying project cm-test (kit: UbuntuSDK for armhf (GCC ubuntu-sdk-15.04-vivid))
When executing step 'Ubuntu SDK Make'
21:30:59: Elapsed time: 00:02.

I expect that cross compiling works in every location and the template project compiles and run without errors.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: ubuntu-sdk 1.221
ProcVersionSignature: Ubuntu 3.19.0-26.28-generic 3.19.8-ckt4
Uname: Linux 3.19.0-26-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.4
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Sep 19 21:17:20 2015
InstallationDate: Installed on 2015-05-17 (125 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: ubuntu-touch-meta
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Borim (borim) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-touch-meta (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.