Public bug reported:

Running cmake on ubuntu armhf fails compiler ID detection with errors
like:

CMake Error at /usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 
(list):
 list sub-command REMOVE_ITEM requires two or more arguments.
Call Stack (most recent call first):
 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 
(compiler_id_detection)
 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 
(CMAKE_DETERMINE_COMPILER_ID_WRITE)
  /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 
(CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 
(CMAKE_DETERMINE_COMPILER_ID)

Looking in more detail, the `file(GLOB ...)`s regularly (though not always?) 
return empty results. For example, with 
#: mkdir -p path/1/2/3
#: cat CMakeLists.txt
file(GLOB p1 "./path/*")
file(GLOB p2 "./path/1/*")
file(GLOB p3 "./path/1/2/*")
message("${p1}: ${p2}: ${p3}")
#: cmake .

.. I see on amd64
/root/./path/1: /root/./path/1/2/: /root/./path/1/2/3

but on ARMHF just
: :

For different choices of path, sometimes I'll get results at some depth
but not at others.

tested on Docker amd64/ubuntu:latest and arm32v7/ubuntu:latest + build-
essential + cmake (3.16.3-1ubuntu1)

** Affects: cmake (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  file globbing broken on armhf

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

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

Reply via email to