Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2002 23:07:07 +0900 (JST)
From:      SASAKI Katuhiro <sahiro@crest.ocn.ne.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35039: Bug: devel/gcvs fails to build
Message-ID:  <20020217140729.A9B58BAC1@sahiro.merseine.nu>

next in thread | raw e-mail | index | archive | help

>Number:         35039
>Category:       ports
>Synopsis:       Bug: devel/gcvs fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 17 06:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     SASAKI Katuhiro
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
personal
>Environment:
>Description:
Building devel/gcvs fails in linking libraries as below.

# cd /usr/ports/devel/gcvs && make
...
filesubr.o: In function `cvs_temp_name':
filesubr.o(.text+0xd7e): warning: tempnam() possibly used unsafely; consider using mkstemp()
/usr/lib/libkrb5.so: undefined reference to `com_right'
/usr/lib/libkrb5.so: undefined reference to `init_error_table'
/usr/lib/libkrb5.so: undefined reference to `crypt'
/usr/lib/libkrb5.so: undefined reference to `initialize_error_table_r'
/usr/lib/libkrb5.so: undefined reference to `free_error_table'
gmake[3]: *** [cvs] Error 1
...

>How-To-Repeat:
>Fix:
diff -urN /usr/ports/devel/gcvs/files/patch-cvsunix-configure gcvs/files/patch-cvsunix-configure
--- /usr/ports/devel/gcvs/files/patch-cvsunix-configure	Thu Jan  1 09:00:00 1970
+++ gcvs/files/patch-cvsunix-configure	Mon Jan 21 16:31:12 2002
@@ -0,0 +1,11 @@
+--- cvsunix/configure.orig	Wed Mar  7 04:02:21 2001
++++ cvsunix/configure	Mon Jan 21 16:24:32 2002
+@@ -3423,7 +3423,7 @@
+   includeopt="${includeopt} -I$GSSAPI/include"
+   # FIXME: This is ugly, but these things don't seem to be standardized.
+   if test "$ac_cv_header_gssapi_h" = "yes"; then
+-    LIBS="$LIBS -L$GSSAPI/lib -lgssapi -lkrb5 -lasn1 -ldes -lroken"
++    LIBS="$LIBS -L$GSSAPI/lib -lgssapi -lkrb5 -lasn1 -ldes -lroken -lcrypt -lcom_err"
+   else
+     LIBS="$LIBS -L$GSSAPI/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err"
+   fi
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020217140729.A9B58BAC1>