From nobody Mon Dec 12 15:14:17 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 4NW4sj6CyVz4kbpJ for ; Mon, 12 Dec 2022 15:14:17 +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 4NW4sj4rggz4QYy for ; Mon, 12 Dec 2022 15:14:17 +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=1670858057; 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=y87HMdq7WkVLCGMiWnZvsDccQzSdHssJvE+RpXaOA74=; b=XuRq5oApKj1O+CyhqIUdcEsZnDtc9kt/QBOT7CkvCjkL1R0Q0FScpToEKS95Twiu3CvDU7 g8nYFhkOg6Q+/Yy9kBESTdUFjKrdZJ28XuNGGS25I49/2xfqBsSkksQbv9tesXj1eKF2hI GK9Kt37PdOmZIJ8fY0NkJDzRAg8ItbFLY8sl3gbfl8CbaiD3WXIg/K9k2jMVn/JCtkjX0p 9KTm0D36AgS4wzwZeZceE1DpQmC9iO/cnUZcrDAKpwx1QYrCAY0SaympX9/e13Eww4h0ee 3G9pZY9LUZJh6665FHcVTnOwydr5imC/h3X7q17k0Hjo2V2e6c/3U4vuDcwtEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670858057; a=rsa-sha256; cv=none; b=a6gdgOM1hj7I+U5z5lRtWgkMSgbzZGQk9OBYz90x1HN+paSndEQ/MZZRZYJ2t1BKSrebal yIIQimbrc78bFeIAdE4Y396kcxY/V2ZnzO30aZ2XIyzVH2+zwyXXRGwxtOx4060qVEkWB7 eIIzJhlNCAV0Csg4Uz1zEyPzVbOW7dMbd6y/+jTJuLW+OxrL66W3bmL1pa3v7/GVyEGC7a a8xs11rIbZAKD0GU2UFv7Ui6AyhNF5KE2/VE6lBW1pou+8VY63sg6cGrNKiL9Wdb0d9pPo EiuYYMc/RkV+DVXuS+C/F/EwOtZzBtqJHNnuq2ARcFDdhB3tK8ujprB6RBT/mg== 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 4NW4sj3jmszdsm for ; Mon, 12 Dec 2022 15:14:17 +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 2BCFEHh4059379 for ; Mon, 12 Dec 2022 15:14:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BCFEHV2059378 for ports-bugs@FreeBSD.org; Mon, 12 Dec 2022 15:14:17 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 268334] security/cracklib: fix build with clang 15 Date: Mon, 12 Dec 2022 15:14:17 +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: cy@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=3D268334 Bug ID: 268334 Summary: security/cracklib: 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: cy@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(cy@FreeBSD.org) Assignee: cy@FreeBSD.org During an exp-run for llvm 15 (see bug 265425), it turned out that security/cracklib failed to build with clang 15: rules.c:346:50: warning: too few arguments in call to 'Debug' Debug(1, "MatchClass: unknown class %c\n", class); ~~~~~ ^ rules.c:346:45: error: incompatible integer to pointer conversion passing 'char' to parameter of type 'char *'; take the address with & [-Wint-conversion] Debug(1, "MatchClass: unknown class %c\n", class); ^~~~~ & This is because cracklib is very old K&R source, and the Debug() function is not defined with varargs, but an arbitrary amount of char pointer arguments. Since the Debug() function does nothing anyway, define it as a varargs macro instead. This also gets rid of most of the other compilation warnings. --=20 You are receiving this mail because: You are the assignee for the bug.=