[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#939703: sh4: cmake: "Detecting CXX compile features - failed"



Control: reassign -1 src:texworks
Control: tags -1 + moreinfo

Please provide the config test program which apparently fails, together with the command line options used. There might be issues with new Qt versions as well.

On 07.09.19 23:33, Hilmar Preusse wrote:
Package: g++-9
Version: 9.2.1-7
Severity: important
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Recently I uploaded a new package of texworks to unstable. I noticed that
the new package fails to build on sh4 [1], meanwhile it built fine in the
past [2]. The relevant error message is (AFAICT):

<snip>
-- Detecting CXX compile features
CMake Error: Generator: execution of make failed. Make command was: "/usr/bin/make" "cmTC_bf641/fast"
-- Detecting CXX compile features - failed
-- Git commit info updated
CMake Warning (dev) at CMakeLists.txt:139 (OPTION):
   Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
   --help-policy CMP0077" for policy details.  Use the cmake_policy command to
   set the policy and suppress this warning.

   For compatibility with older versions of CMake, option is clearing the
   normal variable 'BUILD_SHARED_LIBS'.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:146 (OPTION):
   Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
   --help-policy CMP0077" for policy details.  Use the cmake_policy command to
   set the policy and suppress this warning.

   For compatibility with older versions of CMake, option is clearing the
   normal variable 'BUILD_SHARED_PLUGINS'.
This warning is for project developers.  Use -Wno-dev to suppress it.
</snip>

The only change in the new package is the python3 adaption, which should be
not relevant for that error message. The only significant change in the build
tools is that we now use g++-9 instead of g++-8.

I suspect this is a regression in g++-9.

Hilmar

[1] https://buildd.debian.org/status/fetch.php?pkg=texworks&arch=sh4&ver=0.6.3-3&stamp=1567811521&raw=0
[2] https://buildd.debian.org/status/fetch.php?pkg=texworks&arch=sh4&ver=0.6.3-2&stamp=1562792310&raw=0


Reply to: