[MacPorts] #46701: kerberos5 does not build on PPC Tiger, Mac OS X 10.4.11, because void value cannot be ignored as it ought to be

MacPorts noreply at macports.org
Sun Oct 4 11:50:30 PDT 2015


#46701: kerberos5 does not build on PPC Tiger, Mac OS X 10.4.11, because void value
cannot be ignored as it ought to be
------------------------------+---------------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  ryandesign@…
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.3
Resolution:                   |   Keywords:  tiger powerpc
      Port:  kerberos5        |
------------------------------+---------------------------

Comment (by thomas@…):

 Replying to [comment:8 Peter_Dyballa@…]:
 > Replying to [comment:7 geoffdown@…]:
 > > The patch works for the new version as well - at least as far as
 allowing installation to complete. Whether there is any functional
 downside I am unqualified to judge.
 >
 > The original six lines try to check whether the invocation of
 unsetenv(KRB5_ENV_CCNAME) returns an error, and if so that the error
 happened while clearing the environment variable KRB5_ENV_CCNAME. Since on
 Tiger unsetenv() is a void function, i.e. it does not return a return
 value, it's not possible to check success this simple way. A real
 substitute of the original six lines would try to read the environment
 after clearing and report then that clearing failed.

 It is what I've done with my patch : unsetenv() then check with getenv()

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


More information about the macports-tickets mailing list