Git-Core Problem Getting HTTP

Altoine Barker ndiscreet at gmail.com
Sun Feb 18 03:12:39 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My apologies for overlooking to add that bit of information. Yes, I have
/opt/local/bin listed first in my PATH statement. Here is what I get
when I type "echo $PATH":

<snip>
/Library/Frameworks/Python.framework/Versions/Current/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin
</snip>

I unpacked and tried the new git stable (1.5.0) and am able to execute a
successful http git of git itself. But I fail with 2.6 linux kernel (The
requested URL returned error: 404 error: Could not interpret
tags/v2.6.11 as something to pull), familiar.git, and elinks.git (both
familiar and elinks produced this error: git-clone: line 300:  3228
Segmentation fault      git-http-fetch -v -a -w "$tname" "$name" "$1/").

I will break down the commands and their output. I will be brief where
posssible. I will note where I am brief. I put git-1.5.0 into this
directory; /Volumes/COZ/GIT_/bin.

First:

<snip>
MOBILEHOUSE:$ echo $PATH
/Library/Frameworks/Python.framework/Versions/Current/bin:/Volumes/COZ/GIT_/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin
MOBILEHOUSE:$ which git
/Volumes/COZ/GIT_/bin/git
MOBILEHOUSE:$ git --version
git version 1.5.0
MOBILEHOUSE:$ which curl
/opt/local/bin/curl
MOBILEHOUSE:$ curl --version
curl 7.16.0 (powerpc-apple-darwin8.8.0) libcurl/7.16.0 OpenSSL/0.9.8d
zlib/1.2.3
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: Largefile NTLM SSL libz
</snip>

Second (Two familiar (handheld distro) http based git repositories):

<snip>
sh -x git-clone http://familiar.handhelds.org/git/familiar-build.git
</snip>
Now for the output of that command:

<snip>
+ unset CDPATH
+ '[' -n '' ']'
+ quiet=
+ local=no
+ use_local=no
+ local_shared=no
+ unset template
+ no_checkout=
+ upload_pack=
+ bare=
+ reference=
+ origin=
+ origin_override=
+ use_separate_remote=t
+ depth=
+ break
+ repo=http://familiar.handhelds.org/git/familiar-build.git
+ test -n http://familiar.handhelds.org/git/familiar-build.git
+ test yes = ''
+ test -z ''
+ origin=origin
++ get_repo_base http://familiar.handhelds.org/git/familiar-build.git
+ base=
+ dir=
+ '[' -z '' ']'
++ echo http://familiar.handhelds.org/git/familiar-build.git
++ sed -e 's|/$||' -e 's|:*/*\.git$||' -e 's|.*[/:]||g'
+ dir=familiar-build
+ '[' -e familiar-build ']'
+ mkdir -p familiar-build
++ cd familiar-build
++ pwd
+ D=/Volumes/COZ/familiar_/familiar-build
+ trap 'err=$?; cd ..; rm -rf "$D"; exit $err' 0
+ GIT_DIR=/Volumes/COZ/familiar_/familiar-build/.git
+ export GIT_DIR
+ git-init
Initialized empty Git repository in
/Volumes/COZ/familiar_/familiar-build/.git/
+ test -n ''
+ rm -f /Volumes/COZ/familiar_/familiar-build/.git/CLONE_HEAD
+ test -z ''
+ clone_dumb_http http://familiar.handhelds.org/git/familiar-build.git
/Volumes/COZ/familiar_/familiar-build
+ cd /Volumes/COZ/familiar_/familiar-build
+ clone_tmp=/Volumes/COZ/familiar_/familiar-build/.git/clone-tmp
+ mkdir -p /Volumes/COZ/familiar_/familiar-build/.git/clone-tmp
++ git-config --bool http.noEPSV
+ '[' -n '' -o '' = true ']'
+ http_fetch
http://familiar.handhelds.org/git/familiar-build.git/info/refs
/Volumes/COZ/familiar_/familiar-build/.git/clone-tmp/refs
+ curl -nsfL http://familiar.handhelds.org/git/familiar-build.git/info/refs
+ read sha1 refname
++ expr zrefs/heads/master : 'zrefs/\(.*\)'
+ name=heads/master
+ test -n t
++ expr zheads/master : 'zheads/\(.*\)'
+ branch_name=master
+ tname=remotes/origin/master
+ git-http-fetch -v -a -w remotes/origin/master heads/master
http://familiar.handhelds.org/git/familiar-build.git/
got c0a02c4137d8b7c4975ae603c0120dd1a6f3df11
walk c0a02c4137d8b7c4975ae603c0120dd1a6f3df11
got a4199a1c0bee918424aec5216eb2540cf1ca0008
got 01dada37607f23f60118475f17d1201023733e37
walk 01dada37607f23f60118475f17d1201023733e37
got cd27f64e64783e0fc871cc64a65badb178f00c29
got 1c31342b9fe16fd0ef8420905a39a0a16ba0d478
got c750ad605b32777239163b0236dea55f73cf1d80
got e0fd39a56e2c4d6c7bfcaea1a0098b9babeab534
got 90ec22bee124705a9164f46a994cad1890bd92b5
got 4129e4c523922afe3b10323fad256cfb1ac09e0e
got 48747b05409ddd791c0323e0bdc8430cd6a3b6f8
walk 48747b05409ddd791c0323e0bdc8430cd6a3b6f8
got f4b65ff8348e2a2760f290ba9cf75307e2e71da6
got cf0aac99d9b73ec039fd19c5446dda20d89fa897
got 511fae4a2562bdaa73ceff46a29b68e8e8abc8fb
got 890710a55428f23ba55f34a06f177c95b1225949
got 652ebcee6e424b3bfda2519f0cc193c7536cf6db
got 48d417be5f6ae83ac35a816b543072ce76b54040
got cb1b64317b1fa70d3b0171ecb7f9e7bedc9dad69
got 5dc3f4723b5fec43e04d95ccd6f862fc0975331a
got adb14a75532aeba460c62443b71db624e97a03a0
got fe33e5613a38d917c37c85ed94e4712feac11850
got fb950dc69feb8afa93493747f33d6e1c02659b55
got b2a838d53670a2d4f300fd2e7c5a69d42ae0c5c6
got 590c1ef0648a438acb98730698fd129a5c707e53
got 103be97f189ad275cd519357bdcace99d6e643d6
got dd06d15954ac0d7b7ec729856b1690d73a23efd6
got 7684a0a6e79f0b68b0944d9bb917136a41e3885f
got d5fdab45f0d4a814b9e4e12adebd691a3ede1f59
got f48c983ab0686d1ea717db55573081e31637f896
got 16bcddc4d023ec403d00de4d8eaaea7bfa6ac4d4
got c9aeefb9466529eb812abe6172df4ee02a3946f9
got df6caa28ed60273cb01f761d6eba6d44399ef2bb
got 8df8e5ac5cb92ceda9d2838c21ab6f76a0ce8428
got 1d75964f578d99748bbb8ae0a751259e79a7915c
got 64d32945ba6e8eb798948f4b9dae987864ada88c
got b060c4f38486e1c4ebb734b7b4d75081057aa112
git-clone: line 300:  3426 Segmentation fault      git-http-fetch -v -a
- -w "$tname" "$name" "$1/"
+ exit 1
+ err=1
+ cd ..
+ rm -rf /Volumes/COZ/familiar_/familiar-build
+ exit 1
</snip>

