MisterTea / homebrew-et

Homebrew formula for Eternal Terminal
6 stars 9 forks source link

6.1.9 failing to build on osx 12.1 #17

Closed kurktchiev closed 2 years ago

kurktchiev commented 2 years ago

No matter what I keep getting

❯ brew install et
==> Downloading https://github.com/MisterTea/EternalTerminal/archive/et-v6.1.9.tar.gz
Already downloaded: /Users/boris/Library/Caches/Homebrew/downloads/1cd2aac4c0cdf215cd04f388078144dbcc7c9c41944f78491b4385c79ff22441--EternalTerminal-et-v6.1.9.tar.gz
==> Installing et from mistertea/et
==> cmake . -DDISABLE_VCPKG:BOOL=ON
==> make -j4 install
Last 15 lines from /Users/boris/Library/Logs/Homebrew/et/02.make:
[ 44%] Building C object external_imported/sentry-native/crashpad_build/util/CMakeFiles/crashpad_util.dir/util/mach/notifyServer.c.o
cd /tmp/et-20220103-86002-tx23xt/EternalTerminal-et-v6.1.9/external_imported/sentry-native/crashpad_build/util && /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -DCRASHPAD_LSS_SOURCE_EMBEDDED -DCRASHPAD_ZLIB_SOURCE_SYSTEM -DZLIB_CONST -I/tmp/et-20220103-86002-tx23xt/EternalTerminal-et-v6.1.9/external_imported/sentry-native/crashpad_build/util -I/tmp/et-20220103-86002-tx23xt/EternalTerminal-et-v6.1.9/external_imported/sentry-native/external/crashpad -I/tmp/et-20220103-86002-tx23xt/EternalTerminal-et-v6.1.9/external_imported/sentry-native/external/crashpad/third_party/mini_chromium/mini_chromium -I/tmp/et-20220103-86002-tx23xt/EternalTerminal-et-v6.1.9/external_imported/sentry-native/external/crashpad/compat/non_win -I/tmp/et-20220103-86002-tx23xt/EternalTerminal-et-v6.1.9/external_imported/sentry-native/external/crashpad/compat/mac -I/tmp/et-20220103-86002-tx23xt/EternalTerminal-et-v6.1.9/external_imported/sentry-native/external/crashpad/third_party/mini_chromium -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fPIC -std=gnu11 -MD -MT external_imported/sentry-native/crashpad_build/util/CMakeFiles/crashpad_util.dir/util/mach/notifyServer.c.o -MF CMakeFiles/crashpad_util.dir/util/mach/notifyServer.c.o.d -o CMakeFiles/crashpad_util.dir/util/mach/notifyServer.c.o -c /tmp/et-20220103-86002-tx23xt/EternalTerminal-et-v6.1.9/external_imported/sentry-native/crashpad_build/util/util/mach/notifyServer.c
[ 44%] Linking CXX static library libcrashpad_util.a
cd /tmp/et-20220103-86002-tx23xt/EternalTerminal-et-v6.1.9/external_imported/sentry-native/crashpad_build/util && /usr/local/Cellar/cmake/3.22.1/bin/cmake -P CMakeFiles/crashpad_util.dir/cmake_clean_target.cmake
cd /tmp/et-20220103-86002-tx23xt/EternalTerminal-et-v6.1.9/external_imported/sentry-native/crashpad_build/util && /usr/local/Cellar/cmake/3.22.1/bin/cmake -E cmake_link_script CMakeFiles/crashpad_util.dir/link.txt --verbose=1
/usr/bin/ar qc libcrashpad_util.a CMakeFiles/crashpad_util.dir/file/delimited_file_reader.cc.o CMakeFiles/crashpad_util.dir/file/file_helper.cc.o CMakeFiles/crashpad_util.dir/file/file_io.cc.o CMakeFiles/crashpad_util.dir/file/file_reader.cc.o CMakeFiles/crashpad_util.dir/file/file_seeker.cc.o CMakeFiles/crashpad_util.dir/file/file_writer.cc.o CMakeFiles/crashpad_util.dir/file/output_stream_file_writer.cc.o CMakeFiles/crashpad_util.dir/file/scoped_remove_file.cc.o CMakeFiles/crashpad_util.dir/file/string_file.cc.o CMakeFiles/crashpad_util.dir/misc/initialization_state_dcheck.cc.o CMakeFiles/crashpad_util.dir/misc/lexing.cc.o CMakeFiles/crashpad_util.dir/misc/metrics.cc.o CMakeFiles/crashpad_util.dir/misc/pdb_structures.cc.o CMakeFiles/crashpad_util.dir/misc/random_string.cc.o CMakeFiles/crashpad_util.dir/misc/range_set.cc.o CMakeFiles/crashpad_util.dir/misc/reinterpret_bytes.cc.o CMakeFiles/crashpad_util.dir/misc/scoped_forbid_return.cc.o CMakeFiles/crashpad_util.dir/misc/time.cc.o CMakeFiles/crashpad_util.dir/misc/uuid.cc.o CMakeFiles/crashpad_util.dir/misc/zlib.cc.o CMakeFiles/crashpad_util.dir/net/http_body.cc.o CMakeFiles/crashpad_util.dir/net/http_body_gzip.cc.o CMakeFiles/crashpad_util.dir/net/http_multipart_builder.cc.o CMakeFiles/crashpad_util.dir/net/http_transport.cc.o CMakeFiles/crashpad_util.dir/net/url.cc.o CMakeFiles/crashpad_util.dir/numeric/checked_address_range.cc.o CMakeFiles/crashpad_util.dir/process/process_memory.cc.o CMakeFiles/crashpad_util.dir/process/process_memory_range.cc.o CMakeFiles/crashpad_util.dir/stdlib/aligned_allocator.cc.o CMakeFiles/crashpad_util.dir/stdlib/string_number_conversion.cc.o CMakeFiles/crashpad_util.dir/stdlib/strlcpy.cc.o CMakeFiles/crashpad_util.dir/stdlib/strnlen.cc.o CMakeFiles/crashpad_util.dir/stream/base94_output_stream.cc.o CMakeFiles/crashpad_util.dir/stream/file_encoder.cc.o CMakeFiles/crashpad_util.dir/stream/file_output_stream.cc.o CMakeFiles/crashpad_util.dir/stream/log_output_stream.cc.o CMakeFiles/crashpad_util.dir/stream/zlib_output_stream.cc.o CMakeFiles/crashpad_util.dir/string/split_string.cc.o CMakeFiles/crashpad_util.dir/thread/thread.cc.o CMakeFiles/crashpad_util.dir/thread/thread_log_messages.cc.o CMakeFiles/crashpad_util.dir/thread/worker_thread.cc.o CMakeFiles/crashpad_util.dir/file/directory_reader_posix.cc.o CMakeFiles/crashpad_util.dir/file/file_io_posix.cc.o CMakeFiles/crashpad_util.dir/file/filesystem_posix.cc.o CMakeFiles/crashpad_util.dir/misc/clock_posix.cc.o CMakeFiles/crashpad_util.dir/posix/close_stdio.cc.o CMakeFiles/crashpad_util.dir/posix/scoped_dir.cc.o CMakeFiles/crashpad_util.dir/posix/scoped_mmap.cc.o CMakeFiles/crashpad_util.dir/posix/signals.cc.o CMakeFiles/crashpad_util.dir/synchronization/semaphore_posix.cc.o CMakeFiles/crashpad_util.dir/thread/thread_posix.cc.o CMakeFiles/crashpad_util.dir/posix/close_multiple.cc.o CMakeFiles/crashpad_util.dir/posix/double_fork_and_exec.cc.o CMakeFiles/crashpad_util.dir/posix/drop_privileges.cc.o CMakeFiles/crashpad_util.dir/posix/symbolic_constants_posix.cc.o CMakeFiles/crashpad_util.dir/mac/xattr.cc.o CMakeFiles/crashpad_util.dir/mach/composite_mach_message_server.cc.o CMakeFiles/crashpad_util.dir/mach/exc_client_variants.cc.o CMakeFiles/crashpad_util.dir/mach/exc_server_variants.cc.o CMakeFiles/crashpad_util.dir/mach/exception_behaviors.cc.o CMakeFiles/crashpad_util.dir/mach/exception_ports.cc.o CMakeFiles/crashpad_util.dir/mach/mach_extensions.cc.o CMakeFiles/crashpad_util.dir/mach/mach_message.cc.o CMakeFiles/crashpad_util.dir/mach/mach_message_server.cc.o CMakeFiles/crashpad_util.dir/mach/symbolic_constants_mach.cc.o CMakeFiles/crashpad_util.dir/misc/capture_context_mac.S.o CMakeFiles/crashpad_util.dir/misc/clock_mac.cc.o CMakeFiles/crashpad_util.dir/misc/paths_mac.cc.o CMakeFiles/crashpad_util.dir/synchronization/semaphore_mac.cc.o CMakeFiles/crashpad_util.dir/mac/launchd.mm.o CMakeFiles/crashpad_util.dir/mac/mac_util.cc.o CMakeFiles/crashpad_util.dir/mac/service_management.cc.o CMakeFiles/crashpad_util.dir/mac/sysctl.cc.o CMakeFiles/crashpad_util.dir/mach/bootstrap.cc.o CMakeFiles/crashpad_util.dir/mach/child_port_handshake.cc.o CMakeFiles/crashpad_util.dir/mach/child_port_server.cc.o CMakeFiles/crashpad_util.dir/mach/exception_types.cc.o CMakeFiles/crashpad_util.dir/mach/notify_server.cc.o CMakeFiles/crashpad_util.dir/mach/scoped_task_suspend.cc.o CMakeFiles/crashpad_util.dir/mach/task_for_pid.cc.o CMakeFiles/crashpad_util.dir/net/http_transport_mac.mm.o CMakeFiles/crashpad_util.dir/posix/process_info_mac.cc.o CMakeFiles/crashpad_util.dir/process/process_memory_mac.cc.o CMakeFiles/crashpad_util.dir/util/mach/child_portUser.c.o CMakeFiles/crashpad_util.dir/util/mach/child_portServer.c.o CMakeFiles/crashpad_util.dir/util/mach/excUser.c.o CMakeFiles/crashpad_util.dir/util/mach/excServer.c.o CMakeFiles/crashpad_util.dir/util/mach/mach_excUser.c.o CMakeFiles/crashpad_util.dir/util/mach/mach_excServer.c.o CMakeFiles/crashpad_util.dir/util/mach/notifyUser.c.o CMakeFiles/crashpad_util.dir/util/mach/notifyServer.c.o
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libcrashpad_util.a(initialization_state_dcheck.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libcrashpad_util.a(strnlen.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libcrashpad_util.a(semaphore_posix.cc.o) has no symbols
/usr/bin/ranlib libcrashpad_util.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libcrashpad_util.a(initialization_state_dcheck.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libcrashpad_util.a(strnlen.cc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libcrashpad_util.a(semaphore_posix.cc.o) has no symbols
[ 44%] Built target crashpad_util
make: *** [all] Error 2
abnayak commented 2 years ago

Also, failing on Big Sur (11.6.2 (20G314))

kurktchiev commented 2 years ago

can confirm it fails to build on Catalina as well

MisterTea commented 2 years ago

I don't think the error is in the last 15 lines. Can someone post the whole log?

cipi1965 commented 2 years ago

Here it is https://gist.github.com/cipi1965/47851eb213c611bfeb2fec0bcc936c9a

djsavvy commented 2 years ago

Also, by the way, @thalamus seems to have narrowed down the bug to this commit: MisterTea/easyloggingpp@532df6a

(Source: https://github.com/MisterTea/homebrew-et/commit/c461d1fb60ecb60479ac4f429b73d9e99754fdd4#commitcomment-62570091)

thalamus commented 2 years ago

Yeah, I opened an issue on the main repo.

thalamus commented 2 years ago

The "fix" is to brew uninstall boost

No longer necessary.

djsavvy commented 2 years ago

I see. For posterity, here is the issue: https://github.com/MisterTea/EternalTerminal/issues/480

MisterTea commented 2 years ago

Fixed by https://github.com/MisterTea/EternalTerminal/commit/cc5b7d223d29d5fda1a839a269ad54cd8d49311c

Run "brew install --HEAD et" until the next patch release (a few days from now) as a mitigation

MisterTea commented 2 years ago

I needed some follow-up changes but they are in now and it should work (for real) 😅