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