pam_ssh_agent_auth: ENOENT

Dimitry Andric dimitry at andric.com
Wed Feb 27 08:01:20 UTC 2013


On 2013-02-27 00:39, Stefan Bethke wrote:
...
> openbsd-compat/vis.h is #ifdef'd HAVE_STRNVIS, so we check configure.  configure.log thinks we have a suitable strnvis:
>
> configure:16566: checking for strnvis
> configure:16622: cc -o conftest -O2 -pipe -fno-strict-aliasing -fPIC -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -fstack-protector-all   -fstack-protector-all conftest.c  -lutil -lpam >&5
> configure:16629: $? = 0
> configure:16651: result: yes
>
>
> Do we?

We have strnvis(), but it is not suitable.  We got strnvis() from
NetBSD, and its arguments are in a different order from OpenBSD's
version.  See the archive for earlier discussions (and crash reports :)
about this.

I recommend adding the line:

CONFIGURE_ENV=		ac_cv_func_strnvis=no

to the port Makefile, just as with security/openssh-portable.


More information about the freebsd-ports mailing list