Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937408 - media-libs/opencolorio-2.3.2 - [icu-75.1] [gcc-15] /.../OpenColorIO.h: error: uint8_t was not declared in this scope
Summary: media-libs/opencolorio-2.3.2 - [icu-75.1] [gcc-15] /.../OpenColorIO.h: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords: PullRequest
: 937478 (view as bug list)
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-05 20:53 UTC by Toralf Förster
Modified: 2024-08-14 15:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.81 KB, text/plain)
2024-08-05 20:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,242.91 KB, text/plain)
2024-08-05 20:53 UTC, Toralf Förster
Details
environment (environment,136.93 KB, text/plain)
2024-08-05 20:53 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.15 KB, application/x-xz)
2024-08-05 20:53 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,30.75 KB, application/x-xz)
2024-08-05 20:53 UTC, Toralf Förster
Details
media-libs:opencolorio-2.3.2:20240805-203115.log (media-libs:opencolorio-2.3.2:20240805-203115.log,26.67 KB, text/plain)
2024-08-05 20:53 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,60.66 KB, application/x-xz)
2024-08-05 20:53 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,30.27 KB, application/x-xz)
2024-08-05 20:53 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-08-05 20:53:04 UTC
too long lines were shrinked:

FAILED: src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/DisplayViewHelpers.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DOpenColorIO_EXPORTS -I/var/tmp/portage/media-libs/opencolorio-2.3.2/work/OpenColorIO-2.3.2/include/OpenColorIO/.. -I/var/tmp/portage/media-libs/opencolorio-2.3.2/work/OpenColorIO-2.3.2/include/OpenColorIO -I/var/tmp/portage/media-libs/opencolorio-2.3.2/work/OpenCol
In file included from /var/tmp/portage/media-libs/opencolorio-2.3.2/work/OpenColorIO-2.3.2/src/OpenColorIO/apphelpers/DisplayViewHelpers.cpp:11:
/var/tmp/portage/media-libs/opencolorio-2.3.2/work/OpenColorIO-2.3.2/include/OpenColorIO/../OpenColorIO/OpenColorIO.h:3276:10: error: use of enum TextureDimensions without previous declaration
 3276 |     enum TextureDimensions : uint8_t {
      |          ^~~~~~~~~~~~~~~~~
/var/tmp/portage/media-libs/opencolorio-2.3.2/work/OpenColorIO-2.3.2/include/OpenColorIO/../OpenColorIO/OpenColorIO.h:3276:30: error: uint8_t was not declared in this scope
 3276 |     enum TextureDimensions : uint8_t {
      |                              ^~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20240802-065003

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.2
  [2]   php8.3 *
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit 4731010634b1b8b4eb813c0684c07b01549eadb4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 5 19:03:58 2024 +0000

    2024-08-05 19:03:58 UTC

emerge -qpvO media-libs/opencolorio
[ebuild  N    ] media-libs/opencolorio-2.3.2  USE="-apps -doc -opengl -python -test" CPU_FLAGS_X86="avx avx2 f16c sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-08-05 20:53:05 UTC
Created attachment 899175 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-05 20:53:07 UTC
Created attachment 899176 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-05 20:53:08 UTC
Created attachment 899177 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-05 20:53:09 UTC
Created attachment 899178 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-05 20:53:10 UTC
Created attachment 899179 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-05 20:53:11 UTC
Created attachment 899180 [details]
media-libs:opencolorio-2.3.2:20240805-203115.log
Comment 7 Toralf Förster gentoo-dev 2024-08-05 20:53:12 UTC
Created attachment 899181 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-05 20:53:13 UTC
Created attachment 899182 [details]
temp.tar.xz
Comment 9 Christopher Fore 2024-08-09 13:25:21 UTC
*** Bug 937478 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2024-08-14 15:55:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3197f504e0b61d5f940e411601cbdaba10d0c9d1

commit 3197f504e0b61d5f940e411601cbdaba10d0c9d1
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-08-14 15:50:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-14 15:55:16 +0000

    media-libs/opencolorio: fix build with gcc-15
    
    Closes: https://bugs.gentoo.org/937408
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38148
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/opencolorio-2.3.2-include-cstdint.patch  | 26 ++++++++++++++++++++++
 media-libs/opencolorio/opencolorio-2.3.2.ebuild    |  1 +
 2 files changed, 27 insertions(+)