[MacPorts] #38985: kerberos5 fails on compile_et (10.6.8)

MacPorts noreply at macports.org
Sat May 11 14:48:50 PDT 2013


#38985: kerberos5 fails on compile_et (10.6.8)
------------------------+--------------------------------
  Reporter:  mtb19@…    |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.3
Resolution:  fixed      |   Keywords:
      Port:  kerberos5  |
------------------------+--------------------------------
Changes (by cal@…):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Replying to [comment:13 luc.fabresse@…]:
 > Then, I also checked that the two lines below are commented in the Port
 file (otherwise it fails at configuration stage)
 >
 > {{{
 > # configure.cppflags-delete   -I${prefix}/include
 > # configure.ldflags-delete    -L${prefix}/lib
 > }}}

 These lines are now obsolete with r105939 and have replaced by some lines
 that should fix the problem you had.

 > {{{
 > $ sudo port install kerberos5
 > }}}
 > works like a charm. I suppose that it copied libs from the destroot dir?

 Yes. All that `install` does is creating an archive from the files in
 destroot and unpacking that archive into `$prefix`.

 > no. I get a checksum problem because of a patch being applied I might
 understood.

 That shouldn't happen, but since you modified your Portfile this could
 have a lot of reasons and,

 > I forgot to save the main.log and lost it.

 without the `main.log` (or a way to reproduce it), debugging this is
 impossible.

 > Finally, now if I clean everything and keep the the two lines removed in
 the PortFile, it builds and installs perfectly.

 Unless you run selfupdate and also have r105939 a later update of
 kerberos5 might fail to build, though, which is what those two lines were
 all about.

 Anyway, I just tested to install kerberos5 in a clean installation of
 MacPorts and then ran `port destroot kerberos5 +universal`, which did
 succeed. I thus assume the "kerberos is linking against the files
 installed by a previous version" problem is solved by r105939. Since
 r105939 also passes `-I$prefix/include` and `-L$prefix/lib`, the configure
 failure regarding compile_et should also be solved. I will close this
 ticket as fixed. Please re-open if it still doesn't work for you.

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


More information about the macports-tickets mailing list