From nobody Wed May 18 17:34:17 2022 X-Original-To: amd64@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 C9F191B319DB for ; Wed, 18 May 2022 17:34:18 +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 4L3KqG4fnCz3KNm for ; Wed, 18 May 2022 17:34:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 7FD84517E for ; Wed, 18 May 2022 17:34:18 +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 24IHYIL9019652 for ; Wed, 18 May 2022 17:34:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24IHYIu8019651 for amd64@FreeBSD.org; Wed, 18 May 2022 17:34:18 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: amd64@FreeBSD.org Subject: [Bug 209441] SSHd in FreeBSD 10.3 complains about PrintLastLog Date: Wed, 18 May 2022 17:34:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: des@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Porting FreeBSD to the AMD64 platform List-Archive: https://lists.freebsd.org/archives/freebsd-amd64 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-amd64@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652895258; 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: in-reply-to:in-reply-to:references:references; bh=AKuMwSnynduxqIQ7mWNRCmIR5cDuoNwUftxwVREfEh4=; b=RzN1Tlf2az7zlUOFEMFd64hF7xM1Y/8Ww+urh9fNyhkTnVVzpJD+Xmim5mJ7mmEw7zSHwx Kf2rLrdFbA58qcfpg28rfvLkDRJoOBrE1IhNS3EZAjsVJbLgweV0fCOB1udvvSQSGfCDCd CXYHd9A0sH0DL3XpINPFD5bdxsroa0EQHHvW4/D83GlmOHDG2M1+s7eXweV9sSYL0hPUpO fbHLuGOfbmme+VT9v0yQsYkcJmuR0RlQZPjQp00UWBde1b4jEUGQTkiHwGEsYYejfnhzCt xYt8Bay6/JJi7AUdlgjy5gS8bayuKfuKc8k5spYBzaj880bOFizs+qgLrWfMAA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652895258; a=rsa-sha256; cv=none; b=lwN7MgarsHZ+/DlKFKqcVzvQPmQ9/XDBVKkSKV8nCGnubr8HskStPX9nmzRFINagKXNi+b m/zk3OgLJAo5P1k2cSwOzrpDAE/JOBpe3B3GZc9dMzMt0Zt4F05+UaOrWDm+YWiJb1P5ac wZZYHC+utuvEvx8jVq2G84a9CLzGH8fDBmhjYt1BDIPfSFGflVFwB1uLGsDKXbrSrJ0nRX WxGpGP2HgZ/QAcloihOC09qHQ1ejS68X8OcYgguypjrTph7QAeGqvpkSQEGgJOR7y9sA0T JatDEjqFc/+dNTdNb9CXpWDV52L/AlF2KSbLe+XDGuhBq8DG7mDKcGCdPwlPtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209441 --- Comment #17 from Ed Maste --- It looks like this originated in commit a2438bbd28eb35a8968d193ac89b30a90e96f719 Author: Damien Miller Date: Fri Mar 15 10:23:07 2013 +1100 - (djm) [configure.ac] Disable utmp, wtmp and/or lastlog if the platfo= rm is unable to successfully compile them. Based on patch from des AT des.no which added +AC_CHECK_MEMBER([struct lastlog.ll_line], [], [ + AC_DEFINE([DISABLE_LASTLOG]) <------- + ], [ +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_UTMP_H +#include +#endif +#ifdef HAVE_UTMPX_H +#include +#endif +#ifdef HAVE_LASTLOG_H +#include +#endif + ]) this defines DISABLE_LASTLOG if we don't have lastlog.ll_line, but this is = used only in (the two implementations of) lastlog_get_entry; utmpx_get_entry is still functional. Can you try building with this change? diff --git a/crypto/openssh/config.h b/crypto/openssh/config.h index 943f8c6e4b6e..4e0261b6a60a 100644 --- a/crypto/openssh/config.h +++ b/crypto/openssh/config.h @@ -113,7 +113,7 @@ /* #undef DISABLE_FD_PASSING */ /* Define if you don't want to use lastlog */ -#define DISABLE_LASTLOG 1 +/* #undef DISABLE_LASTLOG */ /* Define if you don't want to use your system's login() call */ /* #undef DISABLE_LOGIN */ --=20 You are receiving this mail because: You are on the CC list for the bug.=