#13997 closed defect (wontfix)
Error when compiling gcj34
Reported by: | peyroux@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | gcj34 |
Description (last modified by jmpalacios (Juan Manuel Palacios))
peyroux ~ $ sudo port install gcj34 ---> Fetching gcj34 ---> Verifying checksum(s) for gcj34 ---> Extracting gcj34 ---> Applying patches to gcj34 ---> Configuring gcj34 ---> Building gcj34 with target bootstrap-lean Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build" && make bootstrap-lean " returned error 2 Command output: "" \ "" \ "" \ "yes" \ > tmp-mlib.h; \ else \ /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/genmultilib '' '' '' '' '' '' '' no \ > tmp-mlib.h; \ fi /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/move-if-change tmp-mlib.h multilib.h echo timestamp > s-mlib lsf="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/cp/lang-specs.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/java/lang-specs.h"; for f in $lsf; do \ echo "#include \"$f\""; \ done | sed 's|/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/||' > tmp-specs.h /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/move-if-change tmp-specs.h specs.h echo timestamp > s-specs (SHLIB_LINK='' \ SHLIB_MULTILIB=''; \ /usr/bin/gcc-4.0 -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/../include \ -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/opt/local/gcj34-3.4.6/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/opt/local/gcj34-3.4.6/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"3.4.6\" -DDEFAULT_TARGET_MACHINE=\"i686-apple-darwin9.1.0\" -DSTANDARD_BINDIR_PREFIX=\"/opt/local/gcj34-3.4.6/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \ -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c -o gcc.o) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:716: warning: string length '2483' is greater than the length '509' ISO C89 compilers are required to support /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:723: warning: string length '636' is greater than the length '509' ISO C89 compilers are required to support /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:906: warning: string length '529' is greater than the length '509' ISO C89 compilers are required to support /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:924: warning: string length '608' is greater than the length '509' ISO C89 compilers are required to support /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:1095: error: syntax error before ',' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:1506: warning: string length '833' is greater than the length '509' ISO C89 compilers are required to support make[2]: *** [gcc.o] Error 1 make[1]: *** [stage1_build] Error 2 make: *** [bootstrap-lean] Error 2 Error: Status 1 encountered during processing.
Change History (5)
comment:2 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Description: | modified (diff) |
---|
Please read our ticketing guidelines (linked at the top of every new ticket page) to learn to how properly format terminal output (WikiFormatting more specifically), this ticket was a real layout mess. Thanks!
-jmpp
comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Based on "i686-apple-darwin9.1.0" in your output, I guess you have Mac OS X 10.5.1 on an Intel Mac.
I see the same problem on an Intel Mac with Mac OS X 10.4.11 and Xcode 2.4.1:
$ sudo port install gcj34 ---> Fetching gcj34 ---> Attempting to fetch gcc-3.4.6.tar.bz2 from http://ftp.gnu.org/gnu/gcc/gcc-3.4.6 ---> Verifying checksum(s) for gcj34 ---> Extracting gcj34 ---> Applying patches to gcj34 ---> Configuring gcj34 ---> Building gcj34 with target bootstrap-lean Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build" && make bootstrap-lean " returned error 2 Command output: "" \ "" \ "" \ "yes" \ > tmp-mlib.h; \ else \ /bin/sh /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/genmultilib '' '' '' '' '' '' '' no \ > tmp-mlib.h; \ fi /bin/sh /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/move-if-change tmp-mlib.h multilib.h echo timestamp > s-mlib lsf="/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/cp/lang-specs.h /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/java/lang-specs.h"; for f in $lsf; do \ echo "#include \"$f\""; \ done | sed 's|/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/||' > tmp-specs.h /bin/sh /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/move-if-change tmp-specs.h specs.h echo timestamp > s-specs (SHLIB_LINK='' \ SHLIB_MULTILIB=''; \ /usr/bin/gcc-4.0 -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -I. -I. -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/. -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/../include \ -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/opt/local/gcj34-3.4.6/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/opt/local/gcj34-3.4.6/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"3.4.6\" -DDEFAULT_TARGET_MACHINE=\"i686-apple-darwin8.11.1\" -DSTANDARD_BINDIR_PREFIX=\"/opt/local/gcj34-3.4.6/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \ -c /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c -o gcc.o) /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:716: warning: string length '2483' is greater than the length '509' ISO C89 compilers are required to support /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:723: warning: string length '636' is greater than the length '509' ISO C89 compilers are required to support /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:906: warning: string length '529' is greater than the length '509' ISO C89 compilers are required to support /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:924: warning: string length '608' is greater than the length '509' ISO C89 compilers are required to support /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:1095: error: parse error before ',' token /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:1506: warning: string length '833' is greater than the length '509' ISO C89 compilers are required to support make[2]: *** [gcc.o] Error 1 make[1]: *** [stage1_build] Error 2 make: *** [bootstrap-lean] Error 2 Error: Status 1 encountered during processing. $
Now the question is: do you really need gcj34? Would, for example, gcj-mp-4.2 provided by the gcc42 port work for you instead?
comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | gcj34 added |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Closing, since there was no further feedback from the reporter.
Note: See
TracTickets for help on using
tickets.