[MacPorts] #27341: error: size of array '__curl_rule_01__' is negative

MacPorts noreply at macports.org
Thu Mar 28 00:55:36 PDT 2013


#27341: error: size of array '__curl_rule_01__' is negative
--------------------------+--------------------------------
  Reporter:  bhamilton@…  |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:  1.9.2
Resolution:  invalid      |   Keywords:
      Port:               |
--------------------------+--------------------------------

Comment (by sami.laine@…):

 This error is easy to reproduce: cross-compile anything 32-bit on a 64-bit
 system. One easy example is to grab Castle Wolfenstein: Enemy Territory
 sources from GitHUB (https://github.com/etlegacy/etlegacy.git) and trying
 to build it. The build will choke when doing a 32-bit cross compile, but
 finishes cleanly when compiling to 64-bit.

 Some search engines also seem to reveal that this is actually a Curl
 problem, related to the way they define, e.g. CURL_SIZEOF_CURL_OFF_T in
 their headers.

 Steps to reproduce:

 1. sudo port install cmake curl git-core
 2. git clone https://github.com/etlegacy/etlegacy.git && cd etlegacy
 3. git submodule init && git submodule update
 4. mkdir build && cd build && cmake gui .. && make

-- 
Ticket URL: <https://trac.macports.org/ticket/27341#comment:8>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list