[3/9] perl-AnyEvent-AIO: New package.
Message ID | 1460615445-3996-3-git-send-email-stefan.schantl@ipfire.org |
---|---|
State | Dropped |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (hedwig.ipfire.org [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id 077EC60446 for <patchwork@ipfire.org>; Thu, 14 Apr 2016 08:31:01 +0200 (CEST) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 634FC1B96; Thu, 14 Apr 2016 08:30:59 +0200 (CEST) Received: from tuxedo.stevee (178.115.131.127.wireless.dyn.drei.com [178.115.131.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 337654232; Thu, 14 Apr 2016 08:30:56 +0200 (CEST) From: Stefan Schantl <stefan.schantl@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH 3/9] perl-AnyEvent-AIO: New package. Date: Thu, 14 Apr 2016 08:30:39 +0200 Message-Id: <1460615445-3996-3-git-send-email-stefan.schantl@ipfire.org> X-Mailer: git-send-email 2.4.11 In-Reply-To: <1460615445-3996-1-git-send-email-stefan.schantl@ipfire.org> References: <1460615445-3996-1-git-send-email-stefan.schantl@ipfire.org> X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Stefan Schantl
April 14, 2016, 4:30 p.m. UTC
This is a build and runtime dependency of perl-Coro.
Signed-off-by: Stefan Schantl <stefan.schantl@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
Comments
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@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@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
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@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@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