Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953366 - sci-ml/caffe2-2.6.0-r3 - [llvm] strong_type.h: error: is_arithmetic cannot be specialized: Users are not allowed to specialize this standard library entity [-Winvalid-spe
Summary: sci-ml/caffe2-2.6.0-r3 - [llvm] strong_type.h: error: is_arithmetic cannot be...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-07 18:31 UTC by Toralf Förster
Modified: 2025-04-13 16:42 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.57 KB, text/plain)
2025-04-07 18:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,218.51 KB, text/plain)
2025-04-07 18:31 UTC, Toralf Förster
Details
environment (environment,145.02 KB, text/plain)
2025-04-07 18:31 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.61 KB, application/x-xz)
2025-04-07 18:31 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.38 KB, application/x-xz)
2025-04-07 18:31 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,243.46 KB, application/x-xz)
2025-04-07 18:31 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,58.23 KB, application/x-xz)
2025-04-07 18:31 UTC, Toralf Förster
Details
sci-ml:caffe2-2.6.0-r3:20250407-051916.log.xz (sci-ml:caffe2-2.6.0-r3:20250407-051916.log.xz,37.71 KB, application/x-xz)
2025-04-07 18:31 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.95 KB, application/x-xz)
2025-04-07 18:31 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 2025-04-07 18:31:49 UTC
/var/tmp/portage/sci-ml/caffe2-2.6.0-r3/work/pytorch-2.6.0/c10/util/Logging.h:33:47: warning: extra ';' outside of a function is incompatible with C++98 [-Wc++98-compat-extra-semi]
   33 | C10_DECLARE_bool(caffe2_use_fatal_for_enforce);
      |                                               ^
In file included from /var/tmp/portage/sci-ml/caffe2-2.6.0-r3/work/pytorch-2.6.0/torch/csrc/autograd/profiler_kineto.cpp:3:
In file included from /var/tmp/portage/sci-ml/caffe2-2.6.0-r3/work/pytorch-2.6.0/torch/csrc/autograd/profiler_kineto.h:8:
In file included from /var/tmp/portage/sci-ml/caffe2-2.6.0-r3/work/pytorch-2.6.0/torch/csrc/profiler/stubs/base.h:7:
/var/tmp/portage/sci-ml/caffe2-2.6.0-r3/work/pytorch-2.6.0/c10/util/strong_type.h:1608:8: error: 'is_arithmetic' cannot be specialized: Users are not allowed to specialize this standard library entity [-Winvalid-specialization]
 1608 | struct is_arithmetic<::strong::type<T, Tag, M...>>
      |        ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20250403-002508

  Block bug #351559 if this looks like a parallel build issue.

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 20.1.2+libcxx
llvm-config: 20.1.2+libcxx
Python 3.12.9
go version go1.24.1 linux/amd64
  [1]   php8.2
  [2]   php8.4 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.85.1
  [2]   rust-1.85.1
  [3]   rust-bin-1.86
  [4]   rust-1.86 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 12e4c1828881c7771b2998dddecd011ad216b659
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 7 04:35:20 2025 +0000

    2025-04-07 04:35:19 UTC

emerge -qpvO =sci-ml/caffe2-2.6.0-r3
[ebuild  N    ] sci-ml/caffe2-2.6.0-r3  USE="numpy openmp -cuda -distributed -fbgemm -flash -gloo -memefficient -mkl -mpi -nnpack -onednn -openblas -opencl -qnnpack -rocm -xnnpack" AMDGPU_TARGETS="gfx90a gfx906 gfx908 gfx942 gfx1030 gfx1100 -gfx803 -gfx900 -gfx940 -gfx941 -gfx1010 -gfx1011 -gfx1012 -gfx1031 -gfx1101 -gfx1102" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2025-04-07 18:31:50 UTC
Created attachment 923781 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-04-07 18:31:52 UTC
Created attachment 923782 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-04-07 18:31:53 UTC
Created attachment 923783 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-04-07 18:31:54 UTC
Created attachment 923784 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-04-07 18:31:55 UTC
Created attachment 923785 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-04-07 18:31:56 UTC
Created attachment 923786 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-04-07 18:31:57 UTC
Created attachment 923787 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2025-04-07 18:31:58 UTC
Created attachment 923788 [details]
sci-ml:caffe2-2.6.0-r3:20250407-051916.log.xz
Comment 9 Toralf Förster gentoo-dev 2025-04-07 18:31:59 UTC
Created attachment 923789 [details]
temp.tar.xz
Comment 10 Tupone Alfredo gentoo-dev 2025-04-10 06:32:26 UTC
I can't reproduce even with clang-20.
Do you have any idea how to reproduce it ?
Comment 11 Toralf Förster gentoo-dev 2025-04-13 16:42:46 UTC
(In reply to Tupone Alfredo from comment #10)
> I can't reproduce even with clang-20.
> Do you have any idea how to reproduce it ?

Hhm, maybe related to the llvm profile itself than to the clang (under gcc profile)?