Hi,
I get the following error when poudriere building print/hplip on 14.0-CURRENT 1400079: /bin/sh ./libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.22.10\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.22.10\" -DPACKAGE_BUGREPORT=\"3.22.10\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.22.10\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_9_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -I/usr/local/include/python3.9 -isystem /usr/local/include -I/usr/local/include/python3.9 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DCONFDIR=\"/usr/local/etc/hp\" -MT pcardext_la-pcardext.lo -MD -MP -MF .deps/pcardext_la-pcardext.Tpo -c -o pcardext_la-pcardext.lo `test -f 'pcard/pcardext/pcardext.c' || echo './'`pcard/pcardext/pcardext.c libtool: compile: cc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.22.10\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.22.10\"" -DPACKAGE_BUGREPORT=\"3.22.10\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.22.10\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_9_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -I/usr/local/include/python3.9 -isystem /usr/local/include -I/usr/local/include/python3.9 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DCONFDIR=\"/usr/local/etc/hp\" -MT pcardext_la-pcardext.lo -MD -MP -MF .deps/pcardext_la-pcardext.Tpo -c pcard/pcardext/pcardext.c -fPIC -DPIC -o .libs/pcardext_la-pcardext.o pcard/pcardext/pcardext.c:62:13: warning: call to undeclared function 'PyString_AsStringAndSize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            PyString_AsStringAndSize( result, &result_str, &len );
            ^
pcard/pcardext/pcardext.c:86:16: warning: call to undeclared function 'PyInt_AS_LONG'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        return PyInt_AS_LONG( result );
               ^
pcard/pcardext/pcardext.c:211:16: warning: call to undeclared function 'PyString_FromStringAndSize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        return PyString_FromStringAndSize( (char *)buffer, len );
               ^
pcard/pcardext/pcardext.c:211:16: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *') [-Wint-conversion]
        return PyString_FromStringAndSize( (char *)buffer, len );
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pcard/pcardext/pcardext.c:241:22: warning: call to undeclared function 'Py_InitModule4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    PyObject * mod = Py_InitModule4( "pcardext", pcardext_methods,
                     ^
pcard/pcardext/pcardext.c:241:16: error: incompatible integer to pointer conversion initializing 'PyObject *' (aka 'struct _object *') with an expression of type 'int' [-Wint-conversion]
    PyObject * mod = Py_InitModule4( "pcardext", pcardext_methods,
               ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings and 2 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/print/hplip/work/hplip-3.22.10
*** Error code 1

Stop.
make: stopped in /usr/ports/print/hplip


Is this known?

Thank you.


--
José Pérez

Reply via email to