Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829453 - media-libs/opencolorio-2.1.1-r2 - /.../NumberUtils.h: error: ::strtol_l has not been declared
Summary: media-libs/opencolorio-2.1.1-r2 - /.../NumberUtils.h: error: ::strtol_l has n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-12-17 12:23 UTC by Toralf Förster
Modified: 2022-09-01 02:06 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.11 KB, text/plain)
2021-12-17 12:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,19.90 KB, text/plain)
2021-12-17 12:23 UTC, Toralf Förster
Details
environment (environment,125.06 KB, text/plain)
2021-12-17 12:23 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,7.59 KB, application/x-bzip)
2021-12-17 12:23 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.88 KB, application/x-bzip)
2021-12-17 12:23 UTC, Toralf Förster
Details
media-libs:opencolorio-2.1.1:20211217-061225.log (media-libs:opencolorio-2.1.1:20211217-061225.log,45.97 KB, text/plain)
2021-12-17 12:23 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.32 KB, application/x-bzip)
2021-12-17 12:23 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 2021-12-17 12:23:03 UTC
too long lines were shrinked:

FAILED: src/OpenColorIO/CMakeFiles/OpenColorIO.dir/ParseUtils.cpp.o 
/usr/bin/x86_64-gentoo-linux-musl-g++ -DOpenColorIO_EXPORTS -DUSE_SSE -I/var/tmp/portage/media-libs/opencolorio-2.1.1/work/OpenColorIO-2.1.1/include/OpenColorIO/.. -I/var/tmp/portage/media-libs/opencolorio-2.1.1/work/OpenColorIO-2.1.1/include/OpenColorIO -I/var/tmp/portage/media-libs/opencolorio-2.1
In file included from /var/tmp/portage/media-libs/opencolorio-2.1.1/work/OpenColorIO-2.1.1/src/OpenColorIO/ParseUtils.cpp:15:
/var/tmp/portage/media-libs/opencolorio-2.1.1/work/OpenColorIO-2.1.1/src/utils/NumberUtils.h: In function 'OpenColorIO_v2_1::NumberUtils::from_chars_result OpenColorIO_v2_1::NumberUtils::from_chars(const char*, const char*, long int&)':
/var/tmp/portage/media-libs/opencolorio-2.1.1/work/OpenColorIO-2.1.1/src/utils/NumberUtils.h:143:17: error: '::strtol_l' has not been declared; did you mean 'strtoll'?
  143 |     tempval = ::strtol_l(first, &endptr, 0, loc.local);
      |                 ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20211217-040058

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
php cli:

  HEAD of ::gentoo
commit 0f4b9ffae996f3d04baa020f4c53b301ccda3676
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 17 05:51:38 2021 +0000

    2021-12-17 05:51:37 UTC

emerge -qpvO media-libs/opencolorio
[ebuild  N    ] media-libs/opencolorio-2.1.1  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 2021-12-17 12:23:04 UTC
Created attachment 759438 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-17 12:23:05 UTC
Created attachment 759439 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-17 12:23:07 UTC
Created attachment 759440 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-17 12:23:08 UTC
Created attachment 759441 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-17 12:23:09 UTC
Created attachment 759442 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-17 12:23:10 UTC
Created attachment 759443 [details]
media-libs:opencolorio-2.1.1:20211217-061225.log
Comment 7 Toralf Förster gentoo-dev 2021-12-17 12:23:11 UTC
Created attachment 759444 [details]
temp.tar.bz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-01-27 07:16:40 UTC
tinderbox_musl has reproduced this issue with version 2.1.1-r2 - Updating summary.
Comment 9 Larry the Git Cow gentoo-dev 2022-09-01 02:06:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855ef95061367779af0f38f7afd291af21616403

commit 855ef95061367779af0f38f7afd291af21616403
Author:     brahmajit das <listout@protonmail.com>
AuthorDate: 2022-08-23 09:25:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-01 02:05:26 +0000

    media-libs/opencolorio: Fix strtol_l on musl
    
    Fix strtol_l missing on musl. On musl libc use strtol
    Taken from Alpine Linux, please refer:
    https://git.alpinelinux.org/aports/tree/community/opencolorio/0002-fix-strtol.patch
    
    Closes: https://bugs.gentoo.org/829453
    
    Signed-off-by: brahmajit das <listout@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/26855
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/opencolorio-2.1.2-musl-strtol.patch      | 27 ++++++++++++++++++++++
 media-libs/opencolorio/opencolorio-2.1.2.ebuild    |  1 +
 2 files changed, 28 insertions(+)