Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2013 12:49:18 +0100
From:      Frederico Costa <fredports@mufley.com>
To:        Bryan Drewery <bdrewery@freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: port security/openssh-portable compile error.
Message-ID:  <de6c9cc1163aba193ea5140dd56efb56@www.mufley.com>
In-Reply-To: <5225CA6C.8080100@FreeBSD.org>
References:  <fea4657b81d0260de9e8b14e9a4cc77d@www.mufley.com> <5225CA6C.8080100@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?de6c9cc1163aba193ea5140dd56efb56>