ora2pg icon indicating copy to clipboard operation
ora2pg copied to clipboard

M1 arm64 docker build failure

Open babloo2642 opened this issue 2 years ago • 2 comments

#docker build -t ora2pg --platform linux/amd64 .

Failed test '$maxlen >= 200 (50)'

#11 903.3 # at t/test.t line 235. #11 903.3 sysread(): Input/output error at t/test.t line 154. #11 903.3 Slave got EOF at line 51, byte 0. #11 904.4 # Looks like you failed 1 test of 5. #11 904.4 t/test.t ............. #11 904.4 Dubious, test returned 1 (wstat 256, 0x100) #11 904.4 Failed 1/5 subtests #11 904.4 #11 904.4 Test Summary Report #11 904.4 ------------------- #11 904.4 t/test.t (Wstat: 256 (exited 1) Tests: 5 Failed: 1) #11 904.4 Failed test: 5 #11 904.4 Non-zero exit status: 1 #11 904.4 Files=2, Tests=6, 18 wallclock secs ( 0.09 usr 0.01 sys + 0.73 cusr 0.11 csys = 0.94 CPU) #11 904.4 Result: FAIL #11 904.4 Failed 1/2 test programs. 1/6 subtests failed. #11 904.4 make: *** [Makefile:1040: test_dynamic] Error 1 #11 905.9 TODDR/IO-Tty-1.17.tar.gz #11 905.9 /usr/bin/make test -- NOT OK #11 905.9 //hint// to see the cpan-testers results for installing this module, try: #11 905.9 reports TODDR/IO-Tty-1.17.tar.gz #11 905.9 AUDREYT/Module-Signature-0.88.tar.gz #11 905.9 Has already been unwrapped into directory /root/.cpan/build/Module-Signature-0.88-0 #11 905.9 AUDREYT/Module-Signature-0.88.tar.gz #11 905.9 Has already been prepared #11 905.9 Running make for A/AU/AUDREYT/Module-Signature-0.88.tar.gz #11 906.0 Warning: Prerequisite 'IPC::Run => 0' for 'AUDREYT/Module-Signature-0.88.tar.gz' failed when processing 'TODDR/IPC-Run-20220807.0.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. #11 907.9 cp lib/Module/Signature.pm blib/lib/Module/Signature.pm #11 907.9 cp script/cpansign blib/script/cpansign #11 908.0 "/usr/local/bin/perl" "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/cpansign #11 908.5 AUDREYT/Module-Signature-0.88.tar.gz #11 908.5 /usr/bin/make -- OK #11 910.2 The current configuration of allow_installing_outdated_dists is 'ask/no', but for this option we would need 'CPAN::DistnameInfo' installed. Please install 'CPAN::DistnameInfo' as soon as possible. As long as we are not equipped with 'CPAN::DistnameInfo' this option does not take effect #11 910.2 Running make test for AUDREYT/Module-Signature-0.88.tar.gz #11 910.3 PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/.t #11 911.0 t/0-signature.t .. skipped: Set the environment variable TEST_SIGNATURE to enable this test. #11 911.4 t/1-basic.t ...... ok #11 911.8 t/2-cygwin.t ..... skipped: Cygwin only tests #11 912.1 Can't locate IPC/Run.pm in @INC (you may need to install the IPC::Run module) (@INC contains: /root/.cpan/build/Module-Signature-0.88-0/inc /root/.cpan/build/Module-Signature-0.88-0/blib/lib /root/.cpan/build/Module-Signature-0.88-0/blib/arch /usr/local/lib/perl5/site_perl/5.36.0/x86_64-linux-gnu /usr/local/lib/perl5/site_perl/5.36.0 /usr/local/lib/perl5/vendor_perl/5.36.0/x86_64-linux-gnu /usr/local/lib/perl5/vendor_perl/5.36.0 /usr/local/lib/perl5/5.36.0/x86_64-linux-gnu /usr/local/lib/perl5/5.36.0 .) at t/3-verify.t line 6. #11 912.1 BEGIN failed--compilation aborted at t/3-verify.t line 6. #11 912.1 t/3-verify.t ..... #11 912.1 Dubious, test returned 2 (wstat 512, 0x200) #11 912.1 No subtests run #11 912.1 #11 912.1 Test Summary Report #11 912.1 ------------------- #11 912.1 t/3-verify.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0) #11 912.1 Non-zero exit status: 2 #11 912.1 Parse errors: No plan found in TAP output #11 912.1 Files=4, Tests=2, 1 wallclock secs ( 0.07 usr 0.01 sys + 1.33 cusr 0.09 csys = 1.50 CPU) #11 912.1 Result: FAIL #11 912.1 Failed 1/4 test programs. 0/2 subtests failed. #11 912.1 make: *** [Makefile:796: test_dynamic] Error 2 #11 914.2 AUDREYT/Module-Signature-0.88.tar.gz #11 914.2 one dependency not OK (IPC::Run); additionally test harness failed #11 914.2 /usr/bin/make test -- NOT OK #11 914.2 //hint// to see the cpan-testers results for installing this module, try: #11 914.2 reports AUDREYT/Module-Signature-0.88.tar.gz

executor failed running [/bin/sh -c cpan install Test::NoWarnings && cpan install DBI && cpan install DBD::Pg && cpan install Bundle::Compress::Zlib && cpan install CPAN::DistnameInfo && cpanm install IPC::Run && cpanm install DBD::[email protected]]: exit code: 1

# Install DBI module with Postgres, Oracle and Compress::Zlib module RUN cpan install Test::NoWarnings &&\ cpan install DBI &&\ cpan install DBD::Pg &&\ cpan install Bundle::Compress::Zlib &&\ cpan install CPAN::DistnameInfo &&\ cpanm install IPC::Run &&\ cpanm install DBD::[email protected]

babloo2642 avatar Dec 12 '22 02:12 babloo2642

I can not reproduce this. You will need to provide more information.

Guy-Incognito avatar Mar 07 '23 21:03 Guy-Incognito

I have the similar problem and make own docker image base on oracle-linux-7 for fix it. You can try it. https://github.com/sosmolovskii/ora2pgdock

sosmolovskii avatar May 18 '23 06:05 sosmolovskii