From nobody Thu Dec 08 22:44:59 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 4NSq3b2jG7z4jgrt 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 4NSq3b1bqHz3nmp 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=LZrE2Ie2KaOmF680Fzaseb0qUwL+hpWCGk9Dei7vbTi05LGZVcxOGbGTfPiLQqBx5NVAJq Nzh2qlJ6AsegPG1dGk9mXaZ9y9+nQxAm88VEvO5qGxxEsCE7nFfXE+gQeYcX7JFlGulFf8 oWteScBF953EnMdfboJrCAjiwyPzdPr9YpTDMLa8WB2EGQajXcYn815+EKSoIDKZCSa8Si MCcuU64ItV8RB5oJkc1PdaOSgvqWi1K/95mzWeXnaDZDzQ01ItpvIBE4EKhzhS76AzD92i b1AzZC3AK5tXjhdT+30tyYfu0jlsTQCLS0Eb2arujsUH16U5as+XtToaFuf/MA== 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=MQbo8D3VGbVMHuFaLQdcxbwlIa2o8SbLm0CLvL4ckC38PmZ8IW7bUaiajFbVuGru0VA3ks RMhkqPYsgaXBIce4H1lRRF3pvqV5ZrcR6Mx7JcveQ7UBVhmaFZ5uWpotqrp/CiC87oEtHN ALl1ifFxpkkjVGi+ecMYdI2ZLMIrv5tWpoOJKL95IQtvDAj5WEf5Mblg+/pwvmAu5gl6yc 7F5gctdD90DBUjF144/CCwHZcMkSmavn0n1uedPOx4JhUGemxfSw3WClOlBmTKHqHE39GA lJGYK7ZUDoqbY3LGRsNFmpW6Uqcwoa2Lt6OBLIcVWBlYfVSnlPQw898ySHzZzw== 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 4NSq3b0Pbcz1BhC 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 2B8MiwUJ053601 for ; Thu, 8 Dec 2022 22:44:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2B8MiwU1053600 for ports-bugs@FreeBSD.org; Thu, 8 Dec 2022 22:44:58 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 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: 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 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.=