[Pkg-cmake-team] Bug#965046: cmake: compiler_id_detection fails for armhf when using QEMU user-mode emulation

David Lechner david at lechnology.com
Wed Jul 15 01:06:11 BST 2020


Package: cmake
Version: 3.16.3-1ubuntu1
Severity: normal

Dear Maintainer,


   * What led up to the situation? Trying to build a package using pbuilder and
qemu on travis-ci.org
   * What exactly did you do (or not do) that was effective (or
     ineffective)? Works for nativie arcitecture but fails when run using qemu
   * What was the outcome of this action? https://travis-
ci.org/github/ev3dev/ev3devKit/jobs/708160450
   * What outcome did you expect instead? Building should complete without
error as with previous versions of cmake


This is likely caused by upstream bug
https://gitlab.kitware.com/cmake/cmake/-/issues/20568 (regrission introduced in
cmake 3.15)


This can probably be fixed by adding something similar to this in debian/rules:

    export CFLAGS="-D_FILE_OFFSET_BITS=64"
    export CXXFLAGS="-D_FILE_OFFSET_BITS=64"




-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal-backports'), (500, 'focal')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-39-generic (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cmake depends on:
ii  cmake-data    3.16.3-1ubuntu1
ii  libarchive13  3.4.0-2ubuntu1
ii  libc6         2.31-0ubuntu9
ii  libcurl4      7.68.0-1ubuntu2.1
ii  libexpat1     2.2.9-1build1
ii  libgcc-s1     10-20200411-0ubuntu1
ii  libjsoncpp1   1.7.4-3.1ubuntu2
ii  librhash0     1.3.9-1
ii  libstdc++6    10-20200411-0ubuntu1
ii  libuv1        1.34.2-1ubuntu1
ii  procps        2:3.3.16-1ubuntu2
ii  zlib1g        1:1.2.11.dfsg-2ubuntu1

Versions of packages cmake recommends:
ii  gcc   4:9.3.0-1ubuntu2
ii  make  4.2.1-1.2

Versions of packages cmake suggests:
pn  cmake-doc    <none>
ii  ninja-build  1.10.0-1build1

-- no debconf information



More information about the Pkg-cmake-team mailing list