Bug#456845: libdevice-cdio-perl: FTBFS: tests failed

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Dec 18 08:53:48 UTC 2007


Package: libdevice-cdio-perl
version: 0.2.4-3
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20071217 qa-ftbfs
Justification: FTBFS on i386

Hi,

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

Relevant part:

 > dpkg-source: building libdevice-cdio-perl in libdevice-cdio-perl_0.2.4-3.dsc
 >  debian/rules build
 > test -d debian/patched || install -d debian/patched
 > dpatch  apply-all  
 > applying patch 01_invalid_cflags to ./ ... ok.
 > applying patch 02_wrong_function_name to ./ ... ok.
 > applying patch 03_version_information_in_swig to ./ ... ok.
 > applying patch 04_wrong_handling_of_output_parameters to ./ ... ok.
 > applying patch 05_buffer_overflows_in_perliso9660 to ./ ... ok.
 > applying patch 06_module_build to ./ ... ok.
 > dpatch  cat-all  >>patch-stampT
 > mv -f patch-stampT patch-stamp
 > # remove files that will be regenerated by SWIG (and fail because of
 > # permissions in the original tarball)
 > rm -f /build/user/libdevice-cdio-perl-0.2.4/perlcdio_wrap.c /build/user/libdevice-cdio-perl-0.2.4/perliso9660_wrap.c \
 > 		/build/user/libdevice-cdio-perl-0.2.4/perlmmc_wrap.c /build/user/libdevice-cdio-perl-0.2.4/lib/perlmmc.pm \
 > 		/build/user/libdevice-cdio-perl-0.2.4/lib/perlcdio.pm /build/user/libdevice-cdio-perl-0.2.4/lib/perliso9660.pm
 > dh_testdir
 > # Add commands to compile the package here
 > /usr/bin/perl Build.PL installdirs=vendor extra_compiler_flags="-Wall -g -O2" create_packlist=0
 > Good, I found libcdio version 0.78.2 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
 > Creating custom builder _build/lib/MyModuleBuilder.pm in _build/lib
 > WARNING: the following files are missing in your kit:
 > 	lib/perlcdio.pm
 > 	lib/perliso9660.pm
 > 	lib/perlmmc.pm
 > 	perlcdio_wrap.c
 > 	perliso9660_wrap.c
 > 	perlmmc_wrap.c
 > Please inform the author.
 > 
 > Checking whether your kit is complete...
 > Checking prerequisites...
 > Looks good
 > 
 > Creating new 'Build' script for 'Device-Cdio' version '0.2.4'
 > /usr/bin/perl Build
 > Copying lib/Device/Cdio/ISO9660/FS.pm -> blib/lib/Device/Cdio/ISO9660/FS.pm
 > Copying lib/Device/Cdio/Track.pm -> blib/lib/Device/Cdio/Track.pm
 > Copying lib/Device/Cdio/Util.pm -> blib/lib/Device/Cdio/Util.pm
 > Copying lib/Device/Cdio/Device.pm -> blib/lib/Device/Cdio/Device.pm
 > Copying lib/Device/Cdio.pm -> blib/lib/Device/Cdio.pm
 > Copying lib/Device/Cdio/ISO9660.pm -> blib/lib/Device/Cdio/ISO9660.pm
 > Copying lib/Device/Cdio/ISO9660/IFS.pm -> blib/lib/Device/Cdio/ISO9660/IFS.pm
 > swig -I/usr/include -o perlcdio_wrap.c -outdir blib/lib -perl perlcdio.swg
 > read.swg:52: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead.
 > device.swg:32: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead.
 > device.swg:414: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead.
 > Copying from: blib/lib/perlcdio.pm, to: lib/perlcdio.pm; it makes the CPAN indexer happy.
 > cc -I/usr/include -I/usr/lib/perl/5.8/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -O2 -o perlcdio_wrap.o perlcdio_wrap.c
 > perlcdio_wrap.c:2116: warning: type qualifiers ignored on function return type
 > perlcdio_wrap.c: In function 'boot_perlcdio':
 > perlcdio_wrap.c:4825: warning: unused variable 'items'
 > perlcdio_wrap.c:4844: warning: passing argument 2 of '_swig_create_magic' discards qualifiers from pointer target type
 > cc -shared -L/usr/local/lib -o blib/arch/perlcdio.so perlcdio_wrap.o -lcdio -lm -liso9660 -lcdio -lm -lcdio
 > swig -I/usr/include -o perliso9660_wrap.c -outdir blib/lib -perl perliso9660.swg
 > perliso9660.swg:107: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead.
 > perliso9660.swg:124: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead.
 > perliso9660.swg:209: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead.
 > Copying from: blib/lib/perliso9660.pm, to: lib/perliso9660.pm; it makes the CPAN indexer happy.
 > cc -I/usr/include -I/usr/lib/perl/5.8/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -O2 -o perliso9660_wrap.o perliso9660_wrap.c
 > perliso9660_wrap.c: In function '_wrap_fs_find_lsn':
 > perliso9660_wrap.c:3342: warning: label 'PPCODE' defined but not used
 > perliso9660_wrap.c: In function '_wrap_ifs_find_lsn':
 > perliso9660_wrap.c:3388: warning: passing argument 1 of 'iso9660_ifs_find_lsn' discards qualifiers from pointer target type
 > perliso9660_wrap.c:3395: warning: label 'PPCODE' defined but not used
 > perliso9660_wrap.c: In function '_wrap_fs_stat':
 > perliso9660_wrap.c:3449: warning: label 'PPCODE' defined but not used
 > perliso9660_wrap.c: In function '_wrap_fs_stat_translate':
 > perliso9660_wrap.c:3513: warning: label 'PPCODE' defined but not used
 > perliso9660_wrap.c: In function '_wrap_ifs_stat':
 > perliso9660_wrap.c:3569: warning: label 'PPCODE' defined but not used
 > perliso9660_wrap.c: In function '_wrap_ifs_stat_translate':
 > perliso9660_wrap.c:3623: warning: label 'PPCODE' defined but not used
 > perliso9660_wrap.c: In function '_wrap_fs_readdir':
 > perliso9660_wrap.c:3678: warning: label 'PPCODE' defined but not used
 > perliso9660_wrap.c: In function '_wrap_ifs_readdir':
 > perliso9660_wrap.c:3739: warning: label 'PPCODE' defined but not used
 > perliso9660_wrap.c: In function 'boot_perliso9660':
 > perliso9660_wrap.c:4982: warning: unused variable 'items'
 > perliso9660_wrap.c:5001: warning: passing argument 2 of '_swig_create_magic' discards qualifiers from pointer target type
 > cc -shared -L/usr/local/lib -o blib/arch/perliso9660.so perliso9660_wrap.o -lcdio -lm -liso9660 -lcdio -lm -lcdio
 > swig -I/usr/include -o perlmmc_wrap.c -outdir blib/lib -perl perlmmc.swg
 > Copying from: blib/lib/perlmmc.pm, to: lib/perlmmc.pm; it makes the CPAN indexer happy.
 > cc -I/usr/include -I/usr/lib/perl/5.8/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -O2 -o perlmmc_wrap.o perlmmc_wrap.c
 > perlmmc_wrap.c: In function 'boot_perlmmc':
 > perlmmc_wrap.c:1780: warning: unused variable 'items'
 > perlmmc_wrap.c:1799: warning: passing argument 2 of '_swig_create_magic' discards qualifiers from pointer target type
 > cc -shared -L/usr/local/lib -o blib/arch/perlmmc.so perlmmc_wrap.o -lcdio -lm -liso9660 -lcdio -lm -lcdio
 > Manifying blib/lib/perlmmc.pm -> blib/libdoc/perlmmc.3pm
 > Manifying blib/lib/Device/Cdio/ISO9660/IFS.pm -> blib/libdoc/Device::Cdio::ISO9660::IFS.3pm
 > Manifying blib/lib/Device/Cdio/Track.pm -> blib/libdoc/Device::Cdio::Track.3pm
 > Manifying blib/lib/Device/Cdio.pm -> blib/libdoc/Device::Cdio.3pm
 > Manifying blib/lib/perlcdio.pm -> blib/libdoc/perlcdio.3pm
 > Manifying blib/lib/Device/Cdio/ISO9660.pm -> blib/libdoc/Device::Cdio::ISO9660.3pm
 > Manifying blib/lib/Device/Cdio/Util.pm -> blib/libdoc/Device::Cdio::Util.3pm
 > Manifying blib/lib/Device/Cdio/ISO9660/FS.pm -> blib/libdoc/Device::Cdio::ISO9660::FS.3pm
 > Manifying blib/lib/Device/Cdio/Device.pm -> blib/libdoc/Device::Cdio::Device.3pm
 > Manifying blib/lib/perliso9660.pm -> blib/libdoc/perliso9660.3pm
 > touch build-stamp
 >  /usr/bin/fakeroot debian/rules binary
 > dh_testdir
 > dh_testroot
 > dh_clean -k
 > # Add commands to install the package into debian/PACKAGE_NAME here
 > /usr/bin/perl Build test
 > t/00.load............# Testing Device::Cdio 0.2.4
 > ok
 > t/01.pod-coverage....
 > #   Failed test 'Pod coverage on perlcdio'
 > #   in /usr/share/perl5/Test/Pod/Coverage.pm at line 126.
 > # Coverage for perlcdio is 1.8%, with 54 naked subroutines:
 > # 	audio_pause
 > # 	audio_play_lsn
 > # 	audio_resume
 > # 	audio_stop
 > # 	close
 > # 	close_tray
 > # 	driver_errmsg
 > # 	eject_media
 > # 	eject_media_drive
 > # 	get_arg
 > # 	get_default_device_driver
 > # 	get_device
 > # 	get_devices
 > # 	get_devices_ret
 > # 	get_devices_with_cap
 > # 	get_devices_with_cap_ret
 > # 	get_disc_last_lsn
 > # 	get_disc_mode
 > # 	get_drive_cap
 > # 	get_driver_id
 > # 	get_driver_name
 > # 	get_first_track_num
 > # 	get_hwinfo
 > # 	get_joliet_level
 > # 	get_last_session
 > # 	get_last_track_num
 > # 	get_mcn
 > # 	get_media_changed
 > # 	get_num_tracks
 > # 	get_track
 > # 	get_track_channels
 > # 	get_track_copy_permit
 > # 	get_track_format
 > # 	get_track_last_lsn
 > # 	get_track_lba
 > # 	get_track_lsn
 > # 	get_track_msf
 > # 	get_track_preemphasis
 > # 	get_track_sec_count
 > # 	have_ATAPI
 > # 	have_driver
 > # 	is_binfile
 > # 	is_cuefile
 > # 	is_device
 > # 	is_nrg
 > # 	is_tocfile
 > # 	is_track_green
 > # 	lseek
 > # 	open_cd
 > # 	read_cd
 > # 	read_data_bytes
 > # 	read_sectors
 > # 	set_blocksize
 > # 	set_speed
 > 
 > #   Failed test 'Pod coverage on perliso9660'
 > #   in /usr/share/perl5/Test/Pod/Coverage.pm at line 126.
 > # Coverage for perliso9660 is 91.7%, with 5 naked subroutines:
 > # 	fs_read_superblock
 > # 	is_xa
 > # 	iso9660_dir_to_name
 > # 	iso9660_open_fuzzy_ext
 > # 	pathtable_init
 > # Looks like you failed 2 tests of 10.
 > dubious
 > 	Test returned status 2 (wstat 512, 0x200)
 > DIED. FAILED tests 1-2
 > 	Failed 2/10 tests, 80.00% okay
 > t/01.pod.............ok
 > t/02.default.........ok
 > t/05.ops.............ok
 > t/06.bincue..........ok
 > t/06.image...........ok
 > t/06.toc.............ok
 > t/07.iso.............ok
 > t/07.iso1............ok
 > t/07.iso2............ok
 > t/07.iso3............ok
 > t/10.cdda............ok
 > t/10.read............ok
 > Failed Test         Stat Wstat Total Fail  Failed  List of Failed
 > -------------------------------------------------------------------------------
 > t/01.pod-coverage.t    2   512    10    2  20.00%  1-2
 > Failed 1/14 test scripts, 92.86% okay. 2/105 subtests failed, 98.10% okay.
 > make: *** [install-stamp] Error 255
 > dpkg-buildpackage: failure: /usr/bin/fakeroot debian/rules binary gave error exit status 2

The full build log is available from:
	http://people.debian.org/~lucas/logs/2007/12/17

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment.  Internet was not accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-perl-maintainers mailing list