[Bug 1472314] Re: Fix subsequent cmake runs when using multi-arch

2015-12-22 Thread Michael Terry
So I am also unsure of what exactly your scenario is (what the
reproduction steps are).

Without any environment variables, cross compiling isn't used, so this
bug isn't hit.  It's only when you set environment variables to use
cross compilers that you might hit this scenario.  But if you look at,
for example, dpkg-cross(1), it recommends setting:

export CC=$(DEB_HOST_GNU_TYPE)-gcc
export CXX=$(DEB_HOST_GNU_TYPE)-g++
export CMAKE_TOOLCHAIN_FILE=/etc/dpkg-cross/cmake/CMakeCross.txt

Thus manually setting CMAKE_TOOLCHAIN_FILE seems to be a standard part
of the documentation.  What steps are you using to cross compile?

** Changed in: cmake (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1472314

Title:
  Fix subsequent cmake runs when using multi-arch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1472314/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1472314] Re: Fix subsequent cmake runs when using multi-arch

2015-11-03 Thread Mathew Hodson
** Changed in: cmake (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1472314

Title:
  Fix subsequent cmake runs when using multi-arch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1472314/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1472314] Re: Fix subsequent cmake runs when using multi-arch

2015-07-13 Thread Aleix Pol
Ping?

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1472314

Title:
  Fix subsequent cmake runs when using multi-arch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1472314/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1472314] Re: Fix subsequent cmake runs when using multi-arch

2015-07-07 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1472314

Title:
  Fix subsequent cmake runs when using multi-arch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1472314/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1472314] Re: Fix subsequent cmake runs when using multi-arch

2015-07-07 Thread Rohan Garg
** Patch added: cmake.patch
   
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1472314/+attachment/4425866/+files/cmake.patch

** Description changed:

  Running cmake a second time on a project when using multi-arch seems to
  be broken without this patch in Ubuntu.
+ 
+ NB: This is a patch to a patch :)

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1472314

Title:
  Fix subsequent cmake runs when using multi-arch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1472314/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1472314] Re: Fix subsequent cmake runs when using multi-arch

2015-07-07 Thread Dimitri John Ledkov
How to reproduce this? and what do you mean by running a second time?

Cause, mutliarch file only kicks in when environmental variables are set
correctly pointing at cross-arch build/host combination and otherwise
does nothing and defaults to a normal native compilation.

Imho this patch should not be required, and multiarch file should not be
used as a normal cmake toolchain file.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1472314

Title:
  Fix subsequent cmake runs when using multi-arch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1472314/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1472314] Re: Fix subsequent cmake runs when using multi-arch

2015-07-07 Thread Aleix Pol
log that reproduces the error:
mkdir build; cd build; cmake ..; cmake ..

The second time that it's configured cmake doesn't need to detect the
platform anymore so CMakeDetermineSystem.cmake isn't called anymore as
it calls the Platform file directly.

** Attachment added: cmake-ubuntu-error
   
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1472314/+attachment/4426017/+files/cmake-ubuntu-error

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1472314

Title:
  Fix subsequent cmake runs when using multi-arch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1472314/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs