Date: Sun, 12 Feb 2023 11:52:08 +0100 From: =?UTF-8?B?VMSzbA==?= Coosemans <tijl@FreeBSD.org> To: =?UTF-8?B?Sm9zw6kgUMOpcmV6?= <fbl@aoek.com> Cc: ports@freebsd.org Subject: Re: print/hplip fails to biuld on 14.0-CURRENT 1400079 Message-ID: <20230212115208.4113401e@hal.tijl.coosemans.org> In-Reply-To: <e42a7f914fb9ae4f35c450c9cd426731@mail.yourbox.net> References: <e42a7f914fb9ae4f35c450c9cd426731@mail.yourbox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 11 Feb 2023 08:12:24 +0100 Jos=C3=A9 P=C3=A9rez <fbl@aoek.com> wrot= e: > Hi, > I get the following error when poudriere building print/hplip on=20 > 14.0-CURRENT 1400079: > /bin/sh ./libtool --tag=3DCC --mode=3Dcompile cc -DPACKAGE_NAME=3D\"HP= \=20 > Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=3D\"hplip\"=20 > -DPACKAGE_VERSION=3D\"3.22.10\" -DPACKAGE_STRING=3D\"HP\ Linux\ Imaging\= =20 > and\ Printing\ 3.22.10\" -DPACKAGE_BUGREPORT=3D\"3.22.10\"=20 > -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"hplip\" -DVERSION=3D\"3.22.10\"=20 > -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1=20 > -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRING= S_H=3D1=20 > -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFC= N_H=3D1=20 > -DLT_OBJDIR=3D\".libs/\" -DHAVE_LIBDL=3D1 -DHAVE_PTHREAD_H=3D1=20 > -DHAVE_JPEGLIB_H=3D1 -DHAVE_UINT32_T=3D1 -DHAVE_LIBHPIP=3D1 -DHAVE_LIBHPI= P=3D1=20 > -DDISABLE_IMAGEPROCESSOR=3D1 -DHAVE_LIBCRYPTO=3D1 -DHAVE_LIBNETSNMP=3D1=20 > -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=3D1 -DHAVE_LIBAVAHI=3D1=20 > -DHAVE_LIBAVAHI_CLIENT=3D1 -DHAVE_LIBAVAHI_COMMON=3D1=20 > -DHAVE_AVAHI_CLIENT_CLIENT_H=3D1 -DHAVE_AVAHI_COMMON_MALLOC_H=3D1=20 > -DHAVE_CUPS_CUPS_H=3D1 -DHAVE_LIBUSB_1_0_LIBUSB_H=3D1=20 > -DHAVE_PYTHON3_9_PYTHON_H=3D1 -DHAVE_DBUS=3D1 -I. -Iip -Iio/hpmud=20 > -Iscan/sane -Iprnt/hpijs -Icommon/ -I/usr/local/include/python3.9=20 > -isystem /usr/local/include -I/usr/local/include/python3.9 -O2 -pipe =20 > -fstack-protector-strong -isystem /usr/local/include=20 > -fno-strict-aliasing -DCONFDIR=3D\"/usr/local/etc/hp\" -MT=20 > pcardext_la-pcardext.lo -MD -MP -MF .deps/pcardext_la-pcardext.Tpo -c -o= =20 > pcardext_la-pcardext.lo `test -f 'pcard/pcardext/pcardext.c' || echo=20 > './'`pcard/pcardext/pcardext.c > libtool: compile: cc "-DPACKAGE_NAME=3D\"HP Linux Imaging and Printing\"= "=20 > -DPACKAGE_TARNAME=3D\"hplip\" -DPACKAGE_VERSION=3D\"3.22.10\"=20 > "-DPACKAGE_STRING=3D\"HP Linux Imaging and Printing 3.22.10\""=20 > -DPACKAGE_BUGREPORT=3D\"3.22.10\" -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"hpli= p\"=20 > -DVERSION=3D\"3.22.10\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1=20 > -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1=20 > -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1=20 > -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1=20 > -DLT_OBJDIR=3D\".libs/\" -DHAVE_LIBDL=3D1 -DHAVE_PTHREAD_H=3D1=20 > -DHAVE_JPEGLIB_H=3D1 -DHAVE_UINT32_T=3D1 -DHAVE_LIBHPIP=3D1 -DHAVE_LIBHPI= P=3D1=20 > -DDISABLE_IMAGEPROCESSOR=3D1 -DHAVE_LIBCRYPTO=3D1 -DHAVE_LIBNETSNMP=3D1=20 > -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=3D1 -DHAVE_LIBAVAHI=3D1=20 > -DHAVE_LIBAVAHI_CLIENT=3D1 -DHAVE_LIBAVAHI_COMMON=3D1=20 > -DHAVE_AVAHI_CLIENT_CLIENT_H=3D1 -DHAVE_AVAHI_COMMON_MALLOC_H=3D1=20 > -DHAVE_CUPS_CUPS_H=3D1 -DHAVE_LIBUSB_1_0_LIBUSB_H=3D1=20 > -DHAVE_PYTHON3_9_PYTHON_H=3D1 -DHAVE_DBUS=3D1 -I. -Iip -Iio/hpmud=20 > -Iscan/sane -Iprnt/hpijs -Icommon/ -I/usr/local/include/python3.9=20 > -isystem /usr/local/include -I/usr/local/include/python3.9 -O2 -pipe=20 > -fstack-protector-strong -isystem /usr/local/include=20 > -fno-strict-aliasing -DCONFDIR=3D\"/usr/local/etc/hp\" -MT=20 > pcardext_la-pcardext.lo -MD -MP -MF .deps/pcardext_la-pcardext.Tpo -c=20 > pcard/pcardext/pcardext.c -fPIC -DPIC -o .libs/pcardext_la-pcardext.o > pcard/pcardext/pcardext.c:62:13: warning: call to undeclared function=20 > 'PyString_AsStringAndSize'; ISO C99 and later do not support implicit=20 > function declarations [-Wimplicit-function-declaration] > PyString_AsStringAndSize( result, &result_str, &len ); > ^ > pcard/pcardext/pcardext.c:86:16: warning: call to undeclared function=20 > 'PyInt_AS_LONG'; ISO C99 and later do not support implicit function=20 > declarations [-Wimplicit-function-declaration] > return PyInt_AS_LONG( result ); > ^ > pcard/pcardext/pcardext.c:211:16: warning: call to undeclared function=20 > 'PyString_FromStringAndSize'; ISO C99 and later do not support implicit=20 > function declarations [-Wimplicit-function-declaration] > return PyString_FromStringAndSize( (char *)buffer, len ); > ^ > pcard/pcardext/pcardext.c:211:16: error: incompatible integer to pointer= =20 > conversion returning 'int' from a function with result type 'PyObject *'= =20 > (aka 'struct _object *') [-Wint-conversion] > return PyString_FromStringAndSize( (char *)buffer, len ); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > pcard/pcardext/pcardext.c:241:22: warning: call to undeclared function=20 > 'Py_InitModule4'; ISO C99 and later do not support implicit function=20 > declarations [-Wimplicit-function-declaration] > PyObject * mod =3D Py_InitModule4( "pcardext", pcardext_methods, > ^ > pcard/pcardext/pcardext.c:241:16: error: incompatible integer to pointer= =20 > conversion initializing 'PyObject *' (aka 'struct _object *') with an=20 > expression of type 'int' [-Wint-conversion] > PyObject * mod =3D Py_InitModule4( "pcardext", pcardext_methods, > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 4 warnings and 2 errors generated. > *** Error code 1 >=20 > Stop. > make[1]: stopped in /wrkdirs/usr/ports/print/hplip/work/hplip-3.22.10 > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/print/hplip >=20 >=20 > Is this known? >=20 > Thank you. This is supposed to be fixed already, so make sure your ports tree is up to date.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230212115208.4113401e>