Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2016 15:56:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208820] security/libssh calls to gss routines are unresolved
Message-ID:  <bug-208820-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208820

            Bug ID: 208820
           Summary: security/libssh calls to gss routines are unresolved
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: johans@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
             Flags: maintainer-feedback?(johans@FreeBSD.org)
          Assignee: johans@FreeBSD.org

Calls from libssh for GSS_C_NT_HOSTBASED_SERVICE and GSS_C_NT_USER_NAME are
unresolved.  The platform is FreeBSD 10.3-Stable, ports pulled via svnlite
overnight. The two ports discussed are using standard options.

/var/ports/usr/ports/security/libssh/work/libssh-0.7.3/src/gssapi.c:=20=20=
=20=20=20=20=20=20=20=20=20
(gss_OID) GSS_C_NT_HOSTBASED_SERVICE, &server_name);
/var/ports/usr/ports/security/libssh/work/libssh-0.7.3/src/gssapi.c:=20=20=
=20=20=20=20=20=20=20=20=20
                           GSS_C_NT_USER_NAME, &client_id);
/var/ports/usr/ports/security/libssh/work/libssh-0.7.3/src/gssapi.c:=20=20=
=20=20=20=20=20=20=20=20=20
                   (gss_OID)GSS_C_NT_HOSTBASED_SERVICE,

Error message while building security/openvas-libraries follow

/usr/local/libexec/ccache/cc  -O2 -pipe -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3=
 -g0
-ggdb0 -DSTRIP_FBSDID -UDEBUGGING -UEBUGGING -UDEBUG -march=3Dprescott
-mtune=3Dprescott  -DLDAP_DEPRECATED -fno-strict-aliasing -Wformat
-Wformat-security -Wl,-z,relro -Wl,-z,now -D_FILE_OFFSET_BITS=3D64 -Wall -f=
PIC
-O2 -pipe -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -g0 -ggdb0 -DSTRIP_FBSDID
-UDEBUGGING  -UDEBUG -march=3Dprescott -mtune=3Dprescott  -DLDAP_DEPRECATED
-fno-strict-aliasing   -Wl,-rpath,/usr/local/lib/heimdal:/usr/lib
CMakeFiles/test-hosts.dir/test-hosts.c.o  -o test-hosts  -L/usr/local/lib
-lgnutls ../misc/libopenvas_misc.so.8.0.7 -L/usr/local/lib -lglib-2.0 -lintl
libopenvas_base.so.8.0.7 ../omp/libopenvas_omp.so.8.0.7 -lgio-2.0 -lgobject=
-2.0
-lglib-2.0 -lintl -lz -L/usr/local/lib -lgpgme -lassuan -lgpg-error
-L/usr/local/lib -lgnutls -luuid -L/usr/lib -lpcap -lssh -lldap -llber
-lhiredis -L/usr/local/lib -lgcrypt -lgpg-error
-Wl,-rpath,/var/ports/usr/ports/security/openvas-libraries/work/.build/misc=
:/var/ports/usr/ports/security/openvas-libraries/work/.build/base:/var/port=
s/usr/ports/security/openvas-libraries/work/.build/omp
/usr/local/lib/libssh.so: undefined reference to `GSS_C_NT_HOSTBASED_SERVIC=
E'
/usr/local/lib/libssh.so: undefined reference to `GSS_C_NT_USER_NAME'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

However security/libssh does build correctly against security/heimdal
ldd /usr/local/lib/libssh.so
/usr/local/lib/libssh.so:
        librt.so.1 =3D> /usr/lib/librt.so.1 (0x28266000)
        libcrypto.so.8 =3D> /usr/local/lib/libcrypto.so.8 (0x2826c000)
        libz.so.6 =3D> /lib/libz.so.6 (0x28c00000)
        libgssapi.so.3 =3D> /usr/local/lib/heimdal/libgssapi.so.3 (0x28c150=
00)
        libkrb5.so.26 =3D> /usr/local/lib/heimdal/libkrb5.so.26 (0x28c47000)
        libheimntlm.so.0 =3D> /usr/local/lib/heimdal/libheimntlm.so.0
(0x28cb1000)
        libc.so.7 =3D> /lib/libc.so.7 (0x28070000)
        libthr.so.3 =3D> /lib/libthr.so.3 (0x28cb7000)
        libheimbase.so.1 =3D> /usr/local/lib/heimdal/libheimbase.so.1
(0x28cd8000)
        libhx509.so.5 =3D> /usr/local/lib/heimdal/libhx509.so.5 (0x28cdc000)
        libasn1.so.8 =3D> /usr/local/lib/heimdal/libasn1.so.8 (0x28d1b000)
        libwind.so.0 =3D> /usr/local/lib/heimdal/libwind.so.0 (0x28daf000)
        libcom_err.so.1 =3D> /usr/local/lib/heimdal/libcom_err.so.1 (0x283f=
d000)
        libroken.so.18 =3D> /usr/local/lib/heimdal/libroken.so.18 (0x28dd70=
00)
        libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x28de6000)
        libcrypt.so.5 =3D> /lib/libcrypt.so.5 (0x28def000)

How to reproduce:
cd /usr/ports/security/openvas-libraries && make -DBATCH package

I'm sure that there is an easier way?  Intereting that building the libssh
package reveals no errors??

--=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-208820-13>