[MacPorts] #30065: heimdal @1.3.3 Build error using gcc-llvm
MacPorts
noreply at macports.org
Wed Jul 6 19:11:16 PDT 2011
#30065: heimdal @1.3.3 Build error using gcc-llvm
-----------------------------------------+----------------------------------
Reporter: christopher.owen@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: lion llvm gcc-llvm xcode4.2 | Port: heimdal
-----------------------------------------+----------------------------------
I have verified that this defect exists in trunk.
steps to reproduce:
1) install gcc-llvm (available from many places but also in the Xcode 4.2
beta)
2) sudo port install heimdal
the build for heimdal will exit with many errors in sqlite3.c.
:info:build sqlite3.c:63492: error: initializer element is not
constant
:info:build sqlite3.c:63492: error: (near initialization for
'aBuiltinFunc[5].pUserData')
The exact problem I am seeing was written about including a solution in a
japanese blog in 2008.
Original page: http://tribelet.blogspot.com/2008/09/blog-post_08.html
Google translation of page:
http://translate.google.ca/translate?hl=en&sl=ja&u=http://tribelet.blogspot.com/2008/09
/blog-
post_08.html&ei=rQ4VTrSqL4PUiAKTsp2JDw&sa=X&oi=translate&ct=result&resnum=1&ved=0CBwQ7gEwAA&prev=/search%3Fq%3Dsqlite3%2Berror:%2B(near%2Binitialization%2Bfor%2B%2527aDateTimeFuncs%255B0%255D.pUserData%2527)%26hl%3Den%26client%3Dsafari%26rls%3Den%26prmd%3Divns
With this one line change in sqlite3.c, the build completes (although with
some warnings.)
It may be worth noting here that a newer version of heimdal (1.4) exists
that what is included in the ports tree. Included in its changelog is a
line item of 'bug fixes'. However, I could not get it to compile easily
and was happy with this patch.
The patch applied is included.
--
Ticket URL: <https://trac.macports.org/ticket/30065>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list