Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841479 - media-libs/opencolorio-2.1.1-r7 - /.../FileRules.cpp: error: strlen was not declared in this scope
Summary: media-libs/opencolorio-2.1.1-r7 - /.../FileRules.cpp: error: strlen was not d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-28 12:36 UTC by Toralf Förster
Modified: 2022-05-07 07:17 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.91 KB, text/plain)
2022-04-28 12:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,153.35 KB, text/plain)
2022-04-28 12:36 UTC, Toralf Förster
Details
environment (environment,127.77 KB, text/plain)
2022-04-28 12:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.92 KB, application/x-bzip)
2022-04-28 12:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.93 KB, application/x-bzip)
2022-04-28 12:36 UTC, Toralf Förster
Details
media-libs:opencolorio-2.1.1-r7:20220428-120525.log (media-libs:opencolorio-2.1.1-r7:20220428-120525.log,76.39 KB, text/plain)
2022-04-28 12:36 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.20 KB, application/x-bzip)
2022-04-28 12:36 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 2022-04-28 12:36:46 UTC
too long lines were shrinked:

[53/171] /usr/bin/x86_64-pc-linux-gnu-g++ -DOpenColorIO_EXPORTS -DUSE_SSE -I/var/tmp/portage/media-libs/opencolorio-2.1.1-r7/work/OpenColorIO-2.1.1/include/OpenColorIO/.. -I/var/tmp/portage/media-libs/opencolorio-2.1.1-r7/work/OpenColorIO-2.1.1/include/OpenColorIO -I/var/tmp/portage/media-libs/openc
FAILED: src/OpenColorIO/CMakeFiles/OpenColorIO.dir/FileRules.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DOpenColorIO_EXPORTS -DUSE_SSE -I/var/tmp/portage/media-libs/opencolorio-2.1.1-r7/work/OpenColorIO-2.1.1/include/OpenColorIO/.. -I/var/tmp/portage/media-libs/opencolorio-2.1.1-r7/work/OpenColorIO-2.1.1/include/OpenColorIO -I/var/tmp/portage/media-libs/opencolorio-2.
/var/tmp/portage/media-libs/opencolorio-2.1.1-r7/work/OpenColorIO-2.1.1/src/OpenColorIO/FileRules.cpp: In function std::string OpenColorIO_v2_1::{anonymous}::ConvertToRegularExpression(const char*, bool)’:
/var/tmp/portage/media-libs/opencolorio-2.1.1-r7/work/OpenColorIO-2.1.1/src/OpenColorIO/FileRules.cpp:64:31: error: strlen’ was not declared in this scope
   64 |         const size_t length = strlen(globPattern);
      |                               ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4-20220427-080035

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
clang version 14.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 4b4e6db6a2ffd98ae011eae825473f7ac94e3e2c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Apr 28 10:48:10 2022 +0000

    2022-04-28 10:48:10 UTC

emerge -qpvO media-libs/opencolorio
[ebuild  N    ] media-libs/opencolorio-2.1.1-r7  USE="(-doc) -opengl -python -static-libs -test" CPU_FLAGS_X86="sse2" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-04-28 12:36:47 UTC
Created attachment 775170 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-28 12:36:49 UTC
Created attachment 775173 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-28 12:36:50 UTC
Created attachment 775176 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-28 12:36:51 UTC
Created attachment 775179 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-28 12:36:52 UTC
Created attachment 775182 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-28 12:36:54 UTC
Created attachment 775185 [details]
media-libs:opencolorio-2.1.1-r7:20220428-120525.log
Comment 7 Toralf Förster gentoo-dev 2022-04-28 12:36:55 UTC
Created attachment 775188 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-05-07 07:17:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16594ec389119cfd9c6058b5b00972b80cd532d7

commit 16594ec389119cfd9c6058b5b00972b80cd532d7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-07 07:08:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-07 07:17:00 +0000

    media-libs/opencolorio: fix build with GCC 12
    
    Closes: https://bugs.gentoo.org/841479
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/opencolorio/files/opencolorio-2.1.1-gcc12.patch | 14 ++++++++++++++
 media-libs/opencolorio/opencolorio-2.1.1-r7.ebuild         |  4 ++++
 2 files changed, 18 insertions(+)