[MacPorts] #20956: openjdk6: build fails on Snow Leopard with error during "corba-build"
MacPorts
noreply at macports.org
Wed Nov 3 14:14:46 PDT 2010
#20956: openjdk6: build fails on Snow Leopard with error during "corba-build"
------------------------------------+---------------------------------------
Reporter: dmz@… | Owner: landonf@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: openjdk6
------------------------------------+---------------------------------------
Comment(by johnsonlaucn@…):
Replying to [comment:46 davido@…]:
> On Leopard I got the following warning that later cascaded into a build
failure because "freetype couldn't be found".
>
> {{{
> :info:build Control bsd amd64 1.6.0-internal all build started: 10-11-03
11:58
> :info:build ld warning: in /opt/local/lib/libfreetype.dylib, file is not
of required architecture
> :info:build ld warning: in /opt/local/lib/libz.dylib, file is not of
required architecture
> :info:build Undefined symbols:
> :info:build "_FT_Init_FreeType", referenced from:
> :info:build _main in ccXJ5Z9V.o
> :info:build "_FT_Library_Version", referenced from:
> :info:build _main in ccXJ5Z9V.o
> :info:build ld: symbol(s) not found
> :info:build collect2: ld returned 1 exit status
> }}}
>
> My output from uname -a is:
>
> Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009;
root:xnu-1228.15.4~1/RELEASE_I386 i386
>
> I'm assuming this is because the wrong arch was being built in an
earlier portfile?
It seems you were building a different ARCH version with your current
libraries (64bit JDK with 32bit freetype?).[[BR]]
Please check your macports.conf to see your current ARCH settings.[[BR]]
If you want to build a 32bit JDK, start the build with the variant 32bit.
{{{port -v install openjdk6 +32bit}}}[[BR]]
Be aware that 32bit is still not tested. It may cause problems.
--
Ticket URL: <https://trac.macports.org/ticket/20956#comment:49>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list