=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Building for py38-attic-0.16nb2
(cd /tmp/pkgbuild/sysutils/py-attic/work.x86_64/Attic-0.16/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.8 CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.8 CPPFLAGS=-I/usr/include\ -I/usr/pkg/include/python3.8 CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.8 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.cwrapper/bin:/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/bin:/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.gcc/bin:/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.home CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/lib/pkgconfig:/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.cwrapper/config /usr/pkg/bin/python3.8  setup.py  build  -j8)
running build
running build_py
creating build
creating build/lib.netbsd-9.0-amd64-3.8
creating build/lib.netbsd-9.0-amd64-3.8/attic
copying attic/__init__.py -> build/lib.netbsd-9.0-amd64-3.8/attic
copying attic/archive.py -> build/lib.netbsd-9.0-amd64-3.8/attic
copying attic/archiver.py -> build/lib.netbsd-9.0-amd64-3.8/attic
copying attic/cache.py -> build/lib.netbsd-9.0-amd64-3.8/attic
copying attic/fuse.py -> build/lib.netbsd-9.0-amd64-3.8/attic
copying attic/helpers.py -> build/lib.netbsd-9.0-amd64-3.8/attic
copying attic/key.py -> build/lib.netbsd-9.0-amd64-3.8/attic
copying attic/lrucache.py -> build/lib.netbsd-9.0-amd64-3.8/attic
copying attic/platform.py -> build/lib.netbsd-9.0-amd64-3.8/attic
copying attic/remote.py -> build/lib.netbsd-9.0-amd64-3.8/attic
copying attic/repository.py -> build/lib.netbsd-9.0-amd64-3.8/attic
copying attic/xattr.py -> build/lib.netbsd-9.0-amd64-3.8/attic
copying attic/_version.py -> build/lib.netbsd-9.0-amd64-3.8/attic
creating build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/__init__.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/archive.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/archiver.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/chunker.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/crypto.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/hashindex.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/helpers.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/key.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/lrucache.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/mock.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/platform.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/repository.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/run.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
copying attic/testsuite/xattr.py -> build/lib.netbsd-9.0-amd64-3.8/attic/testsuite
running build_ext
building 'attic.crypto' extension
creating build/temp.netbsd-9.0-amd64-3.8
building 'attic.hashindex' extension
building 'attic.chunker' extension
creating build/temp.netbsd-9.0-amd64-3.8/attic
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/python3.8 -I/usr/include -I/usr/pkg/include/python3.8 -fPIC -I/usr/include -I/usr/pkg/include/python3.8 -c attic/crypto.c -o build/temp.netbsd-9.0-amd64-3.8/attic/crypto.o
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/python3.8 -I/usr/include -I/usr/pkg/include/python3.8 -fPIC -I/usr/pkg/include/python3.8 -c attic/hashindex.c -o build/temp.netbsd-9.0-amd64-3.8/attic/hashindex.o
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/python3.8 -I/usr/include -I/usr/pkg/include/python3.8 -fPIC -I/usr/pkg/include/python3.8 -c attic/chunker.c -o build/temp.netbsd-9.0-amd64-3.8/attic/chunker.o
In file included from attic/hashindex.c:247:0:
attic/_hashindex.c: In function 'hashindex_read':
attic/_hashindex.c:165:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(length != sizeof(HashHeader) + (off_t)_le32toh(header.num_buckets) * (header.key_size + header.value_size)) {
               ^~
attic/_hashindex.c:179:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(fread(index->data, 1, length, fd) != length) {
                                          ^~
attic/_hashindex.c: In function 'hashindex_write':
attic/_hashindex.c:257:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(fwrite(index->data, 1, index->data_len, fd) != index->data_len) {
                                                    ^~
attic/hashindex.c: In function 'PyInit_hashindex':
attic/hashindex.c:4586:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
   __pyx_type_5attic_9hashindex_IndexBase.tp_print = 0;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/object.h:746:0,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/pytime.h:6,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/Python.h:85,
                 from attic/hashindex.c:16:
/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/cpython/object.h:260:30: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                              ^~~~~~~~
attic/hashindex.c:4591:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
   __pyx_type_5attic_9hashindex_NSIndex.tp_print = 0;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/object.h:746:0,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/pytime.h:6,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/Python.h:85,
                 from attic/hashindex.c:16:
/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/cpython/object.h:260:30: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                              ^~~~~~~~
attic/hashindex.c:4595:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
   __pyx_type_5attic_9hashindex_NSKeyIterator.tp_print = 0;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/object.h:746:0,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/pytime.h:6,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/Python.h:85,
                 from attic/hashindex.c:16:
/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/cpython/object.h:260:30: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                              ^~~~~~~~
attic/hashindex.c:4600:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
   __pyx_type_5attic_9hashindex_ChunkIndex.tp_print = 0;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/object.h:746:0,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/pytime.h:6,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/Python.h:85,
                 from attic/hashindex.c:16:
/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/cpython/object.h:260:30: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                              ^~~~~~~~
attic/hashindex.c:4604:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
   __pyx_type_5attic_9hashindex_ChunkKeyIterator.tp_print = 0;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/object.h:746:0,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/pytime.h:6,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/Python.h:85,
                 from attic/hashindex.c:16:
/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/cpython/object.h:260:30: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                              ^~~~~~~~
In file included from attic/chunker.c:249:0:
attic/_chunker.c: In function 'chunker_process':
attic/_chunker.c:200:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while(c->remaining > c->window_size && ((sum & chunk_mask) || n < min_size)) {
                        ^
attic/_chunker.c:200:69: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while(c->remaining > c->window_size && ((sum & chunk_mask) || n < min_size)) {
                                                                     ^
attic/hashindex.c: In function '__Pyx_ExceptionSave':
attic/hashindex.c:5189:21: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
attic/hashindex.c:5190:22: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     *value = tstate->exc_value;
                      ^~~~~~~~~
                      curexc_value
attic/hashindex.c:5191:19: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     *tb = tstate->exc_traceback;
                   ^~~~~~~~~~~~~
                   curexc_traceback
attic/hashindex.c: In function '__Pyx_ExceptionReset':
attic/hashindex.c:5203:24: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tmp_type = tstate->exc_type;
                        ^~~~~~~~
                        curexc_type
attic/hashindex.c:5204:25: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tmp_value = tstate->exc_value;
                         ^~~~~~~~~
                         curexc_value
attic/hashindex.c:5205:22: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tmp_tb = tstate->exc_traceback;
                      ^~~~~~~~~~~~~
                      curexc_traceback
attic/hashindex.c:5206:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tstate->exc_type = type;
             ^~~~~~~~
             curexc_type
attic/hashindex.c:5207:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tstate->exc_value = value;
             ^~~~~~~~~
             curexc_value
attic/hashindex.c:5208:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tstate->exc_traceback = tb;
             ^~~~~~~~~~~~~
             curexc_traceback
attic/hashindex.c: In function '__Pyx_GetException':
attic/hashindex.c:5251:24: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tmp_type = tstate->exc_type;
                        ^~~~~~~~
                        curexc_type
attic/hashindex.c:5252:25: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tmp_value = tstate->exc_value;
                         ^~~~~~~~~
                         curexc_value
attic/hashindex.c:5253:22: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tmp_tb = tstate->exc_traceback;
                      ^~~~~~~~~~~~~
                      curexc_traceback
attic/crypto.c:448:18: error: field 'ctx' has incomplete type
   EVP_CIPHER_CTX ctx;
                  ^~~
attic/hashindex.c:5254:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tstate->exc_type = local_type;
             ^~~~~~~~
             curexc_type
attic/hashindex.c:5255:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tstate->exc_value = local_value;
             ^~~~~~~~~
             curexc_value
attic/hashindex.c:5256:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tstate->exc_traceback = local_tb;
             ^~~~~~~~~~~~~
             curexc_traceback
attic/chunker.c: In function 'PyInit_chunker':
attic/chunker.c:1587:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
   __pyx_type_5attic_7chunker_Chunker.tp_print = 0;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/object.h:746:0,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/pytime.h:6,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/Python.h:85,
                 from attic/chunker.c:16:
/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/cpython/object.h:260:30: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                              ^~~~~~~~
attic/crypto.c: In function 'PyInit_crypto':
attic/crypto.c:2802:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
   __pyx_type_5attic_6crypto_AES.tp_print = 0;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/object.h:746:0,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/pytime.h:6,
                 from /tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/Python.h:85,
                 from attic/crypto.c:16:
/tmp/pkgbuild/sysutils/py-attic/work.x86_64/.buildlink/include/python3.8/cpython/object.h:260:30: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                              ^~~~~~~~
attic/crypto.c: In function '__Pyx_GetException':
attic/crypto.c:3569:24: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tmp_type = tstate->exc_type;
                        ^~~~~~~~
                        curexc_type
attic/crypto.c:3570:25: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tmp_value = tstate->exc_value;
                         ^~~~~~~~~
                         curexc_value
attic/crypto.c:3571:22: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tmp_tb = tstate->exc_traceback;
                      ^~~~~~~~~~~~~
                      curexc_traceback
attic/crypto.c:3572:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tstate->exc_type = local_type;
             ^~~~~~~~
             curexc_type
attic/crypto.c:3573:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tstate->exc_value = local_value;
             ^~~~~~~~~
             curexc_value
attic/crypto.c:3574:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tstate->exc_traceback = local_tb;
             ^~~~~~~~~~~~~
             curexc_traceback
attic/crypto.c: In function '__Pyx_ExceptionSwap':
attic/crypto.c:3596:24: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tmp_type = tstate->exc_type;
                        ^~~~~~~~
                        curexc_type
attic/crypto.c:3597:25: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tmp_value = tstate->exc_value;
                         ^~~~~~~~~
                         curexc_value
attic/crypto.c:3598:22: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tmp_tb = tstate->exc_traceback;
                      ^~~~~~~~~~~~~
                      curexc_traceback
attic/crypto.c:3599:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tstate->exc_type = *type;
             ^~~~~~~~
             curexc_type
attic/crypto.c:3600:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tstate->exc_value = *value;
             ^~~~~~~~~
             curexc_value
attic/crypto.c:3601:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tstate->exc_traceback = *tb;
             ^~~~~~~~~~~~~
             curexc_traceback
attic/crypto.c: In function '__Pyx_ExceptionSave':
attic/crypto.c:3614:21: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
attic/crypto.c:3615:22: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     *value = tstate->exc_value;
                      ^~~~~~~~~
                      curexc_value
attic/crypto.c:3616:19: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     *tb = tstate->exc_traceback;
                   ^~~~~~~~~~~~~
                   curexc_traceback
attic/crypto.c: In function '__Pyx_ExceptionReset':
attic/crypto.c:3628:24: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tmp_type = tstate->exc_type;
                        ^~~~~~~~
                        curexc_type
attic/crypto.c:3629:25: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tmp_value = tstate->exc_value;
                         ^~~~~~~~~
                         curexc_value
attic/crypto.c:3630:22: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tmp_tb = tstate->exc_traceback;
                      ^~~~~~~~~~~~~
                      curexc_traceback
attic/crypto.c:3631:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tstate->exc_type = type;
             ^~~~~~~~
             curexc_type
attic/crypto.c:3632:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tstate->exc_value = value;
             ^~~~~~~~~
             curexc_value
attic/crypto.c:3633:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tstate->exc_traceback = tb;
             ^~~~~~~~~~~~~
             curexc_traceback
gcc -pthread -shared -L. -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/python3.8 -I/usr/include -I/usr/pkg/include/python3.8 build/temp.netbsd-9.0-amd64-3.8/attic/chunker.o -L/usr/pkg/lib -o build/lib.netbsd-9.0-amd64-3.8/attic/chunker.so
error: command 'gcc' failed with exit status 1
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/sysutils/py-attic
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/py-attic