I am uploading a NMU to fix this.
The debdiff is attached.
diff -Nru xrt-202210.2.13.466+dfsg/debian/changelog 
xrt-202210.2.13.466+dfsg/debian/changelog
--- xrt-202210.2.13.466+dfsg/debian/changelog   2023-02-27 22:15:38.000000000 
+0000
+++ xrt-202210.2.13.466+dfsg/debian/changelog   2023-09-16 16:48:26.000000000 
+0000
@@ -1,3 +1,10 @@
+xrt (202210.2.13.466+dfsg-8.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS due to upgrade to gcc-14. (Closes: #1037903)
+
+ -- Jonathan Bergh <bergh.jonat...@gmail.com>  Sat, 16 Sep 2023 18:48:26 +0200
+
 xrt (202210.2.13.466+dfsg-8) unstable; urgency=medium
 
   * Change modules path to multiarch.
diff -Nru 
xrt-202210.2.13.466+dfsg/debian/patches/0012-Add-cstdint-for-gcc13.patch 
xrt-202210.2.13.466+dfsg/debian/patches/0012-Add-cstdint-for-gcc13.patch
--- xrt-202210.2.13.466+dfsg/debian/patches/0012-Add-cstdint-for-gcc13.patch    
1970-01-01 00:00:00.000000000 +0000
+++ xrt-202210.2.13.466+dfsg/debian/patches/0012-Add-cstdint-for-gcc13.patch    
2023-09-16 16:48:26.000000000 +0000
@@ -0,0 +1,169 @@
+Index: xrt-202210.2.13.466+dfsg/src/runtime_src/core/pcie/common/dd.h
+===================================================================
+--- xrt-202210.2.13.466+dfsg.orig/src/runtime_src/core/pcie/common/dd.h        
2022-06-17 01:58:59.000000000 +0200
++++ xrt-202210.2.13.466+dfsg/src/runtime_src/core/pcie/common/dd.h     
2023-09-16 18:55:28.758965313 +0200
+@@ -21,6 +21,7 @@
+ 
+ #include <string>
+ #include <climits>
++#include <cstdint>
+ 
+ namespace dd {
+ 
+Index: xrt-202210.2.13.466+dfsg/src/runtime_src/core/common/time.h
+===================================================================
+--- xrt-202210.2.13.466+dfsg.orig/src/runtime_src/core/common/time.h   
2022-06-17 01:58:59.000000000 +0200
++++ xrt-202210.2.13.466+dfsg/src/runtime_src/core/common/time.h        
2023-09-16 19:18:36.014966259 +0200
+@@ -19,6 +19,7 @@
+ 
+ #include "core/common/config.h"
+ #include <string>
++#include <cstdint>
+ 
+ namespace xrt_core {
+ 
+Index: xrt-202210.2.13.466+dfsg/src/runtime_src/tools/xclbinutil/CBOR.h
+===================================================================
+--- xrt-202210.2.13.466+dfsg.orig/src/runtime_src/tools/xclbinutil/CBOR.h      
2022-06-17 01:58:59.000000000 +0200
++++ xrt-202210.2.13.466+dfsg/src/runtime_src/tools/xclbinutil/CBOR.h   
2023-09-16 19:28:32.723571491 +0200
+@@ -22,6 +22,7 @@
+ // #includes here - please keep these to a bare minimum!
+ #include <string>
+ #include <sstream>
++#include <cstdint>
+ 
+ // ------------ F O R W A R D - D E C L A R A T I O N S ----------------------
+ // Forward declarations - use these instead whenever possible...
+Index: 
xrt-202210.2.13.466+dfsg/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h
+===================================================================
+--- 
xrt-202210.2.13.466+dfsg.orig/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h
   2022-06-17 01:58:59.000000000 +0200
++++ 
xrt-202210.2.13.466+dfsg/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h     
   2023-09-16 19:33:14.983038094 +0200
+@@ -22,6 +22,7 @@
+ // #includes here - please keep these to a bare minimum!
+ #include <string>
+ #include <sstream>
++#include <cstdint>
+ 
+ // ------------ F O R W A R D - D E C L A R A T I O N S ----------------------
+ // Forward declarations - use these instead whenever possible...
+Index: xrt-202210.2.13.466+dfsg/src/xma/include/app/xma_utils.hpp
+===================================================================
+--- xrt-202210.2.13.466+dfsg.orig/src/xma/include/app/xma_utils.hpp    
2022-06-17 01:58:59.000000000 +0200
++++ xrt-202210.2.13.466+dfsg/src/xma/include/app/xma_utils.hpp 2023-09-16 
19:39:15.223219450 +0200
+@@ -17,6 +17,7 @@
+ #ifndef xma_utils_app_h_
+ #define xma_utils_app_h_
+ #include <streambuf>
++#include <cstdint>
+ #include "plg/xmasess.h"
+ 
+ namespace xma_core { namespace utils {
+Index: xrt-202210.2.13.466+dfsg/src/xma/include/app/xmahw.h
+===================================================================
+--- xrt-202210.2.13.466+dfsg.orig/src/xma/include/app/xmahw.h  2022-06-17 
01:58:59.000000000 +0200
++++ xrt-202210.2.13.466+dfsg/src/xma/include/app/xmahw.h       2023-09-16 
19:37:33.150053720 +0200
+@@ -17,6 +17,8 @@
+ #ifndef _XMA_HW_H_
+ #define _XMA_HW_H_
+ 
++#include <cstdint>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+Index: xrt-202210.2.13.466+dfsg/src/xma/include/plg/xmasess.h
+===================================================================
+--- xrt-202210.2.13.466+dfsg.orig/src/xma/include/plg/xmasess.h        
2022-06-17 01:58:59.000000000 +0200
++++ xrt-202210.2.13.466+dfsg/src/xma/include/plg/xmasess.h     2023-09-16 
19:38:29.982704279 +0200
+@@ -20,6 +20,7 @@
+ #define __XMA_SESS_H__
+ 
+ #include <stdbool.h>
++#include <cstdint>
+ 
+ #include "app/xmahw.h"
+ 
+Index: 
xrt-202210.2.13.466+dfsg/src/runtime_src/tools/xclbinutil/XclBinSignature.h
+===================================================================
+--- 
xrt-202210.2.13.466+dfsg.orig/src/runtime_src/tools/xclbinutil/XclBinSignature.h
   2022-06-17 01:58:59.000000000 +0200
++++ 
xrt-202210.2.13.466+dfsg/src/runtime_src/tools/xclbinutil/XclBinSignature.h     
   2023-09-16 19:43:31.182098391 +0200
+@@ -18,6 +18,7 @@
+ #define __XclBinSignature_h_
+ 
+ #include <string>
++#include <cstdint>
+ 
+ // ----------------------- I N C L U D E S -----------------------------------
+ 
+Index: 
xrt-202210.2.13.466+dfsg/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h
+===================================================================
+--- 
xrt-202210.2.13.466+dfsg.orig/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h
      2022-06-17 01:58:59.000000000 +0200
++++ 
xrt-202210.2.13.466+dfsg/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h
   2023-09-16 19:47:15.088580992 +0200
+@@ -18,6 +18,7 @@
+ #define XDP_PROFILE_AIE_TRACE_LOGGER_H
+ 
+ #include<iostream>
++#include <cstdint>
+ 
+ namespace xdp {
+ 
+Index: 
xrt-202210.2.13.466+dfsg/src/runtime_src/xdp/profile/database/events/device_events.h
+===================================================================
+--- 
xrt-202210.2.13.466+dfsg.orig/src/runtime_src/xdp/profile/database/events/device_events.h
  2022-06-17 01:58:59.000000000 +0200
++++ 
xrt-202210.2.13.466+dfsg/src/runtime_src/xdp/profile/database/events/device_events.h
       2023-09-16 19:53:28.240199494 +0200
+@@ -17,6 +17,7 @@
+ #ifndef DEVICE_EVENTS_DOT_H
+ #define DEVICE_EVENTS_DOT_H
+ 
++#include <cstdint>
+ #include "xdp/profile/database/events/vtf_event.h"
+ 
+ #include "xdp/config.h"
+Index: 
xrt-202210.2.13.466+dfsg/src/runtime_src/xdp/profile/database/events/vtf_event.h
+===================================================================
+--- 
xrt-202210.2.13.466+dfsg.orig/src/runtime_src/xdp/profile/database/events/vtf_event.h
      2022-06-17 01:58:59.000000000 +0200
++++ 
xrt-202210.2.13.466+dfsg/src/runtime_src/xdp/profile/database/events/vtf_event.h
   2023-09-16 19:52:19.519639143 +0200
+@@ -18,6 +18,7 @@
+ #define VTF_EVENT_DOT_H
+ 
+ #include <fstream>
++#include <cstdint>
+ 
+ #include "xdp/config.h"
+ 
+Index: 
xrt-202210.2.13.466+dfsg/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h
+===================================================================
+--- 
xrt-202210.2.13.466+dfsg.orig/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h
       2022-06-17 01:58:59.000000000 +0200
++++ 
xrt-202210.2.13.466+dfsg/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h 
   2023-09-16 19:59:29.059415451 +0200
+@@ -19,6 +19,7 @@
+ 
+ #include <fstream>
+ #include <string>
++#include <cstdint>
+ 
+ #include "xdp/config.h"
+ 
+Index: 
xrt-202210.2.13.466+dfsg/src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h
+===================================================================
+--- 
xrt-202210.2.13.466+dfsg.orig/src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h
++++ 
xrt-202210.2.13.466+dfsg/src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h
+@@ -16,6 +16,7 @@
+ 
+ #pragma once
+ 
++#include <cstdint>
+ #include <string>
+ #include <vector>
+ 
+Index: xrt-202210.2.13.466+dfsg/src/runtime_src/core/edge/user/zynq_dev.h
+===================================================================
+--- xrt-202210.2.13.466+dfsg.orig/src/runtime_src/core/edge/user/zynq_dev.h
++++ xrt-202210.2.13.466+dfsg/src/runtime_src/core/edge/user/zynq_dev.h
+@@ -19,6 +19,7 @@
+ #include <fstream>
+ #include <string>
+ #include <vector>
++#include <cstdint>
+ 
+ class zynq_device {
+ public:
diff -Nru xrt-202210.2.13.466+dfsg/debian/patches/series 
xrt-202210.2.13.466+dfsg/debian/patches/series
--- xrt-202210.2.13.466+dfsg/debian/patches/series      2023-02-27 
22:15:38.000000000 +0000
+++ xrt-202210.2.13.466+dfsg/debian/patches/series      2023-09-16 
16:48:26.000000000 +0000
@@ -9,3 +9,4 @@
 0009-Fix-cpp-check-for-double-free.patch
 0010-Fix-format-of-sscanf.patch
 0011-module_loader.cpp-Change-modules-path-to-multiarch.patch
+0012-Add-cstdint-for-gcc13.patch
diff -Nru xrt-202210.2.13.466+dfsg/debian/rules 
xrt-202210.2.13.466+dfsg/debian/rules
--- xrt-202210.2.13.466+dfsg/debian/rules       2023-02-27 22:15:38.000000000 
+0000
+++ xrt-202210.2.13.466+dfsg/debian/rules       2023-09-16 16:48:26.000000000 
+0000
@@ -13,7 +13,8 @@
                  -Wno-error=reorder \
                  -Wno-error=deprecated-declarations \
                  -Wno-stringop-overflow \
-                 -Wno-error=maybe-uninitialized
+                 -Wno-error=maybe-uninitialized \
+                 -Wno-error=overloaded-virtual
 
 ifeq ($(DEB_DISTRIBUTION),unstable)
 DEB_CXXFLAGS_MAINT_APPEND +=-Wno-error=mismatched-new-delete

Reply via email to