Here is the second familiar http based git repository:

<snip>
sh -x git-clone http://git.hackndev.com/familiar.git
</snip>

And now for the output:

<snip>
+ unset CDPATH
+ '[' -n '' ']'
+ quiet=
+ local=no
+ use_local=no
+ local_shared=no
+ unset template
+ no_checkout=
+ upload_pack=
+ bare=
+ reference=
+ origin=
+ origin_override=
+ use_separate_remote=t
+ depth=
+ break
+ repo=http://git.hackndev.com/familiar.git
+ test -n http://git.hackndev.com/familiar.git
+ test yes = ''
+ test -z ''
+ origin=origin
++ get_repo_base http://git.hackndev.com/familiar.git
+ base=
+ dir=
+ '[' -z '' ']'
++ echo http://git.hackndev.com/familiar.git
++ sed -e 's|/$||' -e 's|:*/*\.git$||' -e 's|.*[/:]||g'
+ dir=familiar
+ '[' -e familiar ']'
+ mkdir -p familiar
++ cd familiar
++ pwd
+ D=/Volumes/COZ/familiar_/familiar
+ trap 'err=$?; cd ..; rm -rf "$D"; exit $err' 0
+ GIT_DIR=/Volumes/COZ/familiar_/familiar/.git
+ export GIT_DIR
+ git-init
Initialized empty Git repository in /Volumes/COZ/familiar_/familiar/.git/
+ test -n ''
+ rm -f /Volumes/COZ/familiar_/familiar/.git/CLONE_HEAD
+ test -z ''
+ clone_dumb_http http://git.hackndev.com/familiar.git
/Volumes/COZ/familiar_/familiar
+ cd /Volumes/COZ/familiar_/familiar
+ clone_tmp=/Volumes/COZ/familiar_/familiar/.git/clone-tmp
+ mkdir -p /Volumes/COZ/familiar_/familiar/.git/clone-tmp
++ git-config --bool http.noEPSV
+ '[' -n '' -o '' = true ']'
+ http_fetch http://git.hackndev.com/familiar.git/info/refs
/Volumes/COZ/familiar_/familiar/.git/clone-tmp/refs
+ curl -nsfL http://git.hackndev.com/familiar.git/info/refs
+ read sha1 refname
++ expr zrefs/heads/master : 'zrefs/\(.*\)'
+ name=heads/master
+ test -n t
++ expr zheads/master : 'zheads/\(.*\)'
+ branch_name=master
+ tname=remotes/origin/master
+ git-http-fetch -v -a -w remotes/origin/master heads/master
http://git.hackndev.com/familiar.git/
got f3ba0cc5bc2d6db280e252984db390294db3d4e0
walk f3ba0cc5bc2d6db280e252984db390294db3d4e0
got 81c1c79de296f31130220c27bf0b7b0426edd365
got 599f5a4c2123fe7ce01935a31ebfd0a02e97c0a7
walk 599f5a4c2123fe7ce01935a31ebfd0a02e97c0a7
got 2e61659eaa7c8da1341183e2da23d0ef4808ff0b
got ad8435967b908a463abd074267df2e2ef7465cb4
got 97b65201f0516013f300524422ff1b9cb368c52a
got 3421b970df585bc56aa06a917fd58b237e063b3a
got d52b43b852e6096258f84331888aa9111bcb8b64
walk d52b43b852e6096258f84331888aa9111bcb8b64
got 90ec22bee124705a9164f46a994cad1890bd92b5
got ef119cce22eadbffc9c5e15e4591a55b4f6c2a8e
got ac3566a37f700890ff1c32e445a4acaa582c353e
got 5823cd070720c77d60af44ee266444e6f465463d
got 511fae4a2562bdaa73ceff46a29b68e8e8abc8fb
got abc9f5df6bb077d937c0c46852f6408a7b5233fb
got 03dbf3f7bd6bb4d8542f09e06be521dd40379d4b
got 193f21097fd4c6f383af666dccca69b78b1928c7
got 5bb2315c39a390c4beff01f5cbad5f55faea43e1
got a4ca18678e2d49f0192b3d23e9bd5552e788d8a7
got 7e50b79e224d4a175fc1a5633fb1ecd46f4d1225
got fb950dc69feb8afa93493747f33d6e1c02659b55
got adb14a75532aeba460c62443b71db624e97a03a0
got b2a838d53670a2d4f300fd2e7c5a69d42ae0c5c6
got 227a0b2347ad08804b0fca42b51393995479ea1f
got 937bb4ea5a5135cecad8469703d1470d5e3bc5f7
got 7684a0a6e79f0b68b0944d9bb917136a41e3885f
got 590c1ef0648a438acb98730698fd129a5c707e53
got f48c983ab0686d1ea717db55573081e31637f896
got ad7971d4698af5fecc27081b37e33bc766165dcc
got 3fb2436223334d0ad8f14586ca1442fdae9c584e
got ac828ecc5807034d8d9ae5bcd04ab17e98f16ab6
got 659925cd726fc957fc6cca680b2d442276614149
got b8f3851c086475a416059d042643b7221a141921
got 23b49e1288cad83e0df2f5af61b4feeacbf149fb
got df6caa28ed60273cb01f761d6eba6d44399ef2bb
walk 659925cd726fc957fc6cca680b2d442276614149
got e865e1b99849935f10f6a5498fe7205df79a6060
got 236eb50153838f05652a8be37fc6c012270eec76
got cfb82a41cb8d57c237a20b7d4315a2a8c3def11d
got b57fa8c21e1aafebc74a373919be92ba90ffa1d8
got 19a3fe8ef8226d20b8a7a89c9d78c7236bd48d6b
got d60c31a97a544b53039088d14fe9114583c0efc3
got 7e7d57413d0145ca92fb576105f67764c3adbcd6
got d8b35cb7fc1257630fd131dc21e81571d1c7b5c9
got 33a78531e1ac31a8fae3da25b553ff9490888a93
got 25e5156619cc9f8e27c077d614d35bba1faffb56
got 3652fba506ac44be82d885d02a0e65008ceb07cd
got 0b23818137a7d42e8ec8082d0674c61b3ce488cd
got 927e3432b715652075bed1ecd8303a574823e2ce
got 66563f34d379452fecbf251266fcb0b6d4427532
got aea6335278da797ff692dec38812e8bb11a9a9f3
got 5e9356104b128999e6b49ff8d58e3cb243c41db6
got a599dec3f27cfeebce6e74ae2e0315c22a6e28b9
got 5d670ccadc71805bf890e7b1843beec9d5400ee2
got 79218b4a122abd202e1f9163bd08cf9ddd212ec4
got 853abfd1b317a3a0afc951eac631345c3fe09dc5
got edd151ef8c46abb6f37043f1100aad0c5911fa9f
got 93135419b656b07f258c010a410b535bfad2497e
got 68d71121660ec4bab450297d289b5dc9b9f5c172
got d66c1fc763e2a2df5270bdc6a9d256a02dca6252
got e5968b9aec789459706e22b80de35a554ba3f299
got a2b0e2b7704627c864d333df0159a7fa65a7873f
got 8643989b73414168229b01be7857e89fa283744e
got b0c5723873d910158e084ee68c2b5e0427877206
got 3e841e3caeb2fb3684095270da37e3646025d0ee
got bfcd159c0f199fd8ba4fde3b258869c1300ee89a
got 3785f5acd3f28f7772b035f33db1a7c00dc55553
got 7dfcfc29a43885d932366cf6c4451f885198ffc3
got 206210f3ca66fb092262ac5c0377ae4cdcc28e6b
git-clone: line 300:  3458 Segmentation fault      git-http-fetch -v -a
- -w "$tname" "$name" "$1/"
+ exit 1
+ err=1
+ cd ..
+ rm -rf /Volumes/COZ/familiar_/familiar
+ exit 1
</snip>

