ports/163217: security/dropbear does not compile if WITH_STATIC is enabled
Mattia Rossi
mrossi at swin.edu.au
Tue Dec 13 01:00:22 UTC 2011
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list