View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000634 | Cinelerra-GG | Bug | public | 2023-02-06 18:06 | 2023-02-08 02:51 |
| Reporter | leigh123linux | Assigned To | PhyllisSmith | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | Fedora | OS Version | 38 |
| Summary | 0000634: Fails to compile with gcc-13 | ||||
| Description | Fails 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.... | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
|
|
@Andrew-R Followup from Fedora RPM team. |
|
|
well, I guess making patch for openexr as error message suggested is way to fix it .. Will try to make while eating (cooked) pasta. |
|
|
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 <randrianasulu@gmail.com> 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 |
|
|
0001-possible-fix-for-gcc-13-openexr-2.4.1.patch fixes the issue. Thanks for fixing the issue. |
|
|
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. |
|
|
Fixed with Andrew's patch for gcc13. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-02-06 18:06 | leigh123linux | New Issue | |
| 2023-02-06 18:22 | PhyllisSmith | Assigned To | => PhyllisSmith |
| 2023-02-06 18:22 | PhyllisSmith | Status | new => acknowledged |
| 2023-02-06 18:22 | PhyllisSmith | Note Added: 0005432 | |
| 2023-02-06 18:32 | Andrew-R | Note Added: 0005433 | |
| 2023-02-06 19:04 | Andrew-R | File Added: 0001-possible-fix-for-gcc-13-openexr-2.4.1.patch | |
| 2023-02-06 19:04 | Andrew-R | Note Added: 0005434 | |
| 2023-02-06 21:18 | leigh123linux | Note Added: 0005438 | |
| 2023-02-06 23:25 | PhyllisSmith | Note Added: 0005439 | |
| 2023-02-08 02:51 | PhyllisSmith | Status | acknowledged => closed |
| 2023-02-08 02:51 | PhyllisSmith | Resolution | open => fixed |
| 2023-02-08 02:51 | PhyllisSmith | Note Added: 0005440 |