From nobody Thu Dec 08 22:44:59 2022 X-Original-To: gnome@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 4NSq3b398mz4jgrv for ; Thu, 8 Dec 2022 22:44:59 +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 4NSq3b25QMz3nK9 for ; Thu, 8 Dec 2022 22:44:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670539499; 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=E7IXRIK1U6g3NAwDVUAlqaGojZfx3mpU5UQkDyUw9q0=; b=gbiAiwK8ZkDHzxs1LBztqHxsv0+cZYYhxjING83BPv6H13kERKCfMfdtGzfA1Xk620rvDe R3NUDyxowHuqrIeUNAW7jA+28U/uKOGhbk4/XU9sfTzXYWbjYQw6s/Vuwn/rCP1n3R6TW5 Mx2Ni/CtWQS8h7WrSlvaGZYz0viP7jbUtaTZt1izLgdoRxkrwTFPaLqIcJ7y2ILul0Q+th wph6pmQwxsIIuQJeR2vY0Oo+dpCELZsjq2x8mtzJ8lMOgjJvGXhqQEG5FbpxWIjm/qzYuu rrMeIZ4+GQ+dqYCevxSP/61mq53mGXVdHwSOKrV0ADfXpU1dwKAL4hSagxf5Tw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670539499; a=rsa-sha256; cv=none; b=XH+2g9IoPGP3CXrR/J5ofhV7YrCY/fE9fSoHua35i/hspXeRJxcI3nCZTqYDlhaLDKc9Kv tP0AZjoWKhgR1NfwMB9lepNxOBvy05eSS/vdl1fYX0c9rbJZZ4ANbZ4yBhZmlpvpkzMgIZ Vx1AeoaHyMJsNW+mwgB9Cenj48BvZ9L5EcXn8D2iUmljtR+zlLXaLB1nbBLMSq9ZJ98dTW 4bRScTFxPnjScD8JB+5n30luTpOc8ahIlJm66OgFQoJl9wuavFHGMnRL7tmGr8WRCSLl6t QXxtAWBU9L6cMLFwLumHJcmQO5/pvxXduS5FFZn3DCKHxQwf0LxZGK7/25iNNw== 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 4NSq3b11snz1C6D for ; Thu, 8 Dec 2022 22:44:59 +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 2B8MixHI053606 for ; Thu, 8 Dec 2022 22:44:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2B8MixPZ053605 for gnome@FreeBSD.org; Thu, 8 Dec 2022 22:44:59 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: gnome@FreeBSD.org Subject: [Bug 268260] devel/libgtop: fix build with clang 15 Date: Thu, 08 Dec 2022 22:44:59 +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 Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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: GNOME for FreeBSD -- porting and maintaining List-Archive: https://lists.freebsd.org/archives/freebsd-gnome List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gnome@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268260 Bug ID: 268260 Summary: devel/libgtop: fix build with clang 15 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: gnome@FreeBSD.org Flags: maintainer-feedback?(gnome@FreeBSD.org) During an exp-run for llvm 15 (see bug 265425), it turned out that devel/libgtop failed to build with clang 15: main.c:226:35: error: incompatible pointer to integer conversion passing 'char[1024]' to parameter of type 'pid_t' (aka 'int') [-Wint-conversion] (server, &resp->u.data.proc_io, parameter); ^~~~~~~~~ ../../include/glibtop/procio.h:78:74: note: passing argument to parameter 'pid' here void glibtop_get_proc_io_l (glibtop *server, glibtop_proc_io *buf, pid_t pid); ^ Indeed the parameter is supposed to be a pid_t, and upstream fixed this in . --=20 You are receiving this mail because: You are the assignee for the bug.=