Finally, here is the elinks http based elinks repository:

<snip>
sh -x git-clone http://elinks.cz/elinks.git
</snip>

Here is output from the elinks command:

<snip>
+ unset CDPATH
+ '[' -n '' ']'
+ quiet=
+ local=no
+ use_local=no
+ local_shared=no
+ unset template
+ no_checkout=
+ upload_pack=
+ bare=
+ reference=
+ origin=
+ origin_override=
+ use_separate_remote=t
+ depth=
+ break
+ repo=http://elinks.cz/elinks.git
+ test -n http://elinks.cz/elinks.git
+ test yes = ''
+ test -z ''
+ origin=origin
++ get_repo_base http://elinks.cz/elinks.git
+ base=
+ dir=
+ '[' -z '' ']'
++ echo http://elinks.cz/elinks.git
++ sed -e 's|/$||' -e 's|:*/*\.git$||' -e 's|.*[/:]||g'
+ dir=elinks
+ '[' -e elinks ']'
+ mkdir -p elinks
++ cd elinks
++ pwd
+ D=/Volumes/COZ/GIT_/_build/elinks
+ trap 'err=$?; cd ..; rm -rf "$D"; exit $err' 0
+ GIT_DIR=/Volumes/COZ/GIT_/_build/elinks/.git
+ export GIT_DIR
+ git-init
Initialized empty Git repository in /Volumes/COZ/GIT_/_build/elinks/.git/
+ test -n ''
+ rm -f /Volumes/COZ/GIT_/_build/elinks/.git/CLONE_HEAD
+ test -z ''
+ clone_dumb_http http://elinks.cz/elinks.git
/Volumes/COZ/GIT_/_build/elinks
+ cd /Volumes/COZ/GIT_/_build/elinks
+ clone_tmp=/Volumes/COZ/GIT_/_build/elinks/.git/clone-tmp
+ mkdir -p /Volumes/COZ/GIT_/_build/elinks/.git/clone-tmp
++ git-config --bool http.noEPSV
+ '[' -n '' -o '' = true ']'
+ http_fetch http://elinks.cz/elinks.git/info/refs
/Volumes/COZ/GIT_/_build/elinks/.git/clone-tmp/refs
+ curl -nsfL http://elinks.cz/elinks.git/info/refs
+ read sha1 refname
++ expr zrefs/heads/REL_0_10 : 'zrefs/\(.*\)'
+ name=heads/REL_0_10
+ test -n t
++ expr zheads/REL_0_10 : 'zheads/\(.*\)'
+ branch_name=REL_0_10
+ tname=remotes/origin/REL_0_10
+ git-http-fetch -v -a -w remotes/origin/REL_0_10 heads/REL_0_10
http://elinks.cz/elinks.git/
got c6af7d7033ebbf9cfeb0eb8ff1e3f30328ba2abe
walk c6af7d7033ebbf9cfeb0eb8ff1e3f30328ba2abe
got 8cdc0e67aeebfa05a66d730588986ffe29f56a42
got 682f4ca2f6509a1b350a5c016755a8419376b481
got a1197bbf1a52591ebafbb8d565c2dbf0aff0c00b
walk a1197bbf1a52591ebafbb8d565c2dbf0aff0c00b
Getting alternates list for http://elinks.cz/elinks.git/
Getting pack list for http://elinks.cz/elinks.git/
Getting index for pack 3e2f19146d28000e28d41a693fdd88a26359d088
got 101cfebc54ee70acafb80e332bd679bf2935717b
got 50e062e792d8d9c149f55c2408d9eb1069691ee1
got de2ebaf84aa44507e23c18536da7c6a951046ee5
got 72646169a09b8d6a9284c835922958eace26f7bb
got d8348962436772308171de1f9625d4d9510623e3
got 4be75ff01d7c5936ca871da4bc72313d20220490
got 25696fa13881949d9a43ec287a29d6fe6a830b25
got c3436002e9791f6f7c3624623a43bfb1832c2133
got 934ea4b79049a81ae01f12819dec3790bb72f7c0
Getting index for pack 7f98d4169bc08e8249a51e08f35bbd789df92f4c
got 0ab68c8042742f3c86986a1f33ba6f8f31454b1f
got 681e54c3bf942cd39644219be4e9342ab5a98d99
got eb400af9e51271eded51d1a94ff40931de2c30a6
Getting index for pack c0e265dab40fa34912c3ee6e02ba29686ab84a7b
Getting index for pack 1f3a3db271f2fedcbef3cb42bbec7afa288ed096
Getting index for pack 465c2584783ba94794d751bbfd1f841eb198ba11
Getting index for pack 82c57ef2490b7df152615effb7a9612182198bb1
Getting index for pack 579617fbad958e42693e874b289f066c76beaa1b
Getting pack 82c57ef2490b7df152615effb7a9612182198bb1
 which contains cd5142468a4fc83bad2f33167c60d1a2090af4b0
