pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

net/mosh: build failure on Darwin (macOS 15.0.1)



Hi!

I fetched pkgsrc-2024Q3 and since net/mosh isn't available as a binary
package for Darwin I tried "bmake install clean" in pkgsrc's net/mosh:

- - - - - - - - - - %< - - - - - - - - - -

mk ~/.../net/mosh $ bmake install clean
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Checking for vulnerabilities in mosh-1.4.0nb5
===> Configuring for mosh-1.4.0nb5
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Replacing Perl interpreter in scripts/mosh.pl src/tests/genbase64.pl src/tests/hold-stdin src/tests/print-exitstatus.
INFO: [replace-interpreter] Nothing changed in scripts/mosh.pl.
INFO: [replace-interpreter] Nothing changed in src/tests/genbase64.pl.
INFO: [replace-interpreter] Nothing changed in src/tests/hold-stdin.
INFO: [replace-interpreter] Nothing changed in src/tests/print-exitstatus.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /usr/bin/install -c -o mk -g staff
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... /opt/pkg/bin/nawk
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 for aarch64-apple-darwin24-cc... clang
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 clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking whether clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of clang... gcc3
checking whether the compiler supports GNU C++... yes
checking whether clang++ accepts -g... yes
checking for clang++ option to enable C++11 features... none needed
checking dependency style of clang++... gcc3
checking for aarch64-apple-darwin24-ranlib... no
checking for ranlib... ranlib
checking for protoc... /Users/mk/pkgsrc/net/mosh/work/.buildlink/bin/protoc
checking for aarch64-apple-darwin24-ar... no
checking for aarch64-apple-darwin24-lib... no
checking for aarch64-apple-darwin24-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking whether clang++ 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... no
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... none required
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... no
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 pkg-config is at least version 0.9.0... yes
checking for TINFO... no
checking for TINFO... yes
checking for CommonCrypto/CommonCrypto.h... yes
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 clang++ -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... no
checking whether clock_gettime() is supported... yes
checking whether mach_absolute_time is declared... yes
checking whether __builtin_ctz is declared... no
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... no
checking whether OSSwapHostToBigInt64 is declared... yes
checking whether IP_MTU_DISCOVER is declared... no
checking whether IP_RECVTOS is declared... yes
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... no
clang++: error: no such file or directory: 'SHELL:-Xarch_x86_64'
clang++: error: no such file or directory: 'SHELL:-Xarch_arm64'
configure: error: in `/Users/mk/pkgsrc/net/mosh/work/mosh-1.4.0':
configure: error: Could not build output generated by protoc (/Users/mk/pkgsrc/net/mosh/work/.buildlink/bin/protoc).
Check that protoc matches the installed protobuf headers and libraries.
See `config.log' for more details
*** Error code 1

Stop.
bmake[1]: stopped in /Users/mk/pkgsrc/net/mosh
*** Error code 1

Stop.
bmake: stopped in /Users/mk/pkgsrc/net/mosh

(1) mk ~/.../net/mosh $ protoc --version
libprotoc 28.2

- - - - - - - - - - %< - - - - - - - - - -

Happy about helping hands / advices...

I have no clue whats going on, and to be honest no time to investigate
:-(

Best wishes.


Home | Main Index | Thread Index | Old Index