Bug#713409: license-reconcile: FTBFS: dh_auto_test: perl Build test returned exit code 255

2013-08-10 Thread gregor herrmann
On Fri, 09 Aug 2013 19:17:04 +, Oleg Gashev wrote:

 Reproduced:

Cool!

Since you are the first one to be able to reproduce it, I hope you
get a chance to investigate the problem :)


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
   `-   


signature.asc
Description: Digital signature


Bug#713409: license-reconcile: FTBFS: dh_auto_test: perl Build test returned exit code 255

2013-08-10 Thread Oleg Gashev

On 08/10/2013 08:47 AM, gregor herrmann wrote:

On Fri, 09 Aug 2013 19:17:04 +, Oleg Gashev wrote:


Reproduced:


Cool!

Since you are the first one to be able to reproduce it, I hope you
get a chance to investigate the problem :)


Cheers,
gregor



% git diff
diff --git a/lib/Debian/LicenseReconcile/Utils.pm 
b/lib/Debian/LicenseReconcile/Utils.pm

index f0b4eda..f2343dc 100644
--- a/lib/Debian/LicenseReconcile/Utils.pm
+++ b/lib/Debian/LicenseReconcile/Utils.pm
@@ -16,7 +16,7 @@ sub get_files {
 return if $File::Find::name =~ m{\A\.pc};
 push @files, substr($File::Find::name,length($directory)+1) if 
! -d $_;

 }, $directory);
-return @files;
+return sort @files;
 }

 =head1 NAME

--
Best regards, Oleg Gashev.


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#713409: license-reconcile: FTBFS: dh_auto_test: perl Build test returned exit code 255

2013-08-10 Thread gregor herrmann
On Sat, 10 Aug 2013 12:49:50 +, Oleg Gashev wrote:

 % git diff
 diff --git a/lib/Debian/LicenseReconcile/Utils.pm
 b/lib/Debian/LicenseReconcile/Utils.pm
 index f0b4eda..f2343dc 100644
 --- a/lib/Debian/LicenseReconcile/Utils.pm
 +++ b/lib/Debian/LicenseReconcile/Utils.pm
 @@ -16,7 +16,7 @@ sub get_files {
  return if $File::Find::name =~ m{\A\.pc};
  push @files, substr($File::Find::name,length($directory)+1)
 if ! -d $_;
  }, $directory);
 -return @files;
 +return sort @files;
  }
 
  =head1 NAME
 

Great, thanks!

Building now, uploading shortly


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
   `-   


signature.asc
Description: Digital signature


Bug#713409: license-reconcile: FTBFS: dh_auto_test: perl Build test returned exit code 255

2013-08-09 Thread Oleg Gashev