walk eb400af9e51271eded51d1a94ff40931de2c30a6
got 07a7b403dc93e99f362024995eff4de8241dd88e
got 7b050fc315ef9d82f5970d8ed0aa9f8766704671
got abc984fbde5dd942f138ac330f0480afe4eb4e7c
got 2848b2d11496f81cc41418d7e55f12ae0d1a6627
got d39a9d5503fde7ad8e25b83d3cc092498346f9d8
got c554fddefe2ad26ecee7fcdb65d0505f85d88199
got 6fe47cce93b66918f838aeb57003a44a45905caa
got ba7c6686c87d713154d0eb98e15f5212ecd85247
got fa3112212288d9bbb95db205b46dddcb1281da72
got 5f97280193806641bf04dfbcb85ff8462c46f478
got 1366cda9b028aff5acbf64730429533dcfb8e30b
got e0768119640d7fa3d5d3daa818e16ec5f1be634d
got 45a116feebfdd5931ebd903fc358fc0bfff2916f
got 775225433dc4e20f8fdd14ce5eb3762cdbac34c3
got d36af76b3a9ed7249e4a58a6e93649ad18bef11e
got 124f77cd1e8446f4a5fa7d25d19f3078f79b8543
got 2b9147d70ecc27e1b32e2a449ed71ac158dc8f82
got 3b130a33d34cf5e15b4c3d86ee850c9615d2d723
got e77c2231e912ee187121cb6ec1705753c77cf180
got 61068553f2b8be47de1efd42595a2828f18149d5
got ea7fb4cc2cc7cbda63c8d4833fe43074ecbe695e
got 4e6744db0c5c2c5d72370da3efa4e9fbbc4976b6
got d7b55da3d44a55046ead99c7506d699ca272f4b2
got 9c73dd36612ba31332303dbe93fb06a158f243c4
got da65a41f546d70d0636879b09581d8d9060af97d
got 0b39d3783fce0f9af0cc57a54394398a0ac3bf4b
got 1393c89201fb38bc707707ddb81c16bd02240c2d
got 5f980e229f53a0ef0f9c56a5bcfac829b19e0c00
got 59cd0c80f4266488957840fe88a3b78121b469e9
got d431ca9d0e3b09ce5eca25dca0c7d75f050f5131
got 2f3efee8de33cb4903dba6152a1832d21e182015
got f9ef4d676dfeb70156a63ba00461ee95a130a361
got eb70fd5a339457fe56a188155628d5a317974b54
got e5216346ab247773034d94147ed3889534539362
walk eb70fd5a339457fe56a188155628d5a317974b54
got e3f1569d7503aed217ef70fe1045f2f6aeaad864
got 143782d95e476757c71ee5efa222771449c9049a
got e1fe23009b1e2b314c0bf3860f8bb646d2b83998
got 43a9f0d8bb3a3fc6f2beb1fca83e5bc6183465b7
got 33a1d4729b3a3ba4212ccab28bdb90571bd77811
got 4b3b3c35f1a60e27c82519c0f34f94a629cb4328
got 620e159adffc26989d452a8a8fc0cc9da1355238
got 644a1ef373616d4e5aa981263a63b004850c4986
got 91b69b4bb82ab62e2168c32b2b233ac6858ead1c
got 3d7ebc3e14c5e71d426cdbdde4c0faef488185a0
got 8f4d49af87baa6eef6637e7a59cb371a93c8ab95
got f2a6878477131a91a2179ca3971d711ae276eea3
got 3705120a1d00f0c7ceb27db46b60af056a2aff3f
got edc993c3851c3bc4d3dc465d32dba6e8bd355d6c
got 44205ea1b5185ce04b934d8ce4193f52146a44a9
got e41728fb51751b7473c4ede1ec46da1ade06b523
got 9115789ac26c4948ee37fe9612fed2453982fd2c
got 9a4e55cbc517cf85a960f659fac09b14b7cb143c
got 7cc2d4d9eef77a7a5230dafd5cf64e6d126f16ce
got f301446051d5e85d4d17148aa1e16e2ad92f575e
got 076908a8df164eb0f320f4b06752391312eb6bbd
got d713782404feb7bc606fa403abf4916f2081af92
got 7ea5c19580db1342b79d57703b64ecce9de1e64b
got e37f77a44d8733442c12cd7a2da2b27c2fca3441
got b4af067c4afb46bcfa9e7b906c80da9141bc9c7d
got a1d375f635862134a866d728b01c1a9e4981b922
got 52dfddc736fb9e12920739f34ac103375354cbb1
got 76ccdfaa52953c0c2e04507132fac744894c7348
got 8cbd66eac85b457c3fe22ec4bf81d7acae42db43
got 646c4227157b66fd4e3bd4ccfcd8700eb81f0644
got aac0d8812d7e6fdf25c641de1e1632c219a8b190
got 4ef7d73dedd380b83b762207ced1ee016d3a93c5
got 0ec7e02284f6ea9a43eb52eb2b82afb36b513ff7
got da90aae32dc15a6a8378b8d21ab51b40333fdd68
got bd1e3fec2c217be1f4a73e6cd3d2a16a083d9910
got cb5d65e710ea0b47e2f3f9c2b55c74f8daa503f5
got e0dc450e5ce64a801c52c600e5fb4dd636aee678
got ff305a2ef499e00a3b61f0d21b791b92b4b58421
got 21e3cf729a27b0c0e276503d3f7d26505d432826
got 10d156d9a87080005cc603ac244c63475edff3bb
got b346e5989a8a9583ba5fce851f41c8a4cb65ecde
got 3b6639bd0da4bee12eab25e9e5e2f724cf9e7b52
walk 3b6639bd0da4bee12eab25e9e5e2f724cf9e7b52
got 0eb89b7366bf32692fedf4397edae093133197b7
got fe82d0e49ed5acf7c85ccf53461c5282b8ee239e
got e53261cea7201374584f61d66356f3455fad3d2a
got 67a483bdb614bfc3946d707d0f1a6a18b538d78c
got 64b650f93976fe1d6021f4187daf2a44ef2c6c0d
got 16b54c8b24dee81d723a7eec6c4a33950c111a8e
got d96a4554abbede2741383a6b8eacc62638ac7fbc
walk 64b650f93976fe1d6021f4187daf2a44ef2c6c0d
got 1f847f1b4d12f6853de001556bb1f88c607d7aca
got 65568b7ef83b5c87cd4ed8c76e1a5e4e56843267
got 7dfe2442a0a2dda00b21d59399ce10497d805a7f
got 10e0111446573e74a71fcc2d42d84e380d434b9e
walk 7dfe2442a0a2dda00b21d59399ce10497d805a7f
got bdcb28b5052a5b0f18fb828cc0e8bc27a9eb4864
got 39259d53a82fb48e2745d844ca5f701b323fd5e6
got 4aebc1ca620e3996010b09c2e93c86c620675282
got f6313f5090ba660834eee4d2ccae6f1b9c08ed8e
got 0de4a1a08dda0605877d4e226f0beecd96c09168
walk f6313f5090ba660834eee4d2ccae6f1b9c08ed8e
got df29cda8f412f4da30483af3b96d274458af2f91
got 45071a8058059617479cc777c727c5185d800a1c
got 67a2aa38d7bc1e66bf23c6344c94a4af41c7c2ab
got d97eb3627bcafcba4cf7b120c0a5786c3b102b0f
got dc70bc6253acc1dc0e4fa9b95eb0ad277566a404
walk df29cda8f412f4da30483af3b96d274458af2f91
got 98cd2479143526134c7a0cec48e39634b5c68f5f
got d4739db01fdc27d81f2de9052c19e5d8f537dd2c
got 2c71b878f85e47cfc18e4bac6f98c75d670bd46f
walk 2c71b878f85e47cfc18e4bac6f98c75d670bd46f
got 3d3ebfbb525501e41c547148cec2ffc65d5e0395
got 6e6bf0de32c5203c5bc9256a9a677f214146fdc7
got dfdfe853e42af6a669d35fefcf0063724b3a5081
got 38831ca9f727db7aec3343cb43e89135d70a7142
got bae6572a7ee3513445720d90b22928a6c822da1f
walk bae6572a7ee3513445720d90b22928a6c822da1f
got 9c8d767ba71928ca1931f192c788e47d3a7a472c
got d93266173a93af84516a03b7867b619696b77ac8
got 9535936eb84fda488d7a93c51ae9afd37b24226a
got e9b9cc63db310b1ef836013d1a9d5ba351882dd9
got c01f0a6c4f48e28ed4cd4f792c403847b856ecdc
walk 9535936eb84fda488d7a93c51ae9afd37b24226a
got 03b18890fe2370bfd4d8c4442d6ae7a568b69266
got bd8750380657bede8c55a7e1abca8ffa19db1da6
got 81a9ebacc8698fa1c3ddf90a5c62588561dbb9eb
got 161da0e541597f9fde0c2e66e98ff52b26f17820
got 568685cf7475638ec1e5f7a32e272e79553e6dde
walk bd8750380657bede8c55a7e1abca8ffa19db1da6
got e76e0471960a39ede1e29bc6695db3d77a246d28
got bfab88e0968d6821d0f0231bcec03fbd24c33e7d
got 5c6285fab431801ca804515e97585f21ceb2a4d7
got b38be815c113fc5c62b9ad3413f55c20faef4a7f
got c9c928fb061616a15d0d684b7171a7fbdad1e80a
walk e76e0471960a39ede1e29bc6695db3d77a246d28
got 97af638405ef615ad2cf050e870880349ee64299
got 0128d1f0fce770d7c4394845629eebe49ca6f90b
got 83ea05321f4c05c0f6c76f0b2364f9a364cd4e12
got 37fd949ec27177ac3bcc37c5b3fcae9ca0b2b327
got a036d8360a2fc7846ff431ddeedb556a1631d7db
walk 97af638405ef615ad2cf050e870880349ee64299
got 4e0aa3e66d08ac0bec04105d7714c95d07a00fcf
got 3d1ff99bc334188712295da26609275c0759d109
got f3a9c47a30e30824b06bec41c7300b3e09eb18df
got ec7d829b42b673dfce4b7f7be60001c01450b431
got daa354f225473e88912fe671076eefc051ba42cc
walk 4e0aa3e66d08ac0bec04105d7714c95d07a00fcf
got f27ded227b17e314808a918cd25c2eea67930987
got 2737e20bd3286d3951a90280f78ea11418c3c05b
got 9e27995f58e763c40e727072653f44cbc848e083
got f69b0c2d75c8c4c4658d8c572e752b9176e6737b
got 37b0f5d1535243701898ed44e96654804e7da385
walk f27ded227b17e314808a918cd25c2eea67930987
got 8c22d8797a7a7384fe7d2b8dcaa70101888628af
got c60ed7ec60fdb6768c1b0afbeb60db42085aa415
got 619802fe3496dbcf2d0bdb6ed39e13441cfae305
got 373f5e4e43643a0a0d5a7ad07c004eee8c78a7c5
walk 34fddbd6ea71990bdb2d63316ec0ac18a6062800
got a9f1bd29678cbebcd31f54b1471c69ebcc6ef3ff
got 49ba9bd2999796d94ca4809a965c328efb39550c
got 9e7eb0f17a22762fe965a9e40472e318086e2144
walk 9089276406ad8dbb318e95dd09d1f642abf2d4e5
got a0362f6eefee80061091d03ebd89875ce61ad847
walk 6ec35dedb308945d2d015e1b6d433172d4e4a910
walk 041b90814bf34def2cc5592094e56a1014698442
walk 944425a13ebc493aea3624dc3075c3da1afca88e
walk b76cec6049bd739fa639d6325ed830180bcb0b4d
walk 6414870c3f5a85220a3b3f9f2d79eef83fe2bc5a
walk fffa576f23acc5c89ce289b7e98ff4139b9843cc
walk 52dbef35a92ffa2cece5e581fd50655b20389c08
walk 03f1b1cc59432cab51dcc301059c1cb7acfa1636
walk daf80bc3d6c7c19f04e6026b0852591c654fd090
walk 43a9a406737fd22a8558c47c74b4ad04d4c92a2b
+ read sha1 refname
++ expr zrefs/heads/elinks-0.11 : 'zrefs/\(.*\)'
+ name=heads/elinks-0.11
+ test -n t
++ expr zheads/elinks-0.11 : 'zheads/\(.*\)'
+ branch_name=elinks-0.11
+ tname=remotes/origin/elinks-0.11
+ git-http-fetch -v -a -w remotes/origin/elinks-0.11 heads/elinks-0.11
http://elinks.cz/elinks.git/
got 427018245576433baf2888c874c678e01b6e5407
walk 427018245576433baf2888c874c678e01b6e5407
got fc062c419ca75bf74a578860d3641a0543f72703
got 1f65dd280249c6e3fd44ed2ee81095f62b704c6d
walk 1f65dd280249c6e3fd44ed2ee81095f62b704c6d
got ec1db9c71288d982f4665535cd77ff19e23c7130
got 280b98e9ee8fb2ad975dca9f2b5b11bb650d09fc
got 84b10534e8189160a459c8893a4b7c17ef37ffd6
got 841e3b6345443755fb41b2cd10ef999e3cbe8ed7
got e6a02ce8d312c70287ebc3cbc5205234656638aa
got dc58393be90b30d064b8fe5e85af91b9e32e378b
got bd00f544e816415b20d8fd9b0b4931e631340ac4
got d18333075d0d47304102e32d9621159b1fe31df4
got 7308984f615f5d87b6eaf1856fce808dc1a3dd63
walk d18333075d0d47304102e32d9621159b1fe31df4
got dfe92ba322af87e7af7cc5c643dfe9cf317fff1f
got 565e772c7f4b8908e0b446bdf356666d9c202237
got f7721d93abf155278c977801793203dfea287631
got ee3c8d6a5d7d9b1bbd455ef481ff6b84ca5754d4
got cfa8c7ea8a59bc988b31592844beab844d002fcf
got 61af1251291f026bf1fd882507db3ffe1de50b21
got a6bd725777b394f3770dbfc99948286530bd9265
got dab90a36ccd23c59d843b5299a2b19161e3d1d35
got a3c1b0b560f133708cbed6094cc8f296847183a9
got bda26d74d94778465988084fcc4f4343cac5a236
got a94bf185a10be26bb6086ebfacac852ed40eb302
got 85a4d67604420a3da9fecd6ff2a11c5722016958
got c46394b05200c43d1d7a43f018ee8ae313048a21
got 6346a7c6347d70961aeb5cba3f86826aa0cfd092
got 3fa4e85dbef52d9db8eb9004b32da54fcb5af644
got 1f8c264ce95ea286fdf08cf43d2fc26f5f33482d
got da1be60c4faaf81b4eb4f42ce99b7f22c901c5f2
got 11269a5c2c5a7e34c247c6352e12667b2c3d8882
got d8a58bf4002d2ac4b811c353347c7325cf78a96a
got f02f9f96caea0f6a70e0ab6f364ba5d9f5cdd2f6
got fbe800e685edf8d377bc56ad2a88faf65451e9a4
got 0ff8003ad05f1db0f517c3980ddeff2a7bce9ff5
walk fbe800e685edf8d377bc56ad2a88faf65451e9a4
got 13db11c4f9ef558d7df4a17df6e675254b75938f
got e25960a6c2d84759f2598a527cca82cc66b3834d
got 51c8c5853132dc0171134b68fc87ba869bf430a4
got 777107e1779a95e20859c237059b391c93a07fc2
got 6d817c65ed174324414f40f469b6181508f7124b
got 0524643e47ade29ed8fb2a07fb68267aba4166cb
got da5bc4a0f2f69708f1eff7c09b48e312c47d1f62
got beb91f1378b1a1de320a5442088d6dc9182a972c
got fceabb436af83ec8dc9c3f40ff2514843d8ea7cf
got b8746f27814a1359a0dedb4e9078a31e8ae06c8c
got b4c6dc4a41d4d88fd202f4b8af03186dccb7e2a7
got f0d5e61e15d8b62018396c7088a4af51f37ef9fd
got 2f02f83505cef5e3b0f7833729fee5fcf67d7543
got c5abe1de9f65a68839354dd3e246a04bfd71e04d
got 789f0f91e7b8c55db06c4e80a1b82f0ea6cbc38a
got 87a42259c590c00a1eac6eebbe4c8a0cc1de59b2
got 039724a02b00a5bd475b0ee7e0ec4ff252265dbc
got 308de298a6a3eff92b3bef5ab2cb17c9d93d4eff
got 5bb685f3f2d94051b9712af3d3acecf8b312e311
got 449dd70a97995debec0ac3f6249a7a5629916212
got 6c79b39f482e3c888f603ef5f83c0d3afee9ac04
walk 308de298a6a3eff92b3bef5ab2cb17c9d93d4eff
got 643ba09e4707d2a49fb4a3ffb511025cdf4e04d9
got 51d62f7ce97ba4ffdacd117dbc97d456c2cfe015
got f398718742702bb251c3a5abd3398dcd018d6b3f
got ca101335033f5075ee3d3d474f1be6f0d04c142a
got 49cb74da7db889c4e868df2e5b6bd8999e7efd17
got 30ddf44cff69fc3e0c59051f696b896f84ec34ee
got 48ae00871869e6b5336f1bc27fb349626626a0fe
got e5730e4fd164b31ac564e2e0fd2bd26e008991c5
got 8725a3cc4a6c5f971d6148488a7887548131800b
got 6c7ceab1093404b9cd457f9c2d8038e8501daade
git-clone: line 300:  3228 Segmentation fault      git-http-fetch -v -a
- -w "$tname" "$name" "$1/"
+ exit 1
+ err=1
+ cd ..
+ rm -rf /Volumes/COZ/GIT_/_build/elinks
+ exit 1
</snip>

