public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH 3/9] perl-AnyEvent-AIO: New package.
Date: Tue, 26 Apr 2016 08:55:21 +0200	[thread overview]
Message-ID: <1461653721.9083.3.camel@ipfire.org> (raw)
In-Reply-To: <1460628922.2617.101.camel@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 4066 bytes --]

Hello Michael,

thanks for testing and your feedback. I've tried to build this perl
module again and it works without and problems. (Even for perl 5.20 and
with perl 5.14).

Best regards,

-Stefan
> Hi,
> 
> this won't build:
> 
> + make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-
> MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0,
> 'blib/lib', 'blib/arch')" t/*.t
> Can't load '/usr/lib64/perl5/vendor_perl/auto/IO/AIO/AIO.so' for
> module IO::AIO: /usr/lib64/perl5/vendor_perl/auto/IO/AIO/AIO.so:
> undefined symbol: Perl_gv_init at /usr/share/perl5/XSLoader.pm line
> 68.
>  at /usr/lib64/perl5/vendor_perl/IO/AIO.pm line 200.
> BEGIN failed--compilation aborted at
> /usr/lib64/perl5/vendor_perl/IO/AIO.pm line 201.
> Compilation failed in require at /builddir/source/AnyEvent-AIO-
> 1.1/blib/lib/AnyEvent/AIO.pm line 35.
> BEGIN failed--compilation aborted at /builddir/source/AnyEvent-AIO-
> 1.1/blib/lib/AnyEvent/AIO.pm line 35.
> Compilation failed in require at t/00_load.t line 3.
> BEGIN failed--compilation aborted at t/00_load.t line 3.
> t/00_load.t .. 
> Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 1/1 subtests 
> 
> Test Summary Report
> -------------------
> t/00_load.t (Wstat: 65280 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 255
> Files=1, Tests=1,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.01
> cusr  0.00 csys =  0.03 CPU)
> Result: FAIL
> Failed 1/1 test programs. 1/1 subtests failed.
> Makefile:766: recipe for target 'test_dynamic' failed
> make: *** [test_dynamic] Error 255
> Command exited with an error: ['bash', '--login', '-c',
> '/tmp/tmpIiLVeJ']
> 
> On Thu, 2016-04-14 at 08:30 +0200, Stefan Schantl wrote:
> > 
> > This is a build and runtime dependency of perl-Coro.
> > 
> > Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
> > ---
> >  perl-AnyEvent-AIO/perl-AnyEvent-AIO.nm | 54
> > ++++++++++++++++++++++++++++++++++
> >  1 file changed, 54 insertions(+)
> >  create mode 100644 perl-AnyEvent-AIO/perl-AnyEvent-AIO.nm
> > 
> > diff --git a/perl-AnyEvent-AIO/perl-AnyEvent-AIO.nm b/perl-
> > AnyEvent-AIO/perl-
> > AnyEvent-AIO.nm
> > new file mode 100644
> > index 0000000..c1d00d4
> > --- /dev/null
> > +++ b/perl-AnyEvent-AIO/perl-AnyEvent-AIO.nm
> > @@ -0,0 +1,54 @@
> > +##################################################################
> > ###########
> > ##
> > +# IPFire.org    - An Open Source Firewall
> > Solution                            #
> > +# Copyright (C) - IPFire Development Team <info(a)ipfire.org>       
> >            
> >  #
> > +##################################################################
> > ###########
> > ##
> > +
> > +name       = perl-AnyEvent-AIO
> > +version    = 1.1
> > +release    = 1
> > +arch	   = noarch
> > +thisapp    = AnyEvent-AIO-%{version}
> > +
> > +groups     = Development/Libraries
> > +url        = http://search.cpan.org/dist/AnyEvent-BDB/
> > +license    = GPL+ or Artistic
> > +summary    = Truly asynchronous file and directory I/O
> > +
> > +description
> > +	Truly asynchronous file and directrory I/O..
> > +end
> > +
> > +source_dl  = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
> > +
> > +build
> > +	requires
> > +		perl(AnyEvent) >= 3.81
> > +		perl(IO::AIO) >= 3
> > +		perl(ExtUtils::MakeMaker)
> > +		pakfire >= 0.9.26-3.1
> > +	end
> > +
> > +	build
> > +		perl Makefile.PL INSTALLDIRS=vendor
> > OPTIMIZE="%{CFLAGS}"
> > +		make %{PARALLELISMFLAGS}
> > +	end
> > +
> > +	test
> > +		make test
> > +	end
> > +
> > +	make_install_targets = \
> > +		pure_install DESTDIR=%{BUILDROOT}
> > +end
> > +
> > +packages
> > +	package %{name}
> > +		requires
> > +			perl(:MODULE_COMPAT_%{perl_version})
> > +		end
> > +	end
> > +
> > +	package %{name}-debuginfo
> > +		template DEBUGINFO
> > +	end
> > +end

  reply	other threads:[~2016-04-26  6:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-14  6:30 [PATCH 1/9] perl-Coro: Update to 6.49 Stefan Schantl
2016-04-14  6:30 ` [PATCH 2/9] perl-AnyEvent: New package Stefan Schantl
2016-04-14  6:30 ` [PATCH 3/9] perl-AnyEvent-AIO: " Stefan Schantl
2016-04-14 10:15   ` Michael Tremer
2016-04-26  6:55     ` Stefan Schantl [this message]
2016-04-14  6:30 ` [PATCH 4/9] perl-AnyEvent-BDB: " Stefan Schantl
2016-04-14  6:30 ` [PATCH 5/9] perl-Canary-Stability: " Stefan Schantl
2016-04-14  6:30 ` [PATCH 6/9] perl-Event: " Stefan Schantl
2016-04-14  6:30 ` [PATCH 7/9] perl-Guard: " Stefan Schantl
2016-04-14  6:30 ` [PATCH 8/9] libev: " Stefan Schantl
2016-04-14  6:30 ` [PATCH 9/9] perl-EV: " Stefan Schantl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461653721.9083.3.camel@ipfire.org \
    --to=stefan.schantl@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox