[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1051258: pytorch2 ftbfs on ppc64el



Package: src:pytorch
Version: 2.0.1+dfsg-1
Severity: serious
Tags: sid trixie

pytorch2 ftbfs on ppc64el:
https://buildd.debian.org/status/fetch.php?pkg=pytorch&arch=ppc64el&ver=2.0.1%2Bdfsg-1&stamp=1693903013&raw=0

[...]
FAILED: caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.DEFAULT.cpp.o /usr/bin/c++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -DUSE_TENSORPIPE -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/<<PKGBUILDDIR>>/build/aten/src -I/<<PKGBUILDDIR>>/aten/src -I/<<PKGBUILDDIR>>/build -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/cmake/../third_party/benchmark/include -I/<<PKGBUILDDIR>>/debian/foxi -I/<<PKGBUILDDIR>>/build/debian/foxi -I/<<PKGBUILDDIR>>/torch/csrc/api -I/<<PKGBUILDDIR>>/torch/csrc/api/include -I/<<PKGBUILDDIR>>/caffe2/aten/src/TH -I/<<PKGBUILDDIR>>/build/caffe2/aten/src/TH -I/<<PKGBUILDDIR>>/build/caffe2/aten/src -I/<<PKGBUILDDIR>>/build/caffe2/../aten/src -I/<<PKGBUILDDIR>>/torch/csrc -I/<<PKGBUILDDIR>>/third_party/miniz-2.1.0 -I/<<PKGBUILDDIR>>/debian/kineto/libkineto/include -I/<<PKGBUILDDIR>>/debian/kineto/libkineto/src -I/<<PKGBUILDDIR>>/aten/../third_party/catch/single_include -I/<<PKGBUILDDIR>>/aten/src/ATen/.. -I/<<PKGBUILDDIR>>/c10/.. -I/<<PKGBUILDDIR>>/third_party/flatbuffers/include -isystem /<<PKGBUILDDIR>>/build/third_party/gloo -isystem /<<PKGBUILDDIR>>/cmake/../third_party/gloo -isystem /<<PKGBUILDDIR>>/cmake/../third_party/googletest/googlemock/include -isystem /<<PKGBUILDDIR>>/cmake/../third_party/googletest/googletest/include -isystem /usr/include/opencv4 -isystem /usr/include/eigen3 -isystem /<<PKGBUILDDIR>>/caffe2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -gsplit-dwarf -Wno-dangling-reference -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -O2 -g -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.DEFAULT.cpp.o -MF caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.DEFAULT.cpp.o.d -o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.DEFAULT.cpp.o -c /<<PKGBUILDDIR>>/build/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.DEFAULT.cpp
In file included from /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vec256.h:8,
                 from /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec.h:6,
                 from /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/functional_base.h:6,
                 from /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/functional.h:3,
from /<<PKGBUILDDIR>>/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp:9, from /<<PKGBUILDDIR>>/build/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.DEFAULT.cpp:1: /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h: In instantiation of ‘at::vec::DEFAULT::Vectorized<T> at::vec::DEFAULT::operator<<(const Vectorized<T>&, const Vectorized<T>&) [with T = int]’: /<<PKGBUILDDIR>>/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp:315:3: required from here /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:808:6: error: use of deleted function ‘int32_t& at::vec::DEFAULT::Vectorized<int>::operator[](int)’
  808 |     c[i] = a[i] << b[i];
      |     ~^
In file included from /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_common_vsx.h:11,
                 from /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vec256.h:19:
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int32_vsx.h:220:12: note: declared here
  220 |   int32_t& operator[](int idx) = delete;
      |            ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:808:13: error: use of deleted function ‘const int32_t& at::vec::DEFAULT::Vectorized<int>::operator[](int) const’
  808 |     c[i] = a[i] << b[i];
      |            ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int32_vsx.h:219:18: note: declared here
  219 |   const int32_t& operator[](int idx) const = delete;
      |                  ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:808:21: error: use of deleted function ‘const int32_t& at::vec::DEFAULT::Vectorized<int>::operator[](int) const’
  808 |     c[i] = a[i] << b[i];
      |                    ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int32_vsx.h:219:18: note: declared here
  219 |   const int32_t& operator[](int idx) const = delete;
      |                  ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h: In instantiation of ‘at::vec::DEFAULT::Vectorized<T> at::vec::DEFAULT::operator<<(const Vectorized<T>&, const Vectorized<T>&) [with T = long int]’: /<<PKGBUILDDIR>>/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp:315:3: required from here /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:808:6: error: use of deleted function ‘int64_t& at::vec::DEFAULT::Vectorized<long int>::operator[](int)’
  808 |     c[i] = a[i] << b[i];
      |     ~^
In file included from /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_common_vsx.h:12: /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int64_vsx.h:172:12: note: declared here
  172 |   int64_t& operator[](int idx) = delete;
      |            ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:808:13: error: use of deleted function ‘const int64_t& at::vec::DEFAULT::Vectorized<long int>::operator[](int) const’
  808 |     c[i] = a[i] << b[i];
      |            ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int64_vsx.h:171:18: note: declared here
  171 |   const int64_t& operator[](int idx) const = delete;
      |                  ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:808:21: error: use of deleted function ‘const int64_t& at::vec::DEFAULT::Vectorized<long int>::operator[](int) const’
  808 |     c[i] = a[i] << b[i];
      |                    ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int64_vsx.h:171:18: note: declared here
  171 |   const int64_t& operator[](int idx) const = delete;
      |                  ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h: In instantiation of ‘at::vec::DEFAULT::Vectorized<T> at::vec::DEFAULT::operator<<(const Vectorized<T>&, const Vectorized<T>&) [with T = short int]’: /<<PKGBUILDDIR>>/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp:315:3: required from here /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:808:6: error: use of deleted function ‘int16_t& at::vec::DEFAULT::Vectorized<short int>::operator[](int)’
  808 |     c[i] = a[i] << b[i];
      |     ~^
In file included from /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_common_vsx.h:10: /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int16_vsx.h:289:12: note: declared here
  289 |   int16_t& operator[](int idx) = delete;
      |            ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:808:13: error: use of deleted function ‘const int16_t& at::vec::DEFAULT::Vectorized<short int>::operator[](int) const’
  808 |     c[i] = a[i] << b[i];
      |            ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int16_vsx.h:288:18: note: declared here
  288 |   const int16_t& operator[](int idx) const = delete;
      |                  ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:808:21: error: use of deleted function ‘const int16_t& at::vec::DEFAULT::Vectorized<short int>::operator[](int) const’
  808 |     c[i] = a[i] << b[i];
      |                    ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int16_vsx.h:288:18: note: declared here
  288 |   const int16_t& operator[](int idx) const = delete;
      |                  ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h: In instantiation of ‘at::vec::DEFAULT::Vectorized<T> at::vec::DEFAULT::operator>>(const Vectorized<T>&, const Vectorized<T>&) [with T = int]’: /<<PKGBUILDDIR>>/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp:384:3: required from here /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:816:6: error: use of deleted function ‘int32_t& at::vec::DEFAULT::Vectorized<int>::operator[](int)’
  816 |     c[i] = a[i] >> b[i];
      |     ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int32_vsx.h:220:12: note: declared here
  220 |   int32_t& operator[](int idx) = delete;
      |            ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:816:13: error: use of deleted function ‘const int32_t& at::vec::DEFAULT::Vectorized<int>::operator[](int) const’
  816 |     c[i] = a[i] >> b[i];
      |            ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int32_vsx.h:219:18: note: declared here
  219 |   const int32_t& operator[](int idx) const = delete;
      |                  ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:816:21: error: use of deleted function ‘const int32_t& at::vec::DEFAULT::Vectorized<int>::operator[](int) const’
  816 |     c[i] = a[i] >> b[i];
      |                    ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int32_vsx.h:219:18: note: declared here
  219 |   const int32_t& operator[](int idx) const = delete;
      |                  ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h: In instantiation of ‘at::vec::DEFAULT::Vectorized<T> at::vec::DEFAULT::operator>>(const Vectorized<T>&, const Vectorized<T>&) [with T = long int]’: /<<PKGBUILDDIR>>/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp:384:3: required from here /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:816:6: error: use of deleted function ‘int64_t& at::vec::DEFAULT::Vectorized<long int>::operator[](int)’
  816 |     c[i] = a[i] >> b[i];
      |     ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int64_vsx.h:172:12: note: declared here
  172 |   int64_t& operator[](int idx) = delete;
      |            ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:816:13: error: use of deleted function ‘const int64_t& at::vec::DEFAULT::Vectorized<long int>::operator[](int) const’
  816 |     c[i] = a[i] >> b[i];
      |            ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int64_vsx.h:171:18: note: declared here
  171 |   const int64_t& operator[](int idx) const = delete;
      |                  ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:816:21: error: use of deleted function ‘const int64_t& at::vec::DEFAULT::Vectorized<long int>::operator[](int) const’
  816 |     c[i] = a[i] >> b[i];
      |                    ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int64_vsx.h:171:18: note: declared here
  171 |   const int64_t& operator[](int idx) const = delete;
      |                  ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h: In instantiation of ‘at::vec::DEFAULT::Vectorized<T> at::vec::DEFAULT::operator>>(const Vectorized<T>&, const Vectorized<T>&) [with T = short int]’: /<<PKGBUILDDIR>>/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp:384:3: required from here /<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:816:6: error: use of deleted function ‘int16_t& at::vec::DEFAULT::Vectorized<short int>::operator[](int)’
  816 |     c[i] = a[i] >> b[i];
      |     ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int16_vsx.h:289:12: note: declared here
  289 |   int16_t& operator[](int idx) = delete;
      |            ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:816:13: error: use of deleted function ‘const int16_t& at::vec::DEFAULT::Vectorized<short int>::operator[](int) const’
  816 |     c[i] = a[i] >> b[i];
      |            ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int16_vsx.h:288:18: note: declared here
  288 |   const int16_t& operator[](int idx) const = delete;
      |                  ^~~~~~~~
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec_base.h:816:21: error: use of deleted function ‘const int16_t& at::vec::DEFAULT::Vectorized<short int>::operator[](int) const’
  816 |     c[i] = a[i] >> b[i];
      |                    ~^
/<<PKGBUILDDIR>>/aten/src/ATen/cpu/vec/vec256/vsx/vec256_int16_vsx.h:288:18: note: declared here
  288 |   const int16_t& operator[](int idx) const = delete;
      |                  ^~~~~~~~


Reply to: