1 | | Replying to [ticket:46435 mojca@…]: |
2 | | > {{{ |
3 | | > ---> Testing p5.20-io-tty |
4 | | > Running Mkbootstrap for IO::Tty () |
5 | | > chmod 644 "Tty.bs" |
6 | | > PERL_DL_NONLAZY=1 "/opt/local/bin/perl5.20" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t |
7 | | > # Configuration: -DHAVE_DEV_PTMX -DHAVE_GRANTPT -DHAVE_OPENPTY -DHAVE_POSIX_OPENPT -DHAVE_PTSNAME -DHAVE_SIGACTION -DHAVE_STRLCPY -DHAVE_TERMIOS_H -DHAVE_TTYNAME -DHAVE_UNLOCKPT -DHAVE_UTIL_H |
8 | | > # Checking for appropriate ioctls: |
9 | | > # TIOCNOTTY |
10 | | > # TIOCSCTTY |
11 | | > trying posix_openpt()... |
12 | | > pty_allocate(nonfatal): posix_openpt(): Operation not permitted at /path/to/p5.20-io-tty/work/IO-Tty-1.12/blib/lib/IO/Pty.pm line 24. |
13 | | > trying openpty()... |
14 | | > pty_allocate(nonfatal): openpty(): Operation not permitted at /path/to/p5.20-io-tty/work/IO-Tty-1.12/blib/lib/IO/Pty.pm line 24. |
15 | | > trying /dev/ptmx... |
16 | | > pty_allocate(nonfatal): open(/dev/ptmx): Operation not permitted at /path/to/p5.20-io-tty/work/IO-Tty-1.12/blib/lib/IO/Pty.pm line 24. |
17 | | > trying BSD /dev/pty??... |
18 | | > Cannot open a pty at t/test.t line 32. |
19 | | > |
20 | | > # Failed test '0 exit code from forked child - Checking that returned fd's don't clash with stdin/out/err' |
21 | | > # at t/test.t line 46. |
22 | | > # got: '512' |
23 | | > # expected: '0' |
24 | | > # === Checking if child gets pty as controlling terminal |
25 | | > trying posix_openpt()... |
26 | | > pty_allocate(nonfatal): posix_openpt(): Operation not permitted at /path/to/p5.20-io-tty/work/IO-Tty-1.12/blib/lib/IO/Pty.pm line 24. |
27 | | > trying openpty()... |
28 | | > pty_allocate(nonfatal): openpty(): Operation not permitted at /path/to/p5.20-io-tty/work/IO-Tty-1.12/blib/lib/IO/Pty.pm line 24. |
29 | | > trying /dev/ptmx... |
30 | | > pty_allocate(nonfatal): open(/dev/ptmx): Operation not permitted at /path/to/p5.20-io-tty/work/IO-Tty-1.12/blib/lib/IO/Pty.pm line 24. |
31 | | > trying BSD /dev/pty??... |
32 | | > Cannot open a pty at t/test.t line 52. |
33 | | > # Looks like you planned 5 tests but ran 2. |
34 | | > # Looks like you failed 1 test of 2 run. |
35 | | > # Looks like your test exited with 2 just after 2. |
36 | | > t/test.t .. |
37 | | > Dubious, test returned 2 (wstat 512, 0x200) |
38 | | > Failed 4/5 subtests |
39 | | > |
40 | | > Test Summary Report |
41 | | > ------------------- |
42 | | > t/test.t (Wstat: 512 Tests: 2 Failed: 1) |
43 | | > Failed test: 2 |
44 | | > Non-zero exit status: 2 |
45 | | > Parse errors: Bad plan. You planned 5 tests but ran 2. |
46 | | > Files=1, Tests=2, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.08 cusr 0.14 csys = 0.26 CPU) |
47 | | > Result: FAIL |
48 | | > Failed 1/1 test programs. 1/2 subtests failed. |
49 | | > make: *** [test_dynamic] Error 2 |
50 | | > Command failed: cd "/path/to/p5.20-io-tty/work/IO-Tty-1.12" && /usr/bin/make test |
51 | | > Exit code: 2 |
52 | | > Error: org.macports.test for port p5.20-io-tty returned: command execution failed |
53 | | > Warning: targets not executed for p5.20-io-tty: org.macports.test |
54 | | > Please see the log file for port p5.20-io-tty for details: |
55 | | > /path/to/p5.20-io-tty/main.log |
56 | | > To report a bug, follow the instructions in the guide: |
57 | | > http://guide.macports.org/#project.tickets |
58 | | > }}} |
59 | | > |
60 | | > As a consequence tests in `p5-expect` and `p5-io-pty-easy` fail as well. |
| 1 | Indeed. I just stumbled across that. |