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
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



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:


   rhett% ldd /usr/pkg/bin/curl
        -lgssapi.5 => /usr/lib/
        -lcrypt.0 => /lib/
        -lcrypto.2 => /usr/lib/
        -lasn1.6 => /usr/lib/
        -lcom_err.4 => /usr/lib/
        -lroken.12 => /usr/lib/
        -lkrb5.19 => /usr/lib/
        -lintl.0 => /usr/lib/
        -lidn.11 => /usr/pkg/lib/
        -lssl.3 => /usr/lib/
        -lz.0 => /usr/lib/
        -ldb4-4.6.6 => /usr/pkg/lib/   <-----
        -lcurl.4 => /usr/pkg/lib/
        -lc.12 => /usr/lib/

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.)


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


No idea.

Home | Main Index | Thread Index | Old Index