Date: Tue, 13 Dec 2011 00:53:28 GMT From: Mattia Rossi <mrossi@swin.edu.au> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/163217: security/dropbear does not compile if WITH_STATIC is enabled Message-ID: <201112130053.pBD0rSHg093649@red.freebsd.org> Resent-Message-ID: <201112130100.pBD10MrU000150@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163217 >Category: ports >Synopsis: security/dropbear does not compile if WITH_STATIC is enabled >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 13 01:00:22 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Mattia Rossi >Release: 8.2, 9.0-RC1 >Organization: >Environment: FreeBSD mrossi.caia.swin.edu.au 8.2-RELEASE FreeBSD 8.2-RELEASE #7: Wed Feb 16 13:33:10 PST 2011 root@build8x64.pcbsd.org:/usr/obj/usr/pcbsd-build82/fbsd-source/8.2/sys/PCBSD amd64 FreeBSD dreamplug 9.0-RC1 FreeBSD 9.0-RC1 #35 r226624M: Wed Oct 26 12:06:18 EST 2011 root@freebsd82fresh:/usr/obj/arm.arm/usr/devel/sys/DREAMPLUG arm >Description: Compiling security/dropbear (dropbear-0.53.1) with WITH_STATIC enabled fails with the following error: cc -static -o dropbear dbutil.o buffer.o dss.o bignum.o signkey.o rsa.o random.o queue.o atomicio.o compat.o fake-rfc2553.o common-session.o packet.o common-algo.o common-kex.o common-channel.o common-chansession.o termcodes.o loginrec.o tcp-accept.o listener.o process-packet.o common-runopts.o circbuffer.o -lcrypt svr-kex.o svr-algo.o svr-auth.o sshpty.o svr-authpasswd.o svr-authpubkey.o svr-authpubkeyoptions.o svr-session.o svr-service.o svr-chansession.o svr-runopts.o svr-agentfwd.o svr-main.o svr-x11fwd.o svr-tcpfwd.o svr-authpam.o libtomcrypt/libtomcrypt.a libtommath/libtommath.a -lutil -lz svr-authpasswd.o(.text+0x91): In function `svr_auth_password': : undefined reference to `crypt' gmake: *** [dropbear] Error 1 *** Error code 1 Stop in /usr/ports/security/dropbear. *** Error code 1 Stop in /usr/ports/security/dropbear. The error happens on >How-To-Repeat: cd /usr/ports/security/dropbear make config - enable "Build statically" make install >Fix: Don't enable the "Build statically" flag, and dropbear will build just fine. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112130053.pBD0rSHg093649>