[MacPorts] #13305: sqlite3 fails to build on Mac OS X 10.5 Leopard

MacPorts noreply at macports.org
Tue Jun 17 00:31:58 PDT 2008


#13305: sqlite3 fails to build on Mac OS X 10.5 Leopard
----------------------------------+-----------------------------------------
  Reporter:  designbot at gmail.com  |       Owner:  mww at macports.org                 
      Type:  defect               |      Status:  reopened                         
  Priority:  High                 |   Milestone:  Port Bugs                        
 Component:  ports                |     Version:  1.5.0                            
Resolution:                       |    Keywords:  sqlite subversion leopard install
----------------------------------+-----------------------------------------
Changes (by spambox at evernex.com):

  * status:  closed => reopened
  * resolution:  worksforme =>

Comment:

 The same thing happens to me with sqlite 3.5.9.  I ran 'port selfupdate'
 just before retrying to build subversion and it failed both before and
 after I ran selfupdate.

 On running 'port clean sqlite3; port -dt destroot sqlite3' there was no
 error that I saw, and sqlite3 installed fine, but there IS a problem
 building sqlite3 on Leopard in some cases.  My machine is a MacBook with a
 fairly fresh (about 1 month) install of Leopard.

 Here's my failure output:

 {{{
 $ sudo port install subversion
 Portfile changed since last build; discarding previous state.
 --->  Fetching db46
 --->  Attempting to fetch patch.4.6.21.1 from
 http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/
 --->  Attempting to fetch db-4.6.21.tar.gz from http://download-
 west.oracle.com/berkeley-db/
 --->  Verifying checksum(s) for db46
 --->  Extracting db46
 --->  Applying patches to db46
 --->  Configuring db46
 --->  Building db46 with target all
 --->  Staging db46 into destroot
 --->  Installing db46 4.6.21_1
 --->  Activating db46 4.6.21_1
 --->  Cleaning db46
 --->  Building sqlite3 with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_sqlite3/work/sqlite-3.5.9"
 && gnumake all " returned error 2
 Command output: sqlite3.c:75960: error: 'TK_GE' undeclared (first use in
 this function)
 sqlite3.c:75963: error: 'TK_RSHIFT' undeclared (first use in this
 function)
 sqlite3.c:75966: error: 'TK_GT' undeclared (first use in this function)
 sqlite3.c:75972: error: 'TK_ILLEGAL' undeclared (first use in this
 function)
 sqlite3.c:75981: error: 'TK_BITOR' undeclared (first use in this function)
 sqlite3.c:75984: error: 'TK_CONCAT' undeclared (first use in this
 function)
 sqlite3.c:75989: error: 'TK_COMMA' undeclared (first use in this function)
 sqlite3.c:75993: error: 'TK_BITAND' undeclared (first use in this
 function)
 sqlite3.c:75997: error: 'TK_BITNOT' undeclared (first use in this
 function)
 sqlite3.c:76014: error: 'TK_STRING' undeclared (first use in this
 function)
 sqlite3.c:76026: error: 'TK_DOT' undeclared (first use in this function)
 sqlite3.c:76034: error: 'TK_INTEGER' undeclared (first use in this
 function)
 sqlite3.c:76040: error: 'TK_FLOAT' undeclared (first use in this function)
 sqlite3.c:76060: error: 'TK_ID' undeclared (first use in this function)
 sqlite3.c:76060: warning: assignment makes integer from pointer without a
 cast
 sqlite3.c:76064: error: 'TK_VARIABLE' undeclared (first use in this
 function)
 sqlite3.c:76073: error: 'TK_REGISTER' undeclared (first use in this
 function)
 sqlite3.c:76113: error: 'TK_BLOB' undeclared (first use in this function)
 sqlite3.c: In function 'sqlite3RunParser':
 sqlite3.c:76184: error: 'TK_SPACE' undeclared (first use in this function)
 sqlite3.c:76184: warning: case label value exceeds maximum value for type
 sqlite3.c:76185: error: 'TK_COMMENT' undeclared (first use in this
 function)
 sqlite3.c:76185: warning: case label value exceeds maximum value for type
 sqlite3.c:76193: error: 'TK_ILLEGAL' undeclared (first use in this
 function)
 sqlite3.c:76193: warning: case label value exceeds maximum value for type
 sqlite3.c:76202: error: 'TK_SEMI' undeclared (first use in this function)
 sqlite3.c:76202: warning: case label value exceeds maximum value for type
 sqlite3.c:76218: warning: comparison between pointer and integer
 sqlite3.c:76219: warning: passing argument 2 of 'sqlite3Parser' makes
 integer from pointer without a cast
 gnumake: *** [sqlite3.lo] Error 1

 Error: The following dependencies failed to build: apr-util sqlite3 neon
 Error: Status 1 encountered during processing.
 }}}

 Will attach the -dt output I copy-pasted from Terminal separately.

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


More information about the macports-tickets mailing list