From nobody Sun Feb 12 10:52:08 2023 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PF46g5sPvz3qb3Q for ; Sun, 12 Feb 2023 10:52:11 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PF46g5Hq0z3r9f; Sun, 12 Feb 2023 10:52:11 +0000 (UTC) (envelope-from tijl@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676199131; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CwIG0i1YFTLhxS11yKBL9+TXBXgbhKDJfPhgYc/AJZg=; b=SYyga8Md34Q3hcpGzSxZKfJmX2jPoaJcZNcVAekXMvDnSv00QKUI0YqxHjgIHaGt1jsCo1 yK3YVcFAf49XHHpY6PCOH7SQpXQp2+qdjGXkGUaPwtCE7WD8mOoJKrH+KAaSZEw2GHGRJY 29Cyk4GDCwCUIKBrqNiWTZJ/vA9hCw4AHDeJe71Q3D1oVzFtN5zmyVx4Whru8T/2jvtTRJ YalcohK9+bPmPBSlT3hp4WE/MjM0gnXcZvyeplloukn7r4VIonkr3F100hUwgV6JFMo9pc qO7LQwvj76cusKg2KgljmjN5Fd6E90dJtUHUy4wtwAh5nAjjroS9Ewmab/Y/xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676199131; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CwIG0i1YFTLhxS11yKBL9+TXBXgbhKDJfPhgYc/AJZg=; b=Yb3NS/gqM1O57nQ2BozMD3/ow2oNzxlLmeuc4+qPwhlGA8A5+6iNKt4IKD9xuZPp5jmfhi b+n981Q4Yb53F8Untt2EKpuxnJka3DIcYLsce4DN09LVppHgSeuKm9tSdRHe7lCuTfqqbt uE5WGlMXh+9UPzNx3rUZxEF7YbiDx3kednCI7rG+qGGtIhG5Xjga87jGSoFNOjt9bLc3pc lfbP9CSRYaO9Y1I9Ne6K2ORX3g3NXoVp7ylfDXzTqjLUO5pBDQK5l4sJjucn1hwoTJJTXt /AUIDLtonREP8c1w0hNg0VzipDkSpUC1QG4wiIUiydIGILV7Pz+JXV4s2I3tWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676199131; a=rsa-sha256; cv=none; b=e47tdnNceI0gb8mYkhu72Q4Xq3ddhBeM1eUNV8VgLlUKDD/DGFaj4erRJtbFIjqStrx9lk F3Dt0TSdasbjFDz6r3Xk/jK5ge6Qxp5eUjNwBBSEx4fT+uOCQAaF7zyKglJ9tFV2LpkiK2 jsxHVu2NNLelZlAqLdWTnfBCgggaOj3xl5PhAH3F2LnDGsT3zwpjc9lXFsHgl7Ra+ZvjUQ h7tqcCbuFRysj5xBf8v4RhV92wDSxUdJ31tPSyslli3xvNuWd88CP9TlkneXLNSucMX6eH RcxRL6KAK3jE8z7m98QNSQoYBfx7dcRxSgyShHKUP5/cDASWJ+8Cv3EvEYr+Qw== Received: from hal.tijl.coosemans.org (unknown [IPv6:2a02:a03f:894b:4700:4d57:d228:3037:6c09]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: tijl) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PF46g1PnMzgrG; Sun, 12 Feb 2023 10:52:11 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Date: Sun, 12 Feb 2023 11:52:08 +0100 From: =?UTF-8?B?VMSzbA==?= Coosemans To: =?UTF-8?B?Sm9zw6kgUMOpcmV6?= 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: References: List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-ThisMailContainsUnwantedMimeParts: N On Sat, 11 Feb 2023 08:12:24 +0100 Jos=C3=A9 P=C3=A9rez 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.