[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
Mon May 18 14:45:21 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: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords: tiger powerpc
Port: kerberos5 |
------------------------------+--------------------------------
Comment (by 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.
--
Ticket URL: <https://trac.macports.org/ticket/46701#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list