Regression in 2.8.12.1-1ubuntu3/4: export CXX stopped working

Bug #1274430 reported by Martin Pitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cmake (Ubuntu)
Fix Released
Critical
Dimitri John Ledkov

Bug Description

While debugging the platform-api sensor failure in https://code.launchpad.net/~thomas-voss/platform-api/expose_accuracy_and_service_status_to_platform/+merge/203298 I noticed that the crucial difference was that in that MP platform-api suddenly got built with g++4.8 although debian/rules says

  export CXX=g++-4.7

(Likewise with CC=gcc-4.7, but platform-api doesn't use that).

It seems the recent cmake changes broke this. Surprisingly, this still works as intended:

  mkdir obj
  cd obj
  CXX=g++-4.7 cmake ..

but not in the way dh_auto_* handle that.

Martin Pitt (pitti)
Changed in cmake (Ubuntu):
assignee: nobody → Dimitri John Ledkov (xnox)
Changed in cmake (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cmake - 2.8.12.1-1ubuntu5

---------------
cmake (2.8.12.1-1ubuntu5) trusty; urgency=medium

  * Honor environment variables for compilers, in Multiarched
    toolchain. (LP: #1274430)
 -- Dimitri John Ledkov <email address hidden> Thu, 30 Jan 2014 09:24:23 +0000

Changed in cmake (Ubuntu):
status: Triaged → Fix Released
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.