pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38331: curl-7.18.0nb1 doesn't build on NetBSD 3.1



>Number:         38331
>Category:       pkg
>Synopsis:       curl-7.18.0nb1 doesn't build on NetBSD 3.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 29 17:20:00 +0000 2008
>Originator:     David A. Holland
>Release:        NetBSD 3.1_STABLE (-20071109)
>Organization:
>Environment:
System: NetBSD rhett 3.1_STABLE NetBSD 3.1_STABLE (RHETT) #4: Thu Nov 8 
14:40:16 EST 2007 dholland@rhett:/usr/src/sys/arch/i386/compile/RHETT i386
Architecture: i386
Machine: i386
/usr/lib/libgssapi.so:
     $Heimdal: v1.c,v 1.2 1999/12/02 17:05:04 joda Exp $
     $NetBSD: v1.c,v 1.1.1.3 2002/09/12 12:41:40 joda Exp $
     $Heimdal: process_context_token.c,v 1.1 2003/03/16 18:19:05 lha Exp $
     $NetBSD: process_context_token.c,v 1.1.1.1 2003/05/15 20:28:46 lha Exp $
     $Heimdal: release_cred.c,v 1.8.2.1 2003/10/07 01:08:21 lha Exp $
     $NetBSD: release_cred.c,v 1.7 2004/04/02 14:59:48 lha Exp $
     $Heimdal: inquire_names_for_mech.c,v 1.1 2003/03/16 18:15:29 lha Exp $
     $NetBSD: inquire_names_for_mech.c,v 1.1.1.1 2003/05/15 20:28:46 lha Exp $
     $Heimdal: inquire_mechs_for_name.c,v 1.1 2003/03/16 18:12:33 lha Exp $
     $NetBSD: inquire_mechs_for_name.c,v 1.1.1.1 2003/05/15 20:28:46 lha Exp $
     $Heimdal: inquire_cred_by_mech.c,v 1.1 2003/03/16 18:11:16 lha Exp $
     $NetBSD: inquire_cred_by_mech.c,v 1.1.1.1 2003/05/15 20:28:46 lha Exp $
     $Heimdal: inquire_context.c,v 1.5 2003/03/16 17:43:30 lha Exp $
     $NetBSD: inquire_context.c,v 1.1.1.4 2003/05/15 20:28:46 lha Exp $
     $Heimdal: init_sec_context.c,v 1.36.2.1 2003/08/15 14:21:18 lha Exp $
     $NetBSD: init_sec_context.c,v 1.11 2004/04/02 14:59:48 lha Exp $
     $Heimdal: indicate_mechs.c,v 1.5 2003/03/16 17:38:20 lha Exp $
     $NetBSD: indicate_mechs.c,v 1.1.1.5 2003/05/15 20:28:46 lha Exp $
     $Heimdal: import_sec_context.c,v 1.7 2003/03/16 18:01:32 lha Exp $
     $NetBSD: import_sec_context.c,v 1.4 2003/05/15 21:36:43 lha Exp $
     $Heimdal: get_mic.c,v 1.21 2003/03/16 18:02:04 lha Exp $
     $NetBSD: get_mic.c,v 1.10 2004/04/02 14:59:48 lha Exp $
     $Heimdal: export_sec_context.c,v 1.6 2003/03/16 18:02:52 lha Exp $
     $NetBSD: export_sec_context.c,v 1.4 2003/05/15 21:36:42 lha Exp $
     $Heimdal: display_name.c,v 1.9 2003/03/16 17:46:11 lha Exp $
     $NetBSD: display_name.c,v 1.4 2003/05/15 21:36:41 lha Exp $
     $Heimdal: delete_sec_context.c,v 1.11 2003/03/16 17:46:40 lha Exp $
     $NetBSD: delete_sec_context.c,v 1.4 2003/05/15 21:36:41 lha Exp $
     $Heimdal: copy_ccache.c,v 1.3 2003/03/16 17:47:44 lha Exp $
     $NetBSD: copy_ccache.c,v 1.5 2003/05/15 21:36:41 lha Exp $
     $Heimdal: compare_name.c,v 1.4 2003/03/16 17:50:07 lha Exp $
     $NetBSD: compare_name.c,v 1.4 2003/05/15 21:36:40 lha Exp $
     $Heimdal: canonicalize_name.c,v 1.2 1999/12/02 17:05:03 joda Exp $
     $NetBSD: canonicalize_name.c,v 1.1.1.3 2002/09/12 12:41:40 joda Exp $
     $Heimdal: add_cred.c,v 1.2.2.1 2003/10/21 21:00:47 lha Exp $
     $NetBSD: add_cred.c,v 1.1.1.2 2004/04/02 14:47:44 lha Exp $
     $Heimdal: acquire_cred.c,v 1.13.2.1 2003/08/15 14:18:24 lha Exp $
     $NetBSD: acquire_cred.c,v 1.12 2004/04/02 14:59:47 lha Exp $
     $Heimdal: accept_sec_context.c,v 1.33.2.2 2003/12/19 00:37:06 lha Exp $
     $NetBSD: accept_sec_context.c,v 1.5 2004/04/02 14:59:47 lha Exp $
     $Heimdal: wrap.c,v 1.21.2.1 2003/09/18 22:05:45 lha Exp $
     $NetBSD: wrap.c,v 1.10 2004/04/02 14:59:48 lha Exp $
     $Heimdal: verify_mic.c,v 1.18.2.4 2003/09/18 22:05:34 lha Exp $
     $NetBSD: verify_mic.c,v 1.10 2004/04/02 14:59:48 lha Exp $
     $Heimdal: unwrap.c,v 1.22.2.1 2003/09/18 22:05:22 lha Exp $
     $NetBSD: unwrap.c,v 1.10 2004/04/02 14:59:48 lha Exp $
     $Heimdal: release_oid_set.c,v 1.5 2003/03/16 17:53:25 lha Exp $
     $NetBSD: release_oid_set.c,v 1.1.1.4 2003/05/15 20:28:46 lha Exp $
     $Heimdal: release_name.c,v 1.7 2003/03/16 17:52:48 lha Exp $
     $NetBSD: release_name.c,v 1.4 2003/05/15 21:36:44 lha Exp $
     $Heimdal: inquire_cred.c,v 1.4 2003/03/16 17:42:14 lha Exp $
     $NetBSD: inquire_cred.c,v 1.1.1.4 2003/05/15 20:28:46 lha Exp $
     $Heimdal: export_name.c,v 1.5 2003/03/16 17:34:46 lha Exp $
     $NetBSD: export_name.c,v 1.1.1.4 2003/05/15 20:28:46 lha Exp $
     $Heimdal: duplicate_name.c,v 1.7 2003/03/16 17:44:26 lha Exp $
     $NetBSD: duplicate_name.c,v 1.4 2003/05/15 21:36:42 lha Exp $
     $Heimdal: create_emtpy_oid_set.c,v 1.5 2003/03/16 17:47:07 lha Exp $
     $NetBSD: create_emtpy_oid_set.c,v 1.1.1.5 2003/05/15 20:28:46 lha Exp $
     $Heimdal: context_time.c,v 1.7.2.1 2003/08/15 14:25:50 lha Exp $
     $NetBSD: context_time.c,v 1.5 2004/04/02 14:59:48 lha Exp $
     $Heimdal: compat.c,v 1.2.2.2 2003/04/28 13:58:09 lha Exp $
     $NetBSD: compat.c,v 1.1.1.1 2003/05/15 20:28:46 lha Exp $
     $Heimdal: arcfour.c,v 1.12.2.3 2003/09/19 15:15:11 lha Exp $
     $NetBSD: arcfour.c,v 1.1.1.1 2004/04/02 14:47:44 lha Exp $
     $Heimdal: add_oid_set_member.c,v 1.8 2003/03/16 17:50:49 lha Exp $
     $NetBSD: add_oid_set_member.c,v 1.1.1.5 2003/05/15 20:28:46 lha Exp $
     $Heimdal: 8003.c,v 1.12.2.2 2003/09/18 21:30:57 lha Exp $
     $NetBSD: 8003.c,v 1.8 2004/04/02 14:59:47 lha Exp $
     $Heimdal: test_oid_set_member.c,v 1.5 2003/03/16 17:54:06 lha Exp $
     $NetBSD: test_oid_set_member.c,v 1.1.1.4 2003/05/15 20:28:46 lha Exp $
     $Heimdal: release_buffer.c,v 1.5 2003/03/16 17:58:20 lha Exp $
     $NetBSD: release_buffer.c,v 1.1.1.4 2003/05/15 20:28:46 lha Exp $
     $Heimdal: encapsulate.c,v 1.6.6.1 2003/09/18 21:47:44 lha Exp $
     $NetBSD: encapsulate.c,v 1.1.1.6 2004/04/02 14:47:45 lha Exp $
     $Heimdal: decapsulate.c,v 1.7.6.1 2003/09/18 22:00:41 lha Exp $
     $NetBSD: decapsulate.c,v 1.1.1.6 2004/04/02 14:47:44 lha Exp $
     $Heimdal: import_name.c,v 1.13 2003/03/16 17:33:31 lha Exp $
     $NetBSD: import_name.c,v 1.4 2003/05/15 21:36:43 lha Exp $
     $Heimdal: display_status.c,v 1.9 2003/03/16 17:45:36 lha Exp $
     $NetBSD: display_status.c,v 1.4 2003/05/15 21:36:41 lha Exp $
     $Heimdal: init.c,v 1.6 2001/08/13 13:14:07 joda Exp $
     $NetBSD: init.c,v 1.1.1.5 2002/09/12 12:41:40 joda Exp $
     $Heimdal: external.c,v 1.5 2000/07/22 03:45:28 assar Exp $
     $NetBSD: external.c,v 1.1.1.3 2002/09/12 12:41:40 joda Exp $