I've googled and read that there is a fix in git CVS to fix this problem
with curl. The line 300 in git-clone has this line:

<snip>
esac
</snip>

Which, of course, I assume to mean all preceding that end of a
conditional statement. About 87 lines:

<snip>
$ head -300 /Volumes/COZ/GIT_/bin/git-clone|tail -87
</snip>

This outputs:

<snip>
# We do local magic only when the user tells us to.
case "$local,$use_local" in
yes,yes)
        ( cd "$repo/objects" ) ||
                die "-l flag seen but repository '$repo' is not local."

        case "$local_shared" in
        no)
            # See if we can hardlink and drop "l" if not.
            sample_file=$(cd "$repo" && \
                          find objects -type f -print | sed -e 1q)

            # objects directory should not be empty since we are cloning!
            test -f "$repo/$sample_file" || exit

            l=
            if ln "$repo/$sample_file" "$GIT_DIR/objects/sample" 2>/dev/null
            then
                    l=l
            fi &&
            rm -f "$GIT_DIR/objects/sample" &&
            cd "$repo" &&
            find objects -depth -print | cpio -pumd$l "$GIT_DIR/" || exit 1
            ;;
        yes)
            mkdir -p "$GIT_DIR/objects/info"
            echo "$repo/objects" >> "$GIT_DIR/objects/info/alternates"
            ;;
        esac
        git-ls-remote "$repo" >"$GIT_DIR/CLONE_HEAD" || exit 1
        ;;
