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

Bug#947487: FTBFS: various C++ errors



Upstream master builds, but might also soon be adopted by KDE Frameworks

A quick fix is adding this line a nice place in toplevel CMakeLists.txt

set_property(TARGET tgt PROPERTY CXX_STANDARD 11)

Around line 35 looks like a nice location.

/Sune

On Friday, December 27, 2019 5:32:17 PM CET Lisandro Damián Nicanor Pérez 
Meyer wrote:
> Source: grantlee5
> Version: 5.1.0-2.1
> Severity: serious
> Justification: FTBFS in various architectures
> 
> Hi! While rebuilding your package due to a binNMU it failed to build from
> source:
> 
> https://buildd.debian.org/status/package.php?p=grantlee5
> 
> The forst error I see is:
> 
> from
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/mai
> n_app_autogen/mocs_compilation.cpp:2:
> /usr/include/c++/9/bits/c++0x_warning.h:32:2: error: #error This file
> requires compiler and library support for the ISO C++ 2011 standard. This
> support must be enabled with the -std=c++11 or -std=gnu++11 compiler
> options. 32 | #error This file requires compiler and library support \
> 
>       |  ^~~~~
> 
> Thanks for your work, Lisandro.
> 
> -- System Information:
> Debian Release: bullseye/sid
>   APT prefers unstable
>   APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500,
> 'testing-debug'), (500, 'buildd-unstable'), (500, 'testing'), (1,
> 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64)
> Foreign Architectures: i386, arm64, armhf
> 
> Kernel: Linux 5.3.0-3-amd64 (SMP w/2 CPU cores)
> Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8),
> LANGUAGE=es_AR:es (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled


Reply to: