pkgsrc-Bugs archive

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

pkg/38332: curl silently depends on db4



>Number:         38332
>Category:       pkg
>Synopsis:       curl silently depends on db4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 29 18:20:00 +0000 2008
>Originator:     David A. Holland
>Release:        NetBSD 3.1_STABLE (20071109) + pkgsrc 20080328
>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
>Description:

Adding

   BDB_DEFAULT=db4
   BDB185_DEFAULT=db4

to mk.conf causes curl to exhibit a silent dependence on db4:

   rhett% pkg_info -Rn db4
   Information for db4-4.6.21:


   rhett% pkg_info -Rn curl
   Information for curl-7.18.0nb1:

   Requires:
   libidn>=0.6.1nb1

   rhett% ldd /usr/pkg/bin/curl
   /usr/pkg/bin/curl:
        -lgssapi.5 => /usr/lib/libgssapi.so.5
        -lcrypt.0 => /lib/libcrypt.so.0
        -lcrypto.2 => /usr/lib/libcrypto.so.2
        -lasn1.6 => /usr/lib/libasn1.so.6
        -lcom_err.4 => /usr/lib/libcom_err.so.4
        -lroken.12 => /usr/lib/libroken.so.12
        -lkrb5.19 => /usr/lib/libkrb5.so.19
        -lintl.0 => /usr/lib/libintl.so.0
        -lidn.11 => /usr/pkg/lib/libidn.so.11
        -lssl.3 => /usr/lib/libssl.so.3
        -lz.0 => /usr/lib/libz.so.0
        -ldb4-4.6.6 => /usr/pkg/lib/libdb4-4.6.so.6   <-----
        -lcurl.4 => /usr/pkg/lib/libcurl.so.4
        -lc.12 => /usr/lib/libc.so.12

This happens because CFLAGS/LIBS/whatnot are being set in the
configure script's environment; I so far haven't been able to figure
out where they're coming from or why this is happening without also
generating a dependency.

(I noticed this when debugging the broken curl build reported in
another PR, but it's unrelated and it may have been going on for a
long time.)

>How-To-Repeat:

Adjust mk.conf as noted, make sure db4 is already installed, and make.

>Fix:

No idea.



Home | Main Index | Thread Index | Old Index