[MacPorts] #29881: hdfeos: C preprocessor "/lib/cpp" fails sanity check with hdf4 +universal (was: hdfeos fails to upgrade: "error: C preprocessor "/lib/cpp" fails sanity check")

MacPorts noreply at macports.org
Wed Jul 20 15:21:29 PDT 2011


#29881: hdfeos: C preprocessor "/lib/cpp" fails sanity check with hdf4 +universal
--------------------------------------+-------------------------------------
  Reporter:  david.w.watson@…         |       Owner:  takeshi@…           
      Type:  defect                   |      Status:  reopened            
  Priority:  Normal                   |   Milestone:                      
 Component:  ports                    |     Version:  1.9.2               
Resolution:                           |    Keywords:  universal           
      Port:  hdfeos                   |  
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):

  * keywords:  => universal
  * status:  closed => reopened
  * resolution:  fixed =>
 * cc: ryandesign@… (added)


Comment:

 r80888 fixed the problem when building hdfeos with the universal variant,
 but the problem doesn't really have anything to do with hdfeos's universal
 variant; it has to do with hdf4's universal variant. So the problem still
 occurs when hdf4 is built with the universal variant but hdfeos is built
 without the universal variant. Why restrict this patch to the universal
 variant -- why not do it all the time? While we're at it, why not use
 ${configure.cpp} instead of hardcoding /usr/bin/cpp? See attached patch.

 However, we now see that if hdf4 is built +universal and we install hdfeos
 -universal, hdfeos builds, but ends up being universal anyway! This is a
 bug in hdf4 for which I've filed #30260.

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


More information about the macports-tickets mailing list