[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: [rt.cpan.org #28132] Problem when building



On Tue, 17 Jan 2012 04:55:08 -0300, Martín Ferrari wrote:

> Not the problem is that 0.83 is in experimental, something by
> cowbuilder does not like too much...

Works fine with
* adding experimental to /e/a/sources.list
* and pinning it in /e/a/preferences like

# cat /etc/apt/preferences
Package: *
Pin: release a=experimental
Pin-Priority: 101

But the build fails:

dpkg-source: warning: extracting unsigned source package (libdevice-cdio-perl_0.3.0-1.dsc)
dpkg-source: info: extracting libdevice-cdio-perl in libdevice-cdio-perl-0.3.0
dpkg-source: info: unpacking libdevice-cdio-perl_0.3.0.orig.tar.gz
dpkg-source: info: unpacking libdevice-cdio-perl_0.3.0-1.debian.tar.gz
dpkg-source: info: applying 02_wrong_function_name.patch
dpkg-source: info: applying 03_version_information_in_swig.patch
dpkg-source: info: applying 04_wrong_handling_of_output_parameters.patch
I: Building the package
W: no hooks of type A found -- ignoring
I: Running cd tmp/buildd/*/ && dpkg-buildpackage -us -uc  -rfakeroot
dpkg-buildpackage: source package libdevice-cdio-perl
dpkg-buildpackage: source version 0.3.0-1
dpkg-buildpackage: source changed by gregor herrmann <gregoa@debian.org>
 dpkg-source --before-build libdevice-cdio-perl-0.3.0
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh clean --buildsystem=perl_build
   dh_testdir -O--buildsystem=perl_build
   dh_auto_clean -O--buildsystem=perl_build
   dh_clean -O--buildsystem=perl_build
 dpkg-source -b libdevice-cdio-perl-0.3.0
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building libdevice-cdio-perl using existing ./libdevice-cdio-perl_0.3.0.orig.tar.gz
dpkg-source: info: building libdevice-cdio-perl in libdevice-cdio-perl_0.3.0-1.debian.tar.gz
dpkg-source: info: building libdevice-cdio-perl in libdevice-cdio-perl_0.3.0-1.dsc
 debian/rules build
dh build --buildsystem=perl_build
   dh_testdir -O--buildsystem=perl_build
   dh_auto_configure -O--buildsystem=perl_build
Good, I found libcdio version 0.83 installed.
Checking for SWIG...ok
Checking if cc supports "-Wno-strict-aliasing"...yes
Checking if cc supports "-Wno-unused-function"...yes
Checking if cc supports "-Wno-unused-value"...yes
Checking if cc supports "-Wno-unused-function"...yes
Checking if cc supports "-Wno-unused-variable"...yes
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Device-Cdio' version 'v0.3.0'
   dh_auto_build -O--buildsystem=perl_build
Building Device-Cdio
swig/device.swg:20: Error: Unable to find 'cdio/version.h'
swig/perliso9660.swg:21: Error: Unable to find 'cdio/version.h'
   debian/rules override_dh_auto_test
make[1]: Entering directory `/tmp/buildd/libdevice-cdio-perl-0.3.0'
TZ=UTC dh_auto_test
swig/device.swg:20: Error: Unable to find 'cdio/version.h'
swig/perliso9660.swg:21: Error: Unable to find 'cdio/version.h'
t/00.load.t .......... ok
t/01.pod-coverage.t .. ok
t/01.pod.t ........... ok
t/02.default.t ....... ok
t/05.ops.t ........... 
Failed 6/6 subtests 
t/06.bincue.t ........ ok
t/06.image.t ......... ok
t/06.toc.t ........... ok
#  isdst flags differ 1 0
t/07.iso.t ........... ok

#   Failed test 'ISO 9660 file stats'
#   at t/07.iso1.t line 49.
#     Structures begin differing at:
#          $got->[0]{LSN} = '/'
#     $expected->[0]{LSN} = '23'
# Looks like you failed 1 test of 5.
t/07.iso1.t .......... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests 

#   Failed test 'CD 9660 file stats: find_lsn(26)'
#   at t/07.iso2.t line 39.
#     Structures begin differing at:
#          $got->{sec_size} = '26'
#     $expected->{sec_size} = '9'

#   Failed test 'CD 9660 file stats: stat('COPYING.;1)''
#   at t/07.iso2.t line 43.
#     Structures begin differing at:
#          $got = undef
#     $expected = HASH(0x87e2e30)

#   Failed test 'Read directory: readdir('/')'
#   at t/07.iso2.t line 56.
#     Structures begin differing at:
#          $got->[0]{LSN} = '/'
#     $expected->[0]{LSN} = '23'
Use of uninitialized value in division (/) at t/07.iso2.t line 60.
Use of uninitialized value $len in substr at t/07.iso2.t line 416.
Use of uninitialized value $len in substr at t/07.iso2.t line 416.
# Looks like you failed 3 tests of 5.
t/07.iso2.t .......... 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/5 subtests 

#   Failed test 'CD 9660 file stats'
#   at t/07.iso3.t line 39.
#     Structures begin differing at:
#          $got->{LSN} = 'copying'
#     $expected->{LSN} = '24'
Argument "COPYING.;1" isn't numeric in division (/) at t/07.iso3.t line 43.
# Looks like you failed 1 test of 3.
t/07.iso3.t .......... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 
t/10.cdda.t .......... ok
t/10.read.t .......... ok
t/11.dev.t ........... 
All 1 subtests passed 

Test Summary Report
-------------------
t/05.ops.t         (Wstat: 11 Tests: 0 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
t/07.iso1.t        (Wstat: 256 Tests: 5 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
t/07.iso2.t        (Wstat: 768 Tests: 5 Failed: 3)
  Failed tests:  2-4
  Non-zero exit status: 3
t/07.iso3.t        (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
t/11.dev.t         (Wstat: 11 Tests: 1 Failed: 0)
  Non-zero wait status: 11
  Parse errors: No plan found in TAP output
Files=15, Tests=93,  4 wallclock secs ( 0.16 usr  0.04 sys +  1.97 cusr  0.23 csys =  2.40 CPU)
Result: FAIL
Failed 5/15 test programs. 5/93 subtests failed.
dh_auto_test: perl Build test returned exit code 255
make[1]: *** [override_dh_auto_test] Error 255
make[1]: Leaving directory `/tmp/buildd/libdevice-cdio-perl-0.3.0'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



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: Kurt Ostbahn & Die Kombo: Tuat ma laad

Attachment: signature.asc
Description: Digital signature


Reply to: