[MacPorts] #40998: libgcc @4.8.1 Compile error on Mavericks macports 2.2.1 package (Error: conflicting declaration 'typedef enum pointer_t pointer_t')

MacPorts noreply at macports.org
Sun Oct 27 13:16:57 PDT 2013


#40998: libgcc @4.8.1 Compile error on Mavericks macports 2.2.1 package (Error:
conflicting declaration 'typedef enum pointer_t pointer_t')
---------------------------------+-------------------
  Reporter:  William.Capehart@…  |      Owner:  mww@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.2.1
Resolution:                      |   Keywords:
      Port:  libgcc              |
---------------------------------+-------------------
Changes (by macsforever2000@…):

 * cc: jeremyhu@… (added)
 * owner:  macports-tickets@… => mww@…
 * port:  libgcc @4.8.1 => libgcc
 * keywords:  Mavericks libgcc  pointer_t =>


Old description:

> Macports' Mavericks 2.2.1 package has been removed and reinstalled
> several times.   Xcode license has been accepted several times.   xcode-
> select --install has been installed.  I've also done the normal
> selfupdate step.  From what I've seen I've covered most of what other
> people who have reported simpler problems with libgcc and gcc4x compile
> errors have done.  From what I can see, this does not resemble the error
> in 40857 or 40810, for example.
>
> Attempts to install GCC 4.8 and 4.7 have been blocked by the same error
> each time with the following error in the libgcc build.   (each attempt
> has been preceded by a clean of gcc48/gcc47 and libgcc)
>
> The same error emerges when installing ONLY libgcc.  The error message
> for the libgcc build is below and log is attached.
>
> Note that fortran is a critical requirement for me.  I should not disable
> this.  Additionally installing gcc48 on macports a month ago met with no
> error.
>
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/gcc-4.8.1/gcc/fortran/module.c:110:1:
> error: conflicting declaration 'typedef enum pointer_t pointer_t'
>  pointer_t;
>  ^
> In file included from /usr/include/mach/memory_object_types.h:77:0,
>                  from /usr/include/mach/mach_types.h:85,
>                  from
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/build
> /prev-gcc/include-fixed/malloc.h:37,
>                  from
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/gcc-4.8.1/gcc/system.h:460,
>                  from
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/gcc-4.8.1/gcc/fortran/module.c:68:
> /usr/include/mach/vm_types.h:40:26: error: 'pointer_t' has a previous
> declaration as 'typedef vm_offset_t pointer_t'
>  typedef vm_offset_t      pointer_t;
>                           ^
> make[3]: *** [fortran/module.o] Error 1

New description:

 Macports' Mavericks 2.2.1 package has been removed and reinstalled several
 times.   Xcode license has been accepted several times.   xcode-select
 --install has been installed.  I've also done the normal selfupdate step.
 From what I've seen I've covered most of what other people who have
 reported simpler problems with libgcc and gcc4x compile errors have done.
 From what I can see, this does not resemble the error in #40857 or #40810,
 for example.

 Attempts to install GCC 4.8 and 4.7 have been blocked by the same error
 each time with the following error in the libgcc build.   (each attempt
 has been preceded by a clean of gcc48/gcc47 and libgcc)

 The same error emerges when installing ONLY libgcc.  The error message for
 the libgcc build is below and log is attached.

 Note that fortran is a critical requirement for me.  I should not disable
 this.  Additionally installing gcc48 on macports a month ago met with no
 error.

 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/gcc-4.8.1/gcc/fortran/module.c:110:1:
 error: conflicting declaration 'typedef enum pointer_t pointer_t'
  pointer_t;
  ^
 In file included from /usr/include/mach/memory_object_types.h:77:0,
                  from /usr/include/mach/mach_types.h:85,
                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/build
 /prev-gcc/include-fixed/malloc.h:37,
                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/gcc-4.8.1/gcc/system.h:460,
                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/gcc-4.8.1/gcc/fortran/module.c:68:
 /usr/include/mach/vm_types.h:40:26: error: 'pointer_t' has a previous
 declaration as 'typedef vm_offset_t pointer_t'
  typedef vm_offset_t      pointer_t;
                           ^
 make[3]: *** [fortran/module.o] Error 1
 }}}

--

Comment:

 In the future, please use WikiFormatting and Cc the port maintainers
 ({{{port info --maintainers libgcc}}}).

-- 
Ticket URL: <https://trac.macports.org/ticket/40998#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list