Source: pytorch
Version: 2.1.2+dfsg-4
Severity: serious
Justification: FTBFS
Tags: sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-impfuncdef

Dear Maintainer,

pytorch fails to build from source with the following errors:

/<<PKGBUILDDIR>>/torch/csrc/dynamo/eval_frame.c: In function ‘eval_custom_code’:
/<<PKGBUILDDIR>>/torch/csrc/dynamo/eval_frame.c:784:5: error: implicit 
declaration of function ‘THP_PyFrame_Clear’ [-Wimplicit-function-declaration]
  784 |     THP_PyFrame_Clear(shadow);
      |     ^~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/torch/csrc/dynamo/eval_frame.c: In function 
‘_custom_eval_frame’:
/<<PKGBUILDDIR>>/torch/csrc/dynamo/eval_frame.c:948:7: error: implicit 
declaration of function ‘THP_PyFrame_FastToLocalsWithError’; did you mean 
‘PyFrame_FastToLocalsWithError’? [-Wimplicit-function-declaration]
  948 |   if (THP_PyFrame_FastToLocalsWithError(frame) < 0) {
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       PyFrame_FastToLocalsWithError

Reply via email to