Reproduced:
dpkg-buildpackage: source package license-reconcile
dpkg-buildpackage: source version 0.2
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by gregor herrmann gre...@debian.org
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build license-reconcile
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b license-reconcile
dpkg-source: info: using source format `3.0 (native)'
dpkg-source: info: building license-reconcile in 
license-reconcile_0.2.tar.gz

dpkg-source: info: building license-reconcile in license-reconcile_0.2.dsc
 debian/rules build
dh build
   dh_testdir
   dh_auto_configure
WARNING: the following files are missing in your kit:
README
Please inform the author.

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Debian-LicenseReconcile' version '0.01'
   dh_auto_build
Building Debian-LicenseReconcile
   dh_auto_test
t/00-load.t ... 3/15 # Testing Debian::LicenseReconcile 
0.01, Perl 5.014002, /usr/bin/perl

bin/license-reconcile syntax OK
t/00-load.t ... ok
t/01-errors.t . ok
t/02-format.t . ok
t/03-parse.t .. ok
t/04-parse.t .. ok
t/05-duplicate.t .. ok
t/06-filter.t . ok
t/08-map_directory.t .. ok
t/09-licensecheck.t ... ok
t/09-nolicense.t .. ok
t/09-tty.t  ok
t/09-wtfpl.t .. ok
t/10-get_files.t .. ok
t/11-rules.t .. ok
t/12-rules-pattern.t .. ok
t/13-rules-contains.t . ok
t/14-rules-mmagic.t ... ok
t/15-rules-matches.t .. ok
t/16-rules-maxversion.t ... 1/3
#   Failed test at t/16-rules-maxversion.t line 42.
# Compared $data-[0]{file}
#got : 'base.h'
# expect : 'base'
# Looks like you failed 1 test of 3.
t/16-rules-maxversion.t ... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
t/17-copyright.t .. ok
t/17-kungliga.t ... ok
t/17-rltty.t .. ok
t/18-app.t  ok
t/19-rules-verify.t ... 3/3
#   Failed test at t/19-rules-verify.t line 40.
# Compared $data-[0]{file}
#got : 'base.h'
# expect : 'base'
# Looks like you failed 1 test of 3.
t/19-rules-verify.t ... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
t/20-copyright_extract.t .. ok
t/manifest.t .. skipped: Author tests not required for 
installation
t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.08 required 
for testing POD coverage

t/pod.t ... ok

Test Summary Report
---
t/16-rules-maxversion.t (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
t/19-rules-verify.t (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=28, Tests=219, 15 wallclock secs ( 0.33 usr  0.43 sys +  8.07 cusr 
 5.49 csys = 14.32 CPU)

Result: FAIL
Failed 2/28 test programs. 2/219 subtests failed.
dh_auto_test: perl Build test returned exit code 255
make: *** [build] Error 255
dpkg-buildpackage: error: debian/rules build gave error exit status 2



locale

LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#713409: license-reconcile: FTBFS: dh_auto_test: perl Build test returned exit code 255

2013-08-07 Thread gregor herrmann
On Wed, 07 Aug 2013 15:59:11 +0200, Lucas Nussbaum wrote:

   I wonder if it's due to a sort order in @data?
  Hm, yeah. guess mode=wildMaybe locale-related?/guess.
  Do you happen to know the locale of the build on AWS? I tried with a
  few different ones now locally but didn't find one that sorts base.h
  before base.
 
 I think it's:
 # locale
[POSIX]

 or, if sbuild does some magic to use the locale from outside the chroot inside
 the chroot:
 # locale
[en_US.UTF-8]

Thanks for checking!

I had tried POSIX before and now checked with en_US.UTF-8 -- and
still no test failures.

Let's hope someone else has better ideas.

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
   `-   


signature.asc
Description: Digital signature


Bug#713409: license-reconcile: FTBFS: dh_auto_test: perl Build test returned exit code 255

2013-08-07 Thread gregor herrmann
On Sun, 23 Jun 2013 09:02:01 +0200, Lucas Nussbaum wrote:

   Source: license-reconcile
   Version: 0.2

#   Failed test at t/16-rules-maxversion.t line 42.
# Compared $data-[0]{file}
#got : 'base.h'
# expect : 'base'

#   Failed test at t/19-rules-verify.t line 40.
# Compared $data-[0]{file}
#got : 'base.h'
# expect : 'base'

  I can't reproduce these test failures, even with running the two
  tests in a loop for quite some time.
  Anyone else?
 Erm, I can... 

I didn't that that :)

 I wonder if it's due to a sort order in @data?

Hm, yeah. guess mode=wildMaybe locale-related?/guess.

