ASM support is broken in cmake 2.8.3

Bug #695335 reported by Leon Nardella
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cmake (Debian)
Fix Released
Unknown
cmake (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: cmake

I've successfully built vbam (a gameboy advance emulator) with cmake 2.8.2 on Maverick, but when I enabled the backports repository, I got cmake 2.8.3, which can't build it anymore.

This is the output on the console when I run "cmake ."

CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake:68 (CMAKE_DETERMINE_COMPILER_ID_VENDOR):
  Unknown CMake command "CMAKE_DETERMINE_COMPILER_ID_VENDOR".
Call Stack (most recent call first):
  CMakeLists.txt:2 (PROJECT)

CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_ASM_COMPILER_ENV_VAR
CMake Error: Could not find cmake module file:/home/leon/temp/vbam/vbam.bzr/CMakeFiles/CMakeASMCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:/home/leon/temp/vbam/vbam.bzr/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:/home/leon/temp/vbam/vbam.bzr/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: cmake 2.8.3-1~maverick1
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Uname: Linux 2.6.35-24-generic x86_64
Architecture: amd64
Date: Wed Dec 29 10:02:03 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 (20100928)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: cmake

Revision history for this message
Leon Nardella (leon.nardella) wrote :
tags: added: i386 natty
removed: ubuntu-une
Revision history for this message
Leon Nardella (leon.nardella) wrote :

Found this patch in cmake's git repository which seems to be on the way to 2.8.4.
It's a very simple patch and seems to fix the issue for me. I'm currently in the process of building updated packages for Maverick and Natty for others to test.

Revision history for this message
Leon Nardella (leon.nardella) wrote :

There are updated packages in my PPA now. Please test.
ppa:leon.nardella/cmake

Changed in cmake (Ubuntu):
status: New → In Progress
tags: added: patch
Revision history for this message
Leon Nardella (leon.nardella) wrote :

People interested in testing may checkout lp:vbam, where I set up a mirror of their svn repo.
I've even set up a daily build of lp:vbam in ppa:leon.nardella/vbam-daily, which is currently building successfully against the cmake package provided in ppa:leon.nardella/cmake.

Changed in cmake (Debian):
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
Leon Nardella (leon.nardella) wrote :

I got in touch with the Debian maintainer and it's fixed in Debian now.
http://packages.debian.org/changelogs/pool/main/c/cmake/cmake_2.8.3-3/changelog

Changed in cmake (Ubuntu):
status: In Progress → Confirmed
Revision history for this message
FiX (fix-kowalski) wrote :

Installing the afore-mentioned ppa (ppa:leon.nardella/cmake) does not bring any updated cmake package. Is there any other work-around to get the patched version or to revert to 2.8.2?

Revision history for this message
Leon Nardella (leon.nardella) wrote :

Are you sure you're on Natty?

Revision history for this message
FiX (fix-kowalski) wrote :

No: I am using Maverick, with backports channel enabled. Could you provide a link to the patch, if by some chance this is something that can be patched manually into the CMake scripts (waiting for the updated package).

Revision history for this message
FiX (fix-kowalski) wrote :

I disabled "backports" alltogether, so I am back to a working 2.8.2. I will monitor the inclusion of this fix before turning on backports again. Do not consider me as blocked.

Revision history for this message
Leon Nardella (leon.nardella) wrote :

There's a package for Maverick in the PPA now.

Changed in cmake (Debian):
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cmake - 2.8.3-3

---------------
cmake (2.8.3-3) experimental; urgency=low

  * Install documentation to /usr/share/cmake-data instead as it's the "base"
    package rather than cmake. Also link doc directories to it.
  * The job of replacing directories with symlinks apparently is a tough one.
    Create a symlink manually in the postinst of the affected (!cmake-data)
    packages.

cmake (2.8.3-2) experimental; urgency=low

  [ Kai Wasserbäch ]
  * debian/source/local-options: Added "unapply-patches".
  * debian/watch: Added git-import-orig invocation.
  * debian/gbp.conf: Added, to ensure we use pristine-tar.
  * debian/patches/FindTCL_fix_#600245.diff: Added. (Closes: #600245)

  [ Modestas Vainius ]
  * Install cmake documentation into /usr/share/doc/cmake/ and link doc
    directories of the rest binary packages to it (needs debhelper 7.4.2).
    (LP: #669197)
  * Backport a patch from 2.8.4 to fix ASM support. Thanks to Leon Nardella for
    heads up. (Closes: #608510, LP: #695335)
 -- Leon Nardella <email address hidden> Mon, 10 Jan 2011 16:44:12 +0000

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