Skip to content

Instantly share code, notes, and snippets.

@dtzWill
Created April 20, 2018 15:39
Show Gist options
  • Save dtzWill/e7ce6cc3227f2d3e575f0149b14dc13f to your computer and use it in GitHub Desktop.
Save dtzWill/e7ce6cc3227f2d3e575f0149b14dc13f to your computer and use it in GitHub Desktop.
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/gaj8f04qxyn7v3248msg860w0ss964hm-IO-Tty-1.12.tar.gz
source root is IO-Tty-1.12
setting SOURCE_DATE_EPOCH to timestamp 1410538481 of file IO-Tty-1.12/META.yml
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
patching ./t/test.t...
Now let's see what we can find out about your system
(logfiles of failing tests are available in the conf/ dir)...
Looking for _getpty()...... not found.
Looking for getpt()........ not found.
Looking for grantpt()...... FOUND.
Looking for openpty()...... FOUND.
Looking for posix_openpt(). FOUND.
Looking for ptsname()...... FOUND.
Looking for ptsname_r().... FOUND.
Looking for sigaction().... FOUND.
Looking for strlcpy()...... FOUND.
Looking for ttyname()...... FOUND.
Looking for unlockpt()..... FOUND.
Looking for libutil.h...... not found.
Looking for pty.h.......... FOUND.
Looking for sys/pty.h...... not found.
Looking for sys/ptyio.h.... not found.
Looking for sys/stropts.h.. FOUND.
Looking for termio.h....... not found.
Looking for termios.h...... FOUND.
Looking for util.h......... not found.
Checking which symbols compile OK...
(sorry for the tedious check, but some systems have not too clean
header files, to say the least; '+' means OK, '-' means not defined
and '*' has compile problems...)
+B0 +B110 +B115200 +B1200 +B134 +B150 -B153600 +B1800 +B19200 +B200 +B230400 +B2400 +B300 -B307200 +B38400 +B460800 +B4800 +B50 +B57600 +B600 +B75 -B76800 +B9600 +BRKINT +BS0 +BS1 +BSDLY +CBAUD -CBAUDEXT -CBRK -CCTS_OFLOW -CDEL -CDSUSP -CEOF -CEOL -CEOL2 -CEOT -CERASE -CESC -CFLUSH +CIBAUD -CIBAUDEXT -CINTR -CKILL -CLNEXT +CLOCAL -CNSWTCH -CNUL -CQUIT +CR0 +CR1 +CR2 +CR3 +CRDLY +CREAD -CRPRNT +CRTSCTS -CRTSXOFF -CRTS_IFLOW +CS5 +CS6 +CS7 +CS8 +CSIZE -CSTART -CSTOP +CSTOPB -CSUSP -CSWTCH -CWERASE -DEFECHO -DIOC -DIOCGETP -DIOCSETP -DOSMODE +ECHO +ECHOCTL +ECHOE +ECHOK +ECHOKE +ECHONL +ECHOPRT +EXTA +EXTB +FF0 +FF1 +FFDLY -FIORDCHK +FLUSHO +HUPCL +ICANON +ICRNL +IEXTEN +IGNBRK +IGNCR +IGNPAR +IMAXBEL +INLCR +INPCK +ISIG +ISTRIP +IUCLC +IXANY +IXOFF +IXON -KBENABLED -LDCHG -LDCLOSE -LDDMAP -LDEMAP -LDGETT -LDGMAP -LDIOC -LDNMAP -LDOPEN -LDSETT -LDSMAP -LOBLK +NCCS +NL0 +NL1 +NLDLY +NOFLSH +OCRNL +OFDEL +OFILL +OLCUC +ONLCR +ONLRET +ONOCR +OPOST -PAGEOUT +PARENB -PAREXT +PARMRK +PARODD +PENDIN -RCV1EN -RTS_TOG +TAB0 +TAB1 +TAB2 +TAB3 +TABDLY -TCDSET +TCFLSH +TCGETA +TCGETS +TCIFLUSH +TCIOFF +TCIOFLUSH +TCION +TCOFLUSH +TCOOFF +TCOON +TCSADRAIN +TCSAFLUSH +TCSANOW +TCSBRK +TCSETA +TCSETAF +TCSETAW -TCSETCTTY +TCSETS +TCSETSF +TCSETSW +TCXONC -TERM_D40 -TERM_D42 -TERM_H45 -TERM_NONE -TERM_TEC -TERM_TEX -TERM_V10 -TERM_V61 +TIOCCBRK -TIOCCDTR +TIOCCONS +TIOCEXCL -TIOCFLUSH -TIOCGETC +TIOCGETD -TIOCGETP -TIOCGLTC +TIOCGPGRP +TIOCGSID +TIOCGSOFTCAR +TIOCGWINSZ -TIOCHPCL -TIOCKBOF -TIOCKBON -TIOCLBIC -TIOCLBIS -TIOCLGET -TIOCLSET +TIOCMBIC +TIOCMBIS +TIOCMGET +TIOCMSET +TIOCM_CAR +TIOCM_CD +TIOCM_CTS +TIOCM_DSR +TIOCM_DTR +TIOCM_LE +TIOCM_RI +TIOCM_RNG +TIOCM_RTS +TIOCM_SR +TIOCM_ST +TIOCNOTTY +TIOCNXCL +TIOCOUTQ -TIOCREMOTE +TIOCSBRK +TIOCSCTTY -TIOCSDTR -TIOCSETC +TIOCSETD -TIOCSETN -TIOCSETP -TIOCSIGNAL -TIOCSLTC +TIOCSPGRP -TIOCSSID +TIOCSSOFTCAR -TIOCSTART +TIOCSTI -TIOCSTOP +TIOCSWINSZ -TM_ANL -TM_CECHO -TM_CINVIS -TM_LCF -TM_NONE -TM_SET -TM_SNL +TOSTOP -VCEOF -VCEOL +VDISCARD -VDSUSP +VEOF +VEOL +VEOL2 +VERASE +VINTR +VKILL +VLNEXT +VMIN +VQUIT +VREPRINT +VSTART +VSTOP +VSUSP -VSWTCH +VT0 +VT1 +VTDLY +VTIME +VWERASE -WRAP +XCASE -XCLUDE -XMT1EN +XTABS
>>> Configuration looks good! <<<
Writing IO::Tty::Constant.pm...
DEFINE = -DHAVE_GRANTPT -DHAVE_OPENPTY -DHAVE_POSIX_OPENPT -DHAVE_PTSNAME -DHAVE_PTSNAME_R -DHAVE_PTY_H -DHAVE_SIGACTION -DHAVE_STRLCPY -DHAVE_SYS_STROPTS_H -DHAVE_TERMIOS_H -DHAVE_TTYNAME -DHAVE_UNLOCKPT
Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for -lutil
Generating a Unix-style Makefile
Writing Makefile for IO::Tty
Writing MYMETA.yml and MYMETA.json
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: SHELL=/nix/store/gm8j1wnh4yikx7z2cdq0igx5r7vg0kgf-bash-4.4-p19/bin/bash
cp Tty.pm blib/lib/IO/Tty.pm
cp Pty.pm blib/lib/IO/Pty.pm
cp Tty/Constant.pm blib/lib/IO/Tty/Constant.pm
Running Mkbootstrap for IO::Tty ()
chmod 644 "Tty.bs"
"/nix/store/lc87a5rhqgx80bvk6vy317shkfw47gjw-perl-5.24.3/bin/perl" "/nix/store/lc87a5rhqgx80bvk6vy317shkfw47gjw-perl-5.24.3/lib/perl5/5.24.3/ExtUtils/xsubpp" -typemap "/nix/store/lc87a5rhqgx80bvk6vy317shkfw47gjw-perl-5.24.3/lib/perl5/5.24.3/ExtUtils/typemap" Tty.xs > Tty.xsc && mv Tty.xsc Tty.c
cc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/no-such-path/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fPIC "-I/nix/store/lc87a5rhqgx80bvk6vy317shkfw47gjw-perl-5.24.3/lib/perl5/5.24.3/x86_64-linux-thread-multi/CORE" -DHAVE_GRANTPT -DHAVE_OPENPTY -DHAVE_POSIX_OPENPT -DHAVE_PTSNAME -DHAVE_PTSNAME_R -DHAVE_PTY_H -DHAVE_SIGACTION -DHAVE_STRLCPY -DHAVE_SYS_STROPTS_H -DHAVE_TERMIOS_H -DHAVE_TTYNAME -DHAVE_UNLOCKPT Tty.c
rm -f blib/arch/auto/IO/Tty/Tty.so
cc -shared -O2 -L/nix/store/xadhbqk3j58yabsw61a8iiv8c4wm3585-musl-1.1.19/lib -fstack-protector-strong Tty.o -o blib/arch/auto/IO/Tty/Tty.so \
\
chmod 755 blib/arch/auto/IO/Tty/Tty.so
"/nix/store/lc87a5rhqgx80bvk6vy317shkfw47gjw-perl-5.24.3/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tty.bs blib/arch/auto/IO/Tty/Tty.bs 644
Manifying 3 pod documents
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
check flags: SHELL=/nix/store/gm8j1wnh4yikx7z2cdq0igx5r7vg0kgf-bash-4.4-p19/bin/bash VERBOSE=y test
Running Mkbootstrap for IO::Tty ()
chmod 644 "Tty.bs"
PERL_DL_NONLAZY=1 "/nix/store/lc87a5rhqgx80bvk6vy317shkfw47gjw-perl-5.24.3/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Configuration: -DHAVE_GRANTPT -DHAVE_OPENPTY -DHAVE_POSIX_OPENPT -DHAVE_PTSNAME -DHAVE_PTSNAME_R -DHAVE_PTY_H -DHAVE_SIGACTION -DHAVE_STRLCPY -DHAVE_SYS_STROPTS_H -DHAVE_TERMIOS_H -DHAVE_TTYNAME -DHAVE_UNLOCKPT
# Checking for appropriate ioctls:
# TIOCNOTTY
# TIOCSCTTY
trying posix_openpt()...
pty_allocate(nonfatal): posix_openpt(): No such file or directory at /build/IO-Tty-1.12/blib/lib/IO/Pty.pm line 24.
trying openpty()...
pty_allocate(nonfatal): openpty(): No such file or directory at /build/IO-Tty-1.12/blib/lib/IO/Pty.pm line 24.
trying BSD /dev/pty??...
Cannot open a pty at t/test.t line 32.
# Failed test '0 exit code from forked child - Checking that returned fd's don't clash with stdin/out/err'
# at t/test.t line 46.
# got: '512'
# expected: '0'
# === Checking if child gets pty as controlling terminal
trying posix_openpt()...
pty_allocate(nonfatal): posix_openpt(): No such file or directory at /build/IO-Tty-1.12/blib/lib/IO/Pty.pm line 24.
trying openpty()...
pty_allocate(nonfatal): openpty(): No such file or directory at /build/IO-Tty-1.12/blib/lib/IO/Pty.pm line 24.
trying BSD /dev/pty??...
Cannot open a pty at t/test.t line 52.
# Looks like you planned 5 tests but ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test exited with 2 just after 2.
t/test.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/5 subtests
Test Summary Report
-------------------
t/test.t (Wstat: 512 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 2
Parse errors: Bad plan. You planned 5 tests but ran 2.
Files=1, Tests=2, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.05 cusr 0.04 csys = 0.12 CPU)
Result: FAIL
Failed 1/1 test programs. 1/2 subtests failed.
make: *** [Makefile:1035: test_dynamic] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment