Skip Menu |
 

This queue is for tickets about the Git-Database CPAN distribution.

Report information
The Basics
Id: 119915
Status: resolved
Priority: 0/
Queue: Git-Database

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.006
Fixed in: 0.007



Subject: t/backends.t fails (with newer git?)
Download (untitled) / with headers
text/plain 1.8k
On some of my systems I see the following errors in t/backends.t: # Available backends: # - None # - Git::Sub # - Git::Wrapper # git version 2.11.0 error: Kurzer SHA-1 577ecc ist mehrdeutig. Hinweis: Die Kandidaten sind: Hinweis: 577ecc2 blob Hinweis: 577ecca blob Use of uninitialized value $size in substr at /home/cpansand/.cpan/build/2017011918/Git-Database-0.006-GRIkzC/blib/lib/Git/Database/Backend/Git/Sub.pm line 72. # Child (Git::Sub & ambiguous) exited without calling finalize() # Failed test 'Git::Sub & ambiguous' # at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line 279. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 32. t/backends.t ............. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/32 subtests (less 3 skipped subtests: 28 okay) And it also fails with an English locale: # Available backends: # - None # - Git::Sub # - Git::Wrapper # git version 2.11.0 error: short SHA1 577ecc is ambiguous hint: The candidates are: hint: 577ecc2 blob hint: 577ecca blob Use of uninitialized value $size in substr at /home/cpansand/.cpan/build/2017011918/Git-Database-0.006-0/blib/lib/Git/Database/Backend/Git/Sub.pm line 72. Can't locate object method "new" via package "Git::Database::Object::6" (perhaps you forgot to load "Git::Database::Object::6"?) at /home/cpansand/.cpan/build/2017011918/Git-Database-0.006-0/blib/lib/Git/Database/Role/ObjectReader.pm line 33. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 32. t/backends.t ............. Dubious, test returned 255 (wstat 65280, 0xff00) All 32 subtests passed (less 3 skipped subtests: 29 okay) I can reproduce the problem only on a freebsd 10.3 system which has git 2.11.0 installed. 2.10.2 and earlier seem to be OK.
Download (untitled) / with headers
text/plain 531b
On Thu Jan 19 14:00:05 2017, SREZIC wrote: Show quoted text
> On some of my systems I see the following errors in t/backends.t: > > # git version 2.11.0 > error: short SHA1 577ecc is ambiguous > hint: The candidates are: > hint: 577ecc2 blob > hint: 577ecca blob > > I can reproduce the problem only on a freebsd 10.3 system which has > git 2.11.0 installed. 2.10.2 and earlier seem to be OK.
I can reproduce it too with git 2.11.0. It looks like the error message from Git has changed. I will look into it. Thanks for the report. -- BooK
Download (untitled) / with headers
text/plain 594b
On 2017-01-28 16:48:02, BOOK wrote: Show quoted text
> On Thu Jan 19 14:00:05 2017, SREZIC wrote:
> > On some of my systems I see the following errors in t/backends.t: > > > > # git version 2.11.0 > > error: short SHA1 577ecc is ambiguous > > hint: The candidates are: > > hint: 577ecc2 blob > > hint: 577ecca blob > > > > I can reproduce the problem only on a freebsd 10.3 system which has > > git 2.11.0 installed. 2.10.2 and earlier seem to be OK.
> > I can reproduce it too with git 2.11.0. It looks like the error message > from Git has changed. I will look into it.
It seems to be fixed in 0.007.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.