Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21753 - [cmake] add support for other assembler

Attached to Project: Arch Linux
Opened by Jason (Meyithi) - Saturday, 20 November 2010, 05:53 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 11 January 2011, 20:16 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Cmake is complaining that it may have been build incorrectly due to missing variables.

CMAKE_ASM_COMPILER_ENV_VAR
CMAKE_C_COMPILER_ENV_VAR
CMAKE_C_COMPILER
CMAKE_CXX_COMPILER_ENV_VAR
CMAKE_CXX_COMPILER

---

Additional info:
* package version(s)

Name : cmake
Version : 2.8.3-1
Architecture : x86_64
Build Date : Wed 03 Nov 2010 22:42:42 GMT
Install Date : Thu 18 Nov 2010 02:12:59 GMT

---

* config and/or log files etc.

makepkg changes:-

CARCH="x86_64"
CHOST="x86_64-unknown-linux-gnu"

#-- Exclusive: will only run on x86_64
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j3"

The logged build process can be found at http://paste.pocoo.org/show/293820/ - errors beginning at line 533:-

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/meyithi/Build/AUR/vba-m-gtk-svn/src/vbam-build/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/meyithi/Build/AUR/vba-m-gtk-svn/src/vbam-build/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/meyithi/Build/AUR/vba-m-gtk-svn/src/vbam-build/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!

A workaround has been offered on the aur page of VBA-M.

https://aur.archlinux.org/packages.php?ID=16851

Comment by: admiral0 on Sat, 20 Nov 2010 00:22:07 +0000
Commenting line 68 in /usr/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake seems to workaround issue

---

Steps to reproduce:
Attempting to build VBA-M from aur with cmake 2.8.3.1 will fail as above.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 11 January 2011, 20:16 GMT
Reason for closing:  Won't implement
Additional comments about closing:  will be in the next cmake release
Comment by Jason (Meyithi) - Saturday, 20 November 2010, 05:57 GMT
Error from line 257:-

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)
Comment by Andrea Scarpino (BaSh) - Thursday, 09 December 2010, 13:28 GMT
  • Field changed: Task Type (Bug Report → Feature Request)
  • Field changed: Summary ([cmake] CMAKE_ASM_COMPILER_ENV_VAR is not set → [cmake] add support for other assembler)
  • Field changed: Architecture (x86_64 → All)

Loading...