[MacPorts] #28325: gcc45 @4.5.2 build error: conflicting types for 'pointer_t' (same problem with gcc43 and gcc44)

MacPorts noreply at macports.org
Tue Feb 8 12:29:22 PST 2011


#28325: gcc45 @4.5.2 build error: conflicting types for 'pointer_t' (same problem
with gcc43 and gcc44)
------------------------------+---------------------------------------------
 Reporter:  rafffo@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.9.2                                
 Keywords:                    |        Port:  gcc45                                
------------------------------+---------------------------------------------
 Installation of gcc45 (also gcc43 and gcc44) fails:

 {{{
 ...

 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build
 /./prev-gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build
 /./prev-gcc/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64
 -apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/lib/ -isystem
 /opt/local/x86_64-apple-darwin10/include -isystem /opt/local/x86_64-apple-
 darwin10/sys-include    -c  -g -O2 -gtoggle -DIN_GCC   -W -Wall -Wwrite-
 strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-
 format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-
 overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H
 -I. -Ifortran -I../../gcc-4.5.2/gcc -I../../gcc-4.5.2/gcc/fortran
 -I../../gcc-4.5.2/gcc/../include -I../../gcc-4.5.2/gcc/../libcpp/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include
 -I../../gcc-4.5.2/gcc/../libdecnumber
 -I../../gcc-4.5.2/gcc/../libdecnumber/dpd -I../libdecnumber
 ../../gcc-4.5.2/gcc/fortran/module.c -o fortran/module.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build
 /./prev-gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build
 /./prev-gcc/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64
 -apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/lib/ -isystem
 /opt/local/x86_64-apple-darwin10/include -isystem /opt/local/x86_64-apple-
 darwin10/sys-include    -c  -g -O2 -gtoggle -DIN_GCC   -W -Wall -Wwrite-
 strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-
 format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-
 overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H
 -I. -Ifortran -I../../gcc-4.5.2/gcc -I../../gcc-4.5.2/gcc/fortran
 -I../../gcc-4.5.2/gcc/../include -I../../gcc-4.5.2/gcc/../libcpp/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include
 -I../../gcc-4.5.2/gcc/../libdecnumber
 -I../../gcc-4.5.2/gcc/../libdecnumber/dpd -I../libdecnumber
 ../../gcc-4.5.2/gcc/fortran/openmp.c -o fortran/openmp.o
 ../../gcc-4.5.2/gcc/fortran/module.c:109:1: error: conflicting types for
 'pointer_t'
 /usr/include/mach/vm_types.h:40:26: note: previous declaration of
 'pointer_t' was here
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build
 /./prev-gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build
 /./prev-gcc/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64
 -apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/lib/ -isystem
 /opt/local/x86_64-apple-darwin10/include -isystem /opt/local/x86_64-apple-
 darwin10/sys-include    -c  -g -O2 -gtoggle -DIN_GCC   -W -Wall -Wwrite-
 strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-
 format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-
 overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H
 -I. -Ifortran -I../../gcc-4.5.2/gcc -I../../gcc-4.5.2/gcc/fortran
 -I../../gcc-4.5.2/gcc/../include -I../../gcc-4.5.2/gcc/../libcpp/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include
 -I../../gcc-4.5.2/gcc/../libdecnumber
 -I../../gcc-4.5.2/gcc/../libdecnumber/dpd -I../libdecnumber
 ../../gcc-4.5.2/gcc/fortran/options.c -o fortran/options.o
 make[3]: *** [fortran/module.o] Error 1
 make[3]: *** Waiting for unfinished jobs....
 rm gfortran.pod gcc.pod
 make[2]: *** [all-stage2-gcc] Error 2
 make[1]: *** [stage2-bubble] Error 2
 make: *** [bootstrap] Error 2
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build"
 && /usr/bin/make -j4 bootstrap " returned error 2
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 DEBUG: Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for gcc45):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install

 }}}

 Mac OS 10.6.6

 Xcode: 3.2.5 (1760) Interface Builder: 3.2.5 (823) Instruments: 2.7 (3017)
 Dashcode: 3.0.2 (333)

-- 
Ticket URL: <https://trac.macports.org/ticket/28325>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list