Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133412 - git clone fails with webdav in USE
Summary: git clone fails with webdav in USE
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Fernando J. Pereda (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-15 12:55 UTC by Torsten Veller (RETIRED)
Modified: 2006-06-08 04:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
http-fetch-dav.patch (http-fetch-dav.patch,1.08 KB, patch)
2006-05-31 13:57 UTC, Fernando J. Pereda (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Veller (RETIRED) gentoo-dev 2006-05-15 12:55:38 UTC
dev-util/git-1.3.2 with useflag webdav fails when checking out <http://www.rpcurnow.force9.co.uk/git/mairix.git>. Without webdav it works.
(The stable dev-util/git-1.2.4 works with webdav in my test.)

-**- dev-util/git-1.3.2 [1.2.4] -X* +curl -doc -mozsha1 (-ppcsha1) -webdav
     works

-**- dev-util/git-1.3.2  -X +curl -doc -mozsha1 (-ppcsha1) +webdav
     fails:

1.) git-clone http://www.rpcurnow.force9.co.uk/git/mairix.git mairix-git

Getting pack ff57e41a0e3397e187f5ea6b35db0db005410d9e
 which contains 916d1f0f28429fa417ab35d2c37250ec1ab8934d
error: The requested URL returned error: 405 (curl_result = 22, http_code = 405, sha1 = 60fc90d484bbe417c5bd6fbc0730bd51d67646c6)
error: Unable to find 60fc90d484bbe417c5bd6fbc0730bd51d67646c6 under http://www.rpcurnow.force9.co.uk/git/mairix.git/
Cannot obtain needed blob 60fc90d484bbe417c5bd6fbc0730bd51d67646c6
while processing commit 5a5602ba21354bd12d91dba3ba83964865f59dfb.
Waiting for http://www.rpcurnow.force9.co.uk/git/mairix.git/objects/ba/1e561bbd02d04356edf8096062f133f9b2ddc0
/usr/bin/git-clone: line 29:  4801 Segmentation fault      git-http-fetch -v -a -w "$tname" "$name" "$1/"



2) git-clone http://www.rpcurnow.force9.co.uk/git/mairix.git mairix-git

etting pack ff57e41a0e3397e187f5ea6b35db0db005410d9e
 which contains 916d1f0f28429fa417ab35d2c37250ec1ab8934d
got 11057c998354c9abd5eecf5b410c799e4357e769
error: The requested URL returned error: 405 (curl_result = 22, http_code = 405, sha1 = a27a617e70e42896d9cfbe915515d891b59b0633)
error: Unable to find a27a617e70e42896d9cfbe915515d891b59b0633 under http://www.rpcurnow.force9.co.uk/git/mairix.git/
Cannot obtain needed tree a27a617e70e42896d9cfbe915515d891b59b0633
while processing commit 5a5602ba21354bd12d91dba3ba83964865f59dfb.




Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-xenxen i686)
=================================================================
System uname: 2.6.16-xenxen i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cli crypt cups curl dri eds emboss encode esd expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 Fernando J. Pereda (RETIRED) gentoo-dev 2006-05-17 00:46:06 UTC
Just as an update:

I bisect'd the problem and found it to be in commit 8d9fbe5 in git.git. I contacted Nick Hengeveld and he is working on it. v1.3.3 has been released and it still suffers from this bug.

- ferdy
Comment 2 Fernando J. Pereda (RETIRED) gentoo-dev 2006-05-31 13:57:06 UTC
Created attachment 88036 [details, diff]
http-fetch-dav.patch

Patch from Nick. Haven't tried it yet.
Comment 3 Fernando J. Pereda (RETIRED) gentoo-dev 2006-06-08 04:19:39 UTC
Will be fixed in the next dev-util/git major version (1.4)

- ferdy