GCC44 fails to build in MacOSXServer

Rodolfo Aramayo raramayo at gmail.com
Mon Apr 18 19:15:55 PDT 2011


Folks,

I am getting the following error in MacOSXServer (Darwin 10.7.0 Darwin
Kernel Version 10.7.0: Sat Jan 29 15:16:10 PST 2011;
root:xnu-1504.9.37~1/RELEASE_X86_64 x86_64):

--->  Computing dependencies for gcc44
--->  Fetching gcc44
--->  Attempting to fetch gcc-core-4.4.6.tar.bz2 from
ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.4.6/
--->  Attempting to fetch gcc-fortran-4.4.6.tar.bz2 from
ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.4.6/
--->  Attempting to fetch gcc-g++-4.4.6.tar.bz2 from
ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.4.6/
--->  Attempting to fetch gcc-java-4.4.6.tar.bz2 from
ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.4.6/
--->  Attempting to fetch gcc-objc-4.4.6.tar.bz2 from
ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.4.6/
--->  Verifying checksum(s) for gcc44
--->  Extracting gcc44
--->  Configuring gcc44
--->  Building gcc44
Error: Target org.macports.build returned: shell command failed (see
log for details)
Log for gcc44 is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

Last lines of main.log:

==
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./prev-gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./prev-gcc/
-B/opt/local/x86_64-apple-darwin10/bin/ -c  -g -O2 -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. -Ifortran -I../../gcc-4.4.6/gcc
-I../../gcc-4.4.6/gcc/fortran -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/fortran/module.c -o fortran/module.o
:info:build ../../gcc-4.4.6/gcc/fortran/module.c:108: error:
conflicting types for 'pointer_t'
:info:build /usr/include/mach/vm_types.h:40: note: previous
declaration of 'pointer_t' was here
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./prev-gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./prev-gcc/
-B/opt/local/x86_64-apple-darwin10/bin/ -c  -g -O2 -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. -Ifortran -I../../gcc-4.4.6/gcc
-I../../gcc-4.4.6/gcc/fortran -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/fortran/openmp.c -o fortran/openmp.o
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./prev-gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./prev-gcc/
-B/opt/local/x86_64-apple-darwin10/bin/ -c  -g -O2 -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. -Ifortran -I../../gcc-4.4.6/gcc
-I../../gcc-4.4.6/gcc/fortran -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/fortran/options.c -o fortran/options.o
:info:build make[3]: *** [fortran/module.o] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build rm gfortran.pod gcc.pod
:info:build make[2]: *** [all-stage2-gcc] Error 2
:info:build make[1]: *** [stage2-bubble] Error 2
:info:build make: *** [bootstrap] Error 2
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build"
&& /usr/bin/make -j16 bootstrap " returned error 2
:error:build Target org.macports.build returned: shell command failed
(see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for gcc44):
org.macports.destroot org.macports.build
:notice:build Log for gcc44 is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/main.log
==

Ideas??

Thanks

--Rodolfo


More information about the macports-users mailing list