Hello!
MacPorts or its command line utility port is launched with elevated privileges, either with sudo or by the root super-user. It then creates kind of a sandbox in which an under-privileged user, macports without login shell, executes build or test. The working directory is below /opt/local/var/macports/build, here in /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29. A sandbox effect mostly bends /tmp to /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/.tmp.
The failures are:
---> Testing p5.38-test-postgresql
Executing: cd "/opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29" && /opt/local/bin/perl5.38 Build test
t/00-base.t .............. ok
Use of uninitialized value in chown at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
t/01-raii.t .............. skipped: failed to chown dir:/opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/.tmp/pgtest.IJFCI:Operation not permitted at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
Use of uninitialized value in chown at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
t/02-multi.t ............. skipped: failed to chown dir:/opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/.tmp/pgtest.f1q8o:Operation not permitted at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
Use of uninitialized value in chown at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
t/04-multiprocess.t ...... skipped: failed to chown dir:/opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/.tmp/pgtest.UJ6xy:Operation not permitted at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
Use of uninitialized value in chown at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
t/05-recycle-base-dir.t .. skipped: failed to chown dir:/opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/.tmp/X93zHHilpJ:Operation not permitted at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
Use of uninitialized value in chown at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
t/06-unix-socket.t ....... skipped: failed to chown dir:/opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/.tmp/pgtest.43Nhx:Operation not permitted at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
Use of uninitialized value in chown at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
t/07-configs.t ........... skipped: failed to chown dir:/opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/.tmp/pgtest.iEXS5:Operation not permitted at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
Use of uninitialized value in chown at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
t/08-postgresql_conf.t ... skipped: failed to chown dir:/opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/.tmp/pgtest.fJ2kQ:Operation not permitted at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
Use of uninitialized value in chown at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
t/09-run_psql.t .......... skipped: failed to chown dir:/opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/.tmp/pgtest.lKEen:Operation not permitted at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
Use of uninitialized value in chown at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
t/10-seed_scripts.t ...... skipped: failed to chown dir:/opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/.tmp/pgtest.FTFT6:Operation not permitted at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
Use of uninitialized value in chown at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
t/deadlock.t ............. skipped: failed to chown dir:/opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/.tmp/pgtest.nlcTk:Operation not permitted at /opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29/blib/lib/Test/PostgreSQL.pm line 622.
All tests successful.
Files=11, Tests=1, 3 wallclock secs ( 0.04 usr 0.03 sys + 2.35 cusr 0.44 csys = 2.86 CPU)
Result: PASS
Hello!
MacPorts or its command line utility
portis launched withelevated privileges, either withsudoor by the root super-user. It then creates kind of a sandbox in which an under-privileged user,macportswithout login shell, executes build or test. The working directory is below /opt/local/var/macports/build, here in/opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/Test-PostgreSQL-1.29. A sandbox effect mostly bends/tmpto/opt/local/var/macports/build/p5.38-test-postgresql-4391f175/work/.tmp.The failures are: