Opened 13 years ago
Closed 12 years ago
#31694 closed defect (worksforme)
gcc44 +universal fails at building java compiler
Reported by: | watsodw | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | universal | Cc: | |
Port: | gcc44 |
Description
gcc44 build fails at building java compiler
Attachments (1)
Change History (6)
Changed 13 years ago by watsodw
comment:1 Changed 13 years ago by watsodw
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mww removed |
---|---|
Keywords: | universal added |
Owner: | changed from macports-tickets@… to mww@… |
Summary: | gcc44 build fails at building java compiler → gcc44 +universal fails at building java compiler |
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@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.
comment:3 follow-up: 4 Changed 13 years ago by watsodw
No fink, nothing in /usr/local, still doesn't build.
comment:4 Changed 13 years ago by watsodw
Replying to david.w.watson@…:
No fink, nothing in /usr/local, still doesn't build.
Turns out my macports installation was corrupted. Started from scratch and install succeeded.
comment:5 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing as per comment:4.
Retried not using "universal" variant and gcc44 built. Don't understand why. However, that causes atlas to be unavailable in "universal" build.