From nobody Wed Dec 7 17:53:52 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 4NS4f934dyz4jPkN for ; Wed, 7 Dec 2022 17:53:53 +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 4NS4f90fk6z4JDL for ; Wed, 7 Dec 2022 17:53:53 +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=1670435633; 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=XuOZxS6LGVZqPpXiQTwToFYy7ClpUsHWSSbP0khs2Zg=; b=O7D3l+N84T0l9m05kZA/kZ9OTCzykP3R7rPI21OXSXgQ9aMarfg2vQd9vIiL8MJu03pfjT /CQdIZVWqg34508tjnaKWz3dXyPpYuaVSkhvx+jisLnG+vWyHYHjR7aHdz/OsZoTUMNxWs k9CetJ4OpIbCxygPwGned2UZXG0C7NNJOWlTDdJcrnIGtU5/EJEH5D8ZmPK3x6F2tk/Nme nJ+2HQqm98/qn1BM7MC8hY0gZbuaaI6iTNrDAPdtXincb3nEgqdbAAc4rFWUmoMyZD5/y1 TGa2NjHnaAwMO7oyJmoNVWMqgZ+SHkDzXtIA7kUVotS5Ubp6bjCsMeLAE0V3CA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670435633; a=rsa-sha256; cv=none; b=dN6zs2g306jg9lnVUE4V8zSxgOIhPMJkOe4tIh/ZJuPHfM+62tPw1kWZ2F07wCmD1SWVuU 2gjTMToQhe8HSyURTl0tVyVRuR7iU8f+QP6AUwT9yD8GdFDcDuWD43HfkmWZIllF2VwkWu HiG/3YFsrglrxer1aSfaXku42egoZUnH5Me24VvqRuJ3ZEFcnBvdJm/DJVOp5wDR4Qdmjr A7d6WU/B5BLvxPu4yYoVDi1n0r8blAXSrRqeRbmqwGfxW0nXIKZtmGYZwrRTNEYK7thK06 9ninWwNBmGujFg6K46dvcy3wP9hpqdg6T3OFdSa01jr7SfZGQ7rMxDlogmeQtw== 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 4NS4f86rwzzQvb for ; Wed, 7 Dec 2022 17:53:52 +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 2B7HrqoU015132 for ; Wed, 7 Dec 2022 17:53:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2B7HrqHV015131 for ports-bugs@FreeBSD.org; Wed, 7 Dec 2022 17:53:52 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 268232] devel/p5-IO-Tty: fix build with clang 15 Date: Wed, 07 Dec 2022 17:53:52 +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: perl@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=3D268232 Bug ID: 268232 Summary: devel/p5-IO-Tty: 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: perl@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(perl@FreeBSD.org) Assignee: perl@FreeBSD.org During an exp-run for llvm 15 (see bug 265425), it turned out that devel/p5-IO-Tty failed to build with clang 15: Tty.xs:190:1: error: static declaration of 'strlcpy' follows non-static declaration strlcpy(dst, src, siz) ^ /usr/include/string.h:99:9: note: previous declaration is here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ This is because strlcpy() and various other functions are not correctly detected at configure time: Looking for _getpty()...... not found. Looking for getpt()........ not found. Looking for grantpt()...... not found. Looking for openpty()...... not found. Looking for posix_openpt(). not found. Looking for ptsname()...... not found. Looking for ptsname_r().... not found. Looking for sigaction().... not found. Looking for strlcpy()...... not found. Looking for ttyname()...... not found. Looking for unlockpt()..... not found. Looking for libutil.h...... FOUND. Looking for pty.h.......... not found. Looking for sys/pty.h...... not found. Looking for sys/ptyio.h.... not found. Looking for sys/stropts.h.. not found. Looking for termio.h....... not found. Looking for termios.h...... FOUND. Looking for util.h......... not found. Makefile.PL contains a C fragment that is used for this detection, but it assigns the incorrect type to the value returned from the tested function. = This leads to compilation errors, even if the tested function *is* available. Fix this by using the correct type for the variable containing the return value. --=20 You are receiving this mail because: You are the assignee for the bug.=