[MacPorts] #31694: gcc44 +universal fails at building java compiler (was: gcc44 build fails at building java compiler)
MacPorts
noreply at macports.org
Thu Oct 20 13:19:45 PDT 2011
#31694: gcc44 +universal fails at building java compiler
-------------------------------------+--------------------------------------
Reporter: david.w.watson@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: universal | Port: gcc44
-------------------------------------+--------------------------------------
Changes (by ryandesign@…):
* cc: mww (removed)
* owner: macports-tickets@… => mww@…
* keywords: => universal
Comment:
The relevant error in your log seems to be:
{{{
:info:build ../../gcc-4.4.6/gcc/java/jcf-parse.c:2066:22: error: macro
"FREE" requires 2 arguments, but only 1 given
:info:build ../../gcc-4.4.6/gcc/java/jcf-parse.c: In function
'parse_zip_file_entries':
:info:build ../../gcc-4.4.6/gcc/java/jcf-parse.c:2066: error: 'FREE'
undeclared (first use in this function)
:info:build ../../gcc-4.4.6/gcc/java/jcf-parse.c:2066: error: (Each
undeclared identifier is reported only once
:info:build ../../gcc-4.4.6/gcc/java/jcf-parse.c:2066: error: for each
function it appears in.)
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc44/gcc44/work/build
/./prev-gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc44/gcc44/work/build
/./prev-gcc/ -B/opt/local/x86_64-apple-darwin10/bin/ -c -O2 -g
-D_FORTIFY_SOURCE=0 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-
prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition
-Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-
variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Ijava
-I../../gcc-4.4.6/gcc -I../../gcc-4.4.6/gcc/java
-I../../gcc-4.4.6/gcc/../include -I../../gcc-4.4.6/gcc/../libcpp/include
-I/opt/local/include -I/opt/local/include
-I../../gcc-4.4.6/gcc/../libdecnumber
-I../../gcc-4.4.6/gcc/../libdecnumber/dpd -I../libdecnumber
../../gcc-4.4.6/gcc/java/mangle.c -o java/mangle.o
:info:build make[3]: *** [java/jcf-parse.o] Error 1
}}}
I see a similar problem report at the Fink project:
http://www.mailinglistarchive.com/html/fink-
users at lists.sourceforge.net/2011-03/msg00020.html
There, the only suggestion was to make sure you don't have anything in
/usr/local. If you do, remove it or move it aside, clean gcc44, and try
again. Also make sure you don't also have Fink installed at /sw; if you
do, remove or move it aside as well.
--
Ticket URL: <https://trac.macports.org/ticket/31694#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list