*)
        case "$repo" in
        rsync://*)
                case "$depth" in
                "") ;;
                *) die "shallow over rsync not supported" ;;
                esac
                rsync $quiet -av --ignore-existing  \
                        --exclude info "$repo/objects/"
"$GIT_DIR/objects/" ||
                exit
                # Look at objects/info/alternates for rsync -- http will
                # support it natively and git native ones will do it on the
                # remote end.  Not having that file is not a crime.
                rsync -q "$repo/objects/info/alternates" \
                        "$GIT_DIR/TMP_ALT" 2>/dev/null ||
                        rm -f "$GIT_DIR/TMP_ALT"
                if test -f "$GIT_DIR/TMP_ALT"
                then
                    ( cd "$D" &&
                      . git-parse-remote &&
                      resolve_alternates "$repo" <"$GIT_DIR/TMP_ALT" ) |
                    while read alt
                    do
                        case "$alt" in 'bad alternate: '*) die "$alt";; esac
                        case "$quiet" in
                        '')     echo >&2 "Getting alternate: $alt" ;;
                        esac
                        rsync $quiet -av --ignore-existing  \
                            --exclude info "$alt" "$GIT_DIR/objects" || exit
                    done
                    rm -f "$GIT_DIR/TMP_ALT"
                fi
                git-ls-remote "$repo" >"$GIT_DIR/CLONE_HEAD" || exit 1
                ;;
        https://*|http://*|ftp://*)
                case "$depth" in
                "") ;;
                *) die "shallow over http or ftp not supported" ;;
                esac
                if test -z ""
                then
                        clone_dumb_http "$repo" "$D"
                else
                        die "http transport not supported, rebuild Git
