To enable serial port tests, use: perl Makefile.PL TESTPORT= where is a specific port or 'auto' to autodetect. Running ./configure ... configure: loading site script /builder/shared-workdir/build/sdk/include/site/arm checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for ANSI C header files... yes checking for library containing strerror... none required checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/termiox.h usability... no checking sys/termiox.h presence... no checking for sys/termiox.h... no checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking sys/ttycom.h usability... no checking sys/ttycom.h presence... no checking for sys/ttycom.h... no checking sys/modem.h usability... no checking sys/modem.h presence... no checking for sys/modem.h... no checking IOKit/serial/ioss.h usability... no checking IOKit/serial/ioss.h presence... no checking for IOKit/serial/ioss.h... no checking definition of _SC_CLK_TCK... found checking definition of TIOCMBIS... found checking definition of TIOCMBIC... found checking definition of TIOCMGET... found checking definition of CRTSCTS... found checking definition of OCRNL... found checking definition of ONLCR... found checking definition of ECHOKE... found checking definition of ECHOCTL... found checking definition of TIOCM_CAR... found checking definition of TIOCM_CD... found checking definition of TIOCM_RNG... found checking definition of TIOCM_RI... found checking definition of TIOCM_CTS... found checking definition of TIOCM_DSR... found checking definition of TIOCMIWAIT... found checking definition of TIOCGICOUNT... found checking definition of TIOCINQ... found checking definition of FIONREAD... found checking definition of TIOCOUTQ... found checking definition of TIOCSER_TEMT... found checking definition of TIOCM_LE... found checking definition of TIOCSERGETLSR... found checking definition of TIOCSDTR... missing checking definition of TIOCCDTR... missing checking definition of TIOCM_RTS... found checking definition of TIOCM_DTR... found checking definition of CTSXON... missing checking definition of RTSXOFF... missing checking definition of TCGETX... found checking definition of TCSETX... found checking definition of IOSSIOSPEED... missing checking definition of B0... found checking definition of B50... found checking definition of B75... found checking definition of B110... found checking definition of B134... found checking definition of B150... found checking definition of B200... found checking definition of B300... found checking definition of B600... found checking definition of B1200... found checking definition of B1800... found checking definition of B2400... found checking definition of B4800... found checking definition of B9600... found checking definition of B19200... found checking definition of B38400... found checking definition of B57600... found checking definition of B115200... found checking definition of B230400... found checking definition of B460800... found checking definition of B500000... found checking definition of B576000... found checking definition of B921600... found checking definition of B1000000... found checking definition of B1152000... found checking definition of B1500000... found checking definition of B2000000... found checking definition of B2500000... found checking definition of B3000000... found checking definition of B3500000... found checking definition of B4000000... found checking serial control via ioctl... yes checking read/write of RTS signal... yes checking read/write of DTR signal... yes checking read access to modem lines... yes checking read access to buffer status... yes checking read access to serial line status... yes checking normal CTS/RTS flow control... yes configure: creating ./config.status config.status: creating config.h Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Device::SerialPort Writing MYMETA.yml and MYMETA.json You're ready to run 'make' now... make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/Device-SerialPort-1.04' cp SerialPort.pm blib/lib/Device/SerialPort.pm Running Mkbootstrap for SerialPort () chmod 644 "SerialPort.bs" "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- SerialPort.bs blib/arch/auto/Device/SerialPort/SerialPort.bs 644 "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/bin/perl5.40.0" "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/lib/perl5/5.40.0/ExtUtils/xsubpp" -typemap '/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/lib/perl5/5.40.0/ExtUtils/typemap' SerialPort.xs > SerialPort.xsc mv SerialPort.xsc SerialPort.c arm-openwrt-linux-gcc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/Device-SerialPort-1.04=Device-SerialPort-1.04 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-13.3.0_musl_eabi/include/fortify -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -O2 -DVERSION=\"1.04\" -DXS_VERSION=\"1.04\" -fPIC "-I/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/lib/perl5/5.40/CORE/" SerialPort.c In file included from SerialPort.xs:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-13.3.0_musl_eabi/include/sys/termios.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ rm -f blib/arch/auto/Device/SerialPort/SerialPort.so arm-openwrt-linux-gcc -shared -rdynamic -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-13.3.0_musl_eabi/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-13.3.0_musl_eabi/lib -fuse-ld=bfd -znow -zrelro SerialPort.o -o blib/arch/auto/Device/SerialPort/SerialPort.so \ \ chmod 755 blib/arch/auto/Device/SerialPort/SerialPort.so cp modemtest blib/script/modemtest "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/bin/perl5.40.0" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/modemtest Manifying 1 pod document Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/Device-SerialPort-1.04/ipkg-install/usr/lib/perl5/5.40/auto/Device/SerialPort/SerialPort.so Installing /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/Device-SerialPort-1.04/ipkg-install/usr/lib/perl5/5.40/Device/SerialPort.pm Installing /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/Device-SerialPort-1.04/ipkg-install/usr/man/man1/modemtest.0 Installing /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/Device-SerialPort-1.04/ipkg-install/usr/man/man3/Device::SerialPort.0 Installing /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/Device-SerialPort-1.04/ipkg-install/usr/bin/modemtest Appending installation info to /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/Device-SerialPort-1.04/ipkg-install/usr/lib/perl5/5.40/perllocal.pod make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/Device-SerialPort-1.04' cd+++++++++ Device/ >f+++++++++ Device/SerialPort.pm cd+++++++++ auto/ cd+++++++++ auto/Device/ cd+++++++++ auto/Device/SerialPort/ >f+++++++++ auto/Device/SerialPort/SerialPort.so ---> Stripping modules in: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/Device-SerialPort-1.04/.pkgdir/perl-device-serialport/usr/lib/perl5/5.40 cd+++++++++ Device/ >f+++++++++ Device/SerialPort.pm cd+++++++++ auto/ cd+++++++++ auto/Device/ cd+++++++++ auto/Device/SerialPort/ >f+++++++++ auto/Device/SerialPort/SerialPort.so ---> Stripping modules in: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/Device-SerialPort-1.04/ipkg-arm_cortex-a15_neon-vfpv4/perl-device-serialport/usr/lib/perl5/5.40 rstrip.sh: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/Device-SerialPort-1.04/ipkg-arm_cortex-a15_neon-vfpv4/perl-device-serialport/usr/lib/perl5/5.40/auto/Device/SerialPort/SerialPort.so: shared object ERROR: info field 'version' has invalid value: package version is invalid ERROR: failed to create package: /builder/shared-workdir/build/sdk/bin/packages/arm_cortex-a15_neon-vfpv4/packages/perl-device-serialport-1.04+perl5.40-r4.apk: package version is invalid make[3]: *** [Makefile:96: /builder/shared-workdir/build/sdk/bin/packages/arm_cortex-a15_neon-vfpv4/packages/perl-device-serialport-1.04+perl5.40-r4.apk] Error 99 time: package/feeds/packages/perl-device-serialport/compile#3.98#8.98#18.57