Can not build math/sage

From: <bruce_at_hawaii-pacific.com>
Date: Sat, 21 Aug 2021 20:05:46 -1000
Hi,

I get the following error when building math/sage.  Can anyone help?

Thanks

Bruce

[sagelib-9.2] In file included from 
/usr/local/include/linbox/matrix/matrixdomain/opencl-domain.h:981:
[sagelib-9.2] 
/usr/local/include/linbox/matrix/matrixdomain/opencl-domain-factory.h:47:10: 
fatal error: 
'linbox/algorithms/opencl-kernels/opencl-domain-kernels.inl' file not found
[sagelib-9.2] #include 
"linbox/algorithms/opencl-kernels/opencl-domain-kernels.inl"
[sagelib-9.2] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[sagelib-9.2] 1 error generated.
[sagelib-9.2] error: command 'cc' failed with exit status 254
[sagelib-9.2] Exception ignored in: <function Pool.__del__ at 0x868169280>
[sagelib-9.2] Traceback (most recent call last):
[sagelib-9.2]   File "/usr/local/lib/python3.8/multiprocessing/pool.py", 
line 268, in __del__
[sagelib-9.2]     self._change_notifier.put(None)
[sagelib-9.2]   File 
"/usr/local/lib/python3.8/multiprocessing/queues.py", line 368, in put
[sagelib-9.2]     self._writer.send_bytes(obj)
[sagelib-9.2]   File 
"/usr/local/lib/python3.8/multiprocessing/connection.py", line 200, in 
send_bytes
[sagelib-9.2]     self._send_bytes(m[offset:offset + size])
[sagelib-9.2]   File 
"/usr/local/lib/python3.8/multiprocessing/connection.py", line 411, in 
_send_bytes
[sagelib-9.2]     self._send(header + buf)
[sagelib-9.2]   File 
"/usr/local/lib/python3.8/multiprocessing/connection.py", line 368, in _send
[sagelib-9.2]     n = write(self._handle, buf)
[sagelib-9.2] OSError: [Errno 9] Bad file descriptor
[sagelib-9.2]
[sagelib-9.2] real    0m31.224s
[sagelib-9.2] user    0m29.978s
[sagelib-9.2] sys    0m1.298s
gmake[6]: *** [Makefile:2163: sagelib-no-deps] Error 1
gmake[5]: *** [Makefile:2163: 
/usr/ports/math/sage/work/build/usr/local/share/libdata/sage/installed/sagelib-9.2] 
Error 2
gmake[4]: *** [Makefile:1771: all-build] Error 2
gmake[4]: Leaving directory '/usr/ports/math/sage/work/sage-9.2/build/make'

real    1m12.025s
user    1m6.935s
sys    0m3.819s
***************************************************************
Error building Sage.
Received on Sun Aug 22 2021 - 06:05:46 UTC

Original text of this message