Do you happen to know the locale of the build on AWS? I tried with a
few different ones now locally but didn't find one that sorts base.h
before base.

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
   `-   


signature.asc
Description: Digital signature


Bug#713409: license-reconcile: FTBFS: dh_auto_test: perl Build test returned exit code 255

2013-08-07 Thread Lucas Nussbaum
On 07/08/13 at 15:13 +0200, gregor herrmann wrote:
 On Sun, 23 Jun 2013 09:02:01 +0200, Lucas Nussbaum wrote:
 
Source: license-reconcile
Version: 0.2
 
 #   Failed test at t/16-rules-maxversion.t line 42.
 # Compared $data-[0]{file}
 #got : 'base.h'
 # expect : 'base'
 
 #   Failed test at t/19-rules-verify.t line 40.
 # Compared $data-[0]{file}
 #got : 'base.h'
 # expect : 'base'
 
   I can't reproduce these test failures, even with running the two
   tests in a loop for quite some time.
   Anyone else?
  Erm, I can... 
 
 I didn't that that :)
 
  I wonder if it's due to a sort order in @data?
 
 Hm, yeah. guess mode=wildMaybe locale-related?/guess.
 
 Do you happen to know the locale of the build on AWS? I tried with a
 few different ones now locally but didn't find one that sorts base.h
 before base.

I think it's:
# locale
LANG=
LANGUAGE=
LC_CTYPE=POSIX
LC_NUMERIC=POSIX
LC_TIME=POSIX
LC_COLLATE=POSIX
LC_MONETARY=POSIX
LC_MESSAGES=POSIX
LC_PAPER=POSIX
LC_NAME=POSIX
LC_ADDRESS=POSIX
LC_TELEPHONE=POSIX
LC_MEASUREMENT=POSIX
LC_IDENTIFICATION=POSIX
LC_ALL=

or, if sbuild does some magic to use the locale from outside the chroot inside
the chroot:
# locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=

Lucas


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#713409: license-reconcile: FTBFS: dh_auto_test: perl Build test returned exit code 255

2013-06-23 Thread Lucas Nussbaum
On 22/06/13 at 21:21 +0200, gregor herrmann wrote:
 Control: tag -1 + unreproducible
 
 On Sat, 22 Jun 2013 15:24:21 +0200, Lucas Nussbaum wrote:
 
  Source: license-reconcile
  Version: 0.2
  Severity: serious
  Tags: jessie sid
  User: debian...@lists.debian.org
  Usertags: qa-ftbfs-20130620 qa-ftbfs
  Justification: FTBFS on amd64
  
  Hi,
  
  During a rebuild of all packages in sid, your package failed to build on
  amd64.
  
  Relevant part:
 
   #   Failed test at t/16-rules-maxversion.t line 42.
   # Compared $data-[0]{file}
   #got : 'base.h'
   # expect : 'base'
   # Looks like you failed 1 test of 3.
   t/16-rules-maxversion.t ... 
   Dubious, test returned 1 (wstat 256, 0x100)
   Failed 1/3 subtests 
 
   #   Failed test at t/19-rules-verify.t line 40.
   # Compared $data-[0]{file}
   #got : 'base.h'
   # expect : 'base'
   # Looks like you failed 1 test of 3.
   t/19-rules-verify.t ... 
   Dubious, test returned 1 (wstat 256, 0x100)
   Failed 1/3 subtests 
 
 
 I can't reproduce these test failures, even with running the two
 tests in a loop for quite some time.
 
 Anyone else?

Erm, I can... I wonder if it's due to a sort order in @data?

Lucas


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#713409: license-reconcile: FTBFS: dh_auto_test: perl Build test returned exit code 255

2013-06-22 Thread Lucas Nussbaum
Source: license-reconcile
Version: 0.2
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
  debian/rules build
 dh build
dh_testdir
dh_auto_configure
 WARNING: the following files are missing in your kit:
   README
 Please inform the author.
 
 Created MYMETA.yml and MYMETA.json
 Creating new 'Build' script for 'Debian-LicenseReconcile' version '0.01'
dh_auto_build
 Building Debian-LicenseReconcile
dh_auto_test
 # Testing Debian::LicenseReconcile 0.01, Perl 5.014002, /usr/bin/perl
 bin/license-reconcile syntax OK
 t/00-load.t ... ok
 t/01-errors.t . ok
 t/02-format.t . ok
 t/03-parse.t .. ok
 t/04-parse.t .. ok
 t/05-duplicate.t .. ok
 t/06-filter.t . ok
 t/08-map_directory.t .. ok
 t/09-licensecheck.t ... ok
 t/09-nolicense.t .. ok
 t/09-tty.t  ok
 t/09-wtfpl.t .. ok
 t/10-get_files.t .. ok
 t/11-rules.t .. ok
 t/12-rules-pattern.t .. ok
 t/13-rules-contains.t . ok
 t/14-rules-mmagic.t ... ok
 t/15-rules-matches.t .. ok
 
 #   Failed test at t/16-rules-maxversion.t line 42.
 # Compared $data-[0]{file}
 #got : 'base.h'
 # expect : 'base'
 # Looks like you failed 1 test of 3.
 t/16-rules-maxversion.t ... 
 Dubious, test returned 1 (wstat 256, 0x100)
 Failed 1/3 subtests 
 t/17-copyright.t .. ok
 t/17-kungliga.t ... ok
 t/17-rltty.t .. ok
 t/18-app.t  ok
 
 #   Failed test at t/19-rules-verify.t line 40.
 # Compared $data-[0]{file}
 #got : 'base.h'
 # expect : 'base'
 # Looks like you failed 1 test of 3.
 t/19-rules-verify.t ... 
 Dubious, test returned 1 (wstat 256, 0x100)
 Failed 1/3 subtests 
 t/20-copyright_extract.t .. ok
 t/manifest.t .. skipped: Author tests not required for 
 installation
 t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.08 required for 
 testing POD coverage
 t/pod.t ... skipped: Test::Pod 1.22 required for testing POD
 
 Test Summary Report
 ---
 t/16-rules-maxversion.t (Wstat: 256 Tests: 3 Failed: 1)
   Failed test:  3
   Non-zero exit status: 1
 t/19-rules-verify.t (Wstat: 256 Tests: 3 Failed: 1)
   Failed test:  3
   Non-zero exit status: 1
 Files=28, Tests=204,  6 wallclock secs ( 0.17 usr  0.18 sys +  4.43 cusr  
 1.27 csys =  6.05 CPU)
 Result: FAIL
 Failed 2/28 test programs. 2/204 subtests failed.
 dh_auto_test: perl Build test returned exit code 255

The full build log is available from:
   
http://aws-logs.debian.net/ftbfs-logs/2013/06/20/license-reconcile_0.2_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: Re: Bug#713409: license-reconcile: FTBFS: dh_auto_test: perl Build test returned exit code 255

2013-06-22 Thread Debian Bug Tracking System
Processing control commands:

 tag -1 + unreproducible
Bug #713409 [src:license-reconcile] license-reconcile: FTBFS: dh_auto_test: 
perl Build test returned exit code 255
Added tag(s) unreproducible.

-- 
713409: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713409
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#713409: license-reconcile: FTBFS: dh_auto_test: perl Build test returned exit code 255

2013-06-22 Thread gregor herrmann
Control: tag -1 + unreproducible

On Sat, 22 Jun 2013 15:24:21 +0200, Lucas Nussbaum wrote:

 Source: license-reconcile
 Version: 0.2
 Severity: serious
 Tags: jessie sid
 User: debian...@lists.debian.org
 Usertags: qa-ftbfs-20130620 qa-ftbfs
 Justification: FTBFS on amd64
 
 Hi,
 
 During a rebuild of all packages in sid, your package failed to build on
 amd64.
 
 Relevant part:

  #   Failed test at t/16-rules-maxversion.t line 42.
  # Compared $data-[0]{file}
  #got : 'base.h'
  # expect : 'base'
  # Looks like you failed 1 test of 3.
  t/16-rules-maxversion.t ... 
  Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/3 subtests 

  #   Failed test at t/19-rules-verify.t line 40.
  # Compared $data-[0]{file}
  #got : 'base.h'
  # expect : 'base'
  # Looks like you failed 1 test of 3.
  t/19-rules-verify.t ... 
  Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/3 subtests 


I can't reproduce these test failures, even with running the two
tests in a loop for quite some time.

Anyone else?


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: Mercedes Sosa: Vidala De La Soledad


signature.asc
Description: Digital signature