Hi, the server failed to send yesterday ...
On 27.05.24 2:27 PM, Ingo Schmid wrote:
Hi Ed,
setting TMPDIR to another place resolved the issue, thank you!
Ingo
On 24.05.24 6:12 PM, Ed . wrote:
Hi Ingo,
I googled for “failed to map segment from shared object”, which I
encourage, because self-help is always going to quicker if it
succeeds than waiting for a mailing list reply :-) The first hit is
this Stack Overflow answer:
https://stackoverflow.com/questions/13502156/what-are-possible-causes-of-failed-to-map-segment-from-shared-object-operation
The top answer implies that your /tmp may not allow executing code
(including loading dynamic libraries). Can you try setting the TMPDIR
environment variable as suggested in an answer, and re-running the
pptest.t? I’d suggest /not/ trying remounting /tmp as that may have
security implications.
Best regards,
Ed
------------------------------------------------------------------------
*From:* Ingo Schmid via pdl-general <[email protected]>
*Sent:* Thursday, May 23, 2024 10:27:56 AM
*To:* perldl <[email protected]>
*Subject:* [Pdl-general] Install issues
Hi,
installing PDL (no root) on a server using perlbrew 5.36.0 / cpanm
resulted in test failures.
I am not sure how serious this is.
Best,
Ingo
The following output occured during make test:
t/00-report-prereqs.t ...... ok
t/01-pptest.t .............. 2/?
# Failed test '"make" test'
# at t/01-pptest.t line 592.
# make[1]: warning: jobserver unavailable: using -j1. Add '+' to
parent make rule.
# make[1]: Entering directory '/tmp/2OCkFF2lj9'
# Running Mkbootstrap for Tests ()
# chmod 644 "Tests.bs"
... lot's of complier output ...
# cc -shared -O2 -L/usr/local/lib -fstack-protector-strong Tests.o
pp-foop.o pp-foop1.o pp-fsumover.o pp-nsumover.o pp-gelsd.o
pp-broadcastloop_continue.o pp-succ.o pp-gl_arrows.o pp-polyfill_pp.o
pp-rice_compress.o pp-output_op.o pp-output_op2.o pp-output_op3.o
pp-incomp_dim.o pp-typem.o pp-incomp_in.o pp-incomp_out.o
pp-index_prec.o pp-diff_central.o pp-testinc.o pp-testinc2.o pp-or2.o
pp-logadd.o pp-ftr.o pp-ftrPM.o ppcp.o -o
blib/arch/auto/PDL/Tests/Tests.so \
# \
#
# chmod 755 blib/arch/auto/PDL/Tests/Tests.so
# cp Tests.pm blib/lib/PDL/Tests.pm
# PERL_DL_NONLAZY=1
"/ceph/mri.meduniwien.ac.at/departments/physics/metabolism/lab/cardiac_31P/perlbrew/perls/on_valdi/bin/perl"
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
*Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Can't load '/tmp/2OCkFF2lj9/blib/arch/auto/PDL/Tests/Tests.so' for
module PDL::Tests: /tmp/2OCkFF2lj9/blib/arch/auto/PDL/Tests/Tests.so:
failed to map segment from shared object at
/ceph/mri.meduniwien.ac.at/departments/physics/metabolism/lab/cardiac_31P/perlbrew/perls/on_valdi/lib/5.36.0/x86_64-linux/DynaLoader.pm
line 206.
# at t/all.t line 11.
# Compilation failed in require at t/all.t line 11.
# BEGIN failed--compilation aborted at t/all.t line 14.
# t/all.t ..
# Dubious, test returned 2 (wstat 512, 0x200)
# No subtests run
#
# Test Summary Report
# -------------------
# t/all.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
# Non-zero exit status: 2
# Parse errors: No plan found in TAP output
# Files=1, Tests=0, 1 wallclock secs ( 0.01 usr 0.01 sys + 0.07
cusr 0.03 csys = 0.12 CPU)
# Result: FAIL
# Failed 1/1 test programs. 0/0 subtests failed.
# Makefile:1028: recipe for target 'test_dynamic' failed
# make[1]: Leaving directory '/tmp/2OCkFF2lj9'
# make[1]: *** [test_dynamic] Error 2
# Looks like you failed 1 test of 2.
t/01-pptest.t .............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/autoload.t ............... ok
t/bad.t .................... ok
t/basic.t .................. ok
t/bigmem.t ................. skipped: bigmem tests skipped to avoid
OOM fails
t/bool.t ................... ok
t/clump.t .................. ok
t/config.t ................. ok
t/constants.t .............. ok
t/constructor.t ............ ok
t/core.t ................... ok
t/croak.t .................. ok
t/inline-with.t ............ skipped: Skipped: Inline or Inline::C
not installed
t/inlinepdlpp.t ............ skipped: Skipped: Inline or Inline::C
not installed
t/lvalue.t ................. ok
t/math.t ................... ok
t/matrix.t ................. ok
t/matrixops.t .............. ok
t/nat_complex.t ............ ok
t/ops-bitwise.t ............ ok
t/ops.t .................... ok
t/pdl_from_string.t ........ ok
t/pdlchar.t ................ ok
t/pp_croaking.t ............ ok
t/pp_line_numbers.t ........ ok
t/primitive-append.t ....... ok
t/primitive-clip.t ......... ok
t/primitive-interpolate.t .. ok
t/primitive-matmult.t ...... ok
t/primitive-misc.t ......... ok
t/primitive-random.t ....... ok
t/primitive-selector.t ..... ok
t/primitive-setops.t ....... ok
t/primitive-stats.t ........ ok
t/primitive-vector.t ....... ok
t/primitive-vsearch.t ...... ok
t/pthread.t ................ ok
t/reduce.t ................. ok
t/scope.t .................. ok
t/slice.t .................. ok
t/subclass.t ............... ok
t/thread.t ................. ok
t/thread_def.t ............. ok
t/ufunc.t .................. ok
Test Summary Report
-------------------
t/01-pptest.t (Wstat: 256 (exited 1) Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
t/pdl_from_string.t (Wstat: 0 Tests: 144 Failed: 0)
TODO passed: 60-62
t/primitive-random.t (Wstat: 0 Tests: 3 Failed: 0)
TODO passed: 1
Files=45, Tests=2267, 23 wallclock secs ( 0.26 usr 0.10 sys + 19.35
cusr 5.16 csys = 24.87 CPU)
Result: FAIL
Failed 1/45 test programs. 1/2267 subtests failed.
Makefile:1097: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
system:
Linux #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64
x86_64 GNU/Linux
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
valdi:[PDL-Drawing-Prima-0.18]$ perl --version
This is perl 5, version 36, subversion 0 (v5.36.0) built for x86_64-linux
Copyright 1987-2022, Larry Wall
Perl may be copied only under the terms of either the Artistic
License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access
to the
Internet, point your browser at https://www.perl.org/
<https://www.perl.org/>, the Perl Home Page.
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general