with curl support"
                fi
                ;;
        *)
                case "$upload_pack" in
                '') git-fetch-pack --all -k $quiet $depth "$repo" ;;
                *) git-fetch-pack --all -k $quiet "$upload_pack" $depth
"$repo" ;;
                esac >"$GIT_DIR/CLONE_HEAD" ||
                        die "fetch-pack from '$repo' failed."
                ;;
        esac
        ;;
esac
</snip>

Linx-2.6 fails with:

<snip>
sh -x git-clone
http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
</snip>

Output:

<snip>
**Condensed Output**
walk b59a9504cb93db7fae31e60760725d48652a1fc3
+ read sha1 refname
++ expr zrefs/tags/v2.6.11 : 'zrefs/\(.*\)'
+ name=tags/v2.6.11
+ test -n t
++ expr ztags/v2.6.11 : 'zheads/\(.*\)'
+ branch_name=
+ tname=tags/v2.6.11
+ git-http-fetch -v -a -w tags/v2.6.11 tags/v2.6.11
http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/
error: Couldn't get
http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/refs/tags/v2.6.11
for tags/v2.6.11
The requested URL returned error: 404
error: Could not interpret tags/v2.6.11 as something to pull
+ exit 1
+ err=1
+ cd ..
+ rm -rf /Volumes/COZ/familiar_/linux-2.6
+ exit 1
</snip>

