[oe-commits] [Bug 5477] New: curl-sdk_7.19.7.bb discards EXTRA_OECONF which is set in curl-common.inc

bugzilla-daemon at git.openembedded.org bugzilla-daemon at git.openembedded.org
Mon Sep 13 16:28:30 UTC 2010


http://bugs.openembedded.org/show_bug.cgi?id=5477

           Summary: curl-sdk_7.19.7.bb discards EXTRA_OECONF which is set
                    in curl-common.inc
           Product: Openembedded
           Version: org.openembedded.dev
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Keywords: patch
          Severity: normal
          Priority: P3
         Component: unspecified
        AssignedTo: openembedded-commits at lists.openembedded.org
        ReportedBy: koreylu at gmail.com
                CC: koreylu at gmail.com


Created an attachment (id=14044)
 --> (http://bugs.openembedded.org/attachment.cgi?id=14044)
a patch of recipes/curl/curl-sdk_7.19.7.bb

In curl-common.inc:

EXTRA_OECONF = " \
                --without-libssh2 \
                --with-random=/dev/urandom \
                --without-libidn \
                "
python __anonymous() {
    # Modify EXTRA_OECONF according to CURL_FEATURES
    # ...
}

But in curl-sdk_7.19.7.bb:

require curl-common.inc
EXTRA_OECONF = " --without-gnutls "

As a result, the EXTRA_OECONF assigned in curl-common.inc is discarded; the
option set in curl-sdk_7.19.7.bb also doesn't work, because the python code
appends a `--with-gnutls' later.


On my machine, when building curl-sdk for meta-toolchain-qte, this issue leads
to an error complaining undefined reference to libssh2 functions.

Get the clue by examining ${WORKDIR}/curl-7.19.7/config.log.


Here is a patch to fix this issue.

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-commits mailing list