Bug#708594: libcoro-perl: FTBFS with perl 5.18: multiple test failures

Dominic Hargreaves dom at earth.li
Thu May 16 23:12:45 UTC 2013


Source: libcoro-perl
Version: 6.100-2
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.18-transition

This package FTBFS with perl 5.18 from experimental (in a clean sbuild
session):

Test Summary Report
-------------------
t/00_basic.t        (Wstat: 11 Tests: 4 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 9 tests but ran 4.
t/01_process.t      (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 13 tests but ran 2.
t/02_channel.t      (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 19 tests but ran 2.
t/03_channel.t      (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 10 tests but ran 2.
t/04_rwlock.t       (Wstat: 11 Tests: 8 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 15 tests but ran 8.
t/05_specific.t     (Wstat: 11 Tests: 5 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 8 tests but ran 5.
t/06_prio.t         (Wstat: 11 Tests: 3 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 10 tests but ran 3.
t/07_eval.t         (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 5 tests but ran 2.
t/08_join.t         (Wstat: 11 Tests: 3 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 10 tests but ran 3.
t/10_bugs.t         (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 3 tests but ran 2.
t/13_diewarn.t      (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 7 tests but ran 2.
t/15_semaphore.t    (Wstat: 11 Tests: 0 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
t/16_signal.t       (Wstat: 11 Tests: 0 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 18 tests but ran 0.
t/17_rouse.t        (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 5 tests but ran 2.
t/18_winder.t       (Wstat: 11 Tests: 6 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 17 tests but ran 6.
t/19_handle.t       (Wstat: 11 Tests: 0 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 4 tests but ran 0.
t/20_mutual_cancel.t (Wstat: 11 Tests: 3 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 10 tests but ran 3.
Files=20, Tests=73,  0 wallclock secs ( 0.05 usr  0.07 sys +  0.49 cusr  0.09 csys =  0.70 CPU)
Result: FAIL

Full build log attached

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
-------------- next part --------------
sbuild (Debian sbuild) 0.60.0 (23 Feb 2010) on carme.larted.org.uk

????????????????????????????????????????????????????????????????????????????????
? libcoro-perl 6.100-2+b1 (i386)                             12 May 2013 15:12 ?
????????????????????????????????????????????????????????????????????????????????

Package: libcoro-perl
Version: 6.100-2+b1
Architecture: i386
Chroot Build Dir: /var/lib/schroot/mount/perl-5.18-i386-sbuild-1b9e1447-1363-4b61-929a-c210eab52474/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI
Start Time: 20130512-1512

????????????????????????????????????????????????????????????????????????????????
? Fetch source files                                                           ?
????????????????????????????????????????????????????????????????????????????????


Check APT
?????????

Checking available source versions...

Download source files with APT
??????????????????????????????

Reading package lists...
Building dependency tree...
Reading state information...
NOTICE: 'libcoro-perl' packaging is maintained in the 'Git' version control system at:
git://git.debian.org/pkg-perl/packages/libcoro-perl.git
Need to get 190 kB of source archives.
Get:1 http://mirror.ox.ac.uk/debian/ sid/main libcoro-perl 6.100-2 (dsc) [2215 B]
Get:2 http://mirror.ox.ac.uk/debian/ sid/main libcoro-perl 6.100-2 (tar) [181 kB]
Get:3 http://mirror.ox.ac.uk/debian/ sid/main libcoro-perl 6.100-2 (diff) [6594 B]
Fetched 190 kB in 0s (622 kB/s)
Download complete and in download only mode

Check arch
??????????

** Using build dependencies supplied by package:
Build-Depends: perl, debhelper (>= 9.20120312), libanyevent-perl, libcommon-sense-perl, libev-perl, libevent-perl, libguard-perl

????????????????????????????????????????????????????????????????????????????????
? Install build dependencies (internal resolver)                               ?
????????????????????????????????????????????????????????????????????????????????

Checking for already installed source dependencies...
perl: already installed (5.18.0~rc1-1)
debhelper: already installed (9.20130509 >= 9.20120312 is satisfied)
libanyevent-perl: missing
libcommon-sense-perl: missing
libev-perl: missing
libevent-perl: missing
libguard-perl: missing
Checking for source dependency conflicts...
Installing positive dependencies: libanyevent-perl libcommon-sense-perl libev-perl libevent-perl libguard-perl
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  libelf1
Use 'apt-get autoremove' to remove it.
Suggested packages:
  libasync-interrupt-perl libglib-perl libio-async-perl libjson-perl
  libjson-xs-perl libnet-ssleay-perl libpoe-perl libtask-weaken-perl perl-tk
The following NEW packages will be installed:
  libanyevent-perl libcommon-sense-perl libev-perl libevent-perl libguard-perl
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1035 kB of archives.
After this operation, 2123 kB of additional disk space will be used.
Selecting previously unselected package libanyevent-perl.
(Reading database ... 13148 files and directories currently installed.)
Unpacking libanyevent-perl (from .../libanyevent-perl_7.040-1_all.deb) ...
Selecting previously unselected package libcommon-sense-perl.
Unpacking libcommon-sense-perl (from .../libcommon-sense-perl_3.6-1_all.deb) ...
Selecting previously unselected package libev-perl.
Unpacking libev-perl (from .../libev-perl_4.11-2+b1_i386.deb) ...
Selecting previously unselected package libevent-perl.
Unpacking libevent-perl (from .../libevent-perl_1.21-1+b1_i386.deb) ...
Selecting previously unselected package libguard-perl.
Unpacking libguard-perl (from .../libguard-perl_1.022-1+b2_i386.deb) ...
Processing triggers for man-db ...
Not building database; man-db/auto-update is not 'true'.
Setting up libanyevent-perl (7.040-1) ...
Setting up libcommon-sense-perl (3.6-1) ...
Setting up libev-perl (4.11-2+b1) ...
Setting up libevent-perl (1.21-1+b1) ...
Setting up libguard-perl (1.022-1+b2) ...
Removing negative dependencies: 
Checking correctness of source dependencies...
Kernel: Linux 2.6.32-5-686-bigmem i386 (i686)
Toolchain package versions: libc6-dev_2.17-1 dpkg-dev_1.16.10 linux-libc-dev_3.8.12-1 gcc-4.7_4.7.3-3 g++-4.7_4.7.3-3 binutils_2.22-8 libstdc++6-4.7-dev_4.7.3-3 libstdc++6_4.8.0-6
Package versions: apt_0.9.8 base-files_7.2 base-passwd_3.5.26 bash_4.2+dfsg-1 binutils_2.22-8 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.3 build-essential_11.6 bzip2_1.0.6-4 coreutils_8.13-3.3 cpp_4:4.7.2-1 cpp-4.7_4.7.3-3 dash_0.5.7-3 debconf_1.5.50 debfoster_2.7-1.2 debhelper_9.20130509 debian-archive-keyring_2012.4 debianutils_4.3.4 diffutils_1:3.2-8 dpkg_1.16.10 dpkg-dev_1.16.10 e2fslibs_1.42.5-1.1 e2fsprogs_1.42.5-1.1 ed_1.8-1 fakeroot_1.18.4-2 file_1:5.14-1 findutils_4.4.2-5 g++_4:4.7.2-1 g++-4.7_4.7.3-3 gawk_1:4.0.1+dfsg-2.1 gcc_4:4.7.2-1 gcc-4.5-base_4.5.4-1 gcc-4.6-base_4.6.4-2 gcc-4.7_4.7.3-3 gcc-4.7-base_4.7.3-3 gcc-4.8-base_4.8.0-6 gettext_0.18.1.1-10 gettext-base_0.18.1.1-10 gnupg_1.4.12-7 gpgv_1.4.12-7 grep_2.14-1 groff-base_1.22.2-2 gzip_1.5-1.1 hostname_3.12 html2text_1.3.2a-15 initscripts_2.88dsf-41 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 libacl1_2.2.51-8 libanyevent-perl_7.040-1 libapt-pkg4.12_0.9.8 libasprintf-dev_0.18.1.1-10 libasprintf0c2_0.18.1.1-10 libattr1_1:2.4.46-8 libblkid1_2.20.1-5.3 libbz2-1.0_1.0.6-4 libc-bin_2.17-1 libc-dev-bin_2.17-1 libc6_2.17-1 libc6-dev_2.17-1 libcap2_1:2.22-1.2 libclass-isa-perl_0.36-5 libcloog-ppl1_0.16.1-2 libcomerr2_1.42.5-1.1 libcommon-sense-perl_3.6-1 libcroco3_0.6.6-2 libdb5.1_5.1.29-5 libdpkg-perl_1.16.10 libelf1_0.153-2 libelfg0_0.8.13-3 libev-perl_4.11-2+b1 libevent-perl_1.21-1+b1 libextutils-depends-perl_0.304-1 libextutils-pkgconfig-perl_1.14-1 libffi5_3.0.10-3 libgc1c2_1:7.1-9.1 libgcc-4.7-dev_4.7.3-3 libgcc1_1:4.8.0-6 libgdbm3_1.8.3-11 libgettextpo-dev_0.18.1.1-10 libgettextpo0_0.18.1.1-10 libglib2.0-0_2.36.1-2 libglib2.0-bin_2.36.1-2 libglib2.0-data_2.36.1-2 libglib2.0-dev_2.36.1-2 libgmp10_2:5.1.1+dfsg-3 libgmpxx4ldbl_2:5.1.1+dfsg-3 libgomp1_4.8.0-6 libguard-perl_1.022-1+b2 libitm1_4.8.0-6 libjbig0_2.0-2 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.14-1 libmount1_2.20.1-5.3 libmpc2_0.9-4 libmpfr4_3.1.1-1 libncurses5_5.9+20130504-1 libpam-modules_1.1.3-9 libpam-modules-bin_1.1.3-9 libpam-runtime_1.1.3-9 libpam0g_1.1.3-9 libpcre3_1:8.31-2 libpcre3-dev_1:8.31-2 libpcrecpp0_1:8.31-2 libperl-dev_5.18.0~rc1-1 libperl5.18_5.18.0~rc1-1 libpipeline1_1.2.3-1 libpng12-0_1.2.49-4 libpopt0_1.16-7 libppl-c4_1:1.0-7 libppl12_1:1.0-7 libquadmath0_4.8.0-6 libreadline6_6.2+dfsg-0.1 libselinux1_2.1.13-1 libsemanage-common_2.1.10-1 libsemanage1_2.1.10-1 libsepol1_2.1.9-1 libsigsegv2_2.9-4 libslang2_2.2.4-15 libss2_1.42.5-1.1 libstdc++6_4.8.0-6 libstdc++6-4.7-dev_4.7.3-3 libswitch-perl_2.16-2 libtimedate-perl_1.2000-1 libtinfo5_5.9+20130504-1 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23+nmu1 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.3 libxml2_2.8.0+dfsg1-7+nmu1 linux-libc-dev_3.8.12-1 login_1:4.1.5.1-1 lsb-base_4.1+Debian9 make_3.81-8.2 man-db_2.6.3-6 mawk_1.3.3-17 mount_2.20.1-5.3 multiarch-support_2.17-1 ncurses-base_5.9+20130504-1 ncurses-bin_5.9+20130504-1 passwd_1:4.1.5.1-1 patch_2.6.1-3 perl_5.18.0~rc1-1 perl-base_5.18.0~rc1-1 perl-modules_5.18.0~rc1-1 pkg-config_0.26-1 po-debconf_1.0.16+nmu2 readline-common_6.2+dfsg-0.1 sed_4.2.2-1 sensible-utils_0.0.7 sysv-rc_2.88dsf-41 sysvinit_2.88dsf-41 sysvinit-utils_2.88dsf-41 tar_1.26+dfsg-5 tzdata_2013b-2 ucf_3.0025+nmu3 util-linux_2.20.1-5.3 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-1 zlib1g-dev_1:1.2.8.dfsg-1

????????????????????????????????????????????????????????????????????????????????
? Build                                                                        ?
????????????????????????????????????????????????????????????????????????????????


Unpack source
?????????????

gpgv: keyblock resource `/home/dom/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Thu Nov  8 10:31:21 2012 UTC using RSA key ID CDE573CB
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./libcoro-perl_6.100-2.dsc
dpkg-source: info: extracting libcoro-perl in libcoro-perl-6.100
dpkg-source: info: unpacking libcoro-perl_6.100.orig.tar.gz
dpkg-source: info: unpacking libcoro-perl_6.100-2.debian.tar.gz
dpkg-source: info: applying fix-wrong-path-for-interpreter.patch
dpkg-source: info: applying whatis.patch
dpkg-source: info: applying spelling.patch
dpkg-source: info: applying fix-ftbfs-with-longjmp.patch

Check disc space
????????????????


Hack binNMU version
???????????????????

*** Created changelog entry for bin-NMU version 6.100-2+b1

dpkg-buildpackage
?????????????????

dpkg-buildpackage: source package libcoro-perl
dpkg-buildpackage: source version 6.100-2+b1
 dpkg-source --before-build libcoro-perl-6.100
dpkg-buildpackage: host architecture i386
 /usr/bin/fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 debian/rules build-arch
dh build-arch
   dh_testdir -a
   dh_auto_configure -a
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***


Event version 1.21 found, building Event support.


EV version 4.11 found, building EV support.

Checking if your kit is complete...
Looks good

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

Coro has a number of configuration options. Due to its maturity, the
defaults that Coro chooses are usually fine, so you can decide to skip
these questions. Only if something went wrong you should select 'n'
here and manually configure Coro, and, of course, report this to the
maintainer :)

Skip further questions and use defaults (y/n)? [y] y

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

Coro can use a number of methods to implement coroutines at the C
level. The default chosen is based on your current confguration and is
correct in most cases, but you still can chose between these alternatives:

u  The unix 'ucontext.h' functions are relatively new and not implemented
   or well-tested in older unices. They allow very fast coroutine creation
   and reasonably fast switching. They are, however, usually slower than
   the other alternatives due to an extra syscall done by swapcontext. And
   while nominally most portable (it's the only POSIX-standardised
   interface for coroutines), ucontext functions are, as usual, broken on
   most/all BSDs.

s  If the ucontext functions are not working or you don't want
   to use them for other reasons you can try a workaround using
   setjmp/longjmp/sigaltstack (also standard unix functions). Coroutine
   creation is rather slow, but switching is very fast (often much faster
   than with the ucontext functions). Unfortunately, glibc-2.1 and
   below don't even feature a working sigaltstack. You cannot use this
   implementation if some other code uses SIGUSR2 or you plan to create
   coroutines from an alternative signal stack, as both are being used for
   coroutine creation.

a  Handcoded assembly. This is the fastest and most compatible method,
   with the least side effects, if it works, that is. It has been tested
   on GNU/Linux x86 and x86_64 systems and should work on all x86/x86_64
   systems using the SVR ELF ABI (it is also reported to be working on
   Strawberry Perl for Windows using MinGW). This is the recommended
   method on supported platforms. When it doesn't work, use another
   method, such as (s)etjmp/longjmp.

l  GNU/Linux. Very old GNU/Linux systems (glibc-2.1 and below) need
   this hack. Since it is very linux-specific it is also quite fast and
   recommended even for newer versions; when it works, that is (currently
   x86 and a few others only. If it compiles, it's usually ok). Newer
   glibc versions (>= 2.5) stop working with this implementation however.

i  IRIX. For some reason, SGI really does not like to follow POSIX (does
   that surprise you?), so this workaround might be needed (it's fast),
   although [s] and [u] should also work now.

w  Microsoft Windows. Try this on Microsoft Windows when using Cygwin or
   the MSVC compilers (e.g. ActiveState Perl, but see "a" for Strawberry
   Perl), although, as there is no standard on how to do this under
   windows, different environments might work differently. Doh.

p  Use pthread API. Try to avoid this option, it was only created to
   make a point about the programming language shootout. It is unlikely
   to work with perls that have windows process emulation enabled ("perl
   threads"). It is also likely the slowest method of implementing
   coroutines. It might work fine as a last resort, however, as the
   pthread API is slightly better tested than ucontext functions for
   example. Of course, not on BSDs, who usually have very broken pthread
   implementations.

Coro tries hard to come up with a suitable default for most systems,
so pressing return at the prompt usually does the right thing. If you
experience problems (e.g. make test fails) then you should experiment with
this setting.

Use which implementation,
<s>etjmp, <u>ctx, <a>sm, <i>rix, <l>inux, <w>indows or <p>threads? [a] a

Using handcoded assembler implementation


*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

Per-context stack size factor: Depending on your settings, Coro tries to
share the C stacks is creates as much as possible, but sometimes it needs
to allocate a new one. This setting controls the maximum size that gets
allocated, and should not be set too high, as memory and address space
still is wasted even if it's not fully used. The value entered will be
multiplied by sizeof(long), which is usually 4 on 32-bit systems, and 8 on
64-bit systems.

A setting of 16384 (the default) therefore corresponds to a 64k..128k
stack, which usually is ample space (you might even want to try 8192 or
lower if your program creates many coroutines).

On systems supporting mmap and dynamic memory management, the actual
memory usually gets allocated on demand, but with many large stacks you
can still run out of address space on your typical 32 bit platform (not to
forget the pagetables).

Some perls (mostly threaded ones and perl compiled under linux 2.6) and
some programs (inefficient regexes can use a lot of stack space) may
need much, much more: If Coro segfaults with weird backtraces (e.g. in a
function prologue) or in t/10_bugs.t, you might want to increase this to
65536 or more.

The default should be fine, and can be changed at runtime with
Coro::State::cctx_stacksize.

C stack size factor? [16384] 16384
using a stacksize of 16384 * sizeof(long)

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

Coro can optionally put a guard area before each stack segment: When the
stack is too small and the access is not too far outside the stack (i.e.
within the guard area), then the program will safely segfault instead of
running into other data. The cost is some additional overhead with is
usually negligible, and extra use of address space.

The guard area size currently needs to be specified in pages (typical
pagesizes are 4k and 8k). The guard area is only enabled on a few
hardcoded architectures and is ignored on others. The actual preprocessor
expression disables this feature if:

   !__i386 && !__x86_64 && !__powerpc && !__m68k 
   && !__alpha && !__mips && !__sparc64

The default, as usual, should be just fine.

Number of guard pages (0 disables)? [4] 4

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

Coro can tell valgrind about its stacks and so reduce spurious warnings
where valgrind would otherwise complain about possible stack switches.

Enabling this does not incur noticable runtime or memory overhead, but it
requires that you have the <valgrind/valgrind.h> header file available.

Valgrind support is completely optional, so disabling it is the safe
choice.

Enable valgrind support (y/n)? [n] n

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

Coro can use (or even trick) some perl functions into doing what it needs
instead of relying on (some) of its own functions. This might increase
chances that it compiles and works, but it could just as well result in
memory leaks, crashes or silent data corruption. It certainly does result
in slightly slower speed and higher memory consumption, though, so YOU
SHOULD ENABLE THIS OPTION ONLY AS A LAST RESORT.

Prefer perl functions over coro functions (y/n)? [n] n

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

Coro can use a simple JIT compiler to compile a part of the thread switch
function at runtime. On perls with windows process emulation (most!),
this results in a 50% speed improvement. On sane perls, the gain is much
less, usually around 5%. If you enable this option, then the JIT will
be enabled, on compatible operating systems and CPUs (currently only
x86/amd64 on certain unix clones). Otherwise, it will be disabled. It
should be safe to leave on - this setting is only here so you can switch
it off in case of problems.

Note that some broken kernels (often calling themselves "hardened") break
all JIT generation by manipulating some system calls. If you get bus
errors or segmentation faults immediately when the JIT is enabled but not
without, then note that disabling the JIT only fixes some symptoms, not
the underlying problem, and you might run into other problems later.

Try to use the JIT compiler, if available? [y] y

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

Coro has experimental support for cloning states. This can be used
to implement a scheme-like call/cc. However, this doesn't add to the
expressiveness in general, and is likely perl-version specific (and perl
5.12 deliberately removed support for it). As such, it is disabled by
default.  Enable it when you want to play around with it, but note that it
isn't supported, and unlikely ever will be. It exists mainly to prove that
it could be done - if only it were useful for something.

Implement Coro::State->clone method (y/n)? [n] n

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

Writing Makefile for Coro::State
Writing MYMETA.yml and MYMETA.json
Writing Makefile for Coro::Event
Writing MYMETA.yml and MYMETA.json
Writing Makefile for Coro::EV
Writing MYMETA.yml and MYMETA.json
Writing Makefile for Coro
Writing MYMETA.yml and MYMETA.json
   dh_auto_build -a
make[1]: Entering directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100'
cp Coro/MakeMaker.pm blib/lib/Coro/MakeMaker.pm
cp Coro/AIO.pm blib/lib/Coro/AIO.pm
cp Coro/Socket.pm blib/lib/Coro/Socket.pm
cp Coro/jit-x86-unix.pl blib/lib/Coro/jit-x86-unix.pl
cp Coro/Semaphore.pm blib/lib/Coro/Semaphore.pm
cp Coro/Specific.pm blib/lib/Coro/Specific.pm
cp Coro/RWLock.pm blib/lib/Coro/RWLock.pm
cp Coro/AnyEvent.pm blib/lib/Coro/AnyEvent.pm
cp Coro/LWP.pm blib/lib/Coro/LWP.pm
cp Coro/Handle.pm blib/lib/Coro/Handle.pm
cp Coro.pm blib/lib/Coro.pm
cp Coro/Timer.pm blib/lib/Coro/Timer.pm
cp Coro/BDB.pm blib/lib/Coro/BDB.pm
cp Coro/Util.pm blib/lib/Coro/Util.pm
cp Coro/Signal.pm blib/lib/Coro/Signal.pm
cp Coro/CoroAPI.h blib/lib/Coro/CoroAPI.h
cp Coro/State.pm blib/lib/Coro/State.pm
cp Coro/Debug.pm blib/lib/Coro/Debug.pm
cp Coro/Select.pm blib/lib/Coro/Select.pm
cp Coro/jit-amd64-unix.pl blib/lib/Coro/jit-amd64-unix.pl
cp Coro/Storable.pm blib/lib/Coro/Storable.pm
cp Coro/Channel.pm blib/lib/Coro/Channel.pm
cp Coro/SemaphoreSet.pm blib/lib/Coro/SemaphoreSet.pm
make[2]: Entering directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100/Coro'
Skip ../blib/lib/Coro/Socket.pm (unchanged)
Skip ../blib/lib/Coro/BDB.pm (unchanged)
Skip ../blib/lib/Coro/Semaphore.pm (unchanged)
Skip ../blib/lib/Coro/Handle.pm (unchanged)
Skip ../blib/lib/Coro/jit-x86-unix.pl (unchanged)
Skip ../blib/lib/Coro/LWP.pm (unchanged)
cp Intro.pod ../blib/lib/Coro/Intro.pod
Skip ../blib/lib/Coro/AnyEvent.pm (unchanged)
Skip ../blib/lib/Coro/RWLock.pm (unchanged)
Skip ../blib/lib/Coro/Debug.pm (unchanged)
Skip ../blib/lib/Coro/MakeMaker.pm (unchanged)
Skip ../blib/lib/Coro/AIO.pm (unchanged)
Skip ../blib/lib/Coro/SemaphoreSet.pm (unchanged)
Skip ../blib/lib/Coro/Util.pm (unchanged)
Skip ../blib/lib/Coro/Signal.pm (unchanged)
Skip ../blib/lib/Coro/Channel.pm (unchanged)
Skip ../blib/lib/Coro/Select.pm (unchanged)
Skip ../blib/lib/Coro/Specific.pm (unchanged)
Skip ../blib/lib/Coro/Storable.pm (unchanged)
Skip ../blib/lib/Coro/jit-amd64-unix.pl (unchanged)
Skip ../blib/lib/Coro/State.pm (unchanged)
Skip ../blib/lib/Coro/Timer.pm (unchanged)
/usr/bin/perl /usr/share/perl/5.18.0/ExtUtils/xsubpp  -typemap /usr/share/perl/5.18/ExtUtils/typemap -typemap typemap  State.xs > State.xsc && mv State.xsc State.c
Warning: Aliases 'is_zombie' and 'is_destroyed' have identical values in State.xs, line 3662
cc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -DVERSION=\"6.10\" -DXS_VERSION=\"6.10\" -fPIC "-I/usr/lib/perl/5.18/CORE"  -DHAVE_MMAP -DCORO_ASM -DCORO_STACKSIZE=16384 -DCORO_STACKGUARD=4 -DCORO_JIT=1 State.c
State.xs: In function 'coro_derive_padlist':
State.xs:532:17: warning: initialization from incompatible pointer type [enabled by default]
State.xs:538:3: warning: passing argument 2 of 'Perl_pad_push' from incompatible pointer type [enabled by default]
In file included from /usr/lib/perl/5.18/CORE/perl.h:5115:0,
                 from State.xs:12:
/usr/lib/perl/5.18/CORE/proto.h:3103:20: note: expected 'struct PADLIST *' but argument is of type 'struct AV *'
State.xs: In function 'get_padlist':
State.xs:611:20: warning: assignment from incompatible pointer type [enabled by default]
State.xs:622:21: warning: assignment from incompatible pointer type [enabled by default]
State.xs: In function 'load_perl':
State.xs:726:24: warning: assignment from incompatible pointer type [enabled by default]
In file included from State.xs:3403:0:
state.h: In function 'jit_init':
state.h:8:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:9:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:10:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:11:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:12:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:16:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:20:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:22:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:24:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:25:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:27:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:28:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:29:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:34:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:36:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:37:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:39:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:40:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:41:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:42:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:44:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:45:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:46:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:54:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:55:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:56:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:57:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:59:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:60:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:62:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:63:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:68:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:69:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:70:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:72:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:73:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:77:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:79:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:80:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:81:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:82:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:84:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:86:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
state.h:89:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
State.xs: In function 'boot_Coro__State':
State.xs:3844:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Running Mkbootstrap for Coro::State ()
chmod 644 State.bs
rm -f ../blib/arch/auto/Coro/State/State.so
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro  -shared -L/usr/local/lib -fstack-protector State.o  -o ../blib/arch/auto/Coro/State/State.so 	\
	     	\
	  
chmod 755 ../blib/arch/auto/Coro/State/State.so
cp State.bs ../blib/arch/auto/Coro/State/State.bs
chmod 644 ../blib/arch/auto/Coro/State/State.bs
Manifying ../blib/man3/Coro::AnyEvent.3pm
Manifying ../blib/man3/Coro::Storable.3pm
Manifying ../blib/man3/Coro::SemaphoreSet.3pm
Manifying ../blib/man3/Coro::Util.3pm
Manifying ../blib/man3/Coro::Timer.3pm
Manifying ../blib/man3/Coro::RWLock.3pm
Manifying ../blib/man3/Coro::Semaphore.3pm
Manifying ../blib/man3/Coro::MakeMaker.3pm
Manifying ../blib/man3/Coro::Handle.3pm
Manifying ../blib/man3/Coro::LWP.3pm
Manifying ../blib/man3/Coro::AIO.3pm
Manifying ../blib/man3/Coro::Signal.3pm
Manifying ../blib/man3/Coro::Specific.3pm
Manifying ../blib/man3/Coro::Intro.3pm
Manifying ../blib/man3/Coro::Select.3pm
Manifying ../blib/man3/Coro::BDB.3pm
Manifying ../blib/man3/Coro::Debug.3pm
Manifying ../blib/man3/Coro::Socket.3pm
Manifying ../blib/man3/Coro::State.3pm
Manifying ../blib/man3/Coro::Channel.3pm
make[2]: Leaving directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100/Coro'
make[2]: Entering directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100/Event'
cp Event.pm ../blib/lib/Coro/Event.pm
/usr/bin/perl /usr/share/perl/5.18.0/ExtUtils/xsubpp  -typemap /usr/share/perl/5.18/ExtUtils/typemap  Event.xs > Event.xsc && mv Event.xsc Event.c
cc -c  -I/usr/lib/perl5/Event -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -DVERSION=\"6.10\" -DXS_VERSION=\"6.10\" -fPIC "-I/usr/lib/perl/5.18/CORE"  -DHAVE_EVENT=1 -DHAVE_EV=1 Event.c
Event.xs: In function 'boot_Coro__Event':
Event.xs:82:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Event.xs:82:9: warning: format '%d' expects argument of type 'int', but argument 2 has type 'I32' [-Wformat]
Event.xs:83:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Running Mkbootstrap for Coro::Event ()
chmod 644 Event.bs
rm -f ../blib/arch/auto/Coro/Event/Event.so
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro  -shared -L/usr/local/lib -fstack-protector Event.o  -o ../blib/arch/auto/Coro/Event/Event.so 	\
	     	\
	  
chmod 755 ../blib/arch/auto/Coro/Event/Event.so
cp Event.bs ../blib/arch/auto/Coro/Event/Event.bs
chmod 644 ../blib/arch/auto/Coro/Event/Event.bs
Manifying ../blib/man3/Coro::Event.3pm
make[2]: Leaving directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100/Event'
make[2]: Entering directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100/EV'
cp EV.pm ../blib/lib/Coro/EV.pm
/usr/bin/perl /usr/share/perl/5.18.0/ExtUtils/xsubpp  -typemap /usr/share/perl/5.18/ExtUtils/typemap  EV.xs > EV.xsc && mv EV.xsc EV.c
cc -c  -I/usr/lib/perl5/EV -I/usr/lib/perl5 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -DVERSION=\"6.10\" -DXS_VERSION=\"6.10\" -fPIC "-I/usr/lib/perl/5.18/CORE"  -DHAVE_EVENT=1 -DHAVE_EV=1 EV.c
EV.xs: In function 'boot_Coro__EV':
EV.xs:291:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
EV.xs:291:9: warning: format '%d' expects argument of type 'int', but argument 2 has type 'I32' [-Wformat]
EV.xs:291:9: warning: format '%d' expects argument of type 'int', but argument 3 has type 'I32' [-Wformat]
EV.xs:292:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Running Mkbootstrap for Coro::EV ()
chmod 644 EV.bs
rm -f ../blib/arch/auto/Coro/EV/EV.so
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro  -shared -L/usr/local/lib -fstack-protector EV.o  -o ../blib/arch/auto/Coro/EV/EV.so 	\
	     	\
	  
chmod 755 ../blib/arch/auto/Coro/EV/EV.so
cp EV.bs ../blib/arch/auto/Coro/EV/EV.bs
chmod 644 ../blib/arch/auto/Coro/EV/EV.bs
Manifying ../blib/man3/Coro::EV.3pm
make[2]: Leaving directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100/EV'
Manifying blib/man3/Coro.3pm
make[1]: Leaving directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100'
   dh_auto_test -a
make[1]: Entering directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100'
make[2]: Entering directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100/Coro'
make[2]: Leaving directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100/Coro'
make[2]: Entering directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100/Event'
make[2]: Leaving directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100/Event'
make[2]: Entering directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100/EV'
make[2]: Leaving directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100/EV'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_basic.t .......... 
Failed 5/9 subtests 
t/01_process.t ........ 
Failed 11/13 subtests 
t/02_channel.t ........ 
Failed 17/19 subtests 
t/03_channel.t ........ 
Failed 8/10 subtests 
t/04_rwlock.t ......... 
Failed 7/15 subtests 
t/05_specific.t ....... 
Failed 3/8 subtests 
t/06_prio.t ........... 
Failed 7/10 subtests 
t/07_eval.t ........... 
Failed 3/5 subtests 
t/08_join.t ........... 
Failed 7/10 subtests 
t/10_bugs.t ........... 
Failed 1/3 subtests 
t/11_deadlock.t ....... ok
t/12_exit.t ........... ok
t/13_diewarn.t ........ 
Failed 5/7 subtests 
t/14_load.t ........... ok
t/15_semaphore.t ...... 
Failed 6/6 subtests 
t/16_signal.t ......... 
Failed 18/18 subtests 
t/17_rouse.t .......... 
Failed 3/5 subtests 
t/18_winder.t ......... 
Failed 11/17 subtests 
t/19_handle.t ......... 
Failed 4/4 subtests 
t/20_mutual_cancel.t .. 
Failed 17/20 test programs. 0/73 subtests failed.
Failed 7/10 subtests 

Test Summary Report
-------------------
t/00_basic.t        (Wstat: 11 Tests: 4 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 9 tests but ran 4.
t/01_process.t      (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 13 tests but ran 2.
t/02_channel.t      (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 19 tests but ran 2.
t/03_channel.t      (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 10 tests but ran 2.
t/04_rwlock.t       (Wstat: 11 Tests: 8 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 15 tests but ran 8.
t/05_specific.t     (Wstat: 11 Tests: 5 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 8 tests but ran 5.
t/06_prio.t         (Wstat: 11 Tests: 3 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 10 tests but ran 3.
t/07_eval.t         (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 5 tests but ran 2.
t/08_join.t         (Wstat: 11 Tests: 3 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 10 tests but ran 3.
t/10_bugs.t         (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 3 tests but ran 2.
t/13_diewarn.t      (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 7 tests but ran 2.
t/15_semaphore.t    (Wstat: 11 Tests: 0 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
t/16_signal.t       (Wstat: 11 Tests: 0 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 18 tests but ran 0.
t/17_rouse.t        (Wstat: 11 Tests: 2 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 5 tests but ran 2.
t/18_winder.t       (Wstat: 11 Tests: 6 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 17 tests but ran 6.
t/19_handle.t       (Wstat: 11 Tests: 0 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 4 tests but ran 0.
t/20_mutual_cancel.t (Wstat: 11 Tests: 3 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 10 tests but ran 3.
Files=20, Tests=73,  0 wallclock secs ( 0.05 usr  0.07 sys +  0.49 cusr  0.09 csys =  0.70 CPU)
Result: FAIL
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI/libcoro-perl-6.100'
dh_auto_test: make -j1 test returned exit code 2
make: *** [build-arch] Error 29
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
????????????????????????????????????????????????????????????????????????????????
Build finished at 20130512-1512
FAILED [dpkg-buildpackage died]
????????????????????????????????????????????????????????????????????????????????
Purging /var/lib/schroot/mount/perl-5.18-i386-sbuild-1b9e1447-1363-4b61-929a-c210eab52474/build/dom-libcoro-perl_6.100-2+b1-i386-ovhTKI
(Reading database ... 13295 files and directories currently installed.)
Removing libevent-perl ...
Removing libguard-perl ...
Removing libanyevent-perl ...
Removing libev-perl ...
Removing libcommon-sense-perl ...
Processing triggers for man-db ...
Not building database; man-db/auto-update is not 'true'.
????????????????????????????????????????????????????????????????????????????????
Finished at 20130512-1512
Build needed 00:00:14, 3112k disc space


More information about the pkg-perl-maintainers mailing list