[MacPorts] #31289: not able to build apple-gcc42

MacPorts noreply at macports.org
Sat Sep 17 12:55:20 PDT 2011


#31289: not able to build apple-gcc42
--------------------------------+-------------------------------------------
 Reporter:  enaud@…             |       Owner:  jeremyhu@…           
     Type:  defect              |      Status:  new                  
 Priority:  Normal              |   Milestone:                       
Component:  ports               |     Version:  2.0.3                
 Keywords:                      |        Port:  apple-gcc42          
--------------------------------+-------------------------------------------

Comment(by jeremyhu@…):

 {{{
 182     :info:build ./gstdint.h:56: error: conflicting types for
 'uintptr_t'
 183     :info:build /usr/include/i386/types.h:109: error: previous
 declaration of 'uintptr_t' was here
 184     :info:build ./gstdint.h:57: error: conflicting types for
 'intptr_t'
 185     :info:build /usr/include/i386/types.h:105: error: previous
 declaration of 'intptr_t' was here
 }}}

 /usr/include/i386/types.h should have:
 {{{
 #ifndef _INTPTR_T
 #define _INTPTR_T
 typedef long   intptr_t;
 #endif /* _INTPTR_T */

 #ifndef _UINTPTR_T
 #define _UINTPTR_T
 typedef unsigned long   uintptr_t;
 #endif /* _UINTPTR_T */
 }}}

 The configure script which makes gstdint.h shows this test for adding
 intptr_t:
 {{{
 if test "$ac_cv_type_uintptr_t" != yes; then
   sed 's/^ *//' >> tmp-stdint.h <<EOF

     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
     typedef u$acx_cv_type_intptr_t uintptr_t;
     typedef $acx_cv_type_intptr_t  intptr_t;
 EOF
 fi
 }}}

 so the problem is that ac_cv_type_uintptr_t is set to no for some reason
 on your system.  Can you include the config.log?  To find it, go to the
 work dir and run:
 {{{
 find . -name config.log | xargs ls -altr
 }}}

 The one you want will be the last one listed (most recent time stamp).

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


More information about the macports-tickets mailing list