[MacPorts] #29881: hdfeos fails to upgrade: "error: C preprocessor "/lib/cpp" fails sanity check"

MacPorts noreply at macports.org
Wed Jul 13 07:04:11 PDT 2011


#29881: hdfeos fails to upgrade: "error: C preprocessor "/lib/cpp" fails sanity
check"
-------------------------------------+--------------------------------------
 Reporter:  david.w.watson@…         |       Owner:  takeshi@…           
     Type:  defect                   |      Status:  new                 
 Priority:  Normal                   |   Milestone:                      
Component:  ports                    |     Version:  1.9.2               
 Keywords:                           |        Port:  hdfeos              
-------------------------------------+--------------------------------------

Comment(by david.w.watson@…):

 Replying to [comment:5 takeshi@…]:
 > It appears that
 > {{{
 > h4cc -E
 > }}}
 > causes an error by complaining that
 > {{{
 > gcc-4.2: -E, -S, -save-temps and -M options are not allowed with
 multiple -arch flags
 > }}}
 > I would like to take a look at
 > {{{
 > $ port installed hdf4
 > }}}
 > and CFLAGS in ${prefix}/bin/h4cc.
 >

 port installed hdf4 gives "hdf4 @4.2.6_0+universal (active)"
 CFLAGS from h4cc is CFLAGS=" -pipe -O2 -arch x86_64 -arch i386 -O"

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


More information about the macports-tickets mailing list