[Bug 1900076] [NEW] file globbing broken on armhf

Ben Nizette 1900076 at bugs.launchpad.net
Fri Oct 16 03:22:49 UTC 2020


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 Kubuntu
Bugs, which is subscribed to cmake in 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



More information about the kubuntu-bugs mailing list