I am learning more and more about this problem but much closer now. Only
getting git by http seem to work. I have compiled the cvs/git source
repository and still receive the same error message even though it
progresses much much further than it had did with git 1.5.0. Here is the
list of commands I issued and their output:

<snip>
$ which git
/Volumes/COZ/GIT_/bin/git
MOBILEHOUSE:$ git --version
git version 1.5.0.g78e90
MOBILEHOUSE:$ git clone
http://familiar.handhelds.org/git/familiar-build.git _familiar
Initialized empty Git repository in /Volumes/COZ/familiar_/_familiar/.git/
got c0a02c4137d8b7c4975ae603c0120dd1a6f3df11
walk c0a02c4137d8b7c4975ae603c0120dd1a6f3df11
**Condensed Hundreds of Lines of got and walk**
got 89bc3128dc3d877b37e8e56454054cedfe6dd038
got 59e8d6cc1e7380381b8b66c029cb9f55d4d6348e
/Volumes/COZ/GIT_/bin/git-clone: line 300: 21785 Segmentation fault
 git-http-fetch -v -a -w "$tname" "$name" "$1/"
</snip>

HTH

- -Altoine

P.S. Could anyone on the curl's mailing list forward this email to their
list as I am quite full of the lists I have now to help me undertake a
Mac OS X based familiar cross-compiler environment. TIA

P.P.S. Bryan, I forward this to the familiar list and macports list
since this directly effects what I am trying to do on both of these lists.

Bryan Larsen wrote:
> stabbing wildly in the blue here:  does /opt/local/bin precede /usr/bin
> in your path?  On older version of curl is installed in OS X by default
> and may be causing the problems.
> 
> Bryan
> 
> 
> Altoine Barker wrote:
> I see you are listed as the maintainer of the git-core project. I would
> like to let you know that any git site that is accessed by port 80 will
> not work. After entering this command:
> 
> <snip>
> git clone http://git.kernel.org/pub/scm/git/git.git
> </snip>
> 
> I get the following error messages:
> 
> <snip>
> error: Unable to start request
> error: Could not interpret heads/html as something to pull
> </snip>
> 
> Is git-core using curl at all to pull these files? I do not know how to
> work macports but I am noob and I am learning. TIA for any information
> and your time in reading this message. Before I go, let me give you the
> specs:
> 
> iBook G4
> Mac OS X 10.4.8
> MacPorts 1.320
> git-core 1.4.4.4
> curl 7.16.0
> Apple Xcode gcc 4.0.1 build 5363 (The latest and greatest for a PowerPC)
> 
> -Altoine
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF2DSlS0foIafBdlkRAtP+AJ0dnt6/BJVNuwMSVJ2MGCRb5tK2+gCgjtdy
iGPznL4QGhV5xNream6rRQs=
=mfqt
-----END PGP SIGNATURE-----



More information about the macports-users mailing list