>>> perl-io-tty: Building main/perl-io-tty 1.16-r3 (using abuild 3.9.0-r0) started Wed, 13 Apr 2022 13:53:48 +0000 >>> perl-io-tty: Checking sanity of /home/buildozer/aports/main/perl-io-tty/APKBUILD... >>> perl-io-tty: Analyzing dependencies... >>> perl-io-tty: Installing for build: build-base perl perl-dev (1/8) Installing libbz2 (1.0.8-r1) (2/8) Installing perl (5.34.1-r0) (3/8) Installing perl-utils (5.34.1-r0) (4/8) Installing perl-dev (5.34.1-r0) (5/8) Installing .makedepends-perl-io-tty (20220413.135350) (6/8) Installing perl-error (0.17029-r1) (7/8) Installing perl-git (2.35.1-r2) (8/8) Installing git-perl (2.35.1-r2) Executing busybox-1.35.0-r8.trigger OK: 374 MiB in 93 packages >>> perl-io-tty: Cleaning up srcdir >>> perl-io-tty: Cleaning up pkgdir >>> perl-io-tty: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/IO-Tty-1.16.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 26765 100 26765 0 0 402k 0 --:--:-- --:--:-- --:--:-- 408k >>> perl-io-tty: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/IO-Tty-1.16.tar.gz >>> perl-io-tty: Checking sha512sums... IO-Tty-1.16.tar.gz: OK disable-failing-test.patch: OK >>> perl-io-tty: Unpacking /var/cache/distfiles/v3.16/IO-Tty-1.16.tar.gz... >>> perl-io-tty: disable-failing-test.patch patching file t/test.t Use of uninitialized value $_ in pattern match (m//) at Makefile.PL line 19. 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_DEV_PTMX -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 Generating a Unix-style Makefile Writing Makefile for IO::Tty Writing MYMETA.yml and MYMETA.json Running Mkbootstrap for Tty () "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/core_perl/ExtUtils/typemap' Tty.xs > Tty.xsc chmod 644 "Tty.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tty.bs blib/arch/auto/IO/Tty/Tty.bs 644 cp Tty/Constant.pm blib/lib/IO/Tty/Constant.pm cp Tty.pm blib/lib/IO/Tty.pm cp Pty.pm blib/lib/IO/Pty.pm mv Tty.xsc Tty.c cc -c -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DHAVE_DEV_PTMX -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 Tty.xs: In function 'XS_IO__Tty_unpack_winsize': Tty.xs:867:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'STRLEN' {aka 'long unsigned int'} [-Wformat=] 867 | croak("IO::Tty::unpack_winsize(): Bad arg length - got %d, expected %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tty.xs:867:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 867 | croak("IO::Tty::unpack_winsize(): Bad arg length - got %d, expected %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 868 | SvCUR(winsize), sizeof(ws)); | ~~~~~~~~~~ | | | long unsigned int rm -f blib/arch/auto/IO/Tty/Tty.so cc -shared -Os -fomit-frame-pointer -L/usr/local/lib -fstack-protector-strong Tty.o -o blib/arch/auto/IO/Tty/Tty.so \ -lutil \ chmod 755 blib/arch/auto/IO/Tty/Tty.so Manifying 3 pod documents "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tty.bs blib/arch/auto/IO/Tty/Tty.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/pty_get_winsize.t .. ok # Configuration: -DHAVE_DEV_PTMX -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()... trying grantpt()... trying unlockpt()... trying ptsname_r()... trying to open /dev/pts/5... trying to I_PUSH ptem... trying to I_PUSH ldterm... trying to I_PUSH ttcompat... # === Checking if child gets pty as controlling terminal trying posix_openpt()... trying grantpt()... trying unlockpt()... trying ptsname_r()... trying to open /dev/pts/5... trying to I_PUSH ptem... trying to I_PUSH ldterm... trying to I_PUSH ttcompat... WARNING: when the client closes the slave pty, the master gets an error (undef return value and $! eq "I/O error") instead of EOF (0 return value). Please be sure to handle this in your application (Expect already does). # Checking basic functionality and how your ptys handle large strings... # This test may hang on certain systems, even though it is protected # by alarm(). If the counter stops, try Ctrl-C, the test should continue. trying posix_openpt()... trying grantpt()... trying unlockpt()... trying ptsname_r()... trying to open /dev/pts/5... trying to I_PUSH ptem... trying to I_PUSH ldterm... trying to I_PUSH ttcompat... # isatty($master): YES # isatty($slave): YES # Child PID = 29432 # Good, your raw ptys can handle at least 530 bytes at once. sysread(): I/O error at t/test.t line 154. Slave got EOF at line 530, byte 0. t/test.t ............. ok All tests successful. Files=2, Tests=6, 3 wallclock secs ( 0.02 usr 0.01 sys + 0.40 cusr 0.36 csys = 0.79 CPU) Result: PASS >>> perl-io-tty: Entering fakeroot... "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tty.bs blib/arch/auto/IO/Tty/Tty.bs 644 Manifying 3 pod documents Appending installation info to /home/buildozer/aports/main/perl-io-tty/pkg/perl-io-tty/usr/lib/perl5/core_perl/perllocal.pod Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/buildozer/aports/main/perl-io-tty/pkg/perl-io-tty/usr/lib/perl5/vendor_perl/auto/IO/Tty/Tty.so Installing /home/buildozer/aports/main/perl-io-tty/pkg/perl-io-tty/usr/lib/perl5/vendor_perl/IO/Pty.pm Installing /home/buildozer/aports/main/perl-io-tty/pkg/perl-io-tty/usr/lib/perl5/vendor_perl/IO/Tty.pm Installing /home/buildozer/aports/main/perl-io-tty/pkg/perl-io-tty/usr/lib/perl5/vendor_perl/IO/Tty/Constant.pm Installing /home/buildozer/aports/main/perl-io-tty/pkg/perl-io-tty/usr/share/man/man3/IO::Tty::Constant.3pm Installing /home/buildozer/aports/main/perl-io-tty/pkg/perl-io-tty/usr/share/man/man3/IO::Tty.3pm Installing /home/buildozer/aports/main/perl-io-tty/pkg/perl-io-tty/usr/share/man/man3/IO::Pty.3pm >>> perl-io-tty-doc*: Running split function doc... >>> perl-io-tty-doc*: Preparing subpackage perl-io-tty-doc... >>> perl-io-tty-doc*: Running postcheck for perl-io-tty-doc >>> perl-io-tty*: Running postcheck for perl-io-tty >>> perl-io-tty*: Preparing package perl-io-tty... >>> perl-io-tty*: Stripping binaries >>> perl-io-tty-doc*: Scanning shared objects >>> perl-io-tty*: Scanning shared objects >>> perl-io-tty-doc*: Tracing dependencies... >>> perl-io-tty-doc*: Package size: 32.0 KB >>> perl-io-tty-doc*: Compressing data... >>> perl-io-tty-doc*: Create checksum... >>> perl-io-tty-doc*: Create perl-io-tty-doc-1.16-r3.apk >>> perl-io-tty*: Tracing dependencies... perl so:libc.musl-x86_64.so.1 >>> perl-io-tty*: Package size: 116.0 KB >>> perl-io-tty*: Compressing data... >>> perl-io-tty*: Create checksum... >>> perl-io-tty*: Create perl-io-tty-1.16-r3.apk >>> perl-io-tty: Build complete at Wed, 13 Apr 2022 13:54:07 +0000 elapsed time 0h 0m 19s >>> perl-io-tty: Cleaning up srcdir >>> perl-io-tty: Cleaning up pkgdir >>> perl-io-tty: Uninstalling dependencies... (1/8) Purging .makedepends-perl-io-tty (20220413.135350) (2/8) Purging perl-dev (5.34.1-r0) (3/8) Purging perl-utils (5.34.1-r0) (4/8) Purging git-perl (2.35.1-r2) (5/8) Purging perl-git (2.35.1-r2) (6/8) Purging perl-error (0.17029-r1) (7/8) Purging perl (5.34.1-r0) (8/8) Purging libbz2 (1.0.8-r1) Executing busybox-1.35.0-r8.trigger OK: 327 MiB in 85 packages >>> perl-io-tty: Updating the main/x86_64 repository index... >>> perl-io-tty: Signing the index...