Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937238 - media-libs/osl-1.13.10.0 - [icu-75.1] [gcc-15] /.../dual.h: error: const class OSL_v1_13::DualStorage<T, 3> has no member named dz
Summary: media-libs/osl-1.13.10.0 - [icu-75.1] [gcc-15] /.../dual.h: error: const clas...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-03 14:30 UTC by Toralf Förster
Modified: 2024-08-24 18:16 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.14 KB, text/plain)
2024-08-03 14:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,169.78 KB, text/plain)
2024-08-03 14:30 UTC, Toralf Förster
Details
environment (environment,147.29 KB, text/plain)
2024-08-03 14:30 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2024-08-03 14:30 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,42.00 KB, application/x-xz)
2024-08-03 14:30 UTC, Toralf Förster
Details
media-libs:osl-1.13.10.0:20240803-111705.log (media-libs:osl-1.13.10.0:20240803-111705.log,21.77 KB, text/plain)
2024-08-03 14:30 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,45.48 KB, application/x-xz)
2024-08-03 14:30 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.39 KB, application/x-xz)
2024-08-03 14:30 UTC, Toralf Förster
Details
build fail log for original bug message (osl-1.13.10.0_build_fail1_no_member_dz.log,290.10 KB, text/plain)
2024-08-24 18:07 UTC, tdr
Details
later build failure for missing cstdint (osl-1.13.10.0_build_fail2_missing_cstdint.log,316.38 KB, text/plain)
2024-08-24 18:08 UTC, tdr
Details
combined patch to fix 2 build failures (bug_937238.patch,1.35 KB, patch)
2024-08-24 18:09 UTC, tdr
Details | Diff

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-03 14:30:11 UTC
too long lines were shrinked:

[4/231] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_HEADER_ONLY=1 -DOIIO_DISABLE_DEPRECATED=1 -DOIIO_HIDE_FORMAT=1 -DOSL_FAST_MATH=1 -DOSL_INTERNAL=1 -DOSL_LLVM_FULL_VERSION=\"18.1.8\" -DOSL_LLVM_NEW_PASS_MANAGER -DOSL_LLVM_OPAQUE_POINTERS -DOSL_LLVM_VERSION=181 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MA
FAILED: src/liboslnoise/CMakeFiles/oslnoise.dir/simplexnoise.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_HEADER_ONLY=1 -DOIIO_DISABLE_DEPRECATED=1 -DOIIO_HIDE_FORMAT=1 -DOSL_FAST_MATH=1 -DOSL_INTERNAL=1 -DOSL_LLVM_FULL_VERSION=\"18.1.8\" -DOSL_LLVM_NEW_PASS_MANAGER -DOSL_LLVM_OPAQUE_POINTERS -DOSL_LLVM_VERSION=181 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Do
In file included from /var/tmp/portage/media-libs/osl-1.13.10.0/work/OpenShadingLanguage-1.13.10.0/src/include/OSL/oslnoise.h:18,
                 from /var/tmp/portage/media-libs/osl-1.13.10.0/work/OpenShadingLanguage-1.13.10.0/src/liboslnoise/simplexnoise.cpp:50:
/var/tmp/portage/media-libs/osl-1.13.10.0/work/OpenShadingLanguage-1.13.10.0/src/include/OSL/dual.h: In copy constructor 'constexpr OSL_v1_13::DualStorage<T, 3>::DualStorage(const OSL_v1_13::DualStorage<T, 3>&)':
/var/tmp/portage/media-libs/osl-1.13.10.0/work/OpenShadingLanguage-1.13.10.0/src/include/OSL/dual.h:207:18: error: 'const class OSL_v1_13::DualStorage<T, 3>' has no member named 'dz'; did you mean 'm_dz'?
  207 |     , m_dz(other.dz)
      |                  ^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened_systemd-20240801-090532

  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 following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit 3d6da5f6e13905dd77908a6b1e2c3990330748b8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 3 10:36:10 2024 +0000

    2024-08-03 10:36:10 UTC

