Bug 871317 - curl-config syntax error
Summary: curl-config syntax error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: curl
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-30 08:36 UTC by Petr Pisar
Modified: 2012-12-20 15:45 UTC (History)
2 users (show)

Fixed In Version: curl-7.28.0-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-20 15:45:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2012-10-30 08:36:18 UTC
$ rpm -q curl
curl-7.27.0-3.fc19.x86_64
$ curl-config --cflags
/bin/curl-config: line 138: CPPFLAG_CURL_STATICLIB: command not found

curl-config content:

    --cflags)
        if test "X$cppflag_curl_staticlib" = "X-DCURL_STATICLIB"; then
          CPPFLAG_CURL_STATICLIB="-DCURL_STATICLIB "
        else
          CPPFLAG_CURL_STATICLIB=""
        fi
        if test "X/usr/include" = "X/usr/include"; then
→         echo "$(CPPFLAG_CURL_STATICLIB)"
        else
          echo "$(CPPFLAG_CURL_STATICLIB)-I/usr/include"
        fi
        ;;

There should be curly braces instead of parenthesis on line 138 and 140.

Comment 1 Kamil Dudka 2012-10-30 09:07:21 UTC
Thank you for reporting the bug!  This is the corresponding upstream fix:

https://github.com/bagder/curl/commit/382429e

Comment 2 Kamil Dudka 2012-10-30 09:12:44 UTC
Same problem in curl-7.27.0-3.fc18, will submit an update...

Comment 3 Kamil Dudka 2012-10-31 12:51:56 UTC
fixed in curl-7.28.0-1.fc19

Comment 4 Fedora Update System 2012-10-31 15:08:01 UTC
curl-7.27.0-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/curl-7.27.0-4.fc18

Comment 5 Fedora Update System 2012-10-31 18:12:31 UTC
Package curl-7.27.0-4.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing curl-7.27.0-4.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17363/curl-7.27.0-4.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-12-20 15:45:19 UTC
curl-7.27.0-4.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.