+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/py311-ephem-3.7.7.1nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/py311-ephem-3.7.7.1nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for py311-ephem-3.7.7.1nb1 (cd /home/pbulk/build/math/py-ephem/work/ephem-3.7.7.1/ && /bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PYTHON=/usr/pkg/bin/python3.11 CC=cc CFLAGS=-pipe\ -O2\ -I/usr/include\ -I/usr/pkg/include/python3.11 CPPFLAGS=-I/usr/include\ -I/usr/pkg/include/python3.11 CXX=c++ CXXFLAGS=-pipe\ -O2\ -I/usr/include\ -I/usr/pkg/include/python3.11 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=-Wl,-zrelro\ -L/usr/lib64\ -Wl,-R/usr/lib64\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/math/py-ephem/work/.cwrapper/bin:/home/pbulk/build/math/py-ephem/work/.buildlink/bin:/home/pbulk/build/math/py-ephem/work/.gcc/bin:/home/pbulk/build/math/py-ephem/work/.tools/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/home/pbulk/build/math/py-ephem/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/math/py-ephem/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/bin/install\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/bin/install BSD_INSTALL_PROGRAM_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/bin/install\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/math/py-ephem/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/math/py-ephem/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/math/py-ephem/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/math/py-ephem/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/math/py-ephem/work/.buildlink/lib64/pkgconfig:/home/pbulk/build/math/py-ephem/work/.buildlink/lib/pkgconfig:/home/pbulk/build/math/py-ephem/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/math/py-ephem/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/math/py-ephem/work/.cwrapper/config /usr/pkg/bin/python3.11 setup.py build -j2) extensions/_libastro.c:312:6: warning: initialization of 'long int' from 'int (*)(PyObject *, FILE *, int)' {aka 'int (*)(struct _object *, struct _IO_FILE *, int)'} makes integer from pointer without a cast [-Wint-conversion] Angle_print, /* tp_print */ ^~~~~~~~~~~ extensions/_libastro.c:312:6: note: (near initialization for 'AngleType.tp_vectorcall_offset') extensions/_libastro.c: In function 'parse_mjd_from_string': extensions/_libastro.c:380:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *s = PyUnicode_AsUTF8(PyList_GetItem(pieces, 0)); ^~~~~~~~~~~~~~~~ extensions/_libastro.c:396:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *t = PyUnicode_AsUTF8(PyList_GetItem(pieces, 1)); ^~~~~~~~~~~~~~~~ extensions/_libastro.c: At top level: extensions/_libastro.c:578:6: warning: initialization of 'long int' from 'int (*)(PyObject *, FILE *, int)' {aka 'int (*)(struct _object *, struct _IO_FILE *, int)'} makes integer from pointer without a cast [-Wint-conversion] Date_print, /* tp_print */ ^~~~~~~~~~ extensions/_libastro.c:578:6: note: (near initialization for 'DateType.tp_vectorcall_offset') extensions/_libastro.c: In function 'parse_angle': extensions/_libastro.c:645:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *s = PyUnicode_AsUTF8(value); ^~~~~~~~~~~~~~~~ extensions/_libastro.c: In function 'to_angle': extensions/_libastro.c:686:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *s = PyUnicode_AsUTF8(value); ^~~~~~~~~~~~~~~~ extensions/_libastro.c: In function 'set_f_spect': extensions/_libastro.c:818:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] s = PyUnicode_AsUTF8(value); ^ extensions/_libastro.c: In function 'Body_repr': extensions/_libastro.c:1353:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] name = PyUnicode_AsUTF8(repr); ^ extensions/_libastro.c: In function 'Set_name': extensions/_libastro.c:1680:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *name = PyUnicode_AsUTF8(value); ^~~~~~~~~~~~~~~~ extensions/_libastro.c: In function 'readtle': extensions/_libastro.c:2691:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] l0 = PyUnicode_AsUTF8(name); ^ extensions/_libastro.c: In function 'Body__copy_struct': extensions/_libastro.c:3027:30: warning: passing argument 1 of 'PyObject_IsInstance' from incompatible pointer type [-Wincompatible-pointer-types] if (PyObject_IsInstance(body, &MoonType)) { ^~~~ In file included from /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/Python.h:100, from extensions/_libastro.c:3: /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/abstract.h:859:47: note: expected 'PyObject *' {aka 'struct _object *'} but argument is of type 'Body *' {aka 'struct *'} PyAPI_FUNC(int) PyObject_IsInstance(PyObject *object, PyObject *typeorclass); ~~~~~~~~~~^~~~~~ extensions/_libastro.c:3027:36: warning: passing argument 2 of 'PyObject_IsInstance' from incompatible pointer type [-Wincompatible-pointer-types] if (PyObject_IsInstance(body, &MoonType)) { ^~~~~~~~~ In file included from /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/Python.h:100, from extensions/_libastro.c:3: /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/abstract.h:859:65: note: expected 'PyObject *' {aka 'struct _object *'} but argument is of type 'PyTypeObject *' {aka 'struct _typeobject *'} PyAPI_FUNC(int) PyObject_IsInstance(PyObject *object, PyObject *typeorclass); ~~~~~~~~~~^~~~~~~~~~~ extensions/_libastro.c:3035:30: warning: passing argument 1 of 'PyObject_IsInstance' from incompatible pointer type [-Wincompatible-pointer-types] if (PyObject_IsInstance(body, &JupiterType)) { ^~~~ In file included from /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/Python.h:100, from extensions/_libastro.c:3: /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/abstract.h:859:47: note: expected 'PyObject *' {aka 'struct _object *'} but argument is of type 'Body *' {aka 'struct *'} PyAPI_FUNC(int) PyObject_IsInstance(PyObject *object, PyObject *typeorclass); ~~~~~~~~~~^~~~~~ extensions/_libastro.c:3035:36: warning: passing argument 2 of 'PyObject_IsInstance' from incompatible pointer type [-Wincompatible-pointer-types] if (PyObject_IsInstance(body, &JupiterType)) { ^~~~~~~~~~~~ In file included from /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/Python.h:100, from extensions/_libastro.c:3: /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/abstract.h:859:65: note: expected 'PyObject *' {aka 'struct _object *'} but argument is of type 'PyTypeObject *' {aka 'struct _typeobject *'} PyAPI_FUNC(int) PyObject_IsInstance(PyObject *object, PyObject *typeorclass); ~~~~~~~~~~^~~~~~~~~~~ extensions/_libastro.c:3040:30: warning: passing argument 1 of 'PyObject_IsInstance' from incompatible pointer type [-Wincompatible-pointer-types] if (PyObject_IsInstance(body, &SaturnType)) { ^~~~ In file included from /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/Python.h:100, from extensions/_libastro.c:3: /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/abstract.h:859:47: note: expected 'PyObject *' {aka 'struct _object *'} but argument is of type 'Body *' {aka 'struct *'} PyAPI_FUNC(int) PyObject_IsInstance(PyObject *object, PyObject *typeorclass); ~~~~~~~~~~^~~~~~ extensions/_libastro.c:3040:36: warning: passing argument 2 of 'PyObject_IsInstance' from incompatible pointer type [-Wincompatible-pointer-types] if (PyObject_IsInstance(body, &SaturnType)) { ^~~~~~~~~~~ In file included from /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/Python.h:100, from extensions/_libastro.c:3: /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/abstract.h:859:65: note: expected 'PyObject *' {aka 'struct _object *'} but argument is of type 'PyTypeObject *' {aka 'struct _typeobject *'} PyAPI_FUNC(int) PyObject_IsInstance(PyObject *object, PyObject *typeorclass); ~~~~~~~~~~^~~~~~~~~~~ extensions/_libastro.c:3045:30: warning: passing argument 1 of 'PyObject_IsInstance' from incompatible pointer type [-Wincompatible-pointer-types] if (PyObject_IsInstance(body, &EarthSatelliteType)) { ^~~~ In file included from /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/Python.h:100, from extensions/_libastro.c:3: /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/abstract.h:859:47: note: expected 'PyObject *' {aka 'struct _object *'} but argument is of type 'Body *' {aka 'struct *'} PyAPI_FUNC(int) PyObject_IsInstance(PyObject *object, PyObject *typeorclass); ~~~~~~~~~~^~~~~~ extensions/_libastro.c:3045:36: warning: passing argument 2 of 'PyObject_IsInstance' from incompatible pointer type [-Wincompatible-pointer-types] if (PyObject_IsInstance(body, &EarthSatelliteType)) { ^~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/Python.h:100, from extensions/_libastro.c:3: /home/pbulk/build/math/py-ephem/work/.buildlink/include/python3.11/abstract.h:859:65: note: expected 'PyObject *' {aka 'struct _object *'} but argument is of type 'PyTypeObject *' {aka 'struct _typeobject *'} PyAPI_FUNC(int) PyObject_IsInstance(PyObject *object, PyObject *typeorclass); ~~~~~~~~~~^~~~~~~~~~~ extensions/dtoa.c: In function 'Balloc': extensions/dtoa.c:577:50: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] if (k <= Kmax && pmem_next - private_mem + len <= PRIVATE_mem) { ^~ extensions/dtoa.c: In function 'rv_alloc': extensions/dtoa.c:3570:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] sizeof(Bigint) - sizeof(ULong) - sizeof(int) + j <= i; ^~ libastro-3.7.7/magdecl.c: In function 'E0000': libastro-3.7.7/magdecl.c:150:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(c_str, 80, wmmdat); ^~~~~~~~~~~~~~~~~~~~~~~~ libastro-3.7.7/magdecl.c:153:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(c_str, 80, wmmdat); ^~~~~~~~~~~~~~~~~~~~~~~~