Opened 16 years ago

Closed 14 years ago

#18729 closed defect (fixed)

gpc34 port; syntax error before ',' token

Reported by: sgutierrez@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: gpc34

Description (last modified by mf2k (Frank Schima))

I don't think it's a bug, I get several errors saying 'xxx' is greater than the length '509' ISO C89 compilers are required to support

The whole output is this :

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_gpc34/work/build" && make bootstrap-lean STAGE1_CFLAGS="-g -DHAVE_DESIGNATED_INITIALIZERS=0" " 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_gpc34/work/gcc-3.4.3/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_gpc34/work/gcc-3.4.3/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_gpc34/work/gcc-3.4.3/gcc/p/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_gpc34/work/gcc-3.4.3/gcc/||' > tmp-specs.h
/bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gpc34/work/gcc-3.4.3/gcc/move-if-change tmp-specs.h specs.h
echo timestamp > s-specs
(SHLIB_LINK='' \
	SHLIB_MULTILIB=''; \
	/usr/bin/gcc-4.0   -g -DHAVE_DESIGNATED_INITIALIZERS=0 -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_gpc34/work/gcc-3.4.3/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gpc34/work/gcc-3.4.3/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gpc34/work/gcc-3.4.3/gcc/../include  \
  -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/opt/local/lib/gpc34/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/opt/local/libexec/gpc34/gcc/\" -DDEFAULT_TARGET_VERSION=\"3.4.3\" -DDEFAULT_TARGET_MACHINE=\"i686-apple-darwin9.6.0\" -DSTANDARD_BINDIR_PREFIX=\"/opt/local/lib/gpc34/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_gpc34/work/gcc-3.4.3/gcc/gcc.c -o gcc.o)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gpc34/work/gcc-3.4.3/gcc/gcc.c:714: 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_gpc34/work/gcc-3.4.3/gcc/gcc.c:721: 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_gpc34/work/gcc-3.4.3/gcc/gcc.c:903: 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_gpc34/work/gcc-3.4.3/gcc/gcc.c:921: warning: string length '608' is greater than the length '509' ISO C89 compilers are required to support
In file included from ./specs.h:1,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gpc34/work/gcc-3.4.3/gcc/gcc.c:954:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gpc34/work/gcc-3.4.3/gcc/p/lang-specs.h:58: warning: string length '596' 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_gpc34/work/gcc-3.4.3/gcc/gcc.c:1092: error: syntax error before ',' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gpc34/work/gcc-3.4.3/gcc/gcc.c:1503: 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

I searched in google but with no success, can you help me? any info will be apreciated

Change History (6)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Those are not errors, they are warnings, as evidenced by the fact that they start with "warning: ". This is an error:

gcc/gcc.c:1092: error: syntax error before ',' token

comment:3 Changed 16 years ago by sgutierrez@…

My bad, I see all the warnings about the lenght but I missed the error you remarked, so I guess if I just find a way to fix that error everything should work, but I don't know how to fix it, I'll search google today with that error and see what I can find.

But, even if those are as you say, warnings, shouldn't I try to fix them?

Thank you, now I can start my quest over google once more :)

PS : sorry my english, didn't practice for a long time.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Summary: gpc34 port; 'xxx' is greater than the length '509' ISO C89 compilers are required to supportgpc34 port; syntax error before ',' token

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Fixed this particular error in r74232.

Note: See TracTickets for help on using tickets.