Date: Tue, 28 Jun 2016 12:39:15 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 210658] [PATCH] usr.sbin/ppp failing to build due to missing -lcrypt since r275054 Message-ID: <bug-210658-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210658 Bug ID: 210658 Summary: [PATCH] usr.sbin/ppp failing to build due to missing -lcrypt since r275054 Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Keywords: patch, regression Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: madpilot@FreeBSD.org CC: bapt@FreeBSD.org Created attachment 171907 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D171907&action= =3Dedit worksforme patch I'm testing building a nanoBSD image using head and it is failing to build = ppp sources with this error: --- all_subdir_usr.sbin/ppp --- auth.o: In function `auth_CheckPasswd': /usr/local/nanobsd/rr-11/src/usr.sbin/ppp/auth.c:(.text+0x73e): undefined reference to `crypt' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [ppp] Error code 1 (full log available if needed) I've noticed that the crypt library was removed in r275054 as part of a big= ger refactor. I don't know much of the internals of the build system but it looks to me t= here was confusion between crypt and crypto in this commit and crypt was removed= by mistake. The build usually works for a whole tree, but excluding bits like = I'm doing with nanoBSD exposes the problem. Attaching a simple "works for me" patch which adds -lcrypt back to the link= er command line. CCing bapt as the author of the commit which seems to cause the problem. If= my analysis is wrong, please accept my excuses. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210658-8>