Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 428696

Summary: net-misc/curl-7.27: curl-config --libs fails
Product: Gentoo Linux Reporter: Tolga Dalman <tdalman>
Component: [OLD] LibraryAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: blocker CC: anarchy, b.brachaczek, gorkypl, gregkh, kripton
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 428520, 428634    

Description Tolga Dalman 2012-07-30 18:42:42 UTC
This is what I get:
/usr/bin/curl-config --libs
/usr/bin/curl-config: line 148: syntax error near unexpected token `else'
/usr/bin/curl-config: line 148: `       else'

There seems to be a accidental wrap-over in the corresponding lines:

145: if test "X/usr/lib64" != "X/usr/lib" -a "X/usr/lib64" != "X/usr/lib64"; t
146: hen
147:    CURLLIBDIR="-L/usr/lib64 "
148: else
149:    CURLLIBDIR=""
150: fi
Comment 1 Anthony Basile gentoo-dev 2012-07-30 21:06:29 UTC
Thanks for the report.  I wish all of curls' bugs were this easy to fix.  It'll probably be a few days before I commit the fix though because the bugs are coming in for 7.27.
Comment 2 Jory A. Pratt gentoo-dev 2012-07-31 03:43:29 UTC
(In reply to comment #1)
> Thanks for the report.  I wish all of curls' bugs were this easy to fix. 
> It'll probably be a few days before I commit the fix though because the bugs
> are coming in for 7.27.

This is a bad deal, this will leave many packages broken and failing to compile. I would suggest making the quick fix and waiting for any additional bugs at a later time.
Comment 3 Julian Ospald 2012-07-31 09:28:23 UTC
I have masked this ( =net-misc/curl-7.27.0 ). You can remove the mask when you fix it in a revbump.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-07-31 09:40:19 UTC
*** Bug 428772 has been marked as a duplicate of this bug. ***
Comment 5 Anthony Basile gentoo-dev 2012-07-31 12:31:13 UTC
Okay this should be fixed in curl-7.27.0-r1.  Please test and reopen if this is still a problem.
Comment 6 Anthony Basile gentoo-dev 2012-07-31 20:43:03 UTC
*** Bug 429100 has been marked as a duplicate of this bug. ***