View Issue Details

IDProjectCategoryView StatusLast Update
0000634Cinelerra-GG[All Projects] Bugpublic2023-02-08 01:51
Reporterleigh123linux Assigned ToPhyllisSmith  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSFedoraOS Version38
Product Version 
Target VersionFixed in Version 
Summary0000634: Fails to compile with gcc-13
DescriptionFails to compile with gcc-13

make[6]: Leaving directory '/builddir/build/BUILD/cinelerra-2023-01/cinelerra-5.1/thirdparty/openexr-2.4.1/OpenEXR/IlmImf'
ImfMisc.cpp:1392:17: error: 'uint8_t' does not name a type
 1392 | struct FBytes { uint8_t b[4]; };
      | ^~~~~~~
ImfMisc.cpp:56:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   55 | #include "ImfNamespace.h"
  +++ |+#include <cstdint>
   56 |
make[6]: *** [Makefile:885: ImfMisc.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
TagsNo tags attached.

Activities

PhyllisSmith

PhyllisSmith

2023-02-08 01:51

manager   ~0005440

Fixed with Andrew's patch for gcc13.
PhyllisSmith

PhyllisSmith

2023-02-06 22:25

manager   ~0005439

Checked into GIT. Will close in a couple of days (@Andrea_Paz wants to see it first).
Thanks for reporting @leigh123linux and thanks for the patch @Andrew-R.
leigh123linux

leigh123linux

2023-02-06 20:18

reporter   ~0005438

0001-possible-fix-for-gcc-13-openexr-2.4.1.patch fixes the issue.

Thanks for fixing the issue.
Andrew-R

Andrew-R

2023-02-06 18:04

reporter   ~0005434

hopefully this

0001-possible-fix-for-gcc-13-openexr-2.4.1.patch (1,005 bytes)
From 60ef2c364b80e84b916284343a168241fd2235e2 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Mon, 6 Feb 2023 20:46:43 +0300
Subject: [PATCH] possible fix for gcc 13 / openexr 2.4.1

---
 cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch3 | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch3

diff --git a/cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch3 b/cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch3
new file mode 100644
index 00000000..24d9ae1e
--- /dev/null
+++ b/cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch3
@@ -0,0 +1,10 @@
+--- openexr-2.4.1/OpenEXR/IlmImf/ImfMisc.cpp.orig	2023-02-06 20:35:13.691479571 +0300
++++ openexr-2.4.1/OpenEXR/IlmImf/ImfMisc.cpp	2023-02-06 20:35:59.535479538 +0300
+@@ -53,6 +53,7 @@
+ #include <ImfPartType.h>
+ #include <ImfTileDescription.h>
+ #include "ImfNamespace.h"
++#include <cstdint>
+ 
+ OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_ENTER
+ 
-- 
2.39.1

Andrew-R

Andrew-R

2023-02-06 17:32

reporter   ~0005433

well, I guess making patch for openexr as error message suggested is way to fix it ..


Will try to make while eating (cooked) pasta.
PhyllisSmith

PhyllisSmith

2023-02-06 17:22

manager   ~0005432

@Andrew-R
Followup from Fedora RPM team.

Issue History

Date Modified Username Field Change
2023-02-06 17:06 leigh123linux New Issue
2023-02-06 17:22 PhyllisSmith Assigned To => PhyllisSmith
2023-02-06 17:22 PhyllisSmith Status new => acknowledged
2023-02-06 17:22 PhyllisSmith Note Added: 0005432
2023-02-06 17:32 Andrew-R Note Added: 0005433
2023-02-06 18:04 Andrew-R File Added: 0001-possible-fix-for-gcc-13-openexr-2.4.1.patch
2023-02-06 18:04 Andrew-R Note Added: 0005434
2023-02-06 20:18 leigh123linux Note Added: 0005438
2023-02-06 22:25 PhyllisSmith Note Added: 0005439
2023-02-08 01:51 PhyllisSmith Status acknowledged => closed
2023-02-08 01:51 PhyllisSmith Resolution open => fixed
2023-02-08 01:51 PhyllisSmith Note Added: 0005440