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

Bug#1004782: marked as done (pytorch: FTBFS with ffmpeg 5.0)



Your message dated Mon, 12 Sep 2022 21:44:26 +0000
with message-id <E1oXrEA-001wF6-RB@fasolo.debian.org>
and subject line Bug#1004782: fixed in pytorch 1.12.0-1
has caused the Debian Bug report #1004782,
regarding pytorch: FTBFS with ffmpeg 5.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1004782: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004782
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: pytorch
Version: 1.8.1-3
Severity: important
X-Debbugs-Cc: sramacher@debian.org

pytorch FTBFS with ffmpeg 5.0 in experimental:

/usr/lib/ccache/c++ -DGFLAGS_IS_A_DLL=0 -DGOOGLE_GLOG_DLL_DECL="" -DGOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS="" -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_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>>/build/caffe2/contrib/aten -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>>/build/caffe2/../aten/src/ATen -I/<<PKGBUILDDIR>>/torch/csrc -I/<<PKGBUILDDIR>>/third_party/miniz-2.0.8 -I/<<PKGBUILDDIR>>/aten/src/TH -I/<<PKGBUILDDIR>>/aten/../third_party/catch/single_include -I/<<PKGBUILDDIR>>/aten/src/ATen/.. -I/<<PKGBUILDDIR>>/build/caffe2/aten/src/ATen -I/<<PKGBUILDDIR>>/caffe2/core/nomnigraph/include -I/<<PKGBUILDDIR>>/c10/.. -I/<<PKGBUILDDIR>>/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/<<PKGBUILDDIR>>/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/<<PKGBUILDDIR>>/aten/src/ATen/native/quantized/cpu/qnnpack/deps/clog/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 /usr/include/python3.9 -isystem /usr/lib/python3/dist-packages/numpy/core/include -isystem /usr/lib/python3/dist-packages/pybind11/include -isystem /<<PKGBUILDDIR>>/caffe2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -gsplit-dwarf -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -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 -DHAVE_AVX_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -g -DNDEBUG -fPIC -DCAFFE2_USE_GLOO -DHAVE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -fopenmp -DCAFFE2_BUILD_MAIN_LIB -pthread -std=gnu++14 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/video/video_decoder.cc.o -MF caffe2/CMakeFiles/torch_cpu.dir/video/video_decoder.cc.o.d -o caffe2/CMakeFiles/torch_cpu.dir/video/video_decoder.cc.o -c /<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc: In constructor ‘caffe2::VideoDecoder::VideoDecoder()’:
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:15:5: error: ‘av_register_all’ was not declared in this scope
   15 |     av_register_all();
      |     ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:16:5: error: ‘avcodec_register_all’ was not declared in this scope
   16 |     avcodec_register_all();
      |     ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc: In member function ‘void caffe2::VideoDecoder::getAudioSample(AVPacket&, AVCodecContext*, AVFrame*, SwrContext*, caffe2::Callback&, const caffe2::Params&)’:
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:30:17: error: ‘avcodec_decode_audio4’ was not declared in this scope; did you mean ‘avcodec_decode_subtitle2’?
   30 |   auto result = avcodec_decode_audio4(
      |                 ^~~~~~~~~~~~~~~~~~~~~
      |                 avcodec_decode_subtitle2
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc: In member function ‘void caffe2::VideoDecoder::decodeLoop(const string&, caffe2::VideoIOContext&, const caffe2::Params&, int, caffe2::Callback&)’:
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:137:17: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  137 |   av_init_packet(&packet); // init packet
      |   ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
                 from /<<PKGBUILDDIR>>/caffe2/video/video_decoder.h:11,
                 from /<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:1:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
  506 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:188:21: error: ‘struct AVStream’ has no member named ‘codec’
  188 |         if (stream->codec->codec_type == AVMEDIA_TYPE_VIDEO &&
      |                     ^~~~~
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:193:21: error: ‘struct AVStream’ has no member named ‘codec’
  193 |             stream->codec->codec_type == AVMEDIA_TYPE_AUDIO &&
      |                     ^~~~~
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:210:40: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
  210 |     videoCodecContext_ = videoStream_->codec;
      |                                        ^~~~~
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:229:70: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
  229 |       audioCodecContext_ = inputContext->streams[audioStreamIndex_]->codec;
      |                                                                      ^~~~~
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:455:13: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
  455 |             av_free_packet(&packet);
      |             ^~~~~~~~~~~~~~
      |             av_new_packet
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:460:13: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
  460 |             av_free_packet(&packet);
      |             ^~~~~~~~~~~~~~
      |             av_new_packet
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:486:13: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
  486 |             av_free_packet(&packet);
      |             ^~~~~~~~~~~~~~
      |             av_new_packet
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:491:15: error: ‘avcodec_decode_video2’ was not declared in this scope; did you mean ‘avcodec_decode_subtitle2’?
  491 |         ret = avcodec_decode_video2(
      |               ^~~~~~~~~~~~~~~~~~~~~
      |               avcodec_decode_subtitle2
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:500:13: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
  500 |             av_free_packet(&packet);
      |             ^~~~~~~~~~~~~~
      |             av_new_packet
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:506:15: error: ‘av_frame_get_best_effort_timestamp’ was not declared in this scope
  506 |               av_frame_get_best_effort_timestamp(videoStreamFrame_);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:537:17: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
  537 |                 av_free_packet(&packet);
      |                 ^~~~~~~~~~~~~~
      |                 av_new_packet
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:563:17: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
  563 |                 av_free_packet(&packet);
      |                 ^~~~~~~~~~~~~~
      |                 av_new_packet
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:574:15: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
  574 |               av_free_packet(&packet);
      |               ^~~~~~~~~~~~~~
      |               av_new_packet
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:586:30: error: ‘avpicture_get_size’ was not declared in this scope
  586 |               int numBytes = avpicture_get_size(pixFormat, outWidth, outHeight);
      |                              ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:591:20: error: ‘AVPicture’ was not declared in this scope; did you mean ‘gotPicture’?
  591 |                   (AVPicture*)rgbFrame,
      |                    ^~~~~~~~~
      |                    gotPicture
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:591:30: error: expected primary-expression before ‘)’ token
  591 |                   (AVPicture*)rgbFrame,
      |                              ^
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:590:26: error: ‘avpicture_fill’ was not declared in this scope
  590 |               int size = avpicture_fill(
      |                          ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:631:9: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
  631 |         av_free_packet(&packet);
      |         ^~~~~~~~~~~~~~
      |         av_new_packet
/<<PKGBUILDDIR>>/caffe2/video/video_decoder.cc:633:9: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
  633 |         av_free_packet(&packet);
      |         ^~~~~~~~~~~~~~
      |         av_new_packet


Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: pytorch
Source-Version: 1.12.0-1
Done: Mo Zhou <lumin@debian.org>

We believe that the bug you reported is fixed in the latest version of
pytorch, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1004782@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mo Zhou <lumin@debian.org> (supplier of updated pytorch package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 12 Sep 2022 17:16:34 -0400
Source: pytorch
Architecture: source
Version: 1.12.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Mo Zhou <lumin@debian.org>
Closes: 1004782 1009200
Changes:
 pytorch (1.12.0-1) unstable; urgency=medium
 .
   * New upstream version 1.12.0 (June 28 2022) (Closes: #1004782, #1009200)
   * Autopkgtest: use openblas or blis instead of reference blas.
   * Patch to fix wrong shebang in several .py files.
   * Refresh existing patches.
   * Update lintian overrides.
   * Upload to unstable.
Checksums-Sha1:
 a96ddf48bcf93ddb348136f4a1a996244cf97b30 3318 pytorch_1.12.0-1.dsc
 f16186fd0d9e3b2f65647d67a6b9d4e58686d19a 16702904 pytorch_1.12.0.orig.tar.xz
 ac8885535e6278efdbf6fee5a736bedf1c414da1 88796 pytorch_1.12.0-1.debian.tar.xz
 d3f715bacb05e346b1ebb6aed791c655198f276c 8222 pytorch_1.12.0-1_source.buildinfo
Checksums-Sha256:
 6214d4d6d45db11eecfe6e8adf2aa6938759e38900b1e84636d97a46743d3b7e 3318 pytorch_1.12.0-1.dsc
 e9cc3e30f06fb95a5b27431ddf84c89db0f7d37b7de9fbdf0834ea7aceb45ebc 16702904 pytorch_1.12.0.orig.tar.xz
 217647e456ef536a8f0c333ae895b71c5b0f283cff7fa849d1de883c5e68ed40 88796 pytorch_1.12.0-1.debian.tar.xz
 8f232a24154bf45bc8273a3df6bb2ece888a0ecd3afb936cb41dcef56d7cde1e 8222 pytorch_1.12.0-1_source.buildinfo
Files:
 9f8238c5a51aec0c5e8e4c2a07279282 3318 science optional pytorch_1.12.0-1.dsc
 edae84873cc337eda2de51de20da2f16 16702904 science optional pytorch_1.12.0.orig.tar.xz
 6e166d2ddf0c0723199d4c07b66bc10e 88796 science optional pytorch_1.12.0-1.debian.tar.xz
 17eb409d67464a6993f1f72224f45e3f 8222 science optional pytorch_1.12.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAmMfoiARHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaooehQ/+MuqBFnEMGAyD2vPWCB5hie1GG2zTj0X0
bAK6WILGGrxTSn+ybNZicHdMVdEZwvPAo+xcTDc6g+nPwSzG2y9ZUqEvFuHPaZmL
K5qrG47FOix5xChlyWqd1Ba1XTikKOEb2tuFHchCLdKy6fD1WGp7bqq+p+ROF9q8
2YeatCaiRekD1CcF+7i4IiDzudKDETa163Tp9CP8+LoDOrd207tYlL1vNJ2tPgJI
94yp4pASXXZ8Aq57zP2kCZcx64FjV5HPq+eOz88zLi5Ai+hkEC0InUMHkg1mLtxg
vknSulothoMm1KkypCVsnv4euY9Q+N+WvqfwK3BRyRdPpGsaCmebQ92P8ejDxX9R
JLLeUaSuyt1r8MOvoztkoBM4IdwQHsaRguw7sA8L5lOM1wR82sbvCaVvl4aEcRcp
FVCd/gO7synyElHSz9JNB2j1OkmgXRXY4A6J0XD4gHjq96jQXU0TX5Q+gh2ZKcNk
6zbvxXzXTFSSxA0TTqOP70/pLOCYQRXuP8nS6Wp767snXk1TE8JhFoLEsZDq6YMg
5NWJZ9QC8A60ENAJAGf94hQiMgAxhGia5lJsIyI2wafI9Sy/BCafKIFkFsD4svXv
p/6RuG0tnotCRvz6TBNWiPzZwjeBIdn7/XCqYK16o+3NZOCDPh40/PyaBjGAflKC
wE1jxac8E6w=
=9ixJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: