Bug 46253 - ccache: ошибка сборки с GCC 13
Summary: ccache: ошибка сборки с GCC 13
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: ccache (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-24 20:11 MSK by Alexey Sheplyakov
Modified: 2023-07-11 13:30 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Sheplyakov 2023-05-24 20:11:16 MSK
[ 28%] Building CXX object src/CMakeFiles/ccache_framework.dir/Util.cpp.o
cd /usr/src/RPM/BUILD/ccache-4.6/loongarch64-alt-linux/src && /usr/bin/c++ -DXXH_STATIC_LINKING_ONLY -Dnssv_CONFIG_SELECT_STRING_VIEW=nssv_STRING_VIEW_NONSTD -I/usr/src/RPM/BUILD/ccache-4.6/
loongarch64-alt-linux -I/usr/src/RPM/BUILD/ccache-4.6/src -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -g -DNDEBUG -include /usr/src/RPM/BUILD/ccache-4.6/loongarch64-alt-linux/con
fig.h -Wall -std=c++14 -MD -MT src/CMakeFiles/ccache_framework.dir/Util.cpp.o -MF CMakeFiles/ccache_framework.dir/Util.cpp.o.d -o CMakeFiles/ccache_framework.dir/Util.cpp.o -c /usr/src/RPM/B
UILD/ccache-4.6/src/Util.cpp
In file included from /usr/src/RPM/BUILD/ccache-4.6/src/Util.hpp:21,
                 from /usr/src/RPM/BUILD/ccache-4.6/src/Util.cpp:19:
/usr/src/RPM/BUILD/ccache-4.6/src/Stat.hpp:132:3: error: 'uint64_t' does not name a type
  132 |   uint64_t size() const;
      |   ^~~~~~~~
/usr/src/RPM/BUILD/ccache-4.6/src/Stat.hpp:28:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   27 | #include <string>
  +++ |+#include <cstdint>
   28 |
/usr/src/RPM/BUILD/ccache-4.6/src/Stat.hpp:134:3: error: 'uint64_t' does not name a type
  134 |   uint64_t size_on_disk() const;
      |   ^~~~~~~~
/usr/src/RPM/BUILD/ccache-4.6/src/Stat.hpp:134:3: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
/usr/src/RPM/BUILD/ccache-4.6/src/Stat.hpp:219:8: error: 'uint64_t' does not name a type
  219 | inline uint64_t
      |        ^~~~~~~~
/usr/src/RPM/BUILD/ccache-4.6/src/Stat.hpp:219:8: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
/usr/src/RPM/BUILD/ccache-4.6/src/Stat.hpp:225:8: error: 'uint64_t' does not name a type
  225 | inline uint64_t
      |        ^~~~~~~~
/usr/src/RPM/BUILD/ccache-4.6/src/Stat.hpp:225:8: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
/usr/src/RPM/BUILD/ccache-4.6/src/Util.hpp: In function 'int64_t Util::size_change_kibibyte(const Stat&, const Stat&)':
/usr/src/RPM/BUILD/ccache-4.6/src/Util.hpp:352:41: error: 'const class Stat' has no member named 'size_on_disk'
  352 |   return (static_cast<int64_t>(new_stat.size_on_disk())
      |                                         ^~~~~~~~~~~~
/usr/src/RPM/BUILD/ccache-4.6/src/Util.hpp:353:43: error: 'const class Stat' has no member named 'size_on_disk'
  353 |           - static_cast<int64_t>(old_stat.size_on_disk()))
      |                                           ^~~~~~~~~~~~
/usr/src/RPM/BUILD/ccache-4.6/src/Util.cpp: In function 'std::string Util::read_file(const std::string&, size_t)':
/usr/src/RPM/BUILD/ccache-4.6/src/Util.cpp:1091:22: error: 'class Stat' has no member named 'size'
 1091 |     size_hint = stat.size();
      |                      ^~~~
Comment 1 arbars@altlinux.org 2023-07-11 13:30:42 MSK
В процессе исправления.