From owner-freebsd-ports@FreeBSD.ORG Tue Sep 3 11:49:20 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BA016ACC; Tue, 3 Sep 2013 11:49:20 +0000 (UTC) (envelope-from fredports@mufley.com) Received: from kruegger.mufley.com (kruegger.mufley.com [91.121.140.194]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 81FA22EED; Tue, 3 Sep 2013 11:49:20 +0000 (UTC) Received: by kruegger.mufley.com (Postfix, from userid 80) id 0168117B819; Tue, 3 Sep 2013 12:49:18 +0100 (BST) To: Bryan Drewery Subject: Re: port security/openssh-portable compile error. X-PHP-Originating-Script: 80:main.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 03 Sep 2013 12:49:18 +0100 From: Frederico Costa Mail-Reply-To: In-Reply-To: <5225CA6C.8080100@FreeBSD.org> References: <5225CA6C.8080100@FreeBSD.org> Message-ID: X-Sender: fredports@mufley.com User-Agent: Roundcube Webmail/0.8.5 Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: fredports@mufley.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Sep 2013 11:49:20 -0000 Hi there... Thanks, Just checked your change and applied to my ports tree, and now it compiles without a problem. Thanks once again... Fred On 2013-09-03 12:39, Bryan Drewery wrote: > On 9/2/2013 3:14 AM, Frederico Costa wrote: >> Hi all... >> >> Not sure if this is the correct way of asking for a bit of help, but >> i >> have been trying to upgrade the ports in one of my servers, and when >> i >> am trying to upgrade the port security/openssh-portable to the >> following >> version: >> >> openssh-portable-6.2.p2_3,1 >> >> It will fail to compile, with the standard options set for the config >> with the following: >> >> ... >> >> cc -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o >> auth-rh-rsa.o >> audit.o audit-bsm.o audit-linux.o platform.o sshpty.o sshlogin.o >> servconf.o serverloop.o auth.o auth1.o auth2.o auth-options.o >> session.o >> auth-chall.o auth2-chall.o groupaccess.o auth-skey.o auth-bsdauth.o >> auth2-hostbased.o auth2-kbdint.o auth2-none.o auth2-passwd.o >> auth2-pubkey.o auth2-jpake.o monitor_mm.o monitor.o monitor_wrap.o >> kexdhs.o kexgexs.o kexecdhs.o auth-krb5.o auth2-gss.o gss-serv.o >> gss-serv-krb5.o loginrec.o auth-pam.o auth-shadow.o auth-sia.o >> md5crypt.o sftp-server.o sftp-common.o roaming_common.o >> roaming_serv.o >> sandbox-null.o sandbox-rlimit.o sandbox-systrace.o sandbox-darwin.o >> sandbox-seccomp-filter.o -L. -Lopenbsd-compat/ -L/usr/local/lib >> -Wl,-rpath=/usr/local/lib -fstack-protector-all -lssh >> -lopenbsd-compat >> -lwrap -lpam -lcrypto -lz -lutil -lcrypt >> cc -o scp scp.o progressmeter.o bufaux.o -L. -Lopenbsd-compat/ >> -L/usr/local/lib -Wl,-rpath=/usr/local/lib -fstack-protector-all >> -lssh >> -lopenbsd-compat -lcrypto -lz -lutil -lcrypt >> loginrec.o: In function `syslogin_write_entry': >> loginrec.c:(.text+0x2f1): undefined reference to `login' >> loginrec.c:(.text+0x31b): undefined reference to `logout' >> loginrec.c:(.text+0x34e): undefined reference to `logwtmp' >> *** [sshd] Error code 1 > > I have committed a fix to the ports tree for this. > > It was due to a recent Templates/config.site update having some utmp > references.