<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">I’m working on porting AllenNLP models in <a href="https://github.com/macports/macports-ports/pull/5862">https://github.com/macports/macports-ports/pull/5862</a> .<div><br></div><div>The build bot fails building py38-pytorch, which I haven’t modified within this PR. I have verified that the Python version 3.7 build of the parent py-allennlp works both locally and within the build bot.</div><div><br></div><div>Have I specified something incorrect in the parent Portfile for py-allennlp? Is this is known issue? Should I scale back to just Python version 3.7 for this port?</div><div><br></div><div>See: <a href="https://paste.z0k.xyz/aa3770fbe290">https://paste.z0k.xyz/aa3770fbe290</a></div><div><blockquote type="cite"><div>[ 96%] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Device.cpp.o</div><div>/opt/local/var/macports/build/_Users_runner_runners_2.160.1_work_1_s_python_py-pytorch/py38-pytorch/work/pytorch-1.3.1/test/cpp/api/serialize.cpp:333:25: warning: comparison of integers of different signs: 'int64_t' (aka 'long long') and 'std::__1::vector<at::Tensor, std::__1::allocator<at::Tensor> >::size_type' (aka 'unsigned long') [-Wsign-compare]</div><div>  for (int64_t i = 0; i < x_vec.size(); i++) {</div><div>                      ~ ^ ~~~~~~~~~~~~</div><div>/opt/local/var/macports/build/_Users_runner_runners_2.160.1_work_1_s_python_py-pytorch/py38-pytorch/work/pytorch-1.3.1/torch/csrc/Device.cpp:185:3: error: cannot initialize a member subobject of type 'Py_ssize_t' (aka 'long') with an rvalue of type 'nullptr_t'</div><div>  nullptr,                                     /* tp_print */</div><div>  ^~~~~~~</div><div>[ 96%] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Dtype.cpp.o</div><div>/opt/local/var/macports/build/_Users_runner_runners_2.160.1_work_1_s_python_py-pytorch/py38-pytorch/work/pytorch-1.3.1/torch/csrc/Dtype.cpp:65:3: error: cannot initialize a member subobject of type 'Py_ssize_t' (aka 'long') with an rvalue of type 'nullptr_t'</div><div>  nullptr,                                     /* tp_print */</div><div>  ^~~~~~~</div><div>1 error generated.</div><div>make[2]: *** [caffe2/torch/CMakeFiles/torch_python.dir/csrc/Device.cpp.o] Error 1</div><div>make[2]: *** Waiting for unfinished jobs....</div><div>[ 96%] Building CXX object test_api/CMakeFiles/test_api.dir/static.cpp.o</div><div>1 error generated.</div></blockquote></div></body></html>