[MacPorts] #32224: apple-gcc42: error: '_Unwind_Ptr' undeclared (first use in this function) (was: Error updating apple-gcc42 Xcode 4.2.1 Build 4D502)

MacPorts noreply at macports.org
Wed Nov 23 23:08:36 PST 2011


#32224: apple-gcc42: error: '_Unwind_Ptr' undeclared (first use in this function)
-------------------------------+--------------------------------------------
 Reporter:  timdiab@…          |       Owner:  jeremyhu@…           
     Type:  defect             |      Status:  new                  
 Priority:  Normal             |   Milestone:                       
Component:  ports              |     Version:  2.0.3                
 Keywords:                     |        Port:  apple-gcc42          
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):

  * port:  => apple-gcc42
  * owner:  macports-tickets@… => jeremyhu@…
  * type:  request => defect


Old description:

> After updating Xcode to 4.2.1 I got the following error when trying:
>
> port -v upgrade outdated
>
> Cheers
>
> make[4]: *** [libgcc/./unwind-dw2-fde-darwin.o] Error 1
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_apple-gcc42/apple-
> gcc42/work/objroot/src/gcc/unwind.inc: In function
> '_Unwind_ForcedUnwind':
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_apple-gcc42/apple-
> gcc42/work/objroot/src/gcc/unwind.inc:208: error: '_Unwind_Ptr'
> undeclared (first use in this function)
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_apple-gcc42/apple-
> gcc42/work/objroot/src/gcc/unwind.inc:208: error: expected ';' before
> 'stop'
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_apple-gcc42/apple-
> gcc42/work/objroot/src/gcc/unwind.inc:209: error: expected ';' before
> 'stop_argument'
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_apple-gcc42/apple-
> gcc42/work/objroot/src/gcc/unwind.inc:200: warning: unused parameter
> 'stop'
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_apple-gcc42/apple-
> gcc42/work/objroot/src/gcc/unwind.inc:200: warning: unused parameter
> 'stop_argument'
> make[4]: *** [libgcc/./unwind-dw2.o] Error 1
> make[5]: `crt3.o' is up to date.
> make[3]: *** [stmp-multilib] Error 2
> make[2]: *** [all-gcc] Error 2
> make[1]: *** [all] Error 2
> + exit 1
> make: *** [install] Error 1
> make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3'
> shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3"
> && /usr/bin/make -j4 -w install CC="/Developer/usr/bin/clang -std=gnu89"
> PREFIX="/opt/local"
> SRCROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3"
> OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot"
> SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/symroot"
> DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/destroot"
> RC_NONARCH_CFLAGS="-pipe -std=gnu89" RC_OS="macos" RC_ARCHS="x86_64"
> TARGETS="i386" " returned error 2
> Error: Target org.macports.build returned: shell command failed (see log
> for details)
> Warning: the following items did not execute (for apple-gcc42):
> org.macports.install org.macports.build org.macports.destroot
> Log for apple-gcc42 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/main.log
> Error: Unable to upgrade port: 1

New description:

 After updating Xcode to 4.2.1 I got the following error when trying:

 {{{
 port -v upgrade outdated
 }}}

 Cheers

 {{{
 make[4]: *** [libgcc/./unwind-dw2-fde-darwin.o] Error 1
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-
 gcc42/work/objroot/src/gcc/unwind.inc: In function '_Unwind_ForcedUnwind':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-
 gcc42/work/objroot/src/gcc/unwind.inc:208: error: '_Unwind_Ptr' undeclared
 (first use in this function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-
 gcc42/work/objroot/src/gcc/unwind.inc:208: error: expected ';' before
 'stop'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-
 gcc42/work/objroot/src/gcc/unwind.inc:209: error: expected ';' before
 'stop_argument'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-
 gcc42/work/objroot/src/gcc/unwind.inc:200: warning: unused parameter
 'stop'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-
 gcc42/work/objroot/src/gcc/unwind.inc:200: warning: unused parameter
 'stop_argument'
 make[4]: *** [libgcc/./unwind-dw2.o] Error 1
 make[5]: `crt3.o' is up to date.
 make[3]: *** [stmp-multilib] Error 2
 make[2]: *** [all-gcc] Error 2
 make[1]: *** [all] Error 2
 + exit 1
 make: *** [install] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3'
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3"
 && /usr/bin/make -j4 -w install CC="/Developer/usr/bin/clang -std=gnu89"
 PREFIX="/opt/local"
 SRCROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3"
 OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot"
 SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/symroot"
 DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/destroot"
 RC_NONARCH_CFLAGS="-pipe -std=gnu89" RC_OS="macos" RC_ARCHS="x86_64"
 TARGETS="i386" " returned error 2
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Warning: the following items did not execute (for apple-gcc42):
 org.macports.install org.macports.build org.macports.destroot
 Log for apple-gcc42 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/main.log
 Error: Unable to upgrade port: 1
 }}}

--

Comment:

 Remember to use WikiFormatting, to select the correct ticket type, to fill
 in the Port field, and to Cc the port's maintainer. Finally, please attach
 the main.log.

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


More information about the macports-tickets mailing list