Source: git-core Version: 1.6.2.3-1 [This is similar to, but sufficiently different from, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493867 to warrant a new report]
I'm trying to build git-core from Sid source on Etch/amd64, with these dependencies already successfully compiled from Sid source: - asciidoc_8.2.7-3 - docbook-xsl_1.73.2.dfsg.1-5 - tcl8.5_8.5.6-3 steps to reproduce: $ mkdir /tmp/foo # tmp is tmpfs, but the same error occurs on ext3 $ cd /tmp/foo $ apt-get source -t sid --compile git-core <snip> (failures are at beginning, and again at end) *** t0004-unwritable.sh *** * ok 1: setup * FAIL 2: write-tree should notice unwritable repository ( chmod a-w .git/objects .git/objects/?? && test_must_fail git write-tree ) status=$? chmod 775 .git/objects .git/objects/?? (exit $status) * FAIL 3: commit should notice unwritable repository ( chmod a-w .git/objects .git/objects/?? && test_must_fail git commit -m second ) status=$? chmod 775 .git/objects .git/objects/?? (exit $status) * FAIL 4: update-index should notice unwritable repository ( echo 6O >file && chmod a-w .git/objects .git/objects/?? && test_must_fail git update-index file ) status=$? chmod 775 .git/objects .git/objects/?? (exit $status) * FAIL 5: add should notice unwritable repository ( echo b >file && chmod a-w .git/objects .git/objects/?? && test_must_fail git add file ) status=$? chmod 775 .git/objects .git/objects/?? (exit $status) * failed 4 among 5 test(s) make[3]: *** [t0004-unwritable.sh] Error 1 make[3]: Leaving directory `/root/foo/git-core-1.6.2.3/t' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/foo/git-core-1.6.2.3/t' make[1]: *** [test] Error 2 make[1]: Leaving directory `/root/foo/git-core-1.6.2.3' make[1]: Entering directory `/root/foo/git-core-1.6.2.3' make[2]: Entering directory `/root/foo/git-core-1.6.2.3/git-gui' make[2]: Leaving directory `/root/foo/git-core-1.6.2.3/git-gui' make[2]: Entering directory `/root/foo/git-core-1.6.2.3/gitk-git' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/foo/git-core-1.6.2.3/gitk-git' make[2]: Entering directory `/root/foo/git-core-1.6.2.3/perl' make[3]: Entering directory `/root/foo/git-core-1.6.2.3/perl' make[3]: Leaving directory `/root/foo/git-core-1.6.2.3/perl' make[2]: Leaving directory `/root/foo/git-core-1.6.2.3/perl' make[2]: Entering directory `/root/foo/git-core-1.6.2.3/templates' make[2]: Leaving directory `/root/foo/git-core-1.6.2.3/templates' /usr/bin/make -C t/ all make[2]: Entering directory `/root/foo/git-core-1.6.2.3/t' rm -f -r test-results /usr/bin/make aggregate-results-and-cleanup make[3]: Entering directory `/root/foo/git-core-1.6.2.3/t' *** t0000-basic.sh *** Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0000-basic/.git/ * expecting success: cmp -s /dev/null should-be-empty * ok 1: .git/objects should be empty after git init in an empty repo. * expecting success: test $(wc -l < full-of-directories) = 3 * ok 2: .git/objects should have 3 subdirectories. * expecting success: : * ok 3: success is reported like this * checking known breakage: false * still broken 4: pretend we have a known breakage * checking known breakage: : * FIXED 5: pretend we have fixed a known breakage * expecting success: test_must_fail git update-index should-be-empty error: should-be-empty: cannot add to the index - missing --add option? fatal: Unable to process path should-be-empty * ok 6: git update-index without --add should fail adding. * expecting success: git update-index --add should-be-empty * ok 7: git update-index with --add should succeed. * expecting success: tree=$(git write-tree) * ok 8: writing tree out with git write-tree * expecting success: test "$tree" = 7bb943559a305bdd6bdee2cef6e5df2413c3d30a * ok 9: validate object ID of a known tree. * expecting success: test_must_fail git update-index should-be-empty error: should-be-empty: does not exist and --remove not passed fatal: Unable to process path should-be-empty * ok 10: git update-index without --remove should fail removing. * expecting success: git update-index --remove should-be-empty * ok 11: git update-index with --remove should be able to remove. * expecting success: tree=$(git write-tree) * ok 12: git write-tree should be able to write an empty tree. * expecting success: test "$tree" = 4b825dc642cb6eb9a060e54bf8d69288fbee4904 * ok 13: validate object ID of a known tree. * expecting success: find path* ! -type d -print | xargs git update-index --add * ok 14: adding various types of objects with git update-index --add. * expecting success: git ls-files --stage >current * ok 15: showing stage with git ls-files --stage * expecting success: diff current expected * ok 16: validate git ls-files output for a known tree. * expecting success: tree=$(git write-tree) * ok 17: writing tree out with git write-tree. * expecting success: test "$tree" = 087704a96baf1c2d1c869a8b084481e121c88b5b * ok 18: validate object ID for a known tree. * expecting success: git ls-tree $tree >current * ok 19: showing tree with git ls-tree * expecting success: diff current expected * ok 20: git ls-tree output for a known tree. * expecting success: git ls-tree -r $tree >current * ok 21: showing tree with git ls-tree -r * expecting success: diff current expected * ok 22: git ls-tree -r output for a known tree. * expecting success: git ls-tree -r -t $tree >current * ok 23: showing tree with git ls-tree -r -t * expecting success: diff current expected * ok 24: git ls-tree -r output for a known tree. * expecting success: ptree=$(git write-tree --prefix=path3) * ok 25: writing partial tree out with git write-tree --prefix. * expecting success: test "$ptree" = 21ae8269cacbe57ae09138dcc3a2887f904d02b3 * ok 26: validate object ID for a known tree. * expecting success: ptree=$(git write-tree --prefix=path3/subp3) * ok 27: writing partial tree out with git write-tree --prefix. * expecting success: test "$ptree" = 3c5e5399f3a333eddecce7a9b9465b63f65f51e2 * ok 28: validate object ID for a known tree. * expecting success: git update-index --index-info < badobjects * ok 29: put invalid objects into the index. * expecting success: test_must_fail git write-tree error: invalid object 1000000000000000000000000000000000000000 fatal: git-write-tree: error building trees * ok 30: writing this tree without --missing-ok. * expecting success: git write-tree --missing-ok 851a367613bb6e1f0b2b518323eafed530b5b4c4 * ok 31: writing this tree with --missing-ok. * expecting success: git read-tree $tree && test -f .git/index && newtree=$(git write-tree) && test "$newtree" = "$tree" * ok 32: git read-tree followed by write-tree should be idempotent. * expecting success: git diff-files >current && diff >/dev/null -b current expected * ok 33: validate git diff-files output for a know cache/work tree state. * expecting success: git update-index --refresh * ok 34: git update-index --refresh should succeed. * expecting success: git diff-files >current && cmp -s current /dev/null * ok 35: no diff after checkout and git update-index --refresh. * expecting success: commit0=$(echo NO | git commit-tree $P) && tree=$(git show --pretty=raw $commit0 | sed -n -e "s/^tree //p" -e "/^author /q") && test "z$tree" = "z$P" * ok 36: git commit-tree records the correct tree in a commit. * expecting success: commit1=$(echo NO | git commit-tree $P -p $commit0) && parent=$(git show --pretty=raw $commit1 | sed -n -e "s/^parent //p" -e "/^author /q") && test "z$commit0" = "z$parent" * ok 37: git commit-tree records the correct parent in a commit. * expecting success: commit2=$(echo NO | git commit-tree $P -p $commit0 -p $commit0) && parent=$(git show --pretty=raw $commit2 | sed -n -e "s/^parent //p" -e "/^author /q" | sort -u) && test "z$commit0" = "z$parent" && numparent=$(git show --pretty=raw $commit2 | sed -n -e "s/^parent //p" -e "/^author /q" | wc -l) && test $numparent = 1 error: duplicate parent 699fdaeb2458cc88f774bad9577b42b595ce0a7d ignored * ok 38: git commit-tree omits duplicated parent in a commit. * expecting success: mv path0 tmp && mv path2 path0 && mv tmp path2 && git update-index --add --replace path2 path0/file2 && numpath0=$(git ls-files path0 | wc -l) && test $numpath0 = 1 * ok 39: update-index D/F conflict * expecting success: mkdir first && ln -s ../.git first/.git && mkdir second && ln -s ../first second/other && mkdir third && dir="$(cd .git; pwd -P)" && dir2=third/../second/other/.git && test "$dir" = "$(test-path-utils make_absolute_path $dir2)" && file="$dir"/index && test "$file" = "$(test-path-utils make_absolute_path $dir2/index)" && basename=blub && test "$dir/$basename" = "$(cd .git && test-path-utils make_absolute_path "$basename")" && ln -s ../first/file .git/syml && sym="$(cd first; pwd -P)"/file && test "$sym" = "$(test-path-utils make_absolute_path "$dir2/syml")" * ok 40: absolute path works as expected * expecting success: a=a && # 1 a=$a$a$a$a$a$a$a$a$a$a$a$a$a$a$a$a && # 16 a=$a$a$a$a$a$a$a$a$a$a$a$a$a$a$a$a && # 256 a=$a$a$a$a$a$a$a$a$a$a$a$a$a$a$a$a && # 4096 a=${a}q && >path4 && git update-index --add path4 && ( git ls-files -s path4 | sed -e "s/ .*/ /" | tr -d "\012" echo "$a" ) | git update-index --index-info && len=$(git ls-files "a*" | wc -c) && test $len = 4098 * ok 41: very long name in the index handled sanely * fixed 1 known breakage(s) * still have 1 known breakage(s) * passed all remaining 40 test(s) *** t0001-init.sh *** Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/.git/ * expecting success: ( unset GIT_DIR GIT_WORK_TREE mkdir plain && cd plain && git init ) && check_config plain/.git false unset Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/plain/.git/ * ok 1: plain * expecting success: if ( unset GIT_DIR mkdir plain-wt && cd plain-wt && GIT_WORK_TREE=$(pwd) git init ) then echo Should have failed -- GIT_WORK_TREE should not be used false fi fatal: GIT_WORK_TREE (or --work-tree=<directory>) not allowed without specifying GIT_DIR (or --git-dir=<directory>) * ok 2: plain with GIT_WORK_TREE * expecting success: ( unset GIT_DIR GIT_WORK_TREE GIT_CONFIG mkdir plain-bare-1 && cd plain-bare-1 && git --bare init ) && check_config plain-bare-1 true unset Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/plain-bare-1/ * ok 3: plain bare * expecting success: if ( unset GIT_DIR GIT_CONFIG mkdir plain-bare-2 && cd plain-bare-2 && GIT_WORK_TREE=$(pwd) git --bare init ) then echo Should have failed -- GIT_WORK_TREE should not be used false fi fatal: GIT_WORK_TREE (or --work-tree=<directory>) not allowed without specifying GIT_DIR (or --git-dir=<directory>) * ok 4: plain bare with GIT_WORK_TREE * expecting success: ( unset GIT_CONFIG mkdir git-dir-bare.git && GIT_DIR=git-dir-bare.git git init ) && check_config git-dir-bare.git true unset Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/git-dir-bare.git/ * ok 5: GIT_DIR bare * expecting success: ( unset GIT_DIR GIT_WORK_TREE GIT_CONFIG mkdir init-bare.git && cd init-bare.git && git init --bare ) && check_config init-bare.git true unset Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/init-bare.git/ * ok 6: init --bare * expecting success: ( unset GIT_CONFIG mkdir non-bare && cd non-bare && GIT_DIR=.git git init ) && check_config non-bare/.git false unset Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/non-bare/.git/ * ok 7: GIT_DIR non-bare * expecting success: ( unset GIT_CONFIG mkdir git-dir-wt-1.git && GIT_WORK_TREE=$(pwd) GIT_DIR=git-dir-wt-1.git git init ) && check_config git-dir-wt-1.git false "$(pwd)" Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/git-dir-wt-1.git/ * ok 8: GIT_DIR & GIT_WORK_TREE (1) * expecting success: if ( unset GIT_CONFIG mkdir git-dir-wt-2.git && GIT_WORK_TREE=$(pwd) GIT_DIR=git-dir-wt-2.git git --bare init ) then echo Should have failed -- --bare should not be used false fi fatal: GIT_WORK_TREE (or --work-tree=<directory>) not allowed without specifying GIT_DIR (or --git-dir=<directory>) * ok 9: GIT_DIR & GIT_WORK_TREE (2) * expecting success: ( unset GIT_CONFIG GIT_WORK_TREE GIT_CONFIG mkdir again && cd again && git init >out1 2>err1 && git init >out2 2>err2 ) && grep "Initialized empty" again/out1 && grep "Reinitialized existing" again/out2 && >again/empty && test_cmp again/empty again/err1 && test_cmp again/empty again/err2 Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/again/.git/ Reinitialized existing Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/again/.git/ * ok 10: reinit * expecting success: mkdir template-source && echo content >template-source/file && ( mkdir template-custom && cd template-custom && git init --template=../template-source ) && test_cmp template-source/file template-custom/.git/file Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/template-custom/.git/ * ok 11: init with --template * expecting success: ( mkdir template-plain && cd template-plain && git init ) && test -f template-plain/.git/info/exclude && ( mkdir template-blank && cd template-blank && git init --template= ) && ! test -f template-blank/.git/info/exclude Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/template-plain/.git/ Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/template-blank/.git/ * ok 12: init with --template (blank) * expecting success: ( HOME="`pwd`" && export HOME && test_config="$HOME"/.gitconfig && unset GIT_CONFIG_NOGLOBAL && git config -f "$test_config" core.bare false && git config -f "$test_config" core.sharedRepository 0640 && mkdir init-bare-shared-override && cd init-bare-shared-override && git init --bare --shared=0666 ) && check_config init-bare-shared-override true unset && test x0666 = \ x`git config -f init-bare-shared-override/config core.sharedRepository` Initialized empty shared Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/init-bare-shared-override/ * ok 13: init --bare/--shared overrides system/global config * expecting success: ( HOME="`pwd`" && export HOME && test_config="$HOME"/.gitconfig && unset GIT_CONFIG_NOGLOBAL && git config -f "$test_config" core.sharedRepository 0666 && mkdir shared-honor-global && cd shared-honor-global && git init ) && test x0666 = \ x`git config -f shared-honor-global/.git/config core.sharedRepository` Initialized empty shared Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0001-init/shared-honor-global/.git/ * ok 14: init honors global core.sharedRepository * passed all 14 test(s) *** t0002-gitfile.sh *** Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0002-gitfile/.git/ * expecting success: REAL="$(pwd)/.real" && mv .git "$REAL" * ok 1: initial setup * expecting success: echo "gitdir $REAL" >.git && if git rev-parse 2>.err then echo "git rev-parse accepted an invalid .git file" false fi && if ! grep "Invalid gitfile format" .err then echo "git rev-parse returned wrong error" false fi fatal: Invalid gitfile format: .git * ok 2: bad setup: invalid .git file format * expecting success: echo "gitdir: $REAL.not" >.git && if git rev-parse 2>.err then echo "git rev-parse accepted an invalid .git file path" false fi && if ! grep "Not a git repository" .err then echo "git rev-parse returned wrong error" false fi fatal: Not a git repository: /root/foo/git-core-1.6.2.3/t/trash directory.t0002-gitfile/.real.not * ok 3: bad setup: invalid .git file path * expecting success: echo "gitdir: $REAL" >.git && test "$REAL" = "$(git rev-parse --git-dir)" * ok 4: final setup + check rev-parse --git-dir * expecting success: echo "foo" >bar && SHA=$(cat bar | git hash-object -w --stdin) && objck $SHA * ok 5: check hash-object * expecting success: git cat-file blob $SHA >actual && test_cmp bar actual * ok 6: check cat-file * expecting success: if test -f "$REAL/index" then echo "Hmm, $REAL/index exists?" false fi && rm -f "$REAL/objects/$(objpath $SHA)" && git update-index --add bar && if ! test -f "$REAL/index" then echo "$REAL/index not found" false fi && objck $SHA * ok 7: check update-index * expecting success: SHA=$(git write-tree) && objck $SHA * ok 8: check write-tree * expecting success: SHA=$(echo "commit bar" | git commit-tree $SHA) && objck $SHA * ok 9: check commit-tree * expecting success: echo $SHA >"$REAL/HEAD" && test "$SHA" = "$(git rev-list HEAD)" * ok 10: check rev-list * passed all 10 test(s) *** t0003-attributes.sh *** Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0003-attributes/.git/ * expecting success: mkdir -p a/b/d a/c && ( echo "f test=f" echo "a/i test=a/i" ) >.gitattributes && ( echo "g test=a/g" && echo "b/g test=a/b/g" ) >a/.gitattributes && ( echo "h test=a/b/h" && echo "d/* test=a/b/d/*" ) >a/b/.gitattributes * ok 1: setup * expecting success: attr_check f f && attr_check a/f f && attr_check a/c/f f && attr_check a/g a/g && attr_check a/b/g a/b/g && attr_check b/g unspecified && attr_check a/b/h a/b/h && attr_check a/b/d/g "a/b/d/*" * ok 2: attribute test * expecting success: cat <<EOF > expect f: test: f a/f: test: f a/c/f: test: f a/g: test: a/g a/b/g: test: a/b/g b/g: test: unspecified a/b/h: test: a/b/h a/b/d/g: test: a/b/d/* EOF sed -e "s/:.*//" < expect | git check-attr --stdin test > actual && test_cmp expect actual * ok 3: attribute test: read paths from stdin * expecting success: attr_check a/i a/i && attr_check subdir/a/i unspecified * ok 4: root subdir attribute test * expecting success: git clone --bare . bare.git && cd bare.git Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0003-attributes/bare.git/ warning: You appear to have cloned an empty repository. * ok 5: setup bare * expecting success: ( echo "f test=f" echo "a/i test=a/i" ) >.gitattributes && attr_check f unspecified && attr_check a/f unspecified && attr_check a/c/f unspecified && attr_check a/i unspecified && attr_check subdir/a/i unspecified * ok 6: bare repository: check that .gitattribute is ignored * expecting success: ( echo "f test=f" echo "a/i test=a/i" ) >info/attributes && attr_check f f && attr_check a/f f && attr_check a/c/f f && attr_check a/i a/i && attr_check subdir/a/i unspecified * ok 7: bare repository: test info/attributes * passed all 7 test(s) *** t0004-unwritable.sh *** Initialized empty Git repository in /root/foo/git-core-1.6.2.3/t/trash directory.t0004-unwritable/.git/ * expecting success: >file && git add file && test_tick && git commit -m initial && echo >file && git add file [master (root-commit) 1bd44cb] initial 0 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 file * ok 1: setup * expecting success: ( chmod a-w .git/objects .git/objects/?? && test_must_fail git write-tree ) status=$? chmod 775 .git/objects .git/objects/?? (exit $status) 47d83249b05cf06491633be38ea8637c5b356acc * FAIL 2: write-tree should notice unwritable repository ( chmod a-w .git/objects .git/objects/?? && test_must_fail git write-tree ) status=$? chmod 775 .git/objects .git/objects/?? (exit $status) * expecting success: ( chmod a-w .git/objects .git/objects/?? && test_must_fail git commit -m second ) status=$? chmod 775 .git/objects .git/objects/?? (exit $status) [master 601cf8b] second 1 files changed, 1 insertions(+), 0 deletions(-) * FAIL 3: commit should notice unwritable repository ( chmod a-w .git/objects .git/objects/?? && test_must_fail git commit -m second ) status=$? chmod 775 .git/objects .git/objects/?? (exit $status) * expecting success: ( echo 6O >file && chmod a-w .git/objects .git/objects/?? && test_must_fail git update-index file ) status=$? chmod 775 .git/objects .git/objects/?? (exit $status) * FAIL 4: update-index should notice unwritable repository ( echo 6O >file && chmod a-w .git/objects .git/objects/?? && test_must_fail git update-index file ) status=$? chmod 775 .git/objects .git/objects/?? (exit $status) * expecting success: ( echo b >file && chmod a-w .git/objects .git/objects/?? && test_must_fail git add file ) status=$? chmod 775 .git/objects .git/objects/?? (exit $status) * FAIL 5: add should notice unwritable repository ( echo b >file && chmod a-w .git/objects .git/objects/?? && test_must_fail git add file ) status=$? chmod 775 .git/objects .git/objects/?? (exit $status) * failed 4 among 5 test(s) make[3]: *** [t0004-unwritable.sh] Error 1 make[3]: Leaving directory `/root/foo/git-core-1.6.2.3/t' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/foo/git-core-1.6.2.3/t' make[1]: *** [test] Error 2 make[1]: Leaving directory `/root/foo/git-core-1.6.2.3' make: *** [build-arch-stamp] Error 2 Build command 'cd git-core-1.6.2.3 && dpkg-buildpackage -b -uc' failed. E: Child process failed -- Marc Mutz <m...@kdab.com> | Senior Software Engineer KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090 KDAB - Qt Experts - Platform-Independent Software Solutions -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org