Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#52789 closed defect (duplicate)

Installing Git on Mac OS X 10.4 (Tiger) - Kerberos Issue

Reported by: scrollwheelie (Trev) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: git Cc:
Port:

Description (last modified by larryv (Lawrence Velázquez))

Hey folks,

I would really like to install Git on Mac OS X 10.4. Everything works fine until it tries to install kerberos5 at which point it fails.

There's been some discussion about this here but it doesn't seem to be resolved.

I'm not using Kerberos for my Git installation so I (naively) think I can just skip this step and see if the rest of the build works.

Is there any way to skip a pre-requisite package? If so, how can I alter this command?

Any help would be very much appreciated. I bought an old cube as a single-purpose writing machine and having Git is pretty important. Yes, I realize this OS is ancient and won't cry if it just can't be done.

Change History (9)

comment:1 Changed 8 years ago by ken-cunningham-webuse

I didn't have a problem installing it.

$ port -v installed | grep git
  git @2.9.3_0+credential_osxkeychain+doc+pcre+perl5_22+python27 platform='darwin 8' archs='ppc'
  git @2.10.0_0+credential_osxkeychain+doc+pcre+perl5_24 platform='darwin 8' archs='ppc'
  git @2.10.1_0+credential_osxkeychain+doc+pcre+perl5_24 (active) platform='darwin 8' archs='ppc'
tigerg5:~ cunningh$ 
$ port -v installed | grep kerberos 
  cyrus-sasl2 @2.1.26_5+kerberos platform='darwin 8' archs='ppc'
  cyrus-sasl2 @2.1.26_6+kerberos (active) platform='darwin 8' archs='ppc'
  kerberos5 @1.14_0 platform='darwin 8' archs='ppc'
  kerberos5 @1.14.2_0 platform='darwin 8' archs='ppc'
  kerberos5 @1.14.3_0 platform='darwin 8' archs='ppc'
  kerberos5 @1.14.4_0 (active) platform='darwin 8' archs='ppc'

I did this months ago, and might have done a few tricks to get 'er done. If you post up your failure logs, perhaps I can help you recreate what I did.

If you get really stuck, I can probably put a binary up for you somewhere. --- K

Last edited 8 years ago by ken-cunningham-webuse (previous) (diff)

comment:2 in reply to:  description ; Changed 8 years ago by larryv (Lawrence Velázquez)

Replying to scrollwheelie:

Is there any way to skip a pre-requisite package? If so, how can I alter this command?

No, there’s no way to do this without modifying the portfile.

That said, git does not have kerberos5 as a dependency. Are you trying to install git +svn? That requires subversion, which requires cyrus-sasl2, which has a default +kerberos variant.

comment:3 Changed 8 years ago by scrollwheelie (Trev)

What command will grab all the relevant logs you need? It's a virgin machine but I'd rather not post all of my logs for security reasons.

BTW, I'm running 10.4.11 Xcode 2.5 -- the latest of each version that will run on the system.

Thanks so much, @larryv. Stoked to know this might just work!

comment:4 in reply to:  3 Changed 8 years ago by larryv (Lawrence Velázquez)

Well first we need to know how you’re attempting the install. What is the exact port command you’re running?

comment:5 in reply to:  2 Changed 8 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Replying to larryv:

That said, git does not have kerberos5 as a dependency.

Never mind, spoke too hastily. git does depend on p5.24-authen-sasl, which depends on p5.24-gssapi, which depends on kerberos.

This is not really about git, it’s about kerberos5. Since that is the core problem, you should should ping #46701 and try to get that resolved. That ticket seems to have a patch that just has not been applied.

comment:6 Changed 8 years ago by scrollwheelie (Trev)

I'm running:

sudo port install git

(Note: it has already installed a bunch of prerequisites at this point)

This is what I see in Terminal:

mac:~ user$ sudo port install git ---> Computing dependencies for git ---> Dependencies to be installed: p5.24-authen-sasl p5.24-gssapi kerberos5 p5.24-cgi p5.24-html-parser p5.24-html-tagset p5.24-test-deep p5.24-test-nowarnings p5.24-test-warn p5.24-sub-uplevel p5.24-error p5.24-net-smtp-ssl p5.24-io-socket-ssl p5.24-io-socket-inet6 p5.24-io p5.24-socket6 p5.24-io-socket-ip p5.24-socket p5.24-net-libidn libidn p5.24-net-ssleay p5.24-test-exception p5.24-term-readkey pcre rsync popt ---> Building kerberos5 Error: org.macports.build for port kerberos5 returned: command execution failed Error: Failed to install kerberos5 Please see the log file for port kerberos5 for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/main.log

Error: The following dependencies were not installed: p5.24-authen-sasl p5.24-gssapi kerberos5 p5.24-cgi p5.24-html-parser p5.24-html-tagset p5.24-test-deep p5.24-test-nowarnings p5.24-test-warn p5.24-sub-uplevel p5.24-error p5.24-net-smtp-ssl p5.24-io-socket-ssl p5.24-io-socket-inet6 p5.24-io p5.24-socket6 p5.24-io-socket-ip p5.24-socket p5.24-net-libidn libidn p5.24-net-ssleay p5.24-test-exception p5.24-term-readkey pcre rsync popt To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

Error: Processing of port git failed`

comment:7 Changed 8 years ago by scrollwheelie (Trev)

I'll update #46701.

Someone mentioned they might be able to spin an installer that doesn't have this dependency. Is that still possible? I'd love to get this taken care of even if it exists outside of MacPorts while the rest of the community works on removing that dependency. That bug has been neglected for a while (and for good reason, it's a very old OS) but it's important to me. I'd gladly pay for a fix at this point.

comment:8 Changed 8 years ago by ken-cunningham-webuse

If you need binaries, feel free to ask.

Last edited 8 years ago by ken-cunningham-webuse (previous) (diff)

comment:9 in reply to:  8 Changed 8 years ago by scrollwheelie (Trev)

Replying to ken-cunningham-webuse:

If you need binaries, feel free to ask.

Thanks so much! Can you email port@… so we don't clutter the ticket?

Note: See TracTickets for help on using tickets.