>Description:

The gssapi option for curl now enabled by default leads to a build
failure on NetBSD 3.1:

   checking for struct timeval... yes
   checking run-time libs availability... failed
   configure: error: one or more libs available at link-time are not available 
run-time. Libs used at link-time:  
   *** Error code 1

>How-To-Repeat:

   make configure

>Fix:

The following patch makes it build on 3.1, but is probably not the
right thing in the general case:

--- configure.orig      2008-01-28 06:59:49.000000000 -0500
+++ configure   2008-03-29 12:29:42.000000000 -0400
@@ -25049,7 +25049,7 @@
         GSSAPI_LIBS=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
      elif test "$GSSAPI_ROOT" != "yes"; then
         GSSAPI_INCS="-I$GSSAPI_ROOT/include"
-        GSSAPI_LIBS="-lgssapi"
+        GSSAPI_LIBS="-lgssapi -lkrb5 -lroken -lcom_err -lcrypto -lasn1"
      fi
   fi
 
@@ -25516,12 +25516,12 @@
         gss_ldflags=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
         LDFLAGS="$LDFLAGS $gss_ldflags"
      elif test "$GSSAPI_ROOT" != "yes"; then
-        LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff -lgssapi"
+        LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff -lgssapi -lkrb5 -lroken 
-lcom_err -lcrypto -lasn1"
      else
-        LDFLAGS="$LDFLAGS -lgssapi"
+        LDFLAGS="$LDFLAGS -lgssapi -lkrb5 -lroken -lcom_err -lcrypto -lasn1"
      fi
   else
-     LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR -lgssapi"
+     LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR -lgssapi -lkrb5 -lroken -lcom_err 
-lcrypto -lasn1"
   fi
 else
   CPPFLAGS="$save_CPPFLAGS"



Home | Main Index | Thread Index | Old Index