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

Bug#1068180: FTBFS: C++ versions less than C++14 are not supported.



Source: libgav1
Version: 0.18.0-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=libgav1&arch=armel&ver=0.18.0-1%2Bb2&stamp=1711940873&raw=0

In file included from /usr/include/absl/base/config.h:86,
                 from /usr/include/absl/base/attributes.h:37,
                 from /usr/include/absl/base/thread_annotations.h:37,
                 from /<<PKGBUILDDIR>>/src/utils/threadpool.h:42,
                 from /<<PKGBUILDDIR>>/src/threading_strategy.h:24,
                 from /<<PKGBUILDDIR>>/src/frame_scratch_buffer.h:31,
                 from /<<PKGBUILDDIR>>/src/decoder_impl.h:30,
                 from /<<PKGBUILDDIR>>/src/decoder_impl.cc:15:
/usr/include/absl/base/policy_checks.h:79:2: error: #error "C++ versions less
than C++14 are not supported."
   79 | #error "C++ versions less than C++14 are not supported."
      |  ^~~~~


/usr/bin/c++ -DLIBGAV1_CMAKE=1 -DLIBGAV1_ENABLE_AVX2=0 -DLIBGAV1_ENABLE_NEON=0
-DLIBGAV1_ENABLE_SSE4_1=0 -DLIBGAV1_FLAGS_SRCDIR=\"/<<PKGBUILDDIR>>\"
-DLIBGAV1_FLAGS_TMPDIR=\"/tmp\" -DLIBGAV1_MAX_BITDEPTH=10 -I/<<PKGBUILDDIR>>
-I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi
-I/<<PKGBUILDDIR>>/third_party/abseil-cpp
-I/<<PKGBUILDDIR>>/third_party/googletest/googlemock/include
-I/<<PKGBUILDDIR>>/third_party/googletest/googletest/include
-I/<<PKGBUILDDIR>>/third_party/googletest/googletest -g -O2 -ffile-prefix-
map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time
-D_FORTIFY_SOURCE=2 -std=gnu++11 -fPIC -Wall -Wextra -Wmissing-declarations
-Wno-sign-compare -fvisibility=hidden -fvisibility-inlines-hidden -Wno-format-
truncation -MD -MT CMakeFiles/libgav1_utils.dir/src/utils/segmentation.cc.o -MF
CMakeFiles/libgav1_utils.dir/src/utils/segmentation.cc.o.d -o
CMakeFiles/libgav1_utils.dir/src/utils/segmentation.cc.o -c
/<<PKGBUILDDIR>>/src/utils/segmentation.cc
In file included from /usr/include/absl/time/time.h:89,
                 from /usr/include/absl/time/clock.h:26,
                 from
/usr/include/absl/synchronization/internal/kernel_timeout.h:30,
                 from /usr/include/absl/synchronization/mutex.h:74,
                 from /<<PKGBUILDDIR>>/src/utils/threadpool.h:43:
/usr/include/absl/strings/string_view.h: In member function ‘constexpr void
absl::debian5::string_view::remove_prefix(size_type) const’:
/usr/include/absl/strings/string_view.h:340:10: error: assignment of member
‘absl::debian5::string_view::ptr_’ in read-only object
  340 |     ptr_ += n;
      |     ~~~~~^~~~
/usr/include/absl/strings/string_view.h:341:13: error: assignment of member
‘absl::debian5::string_view::length_’ in read-only object
  341 |     length_ -= n;
      |     ~~~~~~~~^~~~
/usr/include/absl/strings/string_view.h: In member function ‘constexpr void
absl::debian5::string_view::remove_suffix(size_type) const’:
/usr/include/absl/strings/string_view.h:350:13: error: assignment of member
‘absl::debian5::string_view::length_’ in read-only object
  350 |     length_ -= n;
      |     ~~~~~~~~^~~~
/usr/include/absl/strings/string_view.h: In member function ‘constexpr void
absl::debian5::string_view::swap(absl::debian5::string_view&) const’:
/usr/include/absl/strings/string_view.h:358:13: error: passing ‘const
absl::debian5::string_view’ as ‘this’ argument discards qualifiers
[-fpermissive]
  358 |     *this = s;
      |             ^
/usr/include/absl/strings/string_view.h:161:7: note:   in call to
‘absl::debian5::string_view& absl::debian5::string_view::operator=(const
absl::debian5::string_view&)’
  161 | class string_view {
      |       ^~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi'
[ 15%] Built target libgav1_file_writer
/usr/include/absl/time/time.h: In constructor
‘absl::debian5::Duration::HiRep::HiRep(int64_t)’:
/usr/include/absl/time/time.h:256:5: error: ‘constexpr’ constructor does not
have empty body
  256 |     }
      |     ^
/usr/include/absl/time/time.h: In member function ‘constexpr int64_t
absl::debian5::Duration::HiRep::Get() const’:
/usr/include/absl/time/time.h:276:5: error: body of ‘constexpr’ function
‘constexpr int64_t absl::debian5::Duration::HiRep::Get() const’ not a return-
statement
  276 |     }
      |     ^
[ 16%] Building CXX object
CMakeFiles/libgav1_utils.dir/src/utils/segmentation_map.cc.o
/usr/include/absl/time/time.h: In member function ‘constexpr
absl::debian5::Duration::HiRep&
absl::debian5::Duration::HiRep::operator=(int64_t) const’:
/usr/include/absl/time/time.h:284:11: error: assignment of member
‘absl::debian5::Duration::HiRep::hi_’ in read-only object
  284 |       hi_ = static_cast<uint32_t>(unsigned_value >> 32);
      |       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/absl/time/time.h:285:11: error: assignment of member
‘absl::debian5::Duration::HiRep::lo_’ in read-only object
  285 |       lo_ = static_cast<uint32_t>(unsigned_value);
      |       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/absl/time/time.h:286:14: error: binding reference of type
‘absl::debian5::Duration::HiRep&’ to ‘const absl::debian5::Duration::HiRep’
discards qualifiers
  286 |       return *this;
      |              ^~~~~
/usr/include/absl/time/time.h:287:5: error: body of ‘constexpr’ function
‘constexpr absl::debian5::Duration::HiRep&
absl::debian5::Duration::HiRep::operator=(int64_t) const’ not a return-
statement
  287 |     }
      |     ^


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.9-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply to: