Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#682351: git-annex: build fails because of failing tests

5 views
Skip to first unread message

Motiejus Jakštys

unread,
Jul 21, 2012, 6:00:03 PM7/21/12
to
Package: git-annex
Version: 3.20120614~bpo60+1
Severity: serious
Justification: fails to build from source


Building git-annex in pbuilder on squeeze having backports.debian.org
repository enabled yields this error:

$ sudo pbuilder --build git-annex_3.20120614\~bpo60+1.dsc

Log attached.

-- System Information:
Debian Release: 6.0.5
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32+10mo (SMP w/2 CPU cores)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-annex depends on:
ii curl 7.21.0-2.1+squeeze2 Get a file from an HTTP, HTTPS or
ii git [git-core] 1:1.7.2.5-3 fast, scalable, distributed revisi
ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib
ii libffi5 3.0.9-3 Foreign Function Interface library
ii libgmp3c2 2:4.3.2+dfsg-1 Multiprecision arithmetic library
ii libpcre3 8.02-1.1 Perl 5 Compatible Regular Expressi
ii openssh-client 1:5.5p1-6+squeeze2 secure shell (SSH) client, for sec
ii rsync 3.0.7-2 fast remote file copy program (lik
ii uuid 1.6.2-1 the Universally Unique Identifier
ii wget 1.12-2.1 retrieves files from the web

git-annex recommends no packages.

Versions of packages git-annex suggests:
pn bup <none> (no description available)
ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep
ii graphviz 2.26.3-5 rich set of graph drawing tools

-- no debconf information
annex_build.log
signature.asc

Joey Hess

unread,
Jul 21, 2012, 6:40:01 PM7/21/12
to
Motiejus Jakštys wrote:
> Building git-annex in pbuilder on squeeze having backports.debian.org
> repository enabled yields this error:
> Testing 1:blackbox:0:git-annex init
> Testing 1:blackbox:1:git-annex add:0
> Cases: 54 Tried: 15 Errors: 0 Failures: 0fatal: No HEAD commit to compare with (yet)
> fatal: No HEAD commit to compare with (yet)

It sort of looks like your build environment has something causing
deletion or loss of parts of /tmp while git-annex's test suite is
running there.

At least, that's the only hypothesis I can muster that explains
the above, in which a git repository is present for part of two
test cases, and then suddenly loses its HEAD, as well as
the below, in which a git repository in which git config user.name
and git config user.email have both been run suddenly starts complaining
they were not

> Testing 1:blackbox:1:git-annex add:1
> Cases: 54 Tried: 16 Errors: 0 Failures: 0
> *** Please tell me who you are.
>
> Run
>
> git config --global user.email "y...@example.com"
> git config --global user.name "Your Name"
>
> to set your account's default identity.
> Omit --global to set the identity only in this repository.
>
> fatal: empty ident <git-annex test <te...@example.com>> not allowed

Not to mention all these where git clone fails due to
directories it should have just created turning up missing:

> Cases: 54 Tried: 17 Errors: 0 Failures: 1fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 18 Errors: 0 Failures: 2fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 19 Errors: 0 Failures: 3fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 20 Errors: 0 Failures: 4fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 21 Errors: 0 Failures: 5fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 22 Errors: 0 Failures: 6fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 23 Errors: 0 Failures: 7fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 24 Errors: 0 Failures: 8fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 25 Errors: 0 Failures: 9fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 26 Errors: 0 Failures: 10fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 27 Errors: 0 Failures: 11fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 28 Errors: 0 Failures: 12fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 29 Errors: 0 Failures: 13fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 30 Errors: 0 Failures: 14fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 31 Errors: 0 Failures: 15fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory
> Cases: 54 Tried: 32 Errors: 0 Failures: 16fatal: Unable to create '/tmp/buildd/git-annex-3.20120614~bpo60+1/.t/tmprepo/.git/annex/index.lock': No such file or directory

Given all this, and given that this version has successfully autobuilt
on all architectures, I respenctfully suggest you investigate what's
eating /tmp in your build environment.

--
see shy jo
signature.asc

gregor herrmann

unread,
Sep 6, 2012, 2:00:02 PM9/6/12
to
Control: tag -1 + confirmed patch

On Sat, 21 Jul 2012 23:47:36 +0200, Motiejus Jakštys wrote:

> Package: git-annex
> Version: 3.20120614~bpo60+1
> Severity: serious
> Justification: fails to build from source
>
>
> Building git-annex in pbuilder on squeeze having backports.debian.org
> repository enabled yields this error:

FWIW: I tried with the current version from backports
(3.20120629~bpo60+1) in a cowbuilder squeeze+backports chroot, and
the tests also fail for me.

If I then run "debian/rules build" or "make test" in the chroot
manually, the tests pass.

I can only guess that the difference is that p/cowbuilder use the
fancy user/id pbuilder/1234 for building?!


The version in unstable (3.20120825) in a sid cowbuilder chroot fails
too, with slightly different errors but also between blackbox init and blackbox add:

#v+
Testing 1:blackbox:0:git-annex init
Testing 1:blackbox:1:git-annex add:0
Testing 1:blackbox:1:git-annex add:1
Cases: 54 Tried: 16 Errors: 0 Failures: 0
*** Please tell me who you are.

Run

git config --global user.email "y...@example.com"
git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident <git-annex test <te...@example.com>> not allowed
### Failure in: 1:blackbox:1:git-annex add:1
git annex init failed
Testing 1:blackbox:1:git-annex add:2
Cases: 54 Tried: 17 Errors: 0 Failures: 1
#v-
[and so on ...]


The version in testing (3.20120629) in a wheezy cowbuilder chroot
fails like 3.20120825.


Long debugging session told short: p/cowbuilder don't set a name for
their builduser, which makes git explode (the "fatal: empty ident"
errors).


Solution: set GIT_AUTHOR_NAME _and_ GIT_COMMITTER_NAME in test.hs
(additionally to EMAIL; or GIT_AUTHOR_EMAIL and GIT_COMMITTER_EMAIL
instead of EMAIL).

Or run dh_auto_test with GIT_AUTHOR_NAME and GIT_COMMITTER_NAME set
in d/rules.


Both solutions tested with the version in sid.
(And attached.)


Cheers,
gregor

--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Ludwig Hirsch: Der Turm
682351_rules.diff
682351_test.diff
signature.asc

Joey Hess

unread,
Sep 6, 2012, 3:10:01 PM9/6/12
to
gregor herrmann wrote:
> Solution: set GIT_AUTHOR_NAME _and_ GIT_COMMITTER_NAME in test.hs
> (additionally to EMAIL; or GIT_AUTHOR_EMAIL and GIT_COMMITTER_EMAIL
> instead of EMAIL).

I've applied that patch, thanks.

I don't know that this is actually RC, is building on pbuilder some kind
of release requirement? Any upload to fix this in wheezy would need to
go through t-p-u.

--
see shy jo
signature.asc
0 new messages