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

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--KIK6DshKukB2QcWCTk37mhUJEwPC0v20h
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 9/2/2013 3:14 AM, Frederico Costa wrote:
> Hi all...
>=20
> 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 followin=
g
> version:
>=20
> openssh-portable-6.2.p2_3,1
>=20
> It will fail to compile, with the standard options set for the config
> with the following:
>=20
> ...
>=20
> 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=20
> sandbox-seccomp-filter.o -L. -Lopenbsd-compat/ -L/usr/local/lib=20
> -Wl,-rpath=3D/usr/local/lib -fstack-protector-all -lssh -lopenbsd-compa=
t
> -lwrap -lpam -lcrypto -lz  -lutil -lcrypt
> cc -o scp scp.o progressmeter.o bufaux.o -L. -Lopenbsd-compat/
> -L/usr/local/lib  -Wl,-rpath=3D/usr/local/lib -fstack-protector-all -ls=
sh
> -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.


--=20
Regards,
Bryan Drewery


--KIK6DshKukB2QcWCTk37mhUJEwPC0v20h
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSJcpsAAoJEG54KsA8mwz5K2oP/R9HLLjhVHjALAmumwk2NhZl
qW0MEIKsTMFxnNZWYxzSmUSu2TCvi5sOu7HJtoW3WVjCXytdS0EQ6BukFymeKKTe
disDhAGP57ETke7kS+q8hyGY8ZlgLqPo75PLb/+M6lCYg8EC0nMR4BRqPeYiF5wv
Iuz39AwO81ZWJWo+JEpYFWkgQE2tdOCLTiF/1XzHSCnpPlZmr2udvMy6sunxfPfY
LHQG2LWO+2L9FzXfE/KC61f87aqGWsPSHlXpSQuwT9WBE8K6mxWHTJb0Nn4fipJy
EzpXM9SYxyhunSApZsKyF4+4fC5PO/XpsBA5FWdNN0Bam4FTvmGcw/ohttzlLhZ0
6bb24EynTlF91fMvxFIKY6AuZacjprEI1MoiKfqqJ8CQdamT2qGGwluBV8sJx69g
D2rXJmfR7n5nKTWicV2eUVFE7DSIYjDHwLhoaqwPbL17qooREQv8yu76rbo3jEG1
66FTnR0qTxPRLdlKABx+gTTpcTmOlOPHoxxk+lPC/ZEG7qmZoB+E6Z1yVzNwhefX
XAPM9/BM9rZtGYwErQrW/n1I5rppwELW/jIxfqPo7M9Q1HsLBslnrBoVfVHSJR7U
mvfE66o+7Wu5rbZSLTXygcgqnnGW7dc5HILtoo4X4HlEoAAXezxFLrP/1ZLcH/iE
dsGYquu+dIOqm1MlTnjX
=fOmH
-----END PGP SIGNATURE-----

--KIK6DshKukB2QcWCTk37mhUJEwPC0v20h--



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