From nobody Fri Dec 9 18:16:10 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 4NTK2y5dg1z4jvWh for ; Fri, 9 Dec 2022 18:16:10 +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 4NTK2y42TRz3JfG for ; Fri, 9 Dec 2022 18:16:10 +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=1670609770; 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=+3vpUstU+K0pVCwS7f1s/rfACkzMbdKY3GGyJxeeGY8=; b=Bz/eZcpwxfceSt/YlxOQjXzSTlr0wFSQ+ZcySxGFoYlh/bN5JMj/Rl0cQoARZIpfhIF2Ee HI8ztQAZ2KblERKReMHnqEtWuZ6vyV+THc8JyrPOp14cPG0pEg0DDuThGVAsoF7UcVJpMl CtNXBRgoFOVBHXiakjYz2AwIl19KF+5BRlmvyNscBvqN2yebLrWoL+CH+2IFKnHDgfOyXP A+75+g8eyUZUAP42MJQHc6HytVbgPUgE1GgjlzLmJHUVn/wJkY7KGa8hzdgfMPZ2HyJJ+A PiW163HtrMR5jRhR4UzPYY5UvNQd/szlif96sYTaVepfhnLsA9xyoZhrhOUfVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670609770; a=rsa-sha256; cv=none; b=LoDOoe1v3WGOKUzsTpwnk5Ov/UrGHYq4CRwI4fHZJ9QtimmPlCgNYX8hEb8to2lWs0N++E piHCVY/785ETG4wGKnjCrG1/ZH8ihtKc2RewVy4+Lk2wGAwLFqupTTqK4z8tY0uryxiXeN 5spE/Sn5QCNhKLIzYAk3rq7lRT6FfQbWrTpFs4ho044Dvcotl6haqFLaCfTlK32jt1hS5f KsKb4xYFRRdYqUqOmHcLjZ9NlardNlVTpco0qJ1e0pFDNLOSg8/QiMe0LxE8Ntu563lzHx pfXtT6q6KdBgJTybSEVqE6jb3v+jU2Ttol2zHDWuTd6gkPOpv4A22Y4PQoZehw== 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 4NTK2y30Mhzllm for ; Fri, 9 Dec 2022 18:16:10 +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 2B9IGA1V062070 for ; Fri, 9 Dec 2022 18:16:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2B9IGADS062069 for ports-bugs@FreeBSD.org; Fri, 9 Dec 2022 18:16:10 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 268278] graphics/py-pygraphviz: fix build with clang 15 Date: Fri, 09 Dec 2022 18:16:10 +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: python@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=3D268278 Bug ID: 268278 Summary: graphics/py-pygraphviz: 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: python@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: python@FreeBSD.org Flags: maintainer-feedback?(python@FreeBSD.org) During an exp-run for llvm 15 (see bug 265425), it turned out that graphics/py-pygraphviz failed to build with clang 15: pygraphviz/graphviz_wrap.c:3047:12: error: incompatible pointer to integer conversion returning 'Agsym_t *' (aka 'struct Agsym_s *') from a function w= ith result type 'int' [-Wint-conversion] return agattr(g, kind, name, val); ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. In graphviz.i and the swig-generated graphviz_wrap.c, the agattr_label() function is incorrectly labeled as returning 'int', while it should return 'Agsym_t *' instead. Upstream fixed this as part of a much bigger commit [1= ], and they also regenerated the swig wrapper. For our case, it is simpler to patch the wrapper instead, as otherwise you would have to add swig as a build-time dependency. [1] https://github.com/pygraphviz/pygraphviz/commit/79fdee178785620b90241c70a0e= fab9dd57e3c86 --=20 You are receiving this mail because: You are the assignee for the bug.=