emerge -qpvO media-libs/osl
[ebuild  N    ] media-libs/osl-1.13.10.0  USE="-debug -doc -gui -libcxx -nofma -optix -partio -python -qt6 -test" CPU_FLAGS_X86="avx avx2 f16c sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" LLVM_SLOT="18 -15 -16 -17" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-08-03 14:30:11 UTC
Created attachment 898878 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-03 14:30:13 UTC
Created attachment 898879 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-03 14:30:14 UTC
Created attachment 898880 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-03 14:30:15 UTC
Created attachment 898881 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-03 14:30:16 UTC
Created attachment 898882 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-03 14:30:17 UTC
Created attachment 898883 [details]
media-libs:osl-1.13.10.0:20240803-111705.log
Comment 7 Toralf Förster gentoo-dev 2024-08-03 14:30:18 UTC
Created attachment 898884 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-03 14:30:19 UTC
Created attachment 898885 [details]
temp.tar.xz
Comment 9 tdr 2024-08-24 18:05:48 UTC
I hit this failure with no_member_dz then after patching for that, hit a later compile failure solvable by including cstdint.


Including build fail logs for original fail + second failure cases, and attaching a patch that fixes both conditions.
Comment 10 tdr 2024-08-24 18:07:21 UTC
Created attachment 901132 [details]
build fail log for original bug message

confirms the original bug condition
Comment 11 tdr 2024-08-24 18:08:34 UTC
Created attachment 901133 [details]
later build failure for missing cstdint

second failure after original bug failure topic is patched for
Comment 12 tdr 2024-08-24 18:09:29 UTC
Created attachment 901134 [details, diff]
combined patch to fix 2 build failures
Comment 13 tdr 2024-08-24 18:16:47 UTC
Attached patch works for both osl-1.13.x versions currently in portage:

=osl-1.13.7.0
# ebuild osl-1.13.7.0.ebuild clean prepare
 * osl-1.13.7.0.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                           [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                         [ ok ]
 * Using python3.12 to build
>>> Unpacking source...
>>> Unpacking osl-1.13.7.0.tar.gz to /var/tmp/portage/media-libs/osl-1.13.7.0/work
>>> Source unpacked in /var/tmp/portage/media-libs/osl-1.13.7.0/work
>>> Preparing source in /var/tmp/portage/media-libs/osl-1.13.7.0/work/OpenShadingLanguage-1.13.7.0 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-libs/osl-1.13.7.0/work/OpenShadingLanguage-1.13.7.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-libs/osl-1.13.7.0/work/OpenShadingLanguage-1.13.7.0_build"
 * ===================================================================================================================================================================================================
 * Applying user patches from /etc/portage/patches ...
 * Applying bug_937238.patch ...                                                                                                                                                               [ ok ]
 * User patches applied.
 * ===================================================================================================================================================================================================
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *      set (CMAKE_BUILD_TYPE "Release")
 * Hardcoded definition(s) removed in testsuite/example-batched-deformer/CMakeLists.txt:
 *      set (CMAKE_BUILD_TYPE "Debug")
 *  set (CMAKE_BUILD_TYPE "Debug")
 * Hardcoded definition(s) removed in testsuite/example-cuda/CMakeLists.txt:
 *      set (CMAKE_BUILD_TYPE "Release")
 * Hardcoded definition(s) removed in testsuite/example-deformer/CMakeLists.txt:
 *      set (CMAKE_BUILD_TYPE "Release")
>>> Source prepared.
...
>>> Source compiled.


=osl-1.13.10.0.
>>> Preparing source in /var/tmp/portage/media-libs/osl-1.13.10.0/work/OpenShadingLanguage-1.13.10.0 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-libs/osl-1.13.10.0/work/OpenShadingLanguage-1.13.10.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-libs/osl-1.13.10.0/work/OpenShadingLanguage-1.13.10.0_build"
 * ===================================================================================================================================================================================================
 * Applying user patches from /etc/portage/patches ...
 * Applying bug_937238.patch ...                                                                                                                                                               [ ok ]
 * User patches applied.
...
>>> Source compiled.