From nobody Thu May 05 10:00:12 2022 X-Original-To: ports-bugs@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 9C7AA1AB447A for ; Thu, 5 May 2022 10:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kv8ML1d5xz3t3L for ; Thu, 5 May 2022 10:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 14FEE24F74 for ; Thu, 5 May 2022 10:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 245A0Et4017098 for ; Thu, 5 May 2022 10:00:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 245A0E8p017097 for ports-bugs@FreeBSD.org; Thu, 5 May 2022 10:00:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263791] net-mgmt/collectd5 fails to build against sysutils/nut 2.8.0 Date: Thu, 05 May 2022 10:00:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: petteri.valkonen@iki.fi X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.mimetype attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651744814; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RD0TWle1dhyrrUVx0i5hkPgGTizu11nQc3wdyJoS0og=; b=eGbL+Wn0EGoVm0/uc9utuAcmghmzoLBjf8B92I/E3EJWio24dM5Aic1Oy7V8kF5DCNjhW+ kfF9aEfPA/tDg3yCwh30ctYy2l/2vNolUncrDRP6dIhOdm88LO67/GB6IGCG+sNRR8d6C0 VpwmRuhqWFUaV5gLxNQaU5Kd3hZKvbAgDEP+vYQp6KK+DN67yK1kkKHO9leNoFSVW7VDYe EnDnNtCDdyAJtDWcMVmfO5pwOhTNcX8BU5QG3cHSX/4+//iadHvYHmoyYIKEQDWCXLo+un dnUnn56ZoeK2PY4E3lIdG54jCdLvfsuOhoCoJRZPxQR/9feRffuQDAD4p/pxEg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651744814; a=rsa-sha256; cv=none; b=gwWTM4VZDbR9+NyEB+AZaDlBg/6qQEbglqkGtprt8HorkERiFYUblPV3cA+TlN0AUMKWFx g4AE0o4pmbdjo2sTZRJ661aoBIupd4qyhRmQ0Pzu2UofPG2CN4BiUR7MK4xdDNwgKku+bl eodXXVc/kbGb/dTTrOsTeX77D2rtpQUPUqC3cyvOQLFBvfRUkVBfP8Yv055/ULgBjPNihc xq0L6dS9mvopWTwRzdbRLar3QWPExUJ/hgT7Wc1mJKkKtySgj0kLN69eGm+ENOc6x09CMi KdMWS1ukgpVwqEaVDIHDIfaV4HC6xYaNGntAd+3utm74wMeAN7ud36/huUGXpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263791 Bug ID: 263791 Summary: net-mgmt/collectd5 fails to build against sysutils/nut 2.8.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: petteri.valkonen@iki.fi CC: cy@FreeBSD.org, ports@bsdserwis.com CC: cy@FreeBSD.org, ports@bsdserwis.com Attachment #233739 text/plain mime type: Created attachment 233739 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233739&action= =3Dedit Poudriere build log for collectd5-5.12.0_5 Sysutils/nut was recently updated to version 2.8.0. After the update, collectd5-5.12.0_5 fails to build when the NUT plugin is enabled (NUTUPS=3D= on) with the following error: libtool: compile: cc -DHAVE_CONFIG_H -I. -I./src -I./src -I./src/daemon -DPREFIX=3D\"/usr/local\" -DCONFIGFILE=3D\"/usr/local/etc/collectd.conf\" -DLOCALSTATEDIR=3D\"/var\" -DPKGLOCALSTATEDIR=3D\"/var/db/collectd\" -DPLUGINDIR=3D\"/usr/local/lib/collectd\" -DPKGDATADIR=3D\"/usr/local/share/collectd\" -I/usr/local/include -Wall -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/nut_la-nut.lo -MD -MP -MF src/.deps/nut_la-nut.Tpo -c src/nut.c -f= PIC -DPIC -o src/.libs/nut_la-nut.o src/nut.c:40:2: error: "Unable to determine the UPS connection type." #error "Unable to determine the UPS connection type." ^ src/nut.c:46:3: error: unknown type name 'collectd_upsconn_t' collectd_upsconn_t *conn; ^ src/nut.c:89:66: warning: incompatible pointer types passing 'int *' to parameter of type 'uint16_t *' (aka 'unsigned short *') [-Wincompatible-pointer-types] status =3D upscli_splitname(name, &ups->upsname, &ups->hostname, &ups->po= rt); ^~~~~~~~~~ /usr/local/include/upsclient.h:109:14: note: passing argument to parameter 'port' here uint16_t *port); ^ 1 warning and 2 errors generated. gmake[2]: *** [Makefile:8330: src/nut_la-nut.lo] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/collectd5/work/collectd-5.12.0' gmake[1]: *** [Makefile:5455: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/collectd5/work/collectd-5.12.0' *** Error code 1 Please see the attached Poudriere build log for more details. When NUT is downgraded to version 2.7.4_20 (from Quarterly) the port (and plugin) builds fine. --=20 You are receiving this mail because: You are the assignee for the bug.=