From nobody Sat May 20 20:19:00 2023 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 4QNw5x0g6Lz4BTPf for ; Sat, 20 May 2023 20:19:01 +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 4QNw5w68jhz43Pj for ; Sat, 20 May 2023 20:19:00 +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=1684613940; 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=Xain/sCo5MoGN7xmJNI/Zth2NkCHlWZ/ZhtpJgRgkUc=; b=mWDFeUggGl7Bwo/z6TqIl6/sv/qhQoRiNQcWoyJm/OlwASIh70RRRWj+K9kKBiNCZQZEHY 0FRcEhwWIqfh/Gr3bMWwZiKGy/kRVpEvOzpErxqZi9YcQY61gEcjnJH3Rds8Umy/uUEX/4 fC4PGdXJ/YUnV0TAS2qlyUJ1wJeXsNfI7eYNsj2hRctRbYh6eInelidQpCbESmdvAUDaYL VeIjkA/0AiwPzwaDG4iYuvngfgXbLySZb5nBN8Bgvr1WTjajgH4/jp8Wh/r0nIYjUNCUyI Qxh889W13XaYjkkX5Jd6rea6FjfQzKrVZ/xKeISzCnx1ghYbuZxHaF1DZrZ2og== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684613940; a=rsa-sha256; cv=none; b=rKNsno/d5+DK0Wg+1c58xzkjHD1l8bI7rsqYUjafxbVV+Z2qcAtORpGndXbXpShRBx8Tot XjevdwJervdfEo2KVse8p6Nihp0UtjsVCLuGHB9F/9JlCSFBdKyxGvpwm7g2GZTlFYranG LkUWog5QFlegQ2m9UxqoAPmECYIY6aBqUTKVWqEOTUzihzZonPSJy8b4YJvk16wmRJzlzf jreIFype26EQ+J8fbnGXHAYpdCqMX5JmIXyc+P+G18Sf0a4476k9fRCUNVHS5edJw1CJpY EMor8JReAwUTlgG20S7fTfSeOGyyEvW6rhDJJOxVY+WWTZSGPIIDyBvf92CkxA== 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 4QNw5w58HXzNsH for ; Sat, 20 May 2023 20:19:00 +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 34KKJ09Q056040 for ; Sat, 20 May 2023 20:19:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34KKJ0An056039 for ports-bugs@FreeBSD.org; Sat, 20 May 2023 20:19:00 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 271540] net/rubygem-grpc: fix build with clang 16 Date: Sat, 20 May 2023 20:19:00 +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: sunpoet@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=3D271540 Bug ID: 271540 Summary: net/rubygem-grpc: fix build with clang 16 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Clang 16 has a new error about incompatible function types, which shows up when building net/rubygem-grpc: rb_channel.c:764:40: error: incompatible function pointer types passing 'VALUE (VALUE)' (aka 'unsigned long (unsigned long)') to parameter of type 'VALUE (*)(void *)' (aka 'unsigned long (*)(void *)') [-Wincompatible-function-pointer-types] background_thread =3D rb_thread_create(run_poll_channels_loop, NULL); ^~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.1/ruby/internal/intern/thread.h:190:32: note: passing argument to parameter 'f' here VALUE rb_thread_create(VALUE (*f)(void *g), void *g); ^ Fix it by adjusting the parameters for the thread callback functions. --=20 You are receiving this mail because: You are the assignee for the bug.=