[MacPorts] #18736: distname is not percent-encoded before gluing it into the URL

MacPorts noreply at macports.org
Mon Mar 9 08:12:13 PDT 2009


#18736: distname is not percent-encoded before gluing it into the URL
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  enhancement              |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  MacPorts 1.8.0                       
Component:  base                     |     Version:  1.7.0                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------

Comment(by ryandesign@…):

 Thanks.

 When trying to compile MacPorts with this change, I got:

 {{{
 ld: Undefined symbols:
 _curl_easy_escape
 }}}

 I found that on this Intel Tiger Mac, I somehow had both library version 3
 and 4 of curl, with all the symlinks pointing to version 3, and only
 version 4 has the curl_easy_escape function:

 {{{
 $ ls -l /usr/lib/libcurl*
 lrwxr-xr-x   1 root  wheel      15 Sep  5  2008 /usr/lib/libcurl.2.dylib
 -> libcurl.3.dylib
 lrwxr-xr-x   1 root  wheel      15 Sep  5  2008
 /usr/lib/libcurl.3.0.0.dylib -> libcurl.3.dylib
 -rwxr-xr-x   1 root  wheel  384692 Oct 24 02:02 /usr/lib/libcurl.3.dylib
 -rwxr-xr-x   1 root  wheel  460136 Nov  6 15:53 /usr/lib/libcurl.4.dylib
 lrwxr-xr-x   1 root  wheel      15 Sep  5  2008 /usr/lib/libcurl.dylib ->
 libcurl.3.dylib
 $ grep curl_easy_escape /usr/lib/libcurl*
 Binary file /usr/lib/libcurl.4.dylib matches
 $
 }}}

 I checked two other Tiger Macs (one Intel and one PowerPC) and they only
 have library version 4, and everything else is just symlinks to it:

 {{{
 $ ls -l libcurl*
 lrwxr-xr-x  1 root  wheel      15 Mar 26  2008 libcurl.2.dylib ->
 libcurl.4.dylib
 lrwxr-xr-x  1 root  wheel      15 Mar 16  2007 libcurl.3.0.0.dylib ->
 libcurl.3.dylib
 lrwxr-xr-x  1 root  wheel      15 Mar 26  2008 libcurl.3.dylib ->
 libcurl.4.dylib
 lrwxr-xr-x  1 root  wheel      15 Mar 26  2008 libcurl.4.0.0.dylib ->
 libcurl.4.dylib
 -rwxr-xr-x  1 root  wheel  460136 Nov  6 15:53 libcurl.4.dylib
 lrwxr-xr-x  1 root  wheel      15 Mar 26  2008 libcurl.dylib ->
 libcurl.4.dylib
 $
 }}}

 And I checked two Leopard Macs (one Intel, one PowerPC) which also look
 the same (except that the libcurl.3.0.0.dylib symlink is missing).

 Once I fixed the symlinks on the first Mac I could build it.

-- 
Ticket URL: <http://trac.macports.org/ticket/18736#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list