[MacPorts] #13997: Error when compiling gcj34

MacPorts trac at macosforge.org
Sat Jan 19 08:33:34 PST 2008


#13997: Error when compiling gcj34
------------------------------+---------------------------------------------
  Reporter:  peyroux at mac.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect           |      Status:  new                                  
  Priority:  Normal           |   Milestone:  Port Bugs                            
 Component:  ports            |     Version:  1.6.0                                
Resolution:                   |    Keywords:                                       
------------------------------+---------------------------------------------
Comment (by peyroux at mac.com):

 {{{
 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.
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13997#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list