[MacPorts] #72480: mosh needs minimum perl 5.14
MacPorts
noreply at macports.org
Wed May 14 02:56:54 UTC 2025
#72480: mosh needs minimum perl 5.14
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.7
Keywords: | Port: mosh
--------------------------+--------------------
Which means it will fail on several older systems, unless dependency on
MacPorts' `perl5` is added.
{{{
---> Configuring mosh
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_mosh/mosh/work/mosh-1.4.0"
&& ./configure --prefix=/opt/local --with-crypto-library=openssl --enable-
completion --disable-silent-rules
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to build with code coverage support... no
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /opt/local/bin/gcc-mp-14 accepts -g... yes
checking for /opt/local/bin/gcc-mp-14 option to enable C11 features...
none needed
checking whether /opt/local/bin/gcc-mp-14 understands -c and -o
together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /opt/local/bin/gcc-mp-14... gcc3
checking whether the compiler supports GNU C++... yes
checking whether /opt/local/bin/g++-mp-14 accepts -g... yes
checking for /opt/local/bin/g++-mp-14 option to enable C++11 features...
none needed
checking dependency style of /opt/local/bin/g++-mp-14... gcc3
checking for ranlib... ranlib
checking for protoc... /opt/local/bin/protoc
checking for ar... ar
checking the archiver (ar) interface... ar
checking whether /opt/local/bin/g++-mp-14 supports C++11 features with
-std=gnu++11... yes
checking whether C++ compiler accepts -fno-strict-overflow... yes
checking whether C++ compiler accepts -D_FORTIFY_SOURCE=2... yes
checking whether the linker accepts -fstack-protector-all... yes
checking whether C++ compiler accepts -Wstack-protector... yes
checking whether C++ compiler accepts --param ssp-buffer-size=1... yes
checking whether C++ compiler accepts -fPIE... yes
checking whether the linker accepts -fPIE -pie... yes
checking whether the linker accepts -Wl,-z,relro... no
checking whether C++ compiler accepts -fno-default-inline... yes
checking whether C++ compiler accepts -pipe... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for utempter_remove_record in -lutempter... no
configure: WARNING: Unable to find libutempter; utmp entries will not be
made.
checking for compress in -lz... yes
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking for library containing clock_gettime... no
checking for fcntl.h... yes
checking for langinfo.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/ioctl.h... yes
checking for sys/resource.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for wchar.h... yes
checking for wctype.h... yes
checking for pty.h... no
checking for util.h... yes
checking for libutil.h... no
checking for paths.h... yes
checking for endian.h... no
checking for sys/endian.h... no
checking for utmpx.h... yes
checking for termio.h... no
checking for sys/uio.h... yes
checking for memory... yes
checking for tr1/memory... yes
checking for inline... inline
checking for int64_t... yes
checking for pid_t... yes
checking for C/C++ restrict keyword... no
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for uintptr_t... yes
checking for gettimeofday... yes
checking for posix_memalign... yes
checking for cfmakeraw... yes
checking for pselect... yes
checking for pledge... no
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for TINFO... no
checking for TINFO... yes
checking for CommonCrypto/CommonCrypto.h... no
checking for OpenSSL... yes
checking for AES_encrypt in -lcrypto... yes
checking for EVP_aes_128_ocb in -lcrypto... yes
checking for Nettle... no
checking for /opt/local/bin/g++-mp-14 -std=gnu++11 options needed to
detect all undeclared functions... none needed
checking whether forkpty is declared... no
checking for library containing forkpty... none required
checking whether FD_ISSET() argument is const... yes
checking whether std::shared_ptr is available... yes
checking whether std::tr1::shared_ptr is available... yes
checking whether clock_gettime() is supported... no
checking whether mach_absolute_time is declared... yes
checking whether __builtin_ctz is declared... yes
checking whether ffs is declared... yes
checking whether be64toh is declared... no
checking whether betoh64 is declared... no
checking whether bswap64 is declared... no
checking whether __builtin_bswap64 is declared... yes
checking whether OSSwapHostToBigInt64 is declared... yes
checking whether IP_MTU_DISCOVER is declared... no
checking whether IP_RECVTOS is declared... no
checking whether __STDC_ISO_10646__ is declared... no
configure: WARNING: C library doesn't advertise wchar_t is Unicode (OS X
works anyway with workaround).
checking whether IUTF8 is declared... yes
checking for protobuf... yes
checking whether protoc matches protobuf... yes
checking for BASH_COMPLETION... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/crypto/Makefile
config.status: creating src/frontend/Makefile
config.status: creating src/fuzz/Makefile
config.status: creating src/include/Makefile
config.status: creating src/network/Makefile
config.status: creating src/protobufs/Makefile
config.status: creating src/statesync/Makefile
config.status: creating src/terminal/Makefile
config.status: creating src/util/Makefile
config.status: creating scripts/Makefile
config.status: creating src/examples/Makefile
config.status: creating src/tests/Makefile
config.status: creating man/Makefile
config.status: creating conf/Makefile
config.status: creating src/include/config.h
config.status: executing depfiles commands
configure: === Configuration results ===
configure: Version: 1.4.0
configure: c++ compiler: /opt/local/bin/g++-mp-14 -std=gnu++11
configure: Warning CXXFLAGS: -Wall
configure: Picky CXXFLAGS:
configure: Harden CFLAGS: -fno-strict-overflow -D_FORTIFY_SOURCE=2
-fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE
configure: Cryptography: internal OCB, OpenSSL AES
configure: =============================
---> Building mosh
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_mosh/mosh/work/mosh-1.4.0"
&& /usr/bin/make -j6 -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_mosh/mosh/work/mosh-1.4.0'
/usr/bin/make all-recursive
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_mosh/mosh/work/mosh-1.4.0'
Making all in scripts
make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_mosh/mosh/work/mosh-1.4.0/scripts'
perl -Mdiagnostics -c ./mosh.pl
v-string in use/require non-portable at ./mosh.pl line 33.
Uncaught exception from user code:
./mosh.pl error: requires Perl 5.14 or Socket::GetAddrInfo.
BEGIN failed--compilation aborted at ./mosh.pl line 51.
at ./mosh.pl line 51
make[2]: *** [mosh] Error 2
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_mosh/mosh/work/mosh-1.4.0/scripts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_mosh/mosh/work/mosh-1.4.0'
make: *** [all] Error 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72480>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list