telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.33k stars 5.23k forks source link

Several Issues with building using CMake (Fresh install Ubuntu 16.04.3 LTS) #4275

Closed cybex-dev closed 4 years ago

cybex-dev commented 6 years ago
Good day I am attempting to build using Ubuntu 16.04.3 LTS amd64 but have encountered various issues with the proposed build `script` found [here](https://github.com/telegramdesktop/tdesktop/blob/dev/docs/building-cmake.md#clone-source-code-and-prepare-libraries) **NOTE** This script has been run on a fresh install of Ubuntu 16.04.3 LTS amd64, fully updated via aptitude. The commands found in the link given, I have placed into a script with `set -e` which will stop the process if anything fails **Issue 1** While cloning `google/googletest`, the folder `testing` already exists. cybex-dev@ubuntu-desktop:~/Libraries/breakpad/src$ git clone https://github.com/google/googletest testing fatal: destination path 'testing' already exists and is not an empty directory.
content of existing testing directory ./breakpad_googletest_includes.h ./build ./build/all.gyp ./build/common.gypi ./build/filename_rules.gypi ./build/gyp_breakpad ./build/testing.gyp ./client ./client/apple ./client/apple/Framework ./client/apple/Framework/BreakpadDefines.h ./client/ios ./client/ios/Breakpad.h ./client/ios/Breakpad.mm ./client/ios/Breakpad.xcodeproj ./client/ios/Breakpad.xcodeproj/project.pbxproj ./client/ios/BreakpadController.h ./client/ios/BreakpadController.mm ./client/ios/Breakpad_Prefix.pch ./client/ios/exception_handler_no_mach.cc ./client/ios/exception_handler_no_mach.h ./client/ios/handler ./client/ios/handler/ios_exception_minidump_generator.h ./client/ios/handler/ios_exception_minidump_generator.mm ./client/linux ./client/linux/crash_generation ./client/linux/crash_generation/client_info.h ./client/linux/crash_generation/crash_generation_client.cc ./client/linux/crash_generation/crash_generation_client.h ./client/linux/crash_generation/crash_generation_server.cc ./client/linux/crash_generation/crash_generation_server.h ./client/linux/crash_generation/.deps ./client/linux/crash_generation/.deps/.dirstamp ./client/linux/crash_generation/.deps/crash_generation_client.Po ./client/linux/crash_generation/.deps/crash_generation_server.Po ./client/linux/crash_generation/.dirstamp ./client/linux/crash_generation/crash_generation_client.o ./client/linux/crash_generation/crash_generation_server.o ./client/linux/data ./client/linux/data/linux-gate-amd.sym ./client/linux/data/linux-gate-intel.sym ./client/linux/dump_writer_common ./client/linux/dump_writer_common/mapping_info.h ./client/linux/dump_writer_common/raw_context_cpu.h ./client/linux/dump_writer_common/thread_info.cc ./client/linux/dump_writer_common/thread_info.h ./client/linux/dump_writer_common/ucontext_reader.cc ./client/linux/dump_writer_common/ucontext_reader.h ./client/linux/dump_writer_common/.deps ./client/linux/dump_writer_common/.deps/.dirstamp ./client/linux/dump_writer_common/.deps/thread_info.Po ./client/linux/dump_writer_common/.deps/ucontext_reader.Po ./client/linux/dump_writer_common/.dirstamp ./client/linux/dump_writer_common/thread_info.o ./client/linux/dump_writer_common/ucontext_reader.o ./client/linux/handler ./client/linux/handler/exception_handler.cc ./client/linux/handler/exception_handler.h ./client/linux/handler/exception_handler_unittest.cc ./client/linux/handler/microdump_extra_info.h ./client/linux/handler/minidump_descriptor.cc ./client/linux/handler/minidump_descriptor.h ./client/linux/handler/.deps ./client/linux/handler/.deps/src_client_linux_linux_client_unittest_shlib-exception_handler_unittest.Po ./client/linux/handler/.deps/.dirstamp ./client/linux/handler/.deps/exception_handler.Po ./client/linux/handler/.deps/minidump_descriptor.Po ./client/linux/handler/.dirstamp ./client/linux/handler/exception_handler.o ./client/linux/handler/minidump_descriptor.o ./client/linux/log ./client/linux/log/log.cc ./client/linux/log/log.h ./client/linux/log/.deps ./client/linux/log/.deps/.dirstamp ./client/linux/log/.deps/log.Po ./client/linux/log/.dirstamp ./client/linux/log/log.o ./client/linux/microdump_writer ./client/linux/microdump_writer/microdump_writer.cc ./client/linux/microdump_writer/microdump_writer.h ./client/linux/microdump_writer/microdump_writer_unittest.cc ./client/linux/microdump_writer/.deps ./client/linux/microdump_writer/.deps/src_client_linux_linux_client_unittest_shlib-microdump_writer_unittest.Po ./client/linux/microdump_writer/.deps/.dirstamp ./client/linux/microdump_writer/.deps/microdump_writer.Po ./client/linux/microdump_writer/.dirstamp ./client/linux/microdump_writer/microdump_writer.o ./client/linux/minidump_writer ./client/linux/minidump_writer/cpu_set.h ./client/linux/minidump_writer/cpu_set_unittest.cc ./client/linux/minidump_writer/directory_reader.h ./client/linux/minidump_writer/directory_reader_unittest.cc ./client/linux/minidump_writer/line_reader.h ./client/linux/minidump_writer/line_reader_unittest.cc ./client/linux/minidump_writer/linux_core_dumper.cc ./client/linux/minidump_writer/linux_core_dumper.h ./client/linux/minidump_writer/linux_core_dumper_unittest.cc ./client/linux/minidump_writer/linux_dumper.cc ./client/linux/minidump_writer/linux_dumper.h ./client/linux/minidump_writer/linux_dumper_unittest_helper.cc ./client/linux/minidump_writer/linux_ptrace_dumper.cc ./client/linux/minidump_writer/linux_ptrace_dumper.h ./client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc ./client/linux/minidump_writer/minidump_writer.cc ./client/linux/minidump_writer/minidump_writer.h ./client/linux/minidump_writer/minidump_writer_unittest.cc ./client/linux/minidump_writer/minidump_writer_unittest_utils.cc ./client/linux/minidump_writer/minidump_writer_unittest_utils.h ./client/linux/minidump_writer/proc_cpuinfo_reader.h ./client/linux/minidump_writer/proc_cpuinfo_reader_unittest.cc ./client/linux/minidump_writer/.deps ./client/linux/minidump_writer/.deps/src_client_linux_linux_client_unittest_shlib-cpu_set_unittest.Po ./client/linux/minidump_writer/.deps/src_client_linux_linux_client_unittest_shlib-directory_reader_unittest.Po ./client/linux/minidump_writer/.deps/src_client_linux_linux_client_unittest_shlib-line_reader_unittest.Po ./client/linux/minidump_writer/.deps/src_client_linux_linux_client_unittest_shlib-linux_core_dumper.Po ./client/linux/minidump_writer/.deps/src_client_linux_linux_client_unittest_shlib-linux_core_dumper_unittest.Po ./client/linux/minidump_writer/.deps/src_client_linux_linux_client_unittest_shlib-linux_ptrace_dumper_unittest.Po ./client/linux/minidump_writer/.deps/src_client_linux_linux_client_unittest_shlib-minidump_writer_unittest.Po ./client/linux/minidump_writer/.deps/src_client_linux_linux_client_unittest_shlib-minidump_writer_unittest_utils.Po ./client/linux/minidump_writer/.deps/src_client_linux_linux_client_unittest_shlib-proc_cpuinfo_reader_unittest.Po ./client/linux/minidump_writer/.deps/src_client_linux_linux_dumper_unittest_helper-linux_dumper_unittest_helper.Po ./client/linux/minidump_writer/.deps/.dirstamp ./client/linux/minidump_writer/.deps/linux_core_dumper.Po ./client/linux/minidump_writer/.deps/linux_dumper.Po ./client/linux/minidump_writer/.deps/linux_ptrace_dumper.Po ./client/linux/minidump_writer/.deps/minidump_writer.Po ./client/linux/minidump_writer/.dirstamp ./client/linux/minidump_writer/linux_core_dumper.o ./client/linux/minidump_writer/linux_dumper.o ./client/linux/minidump_writer/linux_ptrace_dumper.o ./client/linux/minidump_writer/minidump_writer.o ./client/linux/sender ./client/linux/sender/google_crash_report_sender.cc ./client/linux/.dirstamp ./client/linux/libbreakpad_client.a ./client/mac ./client/mac/Breakpad.xcodeproj ./client/mac/Breakpad.xcodeproj/project.pbxproj ./client/mac/Framework ./client/mac/Framework/Breakpad.h ./client/mac/Framework/Breakpad.mm ./client/mac/Framework/Breakpad_Prefix.pch ./client/mac/Framework/Info.plist ./client/mac/Framework/OnDemandServer.h ./client/mac/Framework/OnDemandServer.mm ./client/mac/UnitTests-Info.plist ./client/mac/crash_generation ./client/mac/crash_generation/ConfigFile.h ./client/mac/crash_generation/ConfigFile.mm ./client/mac/crash_generation/Inspector.h ./client/mac/crash_generation/Inspector.mm ./client/mac/crash_generation/InspectorMain.mm ./client/mac/crash_generation/client_info.h ./client/mac/crash_generation/crash_generation_client.cc ./client/mac/crash_generation/crash_generation_client.h ./client/mac/crash_generation/crash_generation_server.cc ./client/mac/crash_generation/crash_generation_server.h ./client/mac/gcov ./client/mac/gcov/libgcov.a ./client/mac/handler ./client/mac/handler/breakpad_nlist_64.cc ./client/mac/handler/breakpad_nlist_64.h ./client/mac/handler/dynamic_images.cc ./client/mac/handler/dynamic_images.h ./client/mac/handler/exception_handler.cc ./client/mac/handler/exception_handler.h ./client/mac/handler/mach_vm_compat.h ./client/mac/handler/minidump_generator.cc ./client/mac/handler/minidump_generator.h ./client/mac/handler/minidump_test.xcodeproj ./client/mac/handler/minidump_test.xcodeproj/project.pbxproj ./client/mac/handler/minidump_tests32-Info.plist ./client/mac/handler/minidump_tests64-Info.plist ./client/mac/handler/obj-cTestCases-Info.plist ./client/mac/handler/protected_memory_allocator.cc ./client/mac/handler/protected_memory_allocator.h ./client/mac/handler/testcases ./client/mac/handler/testcases/DynamicImagesTests.cc ./client/mac/handler/testcases/DynamicImagesTests.h ./client/mac/handler/testcases/breakpad_nlist_test.cc ./client/mac/handler/testcases/breakpad_nlist_test.h ./client/mac/handler/testcases/dwarftests.h ./client/mac/handler/testcases/dwarftests.mm ./client/mac/handler/testcases/testdata ./client/mac/handler/testcases/testdata/dump_syms_dwarf_data ./client/mac/handler/testcases/testdata/dump_syms_i386_breakpad.sym ./client/mac/handler/ucontext_compat.h ./client/mac/sender ./client/mac/sender/Breakpad.xib ./client/mac/sender/English.lproj ./client/mac/sender/English.lproj/InfoPlist.strings ./client/mac/sender/English.lproj/Localizable.strings ./client/mac/sender/ReporterIcon.graffle ./client/mac/sender/crash_report_sender-Info.plist ./client/mac/sender/crash_report_sender.h ./client/mac/sender/crash_report_sender.icns ./client/mac/sender/crash_report_sender.m ./client/mac/sender/da.lproj ./client/mac/sender/da.lproj/InfoPlist.strings ./client/mac/sender/da.lproj/Localizable.strings ./client/mac/sender/de.lproj ./client/mac/sender/de.lproj/InfoPlist.strings ./client/mac/sender/de.lproj/Localizable.strings ./client/mac/sender/es.lproj ./client/mac/sender/es.lproj/InfoPlist.strings ./client/mac/sender/es.lproj/Localizable.strings ./client/mac/sender/fr.lproj ./client/mac/sender/fr.lproj/InfoPlist.strings ./client/mac/sender/fr.lproj/Localizable.strings ./client/mac/sender/goArrow.png ./client/mac/sender/it.lproj ./client/mac/sender/it.lproj/InfoPlist.strings ./client/mac/sender/it.lproj/Localizable.strings ./client/mac/sender/ja.lproj ./client/mac/sender/ja.lproj/InfoPlist.strings ./client/mac/sender/ja.lproj/Localizable.strings ./client/mac/sender/nl.lproj ./client/mac/sender/nl.lproj/InfoPlist.strings ./client/mac/sender/nl.lproj/Localizable.strings ./client/mac/sender/no.lproj ./client/mac/sender/no.lproj/InfoPlist.strings ./client/mac/sender/no.lproj/Localizable.strings ./client/mac/sender/sl.lproj ./client/mac/sender/sl.lproj/InfoPlist.strings ./client/mac/sender/sl.lproj/Localizable.strings ./client/mac/sender/sv.lproj ./client/mac/sender/sv.lproj/InfoPlist.strings ./client/mac/sender/sv.lproj/Localizable.strings ./client/mac/sender/tr.lproj ./client/mac/sender/tr.lproj/InfoPlist.strings ./client/mac/sender/tr.lproj/Localizable.strings ./client/mac/sender/uploader.h ./client/mac/sender/uploader.mm ./client/mac/testapp ./client/mac/testapp/Controller.h ./client/mac/testapp/Controller.m ./client/mac/testapp/English.lproj ./client/mac/testapp/English.lproj/InfoPlist.strings ./client/mac/testapp/English.lproj/MainMenu.xib ./client/mac/testapp/Info.plist ./client/mac/testapp/TestClass.h ./client/mac/testapp/TestClass.mm ./client/mac/testapp/bomb.icns ./client/mac/testapp/crashInMain ./client/mac/testapp/crashduringload ./client/mac/testapp/main.m ./client/mac/tests ./client/mac/tests/BreakpadFramework_Test.mm ./client/mac/tests/crash_generation_server_test.cc ./client/mac/tests/exception_handler_test.cc ./client/mac/tests/minidump_generator_test.cc ./client/mac/tests/minidump_generator_test_helper.cc ./client/mac/tests/spawn_child_process.h ./client/mac/tests/testlogging.h ./client/minidump_file_writer-inl.h ./client/minidump_file_writer.cc ./client/minidump_file_writer.h ./client/minidump_file_writer_unittest.cc ./client/solaris ./client/solaris/handler ./client/solaris/handler/Makefile ./client/solaris/handler/exception_handler.cc ./client/solaris/handler/exception_handler.h ./client/solaris/handler/exception_handler_test.cc ./client/solaris/handler/minidump_generator.cc ./client/solaris/handler/minidump_generator.h ./client/solaris/handler/minidump_test.cc ./client/solaris/handler/solaris_lwp.cc ./client/solaris/handler/solaris_lwp.h ./client/windows ./client/windows/breakpad_client.gyp ./client/windows/common ./client/windows/common/auto_critical_section.h ./client/windows/common/ipc_protocol.h ./client/windows/crash_generation ./client/windows/crash_generation/ReadMe.txt ./client/windows/crash_generation/client_info.cc ./client/windows/crash_generation/client_info.h ./client/windows/crash_generation/crash_generation.gyp ./client/windows/crash_generation/crash_generation_client.cc ./client/windows/crash_generation/crash_generation_client.h ./client/windows/crash_generation/crash_generation_server.cc ./client/windows/crash_generation/crash_generation_server.h ./client/windows/crash_generation/minidump_generator.cc ./client/windows/crash_generation/minidump_generator.h ./client/windows/handler ./client/windows/handler/exception_handler.cc ./client/windows/handler/exception_handler.gyp ./client/windows/handler/exception_handler.h ./client/windows/sender ./client/windows/sender/crash_report_sender.cc ./client/windows/sender/crash_report_sender.gyp ./client/windows/sender/crash_report_sender.h ./client/windows/tests ./client/windows/tests/crash_generation_app ./client/windows/tests/crash_generation_app/abstract_class.cc ./client/windows/tests/crash_generation_app/abstract_class.h ./client/windows/tests/crash_generation_app/crash_generation_app.cc ./client/windows/tests/crash_generation_app/crash_generation_app.gyp ./client/windows/tests/crash_generation_app/crash_generation_app.h ./client/windows/tests/crash_generation_app/crash_generation_app.ico ./client/windows/tests/crash_generation_app/crash_generation_app.rc ./client/windows/tests/crash_generation_app/resource.h ./client/windows/tests/crash_generation_app/small.ico ./client/windows/unittests ./client/windows/unittests/client_tests.gyp ./client/windows/unittests/crash_generation_server_test.cc ./client/windows/unittests/dump_analysis.cc ./client/windows/unittests/dump_analysis.h ./client/windows/unittests/exception_handler_death_test.cc ./client/windows/unittests/exception_handler_nesting_test.cc ./client/windows/unittests/exception_handler_test.cc ./client/windows/unittests/exception_handler_test.h ./client/windows/unittests/minidump_test.cc ./client/windows/unittests/testing.gyp ./client/.deps ./client/.deps/.dirstamp ./client/.deps/minidump_file_writer.Po ./client/.dirstamp ./client/minidump_file_writer.o ./common ./common/android ./common/android/breakpad_getcontext.S ./common/android/breakpad_getcontext_unittest.cc ./common/android/include ./common/android/include/elf.h ./common/android/include/link.h ./common/android/include/stab.h ./common/android/include/sys ./common/android/include/sys/procfs.h ./common/android/include/sys/signal.h ./common/android/include/sys/user.h ./common/android/include/ucontext.h ./common/android/testing ./common/android/testing/include ./common/android/testing/include/wchar.h ./common/android/testing/mkdtemp.h ./common/android/testing/pthread_fixes.h ./common/android/ucontext_constants.h ./common/android/.deps ./common/android/.deps/breakpad_getcontext.Po ./common/android/.deps/src_client_linux_linux_client_unittest_shlib-breakpad_getcontext.Po ./common/android/.deps/src_client_linux_linux_client_unittest_shlib-breakpad_getcontext_unittest.Po ./common/basictypes.h ./common/byte_cursor.h ./common/byte_cursor_unittest.cc ./common/common.gyp ./common/convert_UTF.c ./common/convert_UTF.h ./common/dwarf ./common/dwarf/bytereader-inl.h ./common/dwarf/bytereader.cc ./common/dwarf/bytereader.h ./common/dwarf/bytereader_unittest.cc ./common/dwarf/cfi_assembler.cc ./common/dwarf/cfi_assembler.h ./common/dwarf/dwarf2diehandler.cc ./common/dwarf/dwarf2diehandler.h ./common/dwarf/dwarf2diehandler_unittest.cc ./common/dwarf/dwarf2enums.h ./common/dwarf/dwarf2reader.cc ./common/dwarf/dwarf2reader.h ./common/dwarf/dwarf2reader_cfi_unittest.cc ./common/dwarf/dwarf2reader_die_unittest.cc ./common/dwarf/dwarf2reader_test_common.h ./common/dwarf/elf_reader.cc ./common/dwarf/elf_reader.h ./common/dwarf/functioninfo.cc ./common/dwarf/functioninfo.h ./common/dwarf/line_state_machine.h ./common/dwarf/types.h ./common/dwarf/.deps ./common/dwarf/.deps/src_common_dumper_unittest-bytereader.Po ./common/dwarf/.deps/src_common_dumper_unittest-bytereader_unittest.Po ./common/dwarf/.deps/src_common_dumper_unittest-cfi_assembler.Po ./common/dwarf/.deps/src_common_dumper_unittest-dwarf2diehandler.Po ./common/dwarf/.deps/src_common_dumper_unittest-dwarf2diehandler_unittest.Po ./common/dwarf/.deps/src_common_dumper_unittest-dwarf2reader.Po ./common/dwarf/.deps/src_common_dumper_unittest-dwarf2reader_cfi_unittest.Po ./common/dwarf/.deps/src_common_dumper_unittest-dwarf2reader_die_unittest.Po ./common/dwarf/.deps/src_common_dumper_unittest-elf_reader.Po ./common/dwarf/.deps/src_common_mac_macho_reader_unittest-bytereader.Po ./common/dwarf/.deps/src_common_mac_macho_reader_unittest-cfi_assembler.Po ./common/dwarf/.deps/src_common_mac_macho_reader_unittest-dwarf2diehandler.Po ./common/dwarf/.deps/src_common_mac_macho_reader_unittest-dwarf2reader.Po ./common/dwarf/.deps/src_common_mac_macho_reader_unittest-elf_reader.Po ./common/dwarf/.deps/.dirstamp ./common/dwarf/.deps/src_tools_linux_dump_syms_dump_syms-bytereader.Po ./common/dwarf/.deps/src_tools_linux_dump_syms_dump_syms-dwarf2diehandler.Po ./common/dwarf/.deps/src_tools_linux_dump_syms_dump_syms-dwarf2reader.Po ./common/dwarf/.deps/src_tools_linux_dump_syms_dump_syms-elf_reader.Po ./common/dwarf/.deps/src_tools_mac_dump_syms_dump_syms_mac-bytereader.Po ./common/dwarf/.deps/src_tools_mac_dump_syms_dump_syms_mac-dwarf2diehandler.Po ./common/dwarf/.deps/src_tools_mac_dump_syms_dump_syms_mac-dwarf2reader.Po ./common/dwarf/.deps/src_tools_mac_dump_syms_dump_syms_mac-elf_reader.Po ./common/dwarf/.dirstamp ./common/dwarf/src_tools_linux_dump_syms_dump_syms-bytereader.o ./common/dwarf/src_tools_linux_dump_syms_dump_syms-dwarf2diehandler.o ./common/dwarf/src_tools_linux_dump_syms_dump_syms-dwarf2reader.o ./common/dwarf/src_tools_linux_dump_syms_dump_syms-elf_reader.o ./common/dwarf/src_tools_mac_dump_syms_dump_syms_mac-bytereader.o ./common/dwarf/src_tools_mac_dump_syms_dump_syms_mac-dwarf2diehandler.o ./common/dwarf/src_tools_mac_dump_syms_dump_syms_mac-dwarf2reader.o ./common/dwarf/src_tools_mac_dump_syms_dump_syms_mac-elf_reader.o ./common/dwarf_cfi_to_module.cc ./common/dwarf_cfi_to_module.h ./common/dwarf_cfi_to_module_unittest.cc ./common/dwarf_cu_to_module.cc ./common/dwarf_cu_to_module.h ./common/dwarf_cu_to_module_unittest.cc ./common/dwarf_line_to_module.cc ./common/dwarf_line_to_module.h ./common/dwarf_line_to_module_unittest.cc ./common/language.cc ./common/language.h ./common/linux ./common/linux/crc32.cc ./common/linux/crc32.h ./common/linux/dump_symbols.cc ./common/linux/dump_symbols.h ./common/linux/dump_symbols_unittest.cc ./common/linux/eintr_wrapper.h ./common/linux/elf_core_dump.cc ./common/linux/elf_core_dump.h ./common/linux/elf_core_dump_unittest.cc ./common/linux/elf_gnu_compat.h ./common/linux/elf_symbols_to_module.cc ./common/linux/elf_symbols_to_module.h ./common/linux/elf_symbols_to_module_unittest.cc ./common/linux/elfutils-inl.h ./common/linux/elfutils.cc ./common/linux/elfutils.h ./common/linux/file_id.cc ./common/linux/file_id.h ./common/linux/file_id_unittest.cc ./common/linux/google_crashdump_uploader.cc ./common/linux/google_crashdump_uploader.h ./common/linux/google_crashdump_uploader_test.cc ./common/linux/guid_creator.cc ./common/linux/guid_creator.h ./common/linux/http_upload.cc ./common/linux/http_upload.h ./common/linux/ignore_ret.h ./common/linux/libcurl_wrapper.cc ./common/linux/libcurl_wrapper.h ./common/linux/linux_libc_support.cc ./common/linux/linux_libc_support.h ./common/linux/linux_libc_support_unittest.cc ./common/linux/memory_mapped_file.cc ./common/linux/memory_mapped_file.h ./common/linux/memory_mapped_file_unittest.cc ./common/linux/safe_readlink.cc ./common/linux/safe_readlink.h ./common/linux/safe_readlink_unittest.cc ./common/linux/symbol_upload.cc ./common/linux/symbol_upload.h ./common/linux/synth_elf.cc ./common/linux/synth_elf.h ./common/linux/synth_elf_unittest.cc ./common/linux/tests ./common/linux/tests/auto_testfile.h ./common/linux/tests/crash_generator.cc ./common/linux/tests/crash_generator.h ./common/linux/tests/.deps ./common/linux/tests/.deps/src_client_linux_linux_client_unittest_shlib-crash_generator.Po ./common/linux/tests/.deps/src_common_dumper_unittest-crash_generator.Po ./common/linux/.deps ./common/linux/.deps/src_client_linux_linux_client_unittest_shlib-elf_core_dump.Po ./common/linux/.deps/src_client_linux_linux_client_unittest_shlib-linux_libc_support_unittest.Po ./common/linux/.deps/src_common_dumper_unittest-crc32.Po ./common/linux/.deps/src_common_dumper_unittest-dump_symbols.Po ./common/linux/.deps/src_common_dumper_unittest-dump_symbols_unittest.Po ./common/linux/.deps/src_common_dumper_unittest-elf_core_dump.Po ./common/linux/.deps/src_common_dumper_unittest-elf_core_dump_unittest.Po ./common/linux/.deps/src_common_dumper_unittest-elf_symbols_to_module.Po ./common/linux/.deps/src_common_dumper_unittest-elf_symbols_to_module_unittest.Po ./common/linux/.deps/src_common_dumper_unittest-elfutils.Po ./common/linux/.deps/src_common_dumper_unittest-file_id.Po ./common/linux/.deps/src_common_dumper_unittest-file_id_unittest.Po ./common/linux/.deps/src_common_dumper_unittest-linux_libc_support.Po ./common/linux/.deps/src_common_dumper_unittest-memory_mapped_file.Po ./common/linux/.deps/src_common_dumper_unittest-memory_mapped_file_unittest.Po ./common/linux/.deps/src_common_dumper_unittest-safe_readlink.Po ./common/linux/.deps/src_common_dumper_unittest-safe_readlink_unittest.Po ./common/linux/.deps/src_common_dumper_unittest-synth_elf.Po ./common/linux/.deps/src_common_dumper_unittest-synth_elf_unittest.Po ./common/linux/.deps/src_common_linux_google_crashdump_uploader_test-google_crashdump_uploader.Po ./common/linux/.deps/src_common_linux_google_crashdump_uploader_test-google_crashdump_uploader_test.Po ./common/linux/.deps/src_common_linux_google_crashdump_uploader_test-libcurl_wrapper.Po ./common/linux/.deps/.dirstamp ./common/linux/.deps/elf_core_dump.Po ./common/linux/.deps/elfutils.Po ./common/linux/.deps/file_id.Po ./common/linux/.deps/guid_creator.Po ./common/linux/.deps/linux_libc_support.Po ./common/linux/.deps/memory_mapped_file.Po ./common/linux/.deps/safe_readlink.Po ./common/linux/.deps/src_tools_linux_dump_syms_dump_syms-crc32.Po ./common/linux/.deps/src_tools_linux_dump_syms_dump_syms-dump_symbols.Po ./common/linux/.deps/src_tools_linux_dump_syms_dump_syms-elf_symbols_to_module.Po ./common/linux/.deps/src_tools_linux_dump_syms_dump_syms-elfutils.Po ./common/linux/.deps/src_tools_linux_dump_syms_dump_syms-file_id.Po ./common/linux/.deps/src_tools_linux_dump_syms_dump_syms-linux_libc_support.Po ./common/linux/.deps/src_tools_linux_dump_syms_dump_syms-memory_mapped_file.Po ./common/linux/.deps/src_tools_linux_dump_syms_dump_syms-safe_readlink.Po ./common/linux/.deps/http_upload.Po ./common/linux/.deps/symbol_upload.Po ./common/linux/.dirstamp ./common/linux/elf_core_dump.o ./common/linux/elfutils.o ./common/linux/file_id.o ./common/linux/guid_creator.o ./common/linux/linux_libc_support.o ./common/linux/memory_mapped_file.o ./common/linux/safe_readlink.o ./common/linux/src_tools_linux_dump_syms_dump_syms-crc32.o ./common/linux/src_tools_linux_dump_syms_dump_syms-dump_symbols.o ./common/linux/src_tools_linux_dump_syms_dump_syms-elf_symbols_to_module.o ./common/linux/src_tools_linux_dump_syms_dump_syms-elfutils.o ./common/linux/src_tools_linux_dump_syms_dump_syms-file_id.o ./common/linux/src_tools_linux_dump_syms_dump_syms-linux_libc_support.o ./common/linux/src_tools_linux_dump_syms_dump_syms-memory_mapped_file.o ./common/linux/src_tools_linux_dump_syms_dump_syms-safe_readlink.o ./common/linux/http_upload.o ./common/linux/symbol_upload.o ./common/long_string_dictionary.cc ./common/long_string_dictionary.h ./common/long_string_dictionary_unittest.cc ./common/mac ./common/mac/Breakpad.xcconfig ./common/mac/BreakpadDebug.xcconfig ./common/mac/BreakpadRelease.xcconfig ./common/mac/GTMDefines.h ./common/mac/GTMLogger.h ./common/mac/GTMLogger.m ./common/mac/HTTPMultipartUpload.h ./common/mac/HTTPMultipartUpload.m ./common/mac/MachIPC.h ./common/mac/MachIPC.mm ./common/mac/arch_utilities.cc ./common/mac/arch_utilities.h ./common/mac/bootstrap_compat.cc ./common/mac/bootstrap_compat.h ./common/mac/byteswap.h ./common/mac/dump_syms.cc ./common/mac/dump_syms.h ./common/mac/file_id.cc ./common/mac/file_id.h ./common/mac/launch_reporter.cc ./common/mac/launch_reporter.h ./common/mac/macho_id.cc ./common/mac/macho_id.h ./common/mac/macho_reader.cc ./common/mac/macho_reader.h ./common/mac/macho_reader_unittest.cc ./common/mac/macho_utilities.cc ./common/mac/macho_utilities.h ./common/mac/macho_walker.cc ./common/mac/macho_walker.h ./common/mac/scoped_task_suspend-inl.h ./common/mac/string_utilities.cc ./common/mac/string_utilities.h ./common/mac/super_fat_arch.h ./common/mac/testing ./common/mac/testing/GTMSenTestCase.h ./common/mac/testing/GTMSenTestCase.m ./common/mac/.deps ./common/mac/.deps/src_common_mac_macho_reader_unittest-arch_utilities.Po ./common/mac/.deps/src_common_mac_macho_reader_unittest-file_id.Po ./common/mac/.deps/src_common_mac_macho_reader_unittest-macho_id.Po ./common/mac/.deps/src_common_mac_macho_reader_unittest-macho_reader.Po ./common/mac/.deps/src_common_mac_macho_reader_unittest-macho_reader_unittest.Po ./common/mac/.deps/src_common_mac_macho_reader_unittest-macho_utilities.Po ./common/mac/.deps/src_common_mac_macho_reader_unittest-macho_walker.Po ./common/mac/.deps/.dirstamp ./common/mac/.deps/src_tools_mac_dump_syms_dump_syms_mac-arch_utilities.Po ./common/mac/.deps/src_tools_mac_dump_syms_dump_syms_mac-dump_syms.Po ./common/mac/.deps/src_tools_mac_dump_syms_dump_syms_mac-file_id.Po ./common/mac/.deps/src_tools_mac_dump_syms_dump_syms_mac-macho_id.Po ./common/mac/.deps/src_tools_mac_dump_syms_dump_syms_mac-macho_reader.Po ./common/mac/.deps/src_tools_mac_dump_syms_dump_syms_mac-macho_utilities.Po ./common/mac/.deps/src_tools_mac_dump_syms_dump_syms_mac-macho_walker.Po ./common/mac/.dirstamp ./common/mac/src_tools_mac_dump_syms_dump_syms_mac-arch_utilities.o ./common/mac/src_tools_mac_dump_syms_dump_syms_mac-dump_syms.o ./common/mac/src_tools_mac_dump_syms_dump_syms_mac-file_id.o ./common/mac/src_tools_mac_dump_syms_dump_syms_mac-macho_id.o ./common/mac/src_tools_mac_dump_syms_dump_syms_mac-macho_reader.o ./common/mac/src_tools_mac_dump_syms_dump_syms_mac-macho_utilities.o ./common/mac/src_tools_mac_dump_syms_dump_syms_mac-macho_walker.o ./common/md5.cc ./common/md5.h ./common/memory_allocator.h ./common/memory_allocator_unittest.cc ./common/memory_range.h ./common/memory_range_unittest.cc ./common/minidump_type_helper.h ./common/module.cc ./common/module.h ./common/module_unittest.cc ./common/path_helper.cc ./common/path_helper.h ./common/scoped_ptr.h ./common/simple_string_dictionary.cc ./common/simple_string_dictionary.h ./common/simple_string_dictionary_unittest.cc ./common/solaris ./common/solaris/dump_symbols.cc ./common/solaris/dump_symbols.h ./common/solaris/file_id.cc ./common/solaris/file_id.h ./common/solaris/guid_creator.cc ./common/solaris/guid_creator.h ./common/solaris/message_output.h ./common/stabs_reader.cc ./common/stabs_reader.h ./common/stabs_reader_unittest.cc ./common/stabs_to_module.cc ./common/stabs_to_module.h ./common/stabs_to_module_unittest.cc ./common/stdio_wrapper.h ./common/string_conversion.cc ./common/string_conversion.h ./common/symbol_data.h ./common/test_assembler.cc ./common/test_assembler.h ./common/test_assembler_unittest.cc ./common/testdata ./common/testdata/func-line-pairing.h ./common/tests ./common/tests/auto_tempdir.h ./common/tests/file_utils.cc ./common/tests/file_utils.h ./common/tests/.deps ./common/tests/.deps/src_client_linux_linux_client_unittest_shlib-file_utils.Po ./common/tests/.deps/src_common_dumper_unittest-file_utils.Po ./common/tests/.deps/src_common_mac_macho_reader_unittest-file_utils.Po ./common/unordered.h ./common/using_std_string.h ./common/windows ./common/windows/common_windows.gyp ./common/windows/dia_util.cc ./common/windows/dia_util.h ./common/windows/guid_string.cc ./common/windows/guid_string.h ./common/windows/http_upload.cc ./common/windows/http_upload.h ./common/windows/omap.cc ./common/windows/omap.h ./common/windows/omap_internal.h ./common/windows/omap_unittest.cc ./common/windows/pdb_source_line_writer.cc ./common/windows/pdb_source_line_writer.h ./common/windows/string_utils-inl.h ./common/windows/string_utils.cc ./common/.deps ./common/.deps/src_client_linux_linux_client_unittest_shlib-memory_allocator_unittest.Po ./common/.deps/src_common_dumper_unittest-byte_cursor_unittest.Po ./common/.deps/src_common_dumper_unittest-dwarf_cfi_to_module.Po ./common/.deps/src_common_dumper_unittest-dwarf_cfi_to_module_unittest.Po ./common/.deps/src_common_dumper_unittest-dwarf_cu_to_module.Po ./common/.deps/src_common_dumper_unittest-dwarf_cu_to_module_unittest.Po ./common/.deps/src_common_dumper_unittest-dwarf_line_to_module.Po ./common/.deps/src_common_dumper_unittest-dwarf_line_to_module_unittest.Po ./common/.deps/src_common_dumper_unittest-language.Po ./common/.deps/src_common_dumper_unittest-memory_range_unittest.Po ./common/.deps/src_common_dumper_unittest-module.Po ./common/.deps/src_common_dumper_unittest-module_unittest.Po ./common/.deps/src_common_dumper_unittest-path_helper.Po ./common/.deps/src_common_dumper_unittest-stabs_reader.Po ./common/.deps/src_common_dumper_unittest-stabs_reader_unittest.Po ./common/.deps/src_common_dumper_unittest-stabs_to_module.Po ./common/.deps/src_common_dumper_unittest-stabs_to_module_unittest.Po ./common/.deps/src_common_dumper_unittest-test_assembler.Po ./common/.deps/src_common_mac_macho_reader_unittest-dwarf_cfi_to_module.Po ./common/.deps/src_common_mac_macho_reader_unittest-dwarf_cu_to_module.Po ./common/.deps/src_common_mac_macho_reader_unittest-dwarf_line_to_module.Po ./common/.deps/src_common_mac_macho_reader_unittest-language.Po ./common/.deps/src_common_mac_macho_reader_unittest-md5.Po ./common/.deps/src_common_mac_macho_reader_unittest-module.Po ./common/.deps/src_common_mac_macho_reader_unittest-path_helper.Po ./common/.deps/src_common_mac_macho_reader_unittest-stabs_reader.Po ./common/.deps/src_common_mac_macho_reader_unittest-stabs_to_module.Po ./common/.deps/src_common_mac_macho_reader_unittest-test_assembler.Po ./common/.deps/src_common_test_assembler_unittest-test_assembler.Po ./common/.deps/src_common_test_assembler_unittest-test_assembler_unittest.Po ./common/.deps/src_processor_minidump_unittest-test_assembler.Po ./common/.deps/src_processor_stackwalker_address_list_unittest-test_assembler.Po ./common/.deps/src_processor_stackwalker_amd64_unittest-test_assembler.Po ./common/.deps/src_processor_stackwalker_arm64_unittest-test_assembler.Po ./common/.deps/src_processor_stackwalker_arm_unittest-test_assembler.Po ./common/.deps/src_processor_stackwalker_mips64_unittest-test_assembler.Po ./common/.deps/src_processor_stackwalker_mips_unittest-test_assembler.Po ./common/.deps/src_processor_stackwalker_x86_unittest-test_assembler.Po ./common/.deps/src_processor_synth_minidump_unittest-test_assembler.Po ./common/.deps/.dirstamp ./common/.deps/convert_UTF.Po ./common/.deps/md5.Po ./common/.deps/string_conversion.Po ./common/.deps/path_helper.Po ./common/.deps/src_tools_linux_dump_syms_dump_syms-dwarf_cfi_to_module.Po ./common/.deps/src_tools_linux_dump_syms_dump_syms-dwarf_cu_to_module.Po ./common/.deps/src_tools_linux_dump_syms_dump_syms-dwarf_line_to_module.Po ./common/.deps/src_tools_linux_dump_syms_dump_syms-language.Po ./common/.deps/src_tools_linux_dump_syms_dump_syms-module.Po ./common/.deps/src_tools_linux_dump_syms_dump_syms-path_helper.Po ./common/.deps/src_tools_linux_dump_syms_dump_syms-stabs_reader.Po ./common/.deps/src_tools_linux_dump_syms_dump_syms-stabs_to_module.Po ./common/.deps/src_tools_mac_dump_syms_dump_syms_mac-dwarf_cfi_to_module.Po ./common/.deps/src_tools_mac_dump_syms_dump_syms_mac-dwarf_cu_to_module.Po ./common/.deps/src_tools_mac_dump_syms_dump_syms_mac-dwarf_line_to_module.Po ./common/.deps/src_tools_mac_dump_syms_dump_syms_mac-language.Po ./common/.deps/src_tools_mac_dump_syms_dump_syms_mac-md5.Po ./common/.deps/src_tools_mac_dump_syms_dump_syms_mac-module.Po ./common/.deps/src_tools_mac_dump_syms_dump_syms_mac-path_helper.Po ./common/.deps/src_tools_mac_dump_syms_dump_syms_mac-stabs_reader.Po ./common/.deps/src_tools_mac_dump_syms_dump_syms_mac-stabs_to_module.Po ./common/.dirstamp ./common/convert_UTF.o ./common/md5.o ./common/string_conversion.o ./common/path_helper.o ./common/src_tools_linux_dump_syms_dump_syms-dwarf_cfi_to_module.o ./common/src_tools_linux_dump_syms_dump_syms-dwarf_cu_to_module.o ./common/src_tools_linux_dump_syms_dump_syms-dwarf_line_to_module.o ./common/src_tools_linux_dump_syms_dump_syms-language.o ./common/src_tools_linux_dump_syms_dump_syms-module.o ./common/src_tools_linux_dump_syms_dump_syms-path_helper.o ./common/src_tools_linux_dump_syms_dump_syms-stabs_reader.o ./common/src_tools_linux_dump_syms_dump_syms-stabs_to_module.o ./common/src_tools_mac_dump_syms_dump_syms_mac-dwarf_cfi_to_module.o ./common/src_tools_mac_dump_syms_dump_syms_mac-dwarf_cu_to_module.o ./common/src_tools_mac_dump_syms_dump_syms_mac-dwarf_line_to_module.o ./common/src_tools_mac_dump_syms_dump_syms_mac-language.o ./common/src_tools_mac_dump_syms_dump_syms_mac-md5.o ./common/src_tools_mac_dump_syms_dump_syms_mac-module.o ./common/src_tools_mac_dump_syms_dump_syms_mac-path_helper.o ./common/src_tools_mac_dump_syms_dump_syms_mac-stabs_reader.o ./common/src_tools_mac_dump_syms_dump_syms_mac-stabs_to_module.o ./config.h.in ./google_breakpad ./google_breakpad/common ./google_breakpad/common/breakpad_types.h ./google_breakpad/common/minidump_cpu_amd64.h ./google_breakpad/common/minidump_cpu_arm.h ./google_breakpad/common/minidump_cpu_arm64.h ./google_breakpad/common/minidump_cpu_mips.h ./google_breakpad/common/minidump_cpu_ppc.h ./google_breakpad/common/minidump_cpu_ppc64.h ./google_breakpad/common/minidump_cpu_sparc.h ./google_breakpad/common/minidump_cpu_x86.h ./google_breakpad/common/minidump_exception_linux.h ./google_breakpad/common/minidump_exception_mac.h ./google_breakpad/common/minidump_exception_ps3.h ./google_breakpad/common/minidump_exception_solaris.h ./google_breakpad/common/minidump_exception_win32.h ./google_breakpad/common/minidump_format.h ./google_breakpad/common/minidump_size.h ./google_breakpad/processor ./google_breakpad/processor/basic_source_line_resolver.h ./google_breakpad/processor/call_stack.h ./google_breakpad/processor/code_module.h ./google_breakpad/processor/code_modules.h ./google_breakpad/processor/dump_context.h ./google_breakpad/processor/dump_object.h ./google_breakpad/processor/exploitability.h ./google_breakpad/processor/fast_source_line_resolver.h ./google_breakpad/processor/memory_region.h ./google_breakpad/processor/microdump.h ./google_breakpad/processor/microdump_processor.h ./google_breakpad/processor/minidump.h ./google_breakpad/processor/minidump_processor.h ./google_breakpad/processor/proc_maps_linux.h ./google_breakpad/processor/process_result.h ./google_breakpad/processor/process_state.h ./google_breakpad/processor/source_line_resolver_base.h ./google_breakpad/processor/source_line_resolver_interface.h ./google_breakpad/processor/stack_frame.h ./google_breakpad/processor/stack_frame_cpu.h ./google_breakpad/processor/stack_frame_symbolizer.h ./google_breakpad/processor/stackwalker.h ./google_breakpad/processor/symbol_supplier.h ./google_breakpad/processor/system_info.h ./processor ./processor/address_map-inl.h ./processor/address_map.h ./processor/address_map_unittest.cc ./processor/basic_code_module.h ./processor/basic_code_modules.cc ./processor/basic_code_modules.h ./processor/basic_source_line_resolver.cc ./processor/basic_source_line_resolver_types.h ./processor/basic_source_line_resolver_unittest.cc ./processor/call_stack.cc ./processor/cfi_frame_info-inl.h ./processor/cfi_frame_info.cc ./processor/cfi_frame_info.h ./processor/cfi_frame_info_unittest.cc ./processor/contained_range_map-inl.h ./processor/contained_range_map.h ./processor/contained_range_map_unittest.cc ./processor/disassembler_x86.cc ./processor/disassembler_x86.h ./processor/disassembler_x86_unittest.cc ./processor/dump_context.cc ./processor/dump_object.cc ./processor/exploitability.cc ./processor/exploitability_linux.cc ./processor/exploitability_linux.h ./processor/exploitability_unittest.cc ./processor/exploitability_win.cc ./processor/exploitability_win.h ./processor/fast_source_line_resolver.cc ./processor/fast_source_line_resolver_types.h ./processor/fast_source_line_resolver_unittest.cc ./processor/linked_ptr.h ./processor/logging.cc ./processor/logging.h ./processor/map_serializers-inl.h ./processor/map_serializers.h ./processor/map_serializers_unittest.cc ./processor/microdump.cc ./processor/microdump_processor.cc ./processor/microdump_processor_unittest.cc ./processor/microdump_stackwalk.cc ./processor/microdump_stackwalk_machine_readable_test ./processor/microdump_stackwalk_test ./processor/microdump_stackwalk_test_vars ./processor/minidump.cc ./processor/minidump_dump.cc ./processor/minidump_dump_test ./processor/minidump_processor.cc ./processor/minidump_processor_unittest.cc ./processor/minidump_stackwalk.cc ./processor/minidump_stackwalk_machine_readable_test ./processor/minidump_stackwalk_test ./processor/minidump_unittest.cc ./processor/module_comparer.cc ./processor/module_comparer.h ./processor/module_factory.h ./processor/module_serializer.cc ./processor/module_serializer.h ./processor/pathname_stripper.cc ./processor/pathname_stripper.h ./processor/pathname_stripper_unittest.cc ./processor/postfix_evaluator-inl.h ./processor/postfix_evaluator.h ./processor/postfix_evaluator_unittest.cc ./processor/proc_maps_linux.cc ./processor/proc_maps_linux_unittest.cc ./processor/process_state.cc ./processor/processor.gyp ./processor/processor_tools.gypi ./processor/proto ./processor/proto/README ./processor/proto/process_state.proto ./processor/range_map-inl.h ./processor/range_map.h ./processor/range_map_shrink_down_unittest.cc ./processor/range_map_unittest.cc ./processor/simple_serializer-inl.h ./processor/simple_serializer.h ./processor/simple_symbol_supplier.cc ./processor/simple_symbol_supplier.h ./processor/source_line_resolver_base.cc ./processor/source_line_resolver_base_types.h ./processor/stack_frame_cpu.cc ./processor/stack_frame_symbolizer.cc ./processor/stackwalk_common.cc ./processor/stackwalk_common.h ./processor/stackwalker.cc ./processor/stackwalker_address_list.cc ./processor/stackwalker_address_list.h ./processor/stackwalker_address_list_unittest.cc ./processor/stackwalker_amd64.cc ./processor/stackwalker_amd64.h ./processor/stackwalker_amd64_unittest.cc ./processor/stackwalker_arm.cc ./processor/stackwalker_arm.h ./processor/stackwalker_arm64.cc ./processor/stackwalker_arm64.h ./processor/stackwalker_arm64_unittest.cc ./processor/stackwalker_arm_unittest.cc ./processor/stackwalker_mips.cc ./processor/stackwalker_mips.h ./processor/stackwalker_mips64_unittest.cc ./processor/stackwalker_mips_unittest.cc ./processor/stackwalker_ppc.cc ./processor/stackwalker_ppc.h ./processor/stackwalker_ppc64.cc ./processor/stackwalker_ppc64.h ./processor/stackwalker_selftest.cc ./processor/stackwalker_selftest_sol.s ./processor/stackwalker_sparc.cc ./processor/stackwalker_sparc.h ./processor/stackwalker_unittest_utils.h ./processor/stackwalker_x86.cc ./processor/stackwalker_x86.h ./processor/stackwalker_x86_unittest.cc ./processor/static_address_map-inl.h ./processor/static_address_map.h ./processor/static_address_map_unittest.cc ./processor/static_contained_range_map-inl.h ./processor/static_contained_range_map.h ./processor/static_contained_range_map_unittest.cc ./processor/static_map-inl.h ./processor/static_map.h ./processor/static_map_iterator-inl.h ./processor/static_map_iterator.h ./processor/static_map_unittest.cc ./processor/static_range_map-inl.h ./processor/static_range_map.h ./processor/static_range_map_unittest.cc ./processor/symbolic_constants_win.cc ./processor/symbolic_constants_win.h ./processor/synth_minidump.cc ./processor/synth_minidump.h ./processor/synth_minidump_unittest.cc ./processor/synth_minidump_unittest_data.h ./processor/testdata ./processor/testdata/ascii_read_av.dmp ./processor/testdata/ascii_read_av_block_write.dmp ./processor/testdata/ascii_read_av_clobber_write.dmp ./processor/testdata/ascii_read_av_conditional.dmp ./processor/testdata/ascii_read_av_then_jmp.dmp ./processor/testdata/ascii_read_av_xchg_write.dmp ./processor/testdata/ascii_write_av.dmp ./processor/testdata/ascii_write_av_arg_to_call.dmp ./processor/testdata/exec_av_on_stack.dmp ./processor/testdata/linux_divide_by_zero.dmp ./processor/testdata/linux_executable_heap.dmp ./processor/testdata/linux_executable_stack.dmp ./processor/testdata/linux_inside_module_exe_region1.dmp ./processor/testdata/linux_inside_module_exe_region2.dmp ./processor/testdata/linux_jmp_to_0.dmp ./processor/testdata/linux_jmp_to_module_not_exe_region.dmp ./processor/testdata/linux_null_dereference.dmp ./processor/testdata/linux_null_read_av.dmp ./processor/testdata/linux_outside_module.dmp ./processor/testdata/linux_overflow.dmp ./processor/testdata/linux_raise_sigabrt.dmp ./processor/testdata/linux_stack_pointer_in_module.dmp ./processor/testdata/linux_stack_pointer_in_stack.dmp ./processor/testdata/linux_stack_pointer_in_stack_alt_name.dmp ./processor/testdata/linux_stacksmash.dmp ./processor/testdata/linux_test_app.cc ./processor/testdata/linux_write_to_nonwritable_module.dmp ./processor/testdata/linux_write_to_nonwritable_region_math.dmp ./processor/testdata/linux_write_to_outside_module.dmp ./processor/testdata/linux_write_to_outside_module_via_math.dmp ./processor/testdata/linux_write_to_under_4k.dmp ./processor/testdata/microdump-arm.dmp ./processor/testdata/microdump-arm64.dmp ./processor/testdata/microdump-mips32.dmp ./processor/testdata/microdump-mips64.dmp ./processor/testdata/microdump-multiple.dmp ./processor/testdata/microdump-withcrashreason.dmp ./processor/testdata/microdump-x86.dmp ./processor/testdata/microdump.stackwalk-arm.out ./processor/testdata/microdump.stackwalk-arm64.out ./processor/testdata/microdump.stackwalk.machine_readable-arm.out ./processor/testdata/microdump.stackwalk.machine_readable-arm64.out ./processor/testdata/minidump2.dmp ./processor/testdata/minidump2.dump.out ./processor/testdata/minidump2.stackwalk.machine_readable.out ./processor/testdata/minidump2.stackwalk.out ./processor/testdata/module0.out ./processor/testdata/module1.out ./processor/testdata/module2.out ./processor/testdata/module3_bad.out ./processor/testdata/module4_bad.out ./processor/testdata/null_read_av.dmp ./processor/testdata/null_write_av.dmp ./processor/testdata/read_av_clobber_write.dmp ./processor/testdata/read_av_conditional.dmp ./processor/testdata/read_av_non_null.dmp ./processor/testdata/stack_exhaustion.dmp ./processor/testdata/symbols ./processor/testdata/symbols/kernel32.pdb ./processor/testdata/symbols/kernel32.pdb/BCE8785C57B44245A669896B6A19B9542 ./processor/testdata/symbols/kernel32.pdb/BCE8785C57B44245A669896B6A19B9542/kernel32.sym ./processor/testdata/symbols/ld-2.13.so ./processor/testdata/symbols/ld-2.13.so/C32AD7E235EA6112E02A5B9D6219C4850 ./processor/testdata/symbols/ld-2.13.so/C32AD7E235EA6112E02A5B9D6219C4850/ld-2.13.so.sym ./processor/testdata/symbols/libc-2.13.so ./processor/testdata/symbols/libc-2.13.so/F4F8DFCD5A5FB5A7CE64717E9E6AE3890 ./processor/testdata/symbols/libc-2.13.so/F4F8DFCD5A5FB5A7CE64717E9E6AE3890/libc-2.13.so.sym ./processor/testdata/symbols/libgcc_s.so.1 ./processor/testdata/symbols/libgcc_s.so.1/18B180F90887D8F8B5C35D185444AF4C0 ./processor/testdata/symbols/libgcc_s.so.1/18B180F90887D8F8B5C35D185444AF4C0/libgcc_s.so.1.sym ./processor/testdata/symbols/microdump ./processor/testdata/symbols/microdump/breakpad_unittests ./processor/testdata/symbols/microdump/breakpad_unittests/D6D1FEC9A15DE7F38A236898871A2E770 ./processor/testdata/symbols/microdump/breakpad_unittests/D6D1FEC9A15DE7F38A236898871A2E770/breakpad_unittests.sym ./processor/testdata/symbols/microdump/breakpad_unittests/DA7778FB66018A4E9B4110ED06E730D00 ./processor/testdata/symbols/microdump/breakpad_unittests/DA7778FB66018A4E9B4110ED06E730D00/breakpad_unittests.sym ./processor/testdata/symbols/microdump/crash_example ./processor/testdata/symbols/microdump/crash_example/6E72E2F1A5F59AB3D51356FDFE394D490 ./processor/testdata/symbols/microdump/crash_example/6E72E2F1A5F59AB3D51356FDFE394D490/crash_example.sym ./processor/testdata/symbols/microdump/crash_example/8F36148CC4647A8116CAF2A25F591F570 ./processor/testdata/symbols/microdump/crash_example/8F36148CC4647A8116CAF2A25F591F570/crash_example.sym ./processor/testdata/symbols/null_read_av ./processor/testdata/symbols/null_read_av/7B7D1968FF0D47AE4366E9C3A7E1B6750 ./processor/testdata/symbols/null_read_av/7B7D1968FF0D47AE4366E9C3A7E1B6750/null_read_av.sym ./processor/testdata/symbols/overflow ./processor/testdata/symbols/overflow/B0E1FC01EF48E39CAF5C881D2DF0C3840 ./processor/testdata/symbols/overflow/B0E1FC01EF48E39CAF5C881D2DF0C3840/overflow.sym ./processor/testdata/symbols/test_app.pdb ./processor/testdata/symbols/test_app.pdb/5A9832E5287241C1838ED98914E9B7FF1 ./processor/testdata/symbols/test_app.pdb/5A9832E5287241C1838ED98914E9B7FF1/test_app.sym ./processor/testdata/test_app.cc ./processor/testdata/write_av_non_null.dmp ./processor/tokenize.cc ./processor/tokenize.h ./processor/windows_frame_info.h ./processor/.deps ./processor/.deps/address_map_unittest.Po ./processor/.deps/contained_range_map_unittest.Po ./processor/.deps/pathname_stripper_unittest.Po ./processor/.deps/postfix_evaluator_unittest.Po ./processor/.deps/range_map_unittest.Po ./processor/.deps/src_client_linux_linux_client_unittest_shlib-basic_code_modules.Po ./processor/.deps/src_client_linux_linux_client_unittest_shlib-dump_context.Po ./processor/.deps/src_client_linux_linux_client_unittest_shlib-dump_object.Po ./processor/.deps/src_client_linux_linux_client_unittest_shlib-logging.Po ./processor/.deps/src_client_linux_linux_client_unittest_shlib-minidump.Po ./processor/.deps/src_client_linux_linux_client_unittest_shlib-pathname_stripper.Po ./processor/.deps/src_client_linux_linux_client_unittest_shlib-proc_maps_linux.Po ./processor/.deps/src_processor_basic_source_line_resolver_unittest-basic_source_line_resolver_unittest.Po ./processor/.deps/src_processor_cfi_frame_info_unittest-cfi_frame_info_unittest.Po ./processor/.deps/src_processor_disassembler_x86_unittest-disassembler_x86_unittest.Po ./processor/.deps/src_processor_exploitability_unittest-exploitability_unittest.Po ./processor/.deps/src_processor_fast_source_line_resolver_unittest-fast_source_line_resolver_unittest.Po ./processor/.deps/src_processor_map_serializers_unittest-map_serializers_unittest.Po ./processor/.deps/src_processor_microdump_processor_unittest-microdump_processor_unittest.Po ./processor/.deps/src_processor_minidump_processor_unittest-minidump_processor_unittest.Po ./processor/.deps/src_processor_minidump_unittest-minidump_unittest.Po ./processor/.deps/src_processor_minidump_unittest-synth_minidump.Po ./processor/.deps/src_processor_proc_maps_linux_unittest-proc_maps_linux.Po ./processor/.deps/src_processor_proc_maps_linux_unittest-proc_maps_linux_unittest.Po ./processor/.deps/src_processor_range_map_shrink_down_unittest-range_map_shrink_down_unittest.Po ./processor/.deps/src_processor_stackwalker_address_list_unittest-stackwalker_address_list_unittest.Po ./processor/.deps/src_processor_stackwalker_amd64_unittest-stackwalker_amd64_unittest.Po ./processor/.deps/src_processor_stackwalker_arm64_unittest-stackwalker_arm64_unittest.Po ./processor/.deps/src_processor_stackwalker_arm_unittest-stackwalker_arm_unittest.Po ./processor/.deps/src_processor_stackwalker_mips64_unittest-stackwalker_mips64_unittest.Po ./processor/.deps/src_processor_stackwalker_mips_unittest-stackwalker_mips_unittest.Po ./processor/.deps/src_processor_stackwalker_x86_unittest-stackwalker_x86_unittest.Po ./processor/.deps/src_processor_static_address_map_unittest-static_address_map_unittest.Po ./processor/.deps/src_processor_static_contained_range_map_unittest-static_contained_range_map_unittest.Po ./processor/.deps/src_processor_static_map_unittest-static_map_unittest.Po ./processor/.deps/src_processor_static_range_map_unittest-static_range_map_unittest.Po ./processor/.deps/src_processor_synth_minidump_unittest-synth_minidump.Po ./processor/.deps/src_processor_synth_minidump_unittest-synth_minidump_unittest.Po ./processor/.deps/stackwalker_selftest.Po ./processor/.deps/.dirstamp ./processor/.deps/basic_code_modules.Po ./processor/.deps/basic_source_line_resolver.Po ./processor/.deps/call_stack.Po ./processor/.deps/cfi_frame_info.Po ./processor/.deps/disassembler_x86.Po ./processor/.deps/dump_context.Po ./processor/.deps/dump_object.Po ./processor/.deps/exploitability.Po ./processor/.deps/exploitability_linux.Po ./processor/.deps/exploitability_win.Po ./processor/.deps/fast_source_line_resolver.Po ./processor/.deps/logging.Po ./processor/.deps/microdump.Po ./processor/.deps/microdump_processor.Po ./processor/.deps/minidump.Po ./processor/.deps/minidump_processor.Po ./processor/.deps/module_comparer.Po ./processor/.deps/module_serializer.Po ./processor/.deps/pathname_stripper.Po ./processor/.deps/process_state.Po ./processor/.deps/proc_maps_linux.Po ./processor/.deps/simple_symbol_supplier.Po ./processor/.deps/source_line_resolver_base.Po ./processor/.deps/stack_frame_cpu.Po ./processor/.deps/stack_frame_symbolizer.Po ./processor/.deps/stackwalker.Po ./processor/.deps/stackwalker_amd64.Po ./processor/.deps/stackwalker_arm.Po ./processor/.deps/stackwalker_arm64.Po ./processor/.deps/stackwalker_address_list.Po ./processor/.deps/stackwalker_mips.Po ./processor/.deps/stackwalker_ppc.Po ./processor/.deps/stackwalker_ppc64.Po ./processor/.deps/stackwalker_sparc.Po ./processor/.deps/stackwalker_x86.Po ./processor/.deps/symbolic_constants_win.Po ./processor/.deps/tokenize.Po ./processor/.deps/microdump_stackwalk.Po ./processor/.deps/stackwalk_common.Po ./processor/.deps/minidump_dump.Po ./processor/.deps/minidump_stackwalk.Po ./processor/.dirstamp ./processor/basic_code_modules.o ./processor/basic_source_line_resolver.o ./processor/call_stack.o ./processor/cfi_frame_info.o ./processor/disassembler_x86.o ./processor/dump_context.o ./processor/dump_object.o ./processor/exploitability.o ./processor/exploitability_linux.o ./processor/exploitability_win.o ./processor/fast_source_line_resolver.o ./processor/logging.o ./processor/microdump.o ./processor/microdump_processor.o ./processor/minidump.o ./processor/minidump_processor.o ./processor/module_comparer.o ./processor/module_serializer.o ./processor/pathname_stripper.o ./processor/process_state.o ./processor/proc_maps_linux.o ./processor/simple_symbol_supplier.o ./processor/source_line_resolver_base.o ./processor/stack_frame_cpu.o ./processor/stack_frame_symbolizer.o ./processor/stackwalker.o ./processor/stackwalker_amd64.o ./processor/stackwalker_arm.o ./processor/stackwalker_arm64.o ./processor/stackwalker_address_list.o ./processor/stackwalker_mips.o ./processor/stackwalker_ppc.o ./processor/stackwalker_ppc64.o ./processor/stackwalker_sparc.o ./processor/stackwalker_x86.o ./processor/symbolic_constants_win.o ./processor/tokenize.o ./processor/microdump_stackwalk.o ./processor/stackwalk_common.o ./processor/microdump_stackwalk ./processor/minidump_dump.o ./processor/minidump_dump ./processor/minidump_stackwalk.o ./processor/minidump_stackwalk ./third_party ./third_party/curl ./third_party/curl/COPYING ./third_party/curl/curl.h ./third_party/curl/curlbuild.h ./third_party/curl/curlrules.h ./third_party/curl/curlver.h ./third_party/curl/easy.h ./third_party/curl/mprintf.h ./third_party/curl/multi.h ./third_party/curl/stdcheaders.h ./third_party/curl/typecheck-gcc.h ./third_party/curl/types.h ./third_party/libdisasm ./third_party/libdisasm/LICENSE ./third_party/libdisasm/Makefile.am ./third_party/libdisasm/README.breakpad ./third_party/libdisasm/TODO ./third_party/libdisasm/ia32_implicit.c ./third_party/libdisasm/ia32_implicit.h ./third_party/libdisasm/ia32_insn.c ./third_party/libdisasm/ia32_insn.h ./third_party/libdisasm/ia32_invariant.c ./third_party/libdisasm/ia32_invariant.h ./third_party/libdisasm/ia32_modrm.c ./third_party/libdisasm/ia32_modrm.h ./third_party/libdisasm/ia32_opcode_tables.c ./third_party/libdisasm/ia32_opcode_tables.h ./third_party/libdisasm/ia32_operand.c ./third_party/libdisasm/ia32_operand.h ./third_party/libdisasm/ia32_reg.c ./third_party/libdisasm/ia32_reg.h ./third_party/libdisasm/ia32_settings.c ./third_party/libdisasm/ia32_settings.h ./third_party/libdisasm/libdis.h ./third_party/libdisasm/libdisasm.gyp ./third_party/libdisasm/qword.h ./third_party/libdisasm/swig ./third_party/libdisasm/swig/Makefile ./third_party/libdisasm/swig/README ./third_party/libdisasm/swig/libdisasm.i ./third_party/libdisasm/swig/libdisasm_oop.i ./third_party/libdisasm/swig/perl ./third_party/libdisasm/swig/perl/Makefile-swig ./third_party/libdisasm/swig/perl/Makefile.PL ./third_party/libdisasm/swig/python ./third_party/libdisasm/swig/python/Makefile-swig ./third_party/libdisasm/swig/ruby ./third_party/libdisasm/swig/ruby/Makefile-swig ./third_party/libdisasm/swig/ruby/extconf.rb ./third_party/libdisasm/swig/tcl ./third_party/libdisasm/swig/tcl/Makefile-swig ./third_party/libdisasm/x86_disasm.c ./third_party/libdisasm/x86_format.c ./third_party/libdisasm/x86_imm.c ./third_party/libdisasm/x86_imm.h ./third_party/libdisasm/x86_insn.c ./third_party/libdisasm/x86_misc.c ./third_party/libdisasm/x86_operand_list.c ./third_party/libdisasm/x86_operand_list.h ./third_party/libdisasm/.deps ./third_party/libdisasm/.deps/.dirstamp ./third_party/libdisasm/.deps/ia32_implicit.Po ./third_party/libdisasm/.deps/ia32_insn.Po ./third_party/libdisasm/.deps/ia32_invariant.Po ./third_party/libdisasm/.deps/ia32_modrm.Po ./third_party/libdisasm/.deps/ia32_opcode_tables.Po ./third_party/libdisasm/.deps/ia32_operand.Po ./third_party/libdisasm/.deps/ia32_reg.Po ./third_party/libdisasm/.deps/ia32_settings.Po ./third_party/libdisasm/.deps/x86_disasm.Po ./third_party/libdisasm/.deps/x86_format.Po ./third_party/libdisasm/.deps/x86_imm.Po ./third_party/libdisasm/.deps/x86_insn.Po ./third_party/libdisasm/.deps/x86_misc.Po ./third_party/libdisasm/.deps/x86_operand_list.Po ./third_party/libdisasm/.dirstamp ./third_party/libdisasm/ia32_implicit.o ./third_party/libdisasm/ia32_insn.o ./third_party/libdisasm/ia32_invariant.o ./third_party/libdisasm/ia32_modrm.o ./third_party/libdisasm/ia32_opcode_tables.o ./third_party/libdisasm/ia32_operand.o ./third_party/libdisasm/ia32_reg.o ./third_party/libdisasm/ia32_settings.o ./third_party/libdisasm/x86_disasm.o ./third_party/libdisasm/x86_format.o ./third_party/libdisasm/x86_imm.o ./third_party/libdisasm/x86_insn.o ./third_party/libdisasm/x86_misc.o ./third_party/libdisasm/x86_operand_list.o ./third_party/libdisasm/libdisasm.a ./third_party/linux ./third_party/linux/include ./third_party/linux/include/gflags ./third_party/linux/include/gflags/gflags_completions.h ./third_party/mac_headers ./third_party/mac_headers/README ./third_party/mac_headers/architecture ./third_party/mac_headers/architecture/byte_order.h ./third_party/mac_headers/i386 ./third_party/mac_headers/i386/_types.h ./third_party/mac_headers/mach-o ./third_party/mac_headers/mach-o/arch.h ./third_party/mac_headers/mach-o/fat.h ./third_party/mac_headers/mach-o/loader.h ./third_party/mac_headers/mach-o/nlist.h ./third_party/mac_headers/mach ./third_party/mac_headers/mach/boolean.h ./third_party/mac_headers/mach/i386 ./third_party/mac_headers/mach/i386/boolean.h ./third_party/mac_headers/mach/i386/vm_param.h ./third_party/mac_headers/mach/i386/vm_types.h ./third_party/mac_headers/mach/machine.h ./third_party/mac_headers/mach/machine ./third_party/mac_headers/mach/machine/boolean.h ./third_party/mac_headers/mach/machine/thread_state.h ./third_party/mac_headers/mach/machine/thread_status.h ./third_party/mac_headers/mach/machine/vm_types.h ./third_party/mac_headers/mach/thread_status.h ./third_party/mac_headers/mach/vm_prot.h ./third_party/musl ./third_party/musl/COPYRIGHT ./third_party/musl/README ./third_party/musl/README.breakpad ./third_party/musl/VERSION ./third_party/musl/include ./third_party/musl/include/elf.h ./third_party/lss ./third_party/lss/.git ./third_party/lss/.git/refs ./third_party/lss/.git/refs/heads ./third_party/lss/.git/refs/heads/master ./third_party/lss/.git/refs/tags ./third_party/lss/.git/refs/remotes ./third_party/lss/.git/refs/remotes/origin ./third_party/lss/.git/refs/remotes/origin/HEAD ./third_party/lss/.git/branches ./third_party/lss/.git/hooks ./third_party/lss/.git/hooks/post-update.sample ./third_party/lss/.git/hooks/pre-push.sample ./third_party/lss/.git/hooks/pre-applypatch.sample ./third_party/lss/.git/hooks/applypatch-msg.sample ./third_party/lss/.git/hooks/pre-rebase.sample ./third_party/lss/.git/hooks/update.sample ./third_party/lss/.git/hooks/pre-commit.sample ./third_party/lss/.git/hooks/commit-msg.sample ./third_party/lss/.git/hooks/prepare-commit-msg.sample ./third_party/lss/.git/description ./third_party/lss/.git/info ./third_party/lss/.git/info/exclude ./third_party/lss/.git/objects ./third_party/lss/.git/objects/pack ./third_party/lss/.git/objects/pack/pack-96a8457f0e027bdf0dd8eba5de49562defdcc725.pack ./third_party/lss/.git/objects/pack/pack-96a8457f0e027bdf0dd8eba5de49562defdcc725.idx ./third_party/lss/.git/objects/info ./third_party/lss/.git/packed-refs ./third_party/lss/.git/logs ./third_party/lss/.git/logs/refs ./third_party/lss/.git/logs/refs/remotes ./third_party/lss/.git/logs/refs/remotes/origin ./third_party/lss/.git/logs/refs/remotes/origin/HEAD ./third_party/lss/.git/logs/refs/heads ./third_party/lss/.git/logs/refs/heads/master ./third_party/lss/.git/logs/HEAD ./third_party/lss/.git/HEAD ./third_party/lss/.git/config ./third_party/lss/.git/index ./third_party/lss/README.md ./third_party/lss/codereview.settings ./third_party/lss/linux_syscall_support.h ./tools ./tools/linux ./tools/linux/core2md ./tools/linux/core2md/core2md.cc ./tools/linux/core2md/.deps ./tools/linux/core2md/.deps/.dirstamp ./tools/linux/core2md/.deps/core2md.Po ./tools/linux/core2md/.dirstamp ./tools/linux/core2md/core2md.o ./tools/linux/core2md/core2md ./tools/linux/dump_syms ./tools/linux/dump_syms/dump_syms.cc ./tools/linux/dump_syms/.deps ./tools/linux/dump_syms/.deps/.dirstamp ./tools/linux/dump_syms/.deps/src_tools_linux_dump_syms_dump_syms-dump_syms.Po ./tools/linux/dump_syms/.dirstamp ./tools/linux/dump_syms/src_tools_linux_dump_syms_dump_syms-dump_syms.o ./tools/linux/dump_syms/dump_syms ./tools/linux/md2core ./tools/linux/md2core/minidump-2-core.cc ./tools/linux/md2core/minidump_memory_range.h ./tools/linux/md2core/minidump_memory_range_unittest.cc ./tools/linux/md2core/.deps ./tools/linux/md2core/.deps/src_tools_linux_md2core_minidump_2_core_unittest-minidump_memory_range_unittest.Po ./tools/linux/md2core/.deps/.dirstamp ./tools/linux/md2core/.deps/minidump-2-core.Po ./tools/linux/md2core/.dirstamp ./tools/linux/md2core/minidump-2-core.o ./tools/linux/md2core/minidump-2-core ./tools/linux/symupload ./tools/linux/symupload/minidump_upload.cc ./tools/linux/symupload/sym_upload.cc ./tools/linux/symupload/.deps ./tools/linux/symupload/.deps/.dirstamp ./tools/linux/symupload/.deps/minidump_upload.Po ./tools/linux/symupload/.deps/sym_upload.Po ./tools/linux/symupload/.dirstamp ./tools/linux/symupload/minidump_upload.o ./tools/linux/symupload/minidump_upload ./tools/linux/symupload/sym_upload.o ./tools/linux/symupload/sym_upload ./tools/linux/tools_linux.gypi ./tools/mac ./tools/mac/crash_report ./tools/mac/crash_report/crash_report.mm ./tools/mac/crash_report/crash_report.xcodeproj ./tools/mac/crash_report/crash_report.xcodeproj/project.pbxproj ./tools/mac/crash_report/on_demand_symbol_supplier.h ./tools/mac/crash_report/on_demand_symbol_supplier.mm ./tools/mac/dump_syms ./tools/mac/dump_syms/dump_syms.xcodeproj ./tools/mac/dump_syms/dump_syms.xcodeproj/project.pbxproj ./tools/mac/dump_syms/dump_syms_tool.cc ./tools/mac/dump_syms/macho_dump.cc ./tools/mac/dump_syms/.deps ./tools/mac/dump_syms/.deps/.dirstamp ./tools/mac/dump_syms/.deps/src_tools_mac_dump_syms_dump_syms_mac-dump_syms_tool.Po ./tools/mac/dump_syms/.dirstamp ./tools/mac/dump_syms/src_tools_mac_dump_syms_dump_syms_mac-dump_syms_tool.o ./tools/mac/dump_syms/dump_syms_mac ./tools/mac/symupload ./tools/mac/symupload/minidump_upload.m ./tools/mac/symupload/symupload.m ./tools/mac/symupload/symupload.xcodeproj ./tools/mac/symupload/symupload.xcodeproj/project.pbxproj ./tools/mac/tools_mac.gypi ./tools/mac/upload_system_symbols ./tools/mac/upload_system_symbols/arch_constants.h ./tools/mac/upload_system_symbols/arch_reader.go ./tools/mac/upload_system_symbols/upload_system_symbols.go ./tools/python ./tools/python/deps-to-manifest.py ./tools/python/filter_syms.py ./tools/python/tests ./tools/python/tests/filter_syms_unittest.py ./tools/solaris ./tools/solaris/dump_syms ./tools/solaris/dump_syms/Makefile ./tools/solaris/dump_syms/dump_syms.cc ./tools/solaris/dump_syms/run_regtest.sh ./tools/solaris/dump_syms/testdata ./tools/solaris/dump_syms/testdata/dump_syms_regtest.cc ./tools/solaris/dump_syms/testdata/dump_syms_regtest.o ./tools/solaris/dump_syms/testdata/dump_syms_regtest.stabs ./tools/solaris/dump_syms/testdata/dump_syms_regtest.sym ./tools/tools.gyp ./tools/windows ./tools/windows/binaries ./tools/windows/binaries/dump_syms.exe ./tools/windows/binaries/symupload.exe ./tools/windows/converter ./tools/windows/converter/ms_symbol_server_converter.cc ./tools/windows/converter/ms_symbol_server_converter.gyp ./tools/windows/converter/ms_symbol_server_converter.h ./tools/windows/converter/ms_symbol_server_converter.vcproj ./tools/windows/dump_syms ./tools/windows/dump_syms/dump_syms.cc ./tools/windows/dump_syms/dump_syms.gyp ./tools/windows/dump_syms/dump_syms.vcproj ./tools/windows/dump_syms/dump_syms_unittest.cc ./tools/windows/dump_syms/run_regtest.sh ./tools/windows/dump_syms/testdata ./tools/windows/dump_syms/testdata/dump_syms_regtest.cc ./tools/windows/dump_syms/testdata/dump_syms_regtest.pdb ./tools/windows/dump_syms/testdata/dump_syms_regtest.sym ./tools/windows/dump_syms/testdata/dump_syms_regtest64.exe ./tools/windows/dump_syms/testdata/dump_syms_regtest64.pdb ./tools/windows/dump_syms/testdata/dump_syms_regtest64.sym ./tools/windows/dump_syms/testdata/omap_reorder_bbs.pdb ./tools/windows/dump_syms/testdata/omap_reorder_bbs.sym ./tools/windows/dump_syms/testdata/omap_reorder_funcs.pdb ./tools/windows/dump_syms/testdata/omap_reorder_funcs.sym ./tools/windows/dump_syms/testdata/omap_stretched.pdb ./tools/windows/dump_syms/testdata/omap_stretched.sym ./tools/windows/dump_syms/testdata/omap_stretched_filled.pdb ./tools/windows/dump_syms/testdata/omap_stretched_filled.sym ./tools/windows/refresh_binaries.bat ./tools/windows/symupload ./tools/windows/symupload/symupload.cc ./tools/windows/symupload/symupload.gyp ./tools/windows/tools_windows.gyp ./config.h ./stamp-h1 ./testing ./testing/googlemock ./testing/googlemock/src ./testing/googlemock/src/.deps ./testing/googlemock/src/.deps/src_client_linux_linux_client_unittest_shlib-gmock-all.Po ./testing/googlemock/src/.deps/src_testing_libtesting_a-gmock-all.Po ./testing/googletest ./testing/googletest/src ./testing/googletest/src/.deps ./testing/googletest/src/.deps/src_client_linux_linux_client_unittest_shlib-gtest-all.Po ./testing/googletest/src/.deps/src_client_linux_linux_client_unittest_shlib-gtest_main.Po ./testing/googletest/src/.deps/src_testing_libtesting_a-gtest-all.Po ./testing/googletest/src/.deps/src_testing_libtesting_a-gtest_main.Po ./.dirstamp ./libbreakpad.a
Renaming this directory with `mv testing testing.orig`, I can proceed with the build procedure, which is continuing command `git clone https://github.com/google/googletest testing` **Issue 2** Soon after cloning git clone `google/googletest`, `cmake .` is run in `Libraries/breakpad/out/Default/`. Note that there are 2 outcomes here. - **Outcome 1** When encountering the existing testing folder, if the cloning of `google/googletest` is skipped (due to failure), then the following output is given: ``` cybex-dev@ubuntu-desktop:~/Libraries/breakpad/src$ git clone https://github.com/google/googletest testing fatal: destination path 'testing' already exists and is not an empty directory. cybex-dev@ubuntu-desktop:~/Libraries/breakpad/src$ ll testing/ total 0 drwxrwxr-x 1 cybex-dev cybex-dev 40 Jan 2 20:11 ./ drwxrwxr-x 1 cybex-dev cybex-dev 286 Jan 2 20:12 ../ drwxrwxr-x 1 cybex-dev cybex-dev 6 Jan 2 20:11 googlemock/ drwxrwxr-x 1 cybex-dev cybex-dev 6 Jan 2 20:11 googletest/ cybex-dev@ubuntu-desktop:~/Libraries/breakpad/src/tools$ ../../../gyp/gyp --depth=. --generator-output=.. -Goutput_dir=../out tools.gyp --format=cmake cybex-dev@ubuntu-desktop:~/Libraries/breakpad/src/tools$ cd ../../out/Default cybex-dev@ubuntu-desktop:~/Libraries/breakpad/out/Default$ cmake . -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Configuring done CMake Error at CMakeLists.txt:263 (add_library): Cannot find source file: ../../src/testing/googlemock/src/gmock_main.cc Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error at CMakeLists.txt:243 (add_library): Cannot find source file: ../../src/testing/googlemock/src/gmock-all.cc Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error at CMakeLists.txt:226 (add_library): Cannot find source file: ../../src/testing/googletest/src/gtest_main.cc Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error at CMakeLists.txt:143 (add_executable): Cannot find source file: ../../src/tools/linux/symupload/minidump_upload.m Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error at CMakeLists.txt:207 (add_library): Cannot find source file: ../../src/testing/googletest/src/gtest-all.cc Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error: Cannot determine link language for target "gmock_main". CMake Error: CMake can not determine linker language for target: gmock_main CMake Error: Cannot determine link language for target "gmock". CMake Error: CMake can not determine linker language for target: gmock CMake Error: Cannot determine link language for target "gtest_main". CMake Error: CMake can not determine linker language for target: gtest_main CMake Error: Cannot determine link language for target "gtest". CMake Error: CMake can not determine linker language for target: gtest -- Generating done -- Build files have been written to: /home/cybex-dev/Libraries/breakpad/out/Default ``` - **Outcome 2** (the recommended option) If the `original testing` folder was renamed and the `google/googltest` repository cloned, then the following output can be expected. ``` cybex-dev@ubuntu-desktop:~/Libraries/breakpad/src$ mv testing/ testing.old/ cybex-dev@ubuntu-desktop:~/Libraries/breakpad/src$ git clone https://github.com/google/googletest testing Cloning into 'testing'... remote: Counting objects: 9462, done. remote: Compressing objects: 100% (6/6), done. remote: Total 9462 (delta 0), reused 3 (delta 0), pack-reused 9455 Receiving objects: 100% (9462/9462), 2.90 MiB | 175.00 KiB/s, done. Resolving deltas: 100% (6985/6985), done. Checking connectivity... done. cybex-dev@ubuntu-desktop:~/Libraries/breakpad/src$ cd tools cybex-dev@ubuntu-desktop:~/Libraries/breakpad/src/tools$ ../../../gyp/gyp --depth=. --generator-output=.. -Goutput_dir=../out tools.gyp --format=cmake cybex-dev@ubuntu-desktop:~/Libraries/breakpad/src/tools$ cd ../../out/Default cybex-dev@ubuntu-desktop:~/Libraries/breakpad/out/Default$ cmake . -- Configuring done CMake Error at CMakeLists.txt:143 (add_executable): Cannot find source file: ../../src/tools/linux/symupload/minidump_upload.m Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx -- Generating done -- Build files have been written to: /home/cybex-dev/Libraries/breakpad/out/Default ``` However this is still concerning since both still give a missing file indication. The file missing is `minidump_upload.m` for the Linux build ``` cybex-dev@ubuntu-desktop:~/Libraries/breakpad$ find . -name "minidump_upload.m" ./src/tools/mac/symupload/minidump_upload.m ``` Assuming the the file is compatible with Linux systems too (I am not sure of this, but simply and assumption), I issue the following command to copy the existing `mac` version to the `Linux` folder: ``` cybex-dev@ubuntu-desktop:~/Libraries/breakpad/out/Default$ cp ../../src/tools/mac/symupload/minidump_upload.m ../../src/tools/linux/symupload/minidump_upload.m cybex-dev@ubuntu-desktop:~/Libraries/breakpad/out/Default$ cmake . -- Configuring done -- Generating done -- Build files have been written to: /home/cybex-dev/Libraries/breakpad/out/Default ``` **Issue 3** Continuing on from here, the next step is to run `make` a critical failure is encountered (I added verbose): ``` cybex-dev@ubuntu-desktop:~/Libraries/breakpad/out/Default$ make $MAKE_THREADS_CNT VERBOSE=1 dump_syms /usr/bin/cmake -H/home/cybex-dev/Libraries/breakpad/out/Default -B/home/cybex-dev/Libraries/breakpad/out/Default --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 dump_syms make[1]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default' /usr/bin/cmake -H/home/cybex-dev/Libraries/breakpad/out/Default -B/home/cybex-dev/Libraries/breakpad/out/Default --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles 36 make -f CMakeFiles/Makefile2 CMakeFiles/dump_syms.dir/all make[2]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default' make -f CMakeFiles/common.dir/build.make CMakeFiles/common.dir/depend make[3]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default' cd /home/cybex-dev/Libraries/breakpad/out/Default && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/common.dir/DependInfo.cmake --color= make[3]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default' make -f CMakeFiles/common.dir/build.make CMakeFiles/common.dir/build make[3]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default' [ 2%] Building C object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/convert_UTF.o /usr/bin/cc -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/convert_UTF.o -c /home/cybex-dev/Libraries/breakpad/src/common/convert_UTF.c [ 5%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/bytereader.o /usr/bin/c++ -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/bytereader.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/bytereader.cc [ 8%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/cfi_assembler.o /usr/bin/c++ -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/cfi_assembler.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/cfi_assembler.cc [ 11%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.o /usr/bin/c++ -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.cc In file included from /home/cybex-dev/Libraries/breakpad/out/Default/../../src/common/dwarf/dwarf2diehandler.h:166:0, from /home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.cc:39: /home/cybex-dev/Libraries/breakpad/out/Default/../../src/common/dwarf/dwarf2reader.h:557:8: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type std::unique_ptr dwp_byte_reader_; ^ /home/cybex-dev/Libraries/breakpad/out/Default/../../src/common/dwarf/dwarf2reader.h:560:9: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type std::unique_ptr dwp_reader_; ^ CMakeFiles/common.dir/build.make:134: recipe for target 'CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.o' failed make[3]: *** [CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.o] Error 1 make[3]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default' CMakeFiles/Makefile2:272: recipe for target 'CMakeFiles/common.dir/all' failed make[2]: *** [CMakeFiles/common.dir/all] Error 2 make[2]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default' CMakeFiles/Makefile2:390: recipe for target 'CMakeFiles/dump_syms.dir/rule' failed make[1]: *** [CMakeFiles/dump_syms.dir/rule] Error 2 make[1]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default' Makefile:235: recipe for target 'dump_syms' failed make: *** [dump_syms] Error 2 ``` **From here on, I am unsure how to continue.** _Note: Once again, this is a fresh install with all packages fully updated. I have made minimal changes to the system._
cybex-dev commented 6 years ago

Solution

After doing so more searching, I came across this SO post indicating that the use of unique_ptr came along in C++11.

Thus adding -std=c++11 to the flags file Libraries/breakpad/out/Default/CMakeFiles/common.dir/flags.make where my CXX_FLAGS looks like this:

CXX_FLAGS = -std=c++11

finally allowed me to bypass this issue.

Problem

However, before it finishes building, I get this lovely error again:

cybex-dev@ubuntu-desktop:~/Libraries/breakpad/out/Default$ make $MAKE_THREADS_CNT VERBOSE=1 dump_syms
/usr/bin/cmake -H/home/cybex-dev/Libraries/breakpad/out/Default -B/home/cybex-dev/Libraries/breakpad/out/Default --check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 dump_syms
make[1]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default'
/usr/bin/cmake -H/home/cybex-dev/Libraries/breakpad/out/Default -B/home/cybex-dev/Libraries/breakpad/out/Default --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles 36
make -f CMakeFiles/Makefile2 CMakeFiles/dump_syms.dir/all
make[2]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default'
make -f CMakeFiles/common.dir/build.make CMakeFiles/common.dir/depend
make[3]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default'
cd /home/cybex-dev/Libraries/breakpad/out/Default && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/common.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default'
make -f CMakeFiles/common.dir/build.make CMakeFiles/common.dir/build
make[3]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default'
[  2%] Building C object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/convert_UTF.o
/usr/bin/cc  -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/convert_UTF.o   -c /home/cybex-dev/Libraries/breakpad/src/common/convert_UTF.c
[  5%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/bytereader.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/bytereader.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/bytereader.cc
[  8%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/cfi_assembler.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/cfi_assembler.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/cfi_assembler.cc
[ 11%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.cc
[ 13%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2reader.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2reader.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2reader.cc
[ 16%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/elf_reader.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/elf_reader.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/elf_reader.cc
[ 19%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/functioninfo.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/functioninfo.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/functioninfo.cc
[ 22%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_cfi_to_module.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_cfi_to_module.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf_cfi_to_module.cc
[ 25%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_cu_to_module.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_cu_to_module.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf_cu_to_module.cc
[ 27%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_line_to_module.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_line_to_module.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf_line_to_module.cc
[ 30%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/language.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/language.o -c /home/cybex-dev/Libraries/breakpad/src/common/language.cc
[ 33%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/crc32.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/crc32.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/crc32.cc
[ 36%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/dump_symbols.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/dump_symbols.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/dump_symbols.cc
[ 38%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elf_core_dump.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elf_core_dump.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/elf_core_dump.cc
[ 41%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elf_symbols_to_module.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elf_symbols_to_module.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/elf_symbols_to_module.cc
[ 44%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elfutils.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elfutils.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/elfutils.cc
[ 47%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/file_id.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/file_id.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/file_id.cc
[ 50%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/google_crashdump_uploader.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/google_crashdump_uploader.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/google_crashdump_uploader.cc
[ 52%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/guid_creator.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/guid_creator.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/guid_creator.cc
[ 55%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/http_upload.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/http_upload.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/http_upload.cc
[ 58%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/libcurl_wrapper.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/libcurl_wrapper.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/libcurl_wrapper.cc
[ 61%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/linux_libc_support.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/linux_libc_support.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/linux_libc_support.cc
[ 63%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/memory_mapped_file.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/memory_mapped_file.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/memory_mapped_file.cc
[ 66%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/safe_readlink.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/safe_readlink.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/safe_readlink.cc
[ 69%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/synth_elf.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/synth_elf.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/synth_elf.cc
[ 72%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/long_string_dictionary.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/long_string_dictionary.o -c /home/cybex-dev/Libraries/breakpad/src/common/long_string_dictionary.cc
[ 75%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/md5.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/md5.o -c /home/cybex-dev/Libraries/breakpad/src/common/md5.cc
[ 77%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/module.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/module.o -c /home/cybex-dev/Libraries/breakpad/src/common/module.cc
[ 80%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/simple_string_dictionary.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/simple_string_dictionary.o -c /home/cybex-dev/Libraries/breakpad/src/common/simple_string_dictionary.cc
[ 83%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/stabs_reader.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/stabs_reader.o -c /home/cybex-dev/Libraries/breakpad/src/common/stabs_reader.cc
[ 86%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/stabs_to_module.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/stabs_to_module.o -c /home/cybex-dev/Libraries/breakpad/src/common/stabs_to_module.cc
[ 88%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/string_conversion.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/string_conversion.o -c /home/cybex-dev/Libraries/breakpad/src/common/string_conversion.cc
[ 91%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/test_assembler.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11 -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/test_assembler.o -c /home/cybex-dev/Libraries/breakpad/src/common/test_assembler.cc
[ 94%] Linking CXX static library common/libcommon.a
/usr/bin/cmake -P CMakeFiles/common.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/common.dir/link.txt --verbose=1
/usr/bin/ar qc common/libcommon.a  CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/convert_UTF.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/bytereader.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/cfi_assembler.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2reader.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/elf_reader.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/functioninfo.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_cfi_to_module.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_cu_to_module.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_line_to_module.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/language.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/crc32.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/dump_symbols.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elf_core_dump.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elf_symbols_to_module.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elfutils.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/file_id.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/google_crashdump_uploader.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/guid_creator.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/http_upload.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/libcurl_wrapper.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/linux_libc_support.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/memory_mapped_file.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/safe_readlink.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/synth_elf.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/long_string_dictionary.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/md5.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/module.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/simple_string_dictionary.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/stabs_reader.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/stabs_to_module.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/string_conversion.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/test_assembler.o
/usr/bin/ranlib common/libcommon.a
make[3]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default'
[ 94%] Built target common
make -f CMakeFiles/dump_syms.dir/build.make CMakeFiles/dump_syms.dir/depend
make[3]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default'
cd /home/cybex-dev/Libraries/breakpad/out/Default && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/dump_syms.dir/DependInfo.cmake --color=
Dependee "/home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/dump_syms.dir/DependInfo.cmake" is newer than depender "/home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/dump_syms.dir/depend.internal".
Dependee "/home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/dump_syms.dir/depend.internal".
Scanning dependencies of target dump_syms
make[3]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default'
make -f CMakeFiles/dump_syms.dir/build.make CMakeFiles/dump_syms.dir/build
make[3]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default'
[ 97%] Building CXX object CMakeFiles/dump_syms.dir/home/cybex-dev/Libraries/breakpad/src/tools/linux/dump_syms/dump_syms.o
/usr/bin/c++    -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src   -o CMakeFiles/dump_syms.dir/home/cybex-dev/Libraries/breakpad/src/tools/linux/dump_syms/dump_syms.o -c /home/cybex-dev/Libraries/breakpad/src/tools/linux/dump_syms/dump_syms.cc
[100%] Linking CXX executable dump_syms
/usr/bin/cmake -E cmake_link_script CMakeFiles/dump_syms.dir/link.txt --verbose=1
/usr/bin/c++      CMakeFiles/dump_syms.dir/home/cybex-dev/Libraries/breakpad/src/tools/linux/dump_syms/dump_syms.o  -o dump_syms  -L/usr/lib/gcc/x86_64-linux-gnu/7 -rdynamic common/libcommon.a 
common/libcommon.a(dump_symbols.o): In function `bool (anonymous namespace)::InitModuleForElfClass<google_breakpad::ElfClass32>(google_breakpad::ElfClass32::Ehdr const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google_breakpad::scoped_ptr<google_breakpad::Module>&)':
dump_symbols.cc:(.text+0x1b38): undefined reference to `google_breakpad::BaseName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
common/libcommon.a(dump_symbols.o): In function `bool (anonymous namespace)::InitModuleForElfClass<google_breakpad::ElfClass64>(google_breakpad::ElfClass64::Ehdr const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google_breakpad::scoped_ptr<google_breakpad::Module>&)':
dump_symbols.cc:(.text+0x1ee2): undefined reference to `google_breakpad::BaseName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
CMakeFiles/dump_syms.dir/build.make:95: recipe for target 'dump_syms' failed
make[3]: *** [dump_syms] Error 1
make[3]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default'
CMakeFiles/Makefile2:378: recipe for target 'CMakeFiles/dump_syms.dir/all' failed
make[2]: *** [CMakeFiles/dump_syms.dir/all] Error 2
make[2]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default'
CMakeFiles/Makefile2:390: recipe for target 'CMakeFiles/dump_syms.dir/rule' failed
make[1]: *** [CMakeFiles/dump_syms.dir/rule] Error 2
make[1]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default'
Makefile:235: recipe for target 'dump_syms' failed
make: *** [dump_syms] Error 2
cybex-dev commented 6 years ago

For an FYI update

After some more "playing around", I did NOT copy over the minidump_upload.m from the mac sources. And then proceeded to continue with breakpad build, but still fails with the same errors above.

amiralies commented 6 years ago

@cybex-dev when you see fatal: destination path 'testing' already exists and is not an empty directory. while cloning google/googletest remove testing foder (rm -rf testing) and then try cloning.

cybex-dev commented 6 years ago

@amiralies Instead, I move it with mv testing testing.orig and continue with the build process.

amiralies commented 6 years ago

@cybex-dev i don`t know whats wrong then, that was what i did. this build process should be automated its really annoying.

cybex-dev commented 6 years ago

@amiralies Let me start from the beginning.

These are all the steps I have taken till now, and only these. Meaning no other libraries have been installed, no applications, etc.

OS Installation:

I installed a fresh Ubuntu 16.04.3 amd64 System and install updates during installation

Next, I add my user to /etc/sudoers

Pre-Build

Place the following into a script and run it:

#!/bin/bash
set -e

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo add-apt-repository ppa:george-edison55/cmake-3.x
sudo apt-get update
sudo apt-get install gcc-7 g++-7 cmake
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 60
sudo add-apt-repository --remove ppa:ubuntu-toolchain-r/test
sudo add-apt-repository --remove ppa:george-edison55/cmake-3.x

# Addition recommended in https://github.com/telegramdesktop/tdesktop/issues/4248#issuecomment-354909811
sudo update-alternatives --config gcc
sudo update-alternatives --config g++

sudo apt-get install git libexif-dev liblzma-dev libz-dev libssl-dev libappindicator-dev libunity-dev libicu-dev libdee-dev libdrm-dev dh-autoreconf autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-xfixes0-dev libxcb-keysyms1-dev libxcb-icccm4-dev libxcb-render-util0-dev libxcb-util0-dev libxrender-dev libasound-dev libpulse-dev libxcb-sync0-dev libxcb-randr0-dev libx11-xcb-dev libffi-dev libncurses5-dev pkg-config texi2html zlib1g-dev yasm cmake xutils-dev bison python-xcbgen

There should be no problem so far. Please note the addition you recommended here

Building Dependencies and Third Party Libraries:

Place the following into a script and run it:

Please see notes about script below

#!/bin/bash

set -e

echo "Setting make threads = 8"
MAKE_THREADS_CNT=-j8

git clone --recursive https://github.com/telegramdesktop/tdesktop.git

mkdir Libraries
cd Libraries

git clone https://github.com/ericniebler/range-v3

git clone https://github.com/telegramdesktop/zlib.git
cd zlib
./configure
make $MAKE_THREADS_CNT
sudo make install
cd ..

git clone https://github.com/xiph/opus
cd opus
git checkout v1.2.1
./autogen.sh
./configure
make $MAKE_THREADS_CNT
sudo make install
cd ..

git clone https://github.com/01org/libva.git
cd libva
./autogen.sh --enable-static
make $MAKE_THREADS_CNT
sudo make install
cd ..

git clone git://anongit.freedesktop.org/vdpau/libvdpau
cd libvdpau
./autogen.sh --enable-static
make $MAKE_THREADS_CNT
sudo make install
cd ..

git clone https://github.com/FFmpeg/FFmpeg.git ffmpeg
cd ffmpeg
git checkout release/3.4

./configure --prefix=/usr/local --disable-programs --disable-doc --disable-everything --enable-protocol=file --enable-libopus --enable-decoder=aac --enable-decoder=aac_latm --enable-decoder=aasc --enable-decoder=flac --enable-decoder=gif --enable-decoder=h264 --enable-decoder=h264_vdpau --enable-decoder=mp1 --enable-decoder=mp1float --enable-decoder=mp2 --enable-decoder=mp2float --enable-decoder=mp3 --enable-decoder=mp3adu --enable-decoder=mp3adufloat --enable-decoder=mp3float --enable-decoder=mp3on4 --enable-decoder=mp3on4float --enable-decoder=mpeg4 --enable-decoder=mpeg4_vdpau --enable-decoder=msmpeg4v2 --enable-decoder=msmpeg4v3 --enable-decoder=opus --enable-decoder=pcm_alaw --enable-decoder=pcm_alaw_at --enable-decoder=pcm_f32be --enable-decoder=pcm_f32le --enable-decoder=pcm_f64be --enable-decoder=pcm_f64le --enable-decoder=pcm_lxf --enable-decoder=pcm_mulaw --enable-decoder=pcm_mulaw_at --enable-decoder=pcm_s16be --enable-decoder=pcm_s16be_planar --enable-decoder=pcm_s16le --enable-decoder=pcm_s16le_planar --enable-decoder=pcm_s24be --enable-decoder=pcm_s24daud --enable-decoder=pcm_s24le --enable-decoder=pcm_s24le_planar --enable-decoder=pcm_s32be --enable-decoder=pcm_s32le --enable-decoder=pcm_s32le_planar --enable-decoder=pcm_s64be --enable-decoder=pcm_s64le --enable-decoder=pcm_s8 --enable-decoder=pcm_s8_planar --enable-decoder=pcm_u16be --enable-decoder=pcm_u16le --enable-decoder=pcm_u24be --enable-decoder=pcm_u24le --enable-decoder=pcm_u32be --enable-decoder=pcm_u32le --enable-decoder=pcm_u8 --enable-decoder=pcm_zork --enable-decoder=vorbis --enable-decoder=wavpack --enable-decoder=wmalossless --enable-decoder=wmapro --enable-decoder=wmav1 --enable-decoder=wmav2 --enable-decoder=wmavoice --enable-encoder=libopus --enable-hwaccel=h264_vaapi --enable-hwaccel=h264_vdpau --enable-hwaccel=mpeg4_vaapi --enable-hwaccel=mpeg4_vdpau --enable-parser=aac --enable-parser=aac_latm --enable-parser=flac --enable-parser=h264 --enable-parser=mpeg4video --enable-parser=mpegaudio --enable-parser=opus --enable-parser=vorbis --enable-demuxer=aac --enable-demuxer=flac --enable-demuxer=gif --enable-demuxer=h264 --enable-demuxer=mov --enable-demuxer=mp3 --enable-demuxer=ogg --enable-demuxer=wav --enable-muxer=ogg --enable-muxer=opus

make $MAKE_THREADS_CNT
sudo make install
cd ..

git clone https://git.assembla.com/portaudio.git
cd portaudio
git checkout 396fe4b669
./configure
make $MAKE_THREADS_CNT
sudo make install
cd ..

git clone git://repo.or.cz/openal-soft.git
cd openal-soft/build
cmake -D LIBTYPE:STRING=STATIC ..
make $MAKE_THREADS_CNT
sudo make install
cd ../..

git clone https://github.com/openssl/openssl
cd openssl
git checkout OpenSSL_1_0_1-stable
./config
make $MAKE_THREADS_CNT
sudo make install
cd ..

git clone https://github.com/xkbcommon/libxkbcommon.git
cd libxkbcommon
./autogen.sh --disable-x11
make $MAKE_THREADS_CNT
sudo make install
cd ..

git clone git://code.qt.io/qt/qt5.git qt5_6_2
cd qt5_6_2
perl init-repository --module-subset=qtbase,qtimageformats
git checkout v5.6.2
cd qtimageformats && git checkout v5.6.2 && cd ..
cd qtbase && git checkout v5.6.2 && cd ..
cd qtbase && git apply ../../../tdesktop/Telegram/Patches/qtbase_5_6_2.diff && cd ..
cd qtbase/src/plugins/platforminputcontexts
git clone https://github.com/telegramdesktop/fcitx.git
git clone https://github.com/telegramdesktop/hime.git
cd ../../../..

./configure -prefix "/usr/local/tdesktop/Qt-5.6.2" -release -force-debug-info -opensource -confirm-license -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -qt-harfbuzz -qt-pcre -qt-xcb -qt-xkbcommon-x11 -no-opengl -no-gtkstyle -static -openssl-linked -nomake examples -nomake tests

make $MAKE_THREADS_CNT
sudo make install
cd ..

git clone https://chromium.googlesource.com/external/gyp
cd gyp
git checkout 702ac58e47
git apply ../../tdesktop/Telegram/Patches/gyp.diff
cd ..

echo -e "===================================================\nCLONING BREAKPAD\n============================================================"
git clone https://chromium.googlesource.com/breakpad/breakpad
echo -e "===================================================\nCLONING linux-syscall\n============================================================"
git clone https://chromium.googlesource.com/linux-syscall-support breakpad/src/third_party/lss
cd breakpad
./configure
echo -e "===================================================\nMAKING BREAKPAD\n============================================================"
make $MAKE_THREADS_CNT
echo -e "===================================================\nINSTALLING BREAKPAD\n============================================================"
sudo make install
cd src
echo -e "===================================================\nMoving orignal 'testing' directory since GIT Clone will fail\n\tSee : ISSUE 1 - https://github.com/telegramdesktop/tdesktop/issues/4275#issue-285510717\n============================================================"
mv testing testing.orig
echo -e "===================================================\nCLONING GOOGLETEST\n============================================================"
git clone https://github.com/google/googletest testing
cd tools
../../../gyp/gyp  --depth=. --generator-output=.. -Goutput_dir=../out tools.gyp --format=cmake
cd ../../out/Default
echo -e "===================================================\nThis will fail due to it not finding minidump_upload.m for Linux\n============================================================"
cmake .
echo -e "===================================================\nApplying change to CXX_FLAGS in CMakeFiles/common.dir/flags.make : added -std=c++11\n\tSee : https://github.com/telegramdesktop/tdesktop/issues/4275#issuecomment-354861476\n============================================================"
sed -i 's/CXX_FLAGS =/CXX_FLAGS = -std=c++11/g' "./CMakeFiles/common.dir/flags.make"
echo -e "===================================================\nMAKING GOOGLETEST\n============================================================"
make $MAKE_THREADS_CNT VERBOSE=1 dump_syms | tee "breakpad-build.output"
cd ../../..

Notes about dependency install script

Script Modifications:

  1. Renaming testing directory found in Libraries/breakpad/src/ to testing.orig : ref - Issue 1
  2. Adding -std=c++11 flag to CMakeFiles/common.dir/flags.make to prevent std::unique_ptr error of it not being found : ref
  3. After running cmake . in the breakpad/out/Default directory, the minidump_upload.m is not found, thus the build process is not completed (Adding the proposed change did not solve the problem) : ref
  4. Ignoring this error, and attempting to build results in a failed build with an undefined reference : ref

It refers to a undefined reference to symbol arc4random_buf@@LIBBSD_0.2 /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libICE.a(iceauth.o): undefined reference to symbol 'arc4random_buf@@LIBBSD_0.2' //lib/x86_64-linux-gnu/libbsd.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [Telegram] Error 1



For extensive output of Telegram `make`, please [see](https://pastebin.com/KJVhQwxK)
cybex-dev commented 6 years ago

@amiralies @stek29 For a bit more verbose output of Telegram [debug] make output: see this

TL;DR

[ 89%] Building CXX object CMakeFiles/Telegram.dir/obj/gen/styles/style_info.o
/usr/bin/c++   -DAL_ALEXT_PROTOTYPES -DAL_LIBTYPE_STATIC -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_PLUGIN -DQT_STATICPLUGIN -DQT_WIDGETS_LIB -DQ_OS_LINUX64 -DTGVOIP_USE_CXX11_LIB -D_DEBUG -D_REENTRANT -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/SourceFiles -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/obj/gen -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/breakpad/src -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/lzma/C -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/zlib -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/ffmpeg -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/openal-soft/include -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/opus/include -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/range-v3/include -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/minizip -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/SPMediaKeyTap -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/emoji_suggestions -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/GSL/include -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/variant/include -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/crl/src -I/usr/local/tdesktop/Qt-5.6.2/include -I/usr/local/tdesktop/Qt-5.6.2/include/QtCore -I/usr/local/tdesktop/Qt-5.6.2/include/QtGui -I/usr/local/tdesktop/Qt-5.6.2/include/QtDBus -I/usr/local/tdesktop/Qt-5.6.2/include/QtCore/5.6.2 -I/usr/local/tdesktop/Qt-5.6.2/include/QtGui/5.6.2 -I/usr/local/tdesktop/Qt-5.6.2/include/QtCore/5.6.2/QtCore -I/usr/local/tdesktop/Qt-5.6.2/include/QtGui/5.6.2/QtGui -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/crashpad -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/crashpad/third_party/mini_chromium/mini_chromium -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/openssl/include -I/usr/local/include -I/usr/local/include/breakpad -I/usr/local/tdesktop/Qt-5.6.2/mkspecs/linux-g++ -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/libtgvoip   "-pipe" "-Wall" "-Werror" "-W" "-fPIC" "-Wno-unused-variable" "-Wno-unused-parameter" "-Wno-unused-function" "-Wno-switch" "-Wno-comment" "-Wno-unused-but-set-variable" "-Wno-missing-field-initializers" "-Wno-sign-compare" "-std=c++1z" "-Wno-register" "-Wno-strict-overflow" "-g" "-pthread" "-I/usr/include/libappindicator-0.1" "-I/usr/include/libdbusmenu-glib-0.4" "-I/usr/include/gtk-2.0" "-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include" "-I/usr/include/gio-unix-2.0/" "-I/usr/include/cairo" "-I/usr/include/pango-1.0" "-I/usr/include/atk-1.0" "-I/usr/include/cairo" "-I/usr/include/pixman-1" "-I/usr/include/libpng12" "-I/usr/include/gdk-pixbuf-2.0" "-I/usr/include/libpng12" "-I/usr/include/pango-1.0" "-I/usr/include/harfbuzz" "-I/usr/include/pango-1.0" "-I/usr/include/glib-2.0" "-I/usr/lib/x86_64-linux-gnu/glib-2.0/include" "-I/usr/include/freetype2" "-pthread" "-I/usr/include/gtk-2.0" "-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include" "-I/usr/include/gio-unix-2.0/" "-I/usr/include/cairo" "-I/usr/include/pango-1.0" "-I/usr/include/atk-1.0" "-I/usr/include/cairo" "-I/usr/include/pixman-1" "-I/usr/include/libpng12" "-I/usr/include/gdk-pixbuf-2.0" "-I/usr/include/libpng12" "-I/usr/include/pango-1.0" "-I/usr/include/harfbuzz" "-I/usr/include/pango-1.0" "-I/usr/include/glib-2.0" "-I/usr/lib/x86_64-linux-gnu/glib-2.0/include" "-I/usr/include/freetype2" "-I/usr/include/glib-2.0" "-I/usr/lib/x86_64-linux-gnu/glib-2.0/include" "-pthread" "-I/usr/include/dee-1.0" "-I/usr/include/gio-unix-2.0/" "-I/usr/include/glib-2.0" "-I/usr/lib/x86_64-linux-gnu/glib-2.0/include" "-include" "/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/Telegram_pch/stdafx.h" -o CMakeFiles/Telegram.dir/obj/gen/styles/style_info.o -c /home/cybex-dev/TelegramRoot/tdesktop/out/Debug/obj/gen/styles/style_info.cpp
[ 89%] Building CXX object CMakeFiles/Telegram.dir/obj/gen/styles/style_intro.o
/usr/bin/c++   -DAL_ALEXT_PROTOTYPES -DAL_LIBTYPE_STATIC -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_PLUGIN -DQT_STATICPLUGIN -DQT_WIDGETS_LIB -DQ_OS_LINUX64 -DTGVOIP_USE_CXX11_LIB -D_DEBUG -D_REENTRANT -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/SourceFiles -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/obj/gen -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/breakpad/src -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/lzma/C -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/zlib -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/ffmpeg -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/openal-soft/include -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/opus/include -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/range-v3/include -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/minizip -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/SPMediaKeyTap -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/emoji_suggestions -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/GSL/include -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/variant/include -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/crl/src -I/usr/local/tdesktop/Qt-5.6.2/include -I/usr/local/tdesktop/Qt-5.6.2/include/QtCore -I/usr/local/tdesktop/Qt-5.6.2/include/QtGui -I/usr/local/tdesktop/Qt-5.6.2/include/QtDBus -I/usr/local/tdesktop/Qt-5.6.2/include/QtCore/5.6.2 -I/usr/local/tdesktop/Qt-5.6.2/include/QtGui/5.6.2 -I/usr/local/tdesktop/Qt-5.6.2/include/QtCore/5.6.2/QtCore -I/usr/local/tdesktop/Qt-5.6.2/include/QtGui/5.6.2/QtGui -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/crashpad -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/crashpad/third_party/mini_chromium/mini_chromium -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../../Libraries/openssl/include -I/usr/local/include -I/usr/local/include/breakpad -I/usr/local/tdesktop/Qt-5.6.2/mkspecs/linux-g++ -I/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/../../Telegram/ThirdParty/libtgvoip   "-pipe" "-Wall" "-Werror" "-W" "-fPIC" "-Wno-unused-variable" "-Wno-unused-parameter" "-Wno-unused-function" "-Wno-switch" "-Wno-comment" "-Wno-unused-but-set-variable" "-Wno-missing-field-initializers" "-Wno-sign-compare" "-std=c++1z" "-Wno-register" "-Wno-strict-overflow" "-g" "-pthread" "-I/usr/include/libappindicator-0.1" "-I/usr/include/libdbusmenu-glib-0.4" "-I/usr/include/gtk-2.0" "-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include" "-I/usr/include/gio-unix-2.0/" "-I/usr/include/cairo" "-I/usr/include/pango-1.0" "-I/usr/include/atk-1.0" "-I/usr/include/cairo" "-I/usr/include/pixman-1" "-I/usr/include/libpng12" "-I/usr/include/gdk-pixbuf-2.0" "-I/usr/include/libpng12" "-I/usr/include/pango-1.0" "-I/usr/include/harfbuzz" "-I/usr/include/pango-1.0" "-I/usr/include/glib-2.0" "-I/usr/lib/x86_64-linux-gnu/glib-2.0/include" "-I/usr/include/freetype2" "-pthread" "-I/usr/include/gtk-2.0" "-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include" "-I/usr/include/gio-unix-2.0/" "-I/usr/include/cairo" "-I/usr/include/pango-1.0" "-I/usr/include/atk-1.0" "-I/usr/include/cairo" "-I/usr/include/pixman-1" "-I/usr/include/libpng12" "-I/usr/include/gdk-pixbuf-2.0" "-I/usr/include/libpng12" "-I/usr/include/pango-1.0" "-I/usr/include/harfbuzz" "-I/usr/include/pango-1.0" "-I/usr/include/glib-2.0" "-I/usr/lib/x86_64-linux-gnu/glib-2.0/include" "-I/usr/include/freetype2" "-I/usr/include/glib-2.0" "-I/usr/lib/x86_64-linux-gnu/glib-2.0/include" "-pthread" "-I/usr/include/dee-1.0" "-I/usr/include/gio-unix-2.0/" "-I/usr/include/glib-2.0" "-I/usr/lib/x86_64-linux-gnu/glib-2.0/include" "-include" "/home/cybex-dev/TelegramRoot/tdesktop/out/Debug/Telegram_pch/stdafx.h" -o CMakeFiles/Telegram.dir/obj/gen/styles/style_intro.o -c /home/cybex-dev/TelegramRoot/tdesktop/out/Debug/obj/gen/styles/style_intro.cpp
c++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
make[2]: *** [CMakeFiles/Telegram.dir/obj/gen/styles/style_intro.o] Error 4
make[2]: *** Deleting file 'CMakeFiles/Telegram.dir/obj/gen/styles/style_intro.o'
CMakeFiles/Telegram.dir/build.make:11996: recipe for target 'CMakeFiles/Telegram.dir/obj/gen/styles/style_intro.o' failed
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/cybex-dev/TelegramRoot/tdesktop/out/Debug'
make[1]: *** [CMakeFiles/Telegram.dir/all] Error 2
CMakeFiles/Makefile2:85: recipe for target 'CMakeFiles/Telegram.dir/all' failed
make[1]: Leaving directory '/home/cybex-dev/TelegramRoot/tdesktop/out/Debug'
make: *** [all] Error 2
Makefile:83: recipe for target 'all' failed
cybex-dev commented 6 years ago

@stek29 @amiralies @john-preston @auchri @proea

I proceed to test with the various 'supported' distributions:

Testing on a fresh install of Ubuntu 14.04.5 LTS amd64, I have some updated results.

Running the scripts mentioned above:

Install software and required packages : ref - Success

Clone source code and prepare libraries : ref - Failed

Output of build (full output here):

//...
Scanning dependencies of target dump_syms
make[3]: Leaving directory `/home/cybex-dev/Libraries/breakpad/out/Default'
make -f CMakeFiles/dump_syms.dir/build.make CMakeFiles/dump_syms.dir/build
make[3]: Entering directory `/home/cybex-dev/Libraries/breakpad/out/Default'
/usr/bin/cmake -E cmake_progress_report /home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles 61
[100%] Building CXX object CMakeFiles/dump_syms.dir/home/cybex-dev/Libraries/breakpad/src/tools/linux/dump_syms/dump_syms.o
/usr/bin/c++    -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src    -o CMakeFiles/dump_syms.dir/home/cybex-dev/Libraries/breakpad/src/tools/linux/dump_syms/dump_syms.o -c /home/cybex-dev/Libraries/breakpad/src/tools/linux/dump_syms/dump_syms.cc
Linking CXX executable dump_syms
/usr/bin/cmake -E cmake_link_script CMakeFiles/dump_syms.dir/link.txt --verbose=1
/usr/bin/c++      CMakeFiles/dump_syms.dir/home/cybex-dev/Libraries/breakpad/src/tools/linux/dump_syms/dump_syms.o  -o dump_syms -rdynamic common/libcommon.a 
common/libcommon.a(dump_symbols.o): In function `bool (anonymous namespace)::InitModuleForElfClass<google_breakpad::ElfClass32>(google_breakpad::ElfClass32::Ehdr const*, std::string const&, google_breakpad::scoped_ptr<google_breakpad::Module>&)':
dump_symbols.cc:(.text+0x19ed): undefined reference to `google_breakpad::BaseName(std::string const&)'
common/libcommon.a(dump_symbols.o): In function `bool (anonymous namespace)::InitModuleForElfClass<google_breakpad::ElfClass64>(google_breakpad::ElfClass64::Ehdr const*, std::string const&, google_breakpad::scoped_ptr<google_breakpad::Module>&)':
dump_symbols.cc:(.text+0x1d55): undefined reference to `google_breakpad::BaseName(std::string const&)'
collect2: error: ld returned 1 exit status
make[3]: *** [dump_syms] Error 1
make[3]: Leaving directory `/home/cybex-dev/Libraries/breakpad/out/Default'
make[2]: *** [CMakeFiles/dump_syms.dir/all] Error 2
make[2]: Leaving directory `/home/cybex-dev/Libraries/breakpad/out/Default'
make[1]: *** [CMakeFiles/dump_syms.dir/rule] Error 2
make[1]: Leaving directory `/home/cybex-dev/Libraries/breakpad/out/Default'
make: *** [dump_syms] Error 2
tovasLuo commented 6 years ago

I encountered the same problem on ubuntu16.04

UbiquitousTailor commented 6 years ago

I have gone through a similar process here on Ubuntu 14.04.5 LTS getting the same error on breakpad, I did however use aptitude to install the dependencies as I ran into issues there. I also had to remove the gyp directory and do a fresh clone of that as well.

cybex-dev commented 6 years ago

To reiterate the issue:

The build problem mentioned in this thread is a result of breakpad (with googletest) not compiling as expected (mentioned) in the building instructions.

i.e. An update build requirements / instructions is needed

This is NOT a problem of Telegram itself

chalkpe commented 6 years ago

have a similar problem on Ubuntu 17.10 :/

Scanning dependencies of target dump_syms
[ 97%] Building CXX object CMakeFiles/dump_syms.dir/home/chalk/TBuild/Libraries/breakpad/src/tools/linux/dump_syms/dump_syms.o
[100%] Linking CXX executable dump_syms
common/libcommon.a(dump_symbols.o): In function `bool (anonymous namespace)::InitModuleForElfClass<google_breakpad::ElfClass32>(google_breakpad::ElfClass32::Ehdr const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google_breakpad::scoped_ptr<google_breakpad::Module>&)':
dump_symbols.cc:(.text+0x1ba7): undefined reference to `google_breakpad::BaseName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
common/libcommon.a(dump_symbols.o): In function `bool (anonymous namespace)::InitModuleForElfClass<google_breakpad::ElfClass64>(google_breakpad::ElfClass64::Ehdr const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google_breakpad::scoped_ptr<google_breakpad::Module>&)':
dump_symbols.cc:(.text+0x1f52): undefined reference to `google_breakpad::BaseName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
CMakeFiles/dump_syms.dir/build.make:95: recipe for target 'dump_syms' failed
make[3]: *** [dump_syms] Error 1
CMakeFiles/Makefile2:378: recipe for target 'CMakeFiles/dump_syms.dir/all' failed
make[2]: *** [CMakeFiles/dump_syms.dir/all] Error 2
CMakeFiles/Makefile2:390: recipe for target 'CMakeFiles/dump_syms.dir/rule' failed
make[1]: *** [CMakeFiles/dump_syms.dir/rule] Error 2
Makefile:235: recipe for target 'dump_syms' failed
make: *** [dump_syms] Error 2
0
[ 89%] Linking CXX executable Telegram
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libICE.a(iceauth.o): undefined reference to symbol 'arc4random_buf@@LIBBSD_0.2'
//lib/x86_64-linux-gnu/libbsd.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/Telegram.dir/build.make:13117: recipe for target 'Telegram' failed
make[2]: *** [Telegram] Error 1
CMakeFiles/Makefile2:85: recipe for target 'CMakeFiles/Telegram.dir/all' failed
make[1]: *** [CMakeFiles/Telegram.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Bergiu commented 6 years ago

I have the same issue, but how to solve it now?

cybex-dev commented 6 years ago

Retested now with scripts provided above:

Note the extra debug output via comments to show progress made

===================================================
CLONING GOOGLETEST
============================================================
Cloning into 'testing'...
remote: Counting objects: 9883, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 9883 (delta 0), reused 2 (delta 0), pack-reused 9876
Receiving objects: 100% (9883/9883), 2.98 MiB | 486.00 KiB/s, done.
Resolving deltas: 100% (7280/7280), done.
Checking connectivity... done.
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cybex-dev/Libraries/breakpad/out/Default
===================================================
MAKING GOOGLETEST
============================================================
/usr/bin/cmake -H/home/cybex-dev/Libraries/breakpad/out/Default -B/home/cybex-dev/Libraries/breakpad/out/Default --check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 dump_syms
make[1]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default'
/usr/bin/cmake -H/home/cybex-dev/Libraries/breakpad/out/Default -B/home/cybex-dev/Libraries/breakpad/out/Default --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles 36
make -f CMakeFiles/Makefile2 CMakeFiles/dump_syms.dir/all
make[2]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default'
make -f CMakeFiles/common.dir/build.make CMakeFiles/common.dir/depend
make[3]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default'
cd /home/cybex-dev/Libraries/breakpad/out/Default && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/common.dir/DependInfo.cmake --color=
Dependee "/home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/common.dir/DependInfo.cmake" is newer than depender "/home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/common.dir/depend.internal".
Dependee "/home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/common.dir/depend.internal".
Scanning dependencies of target common
make[3]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default'
make -f CMakeFiles/common.dir/build.make CMakeFiles/common.dir/build
make[3]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default'
[  2%] Building C object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/convert_UTF.o
/usr/bin/cc  -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/convert_UTF.o   -c /home/cybex-dev/Libraries/breakpad/src/common/convert_UTF.c
[  5%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/elf_reader.o
[  8%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.cc
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/elf_reader.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/elf_reader.cc
[ 11%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_cfi_to_module.o
[ 13%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2reader.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_cfi_to_module.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf_cfi_to_module.cc
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2reader.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2reader.cc
[ 16%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/functioninfo.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/functioninfo.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/functioninfo.cc
[ 19%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/bytereader.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/bytereader.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/bytereader.cc
[ 22%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/cfi_assembler.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/cfi_assembler.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf/cfi_assembler.cc
[ 25%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_cu_to_module.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_cu_to_module.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf_cu_to_module.cc
[ 27%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_line_to_module.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_line_to_module.o -c /home/cybex-dev/Libraries/breakpad/src/common/dwarf_line_to_module.cc
[ 30%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/language.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/language.o -c /home/cybex-dev/Libraries/breakpad/src/common/language.cc
[ 33%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/crc32.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/crc32.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/crc32.cc
[ 36%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/dump_symbols.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/dump_symbols.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/dump_symbols.cc
[ 38%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elf_core_dump.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elf_core_dump.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/elf_core_dump.cc
[ 41%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elf_symbols_to_module.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elf_symbols_to_module.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/elf_symbols_to_module.cc
[ 44%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elfutils.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elfutils.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/elfutils.cc
[ 47%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/file_id.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/file_id.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/file_id.cc
[ 50%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/google_crashdump_uploader.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/google_crashdump_uploader.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/google_crashdump_uploader.cc
[ 52%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/guid_creator.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/guid_creator.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/guid_creator.cc
[ 55%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/http_upload.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/http_upload.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/http_upload.cc
[ 58%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/libcurl_wrapper.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/libcurl_wrapper.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/libcurl_wrapper.cc
[ 61%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/linux_libc_support.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/linux_libc_support.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/linux_libc_support.cc
[ 63%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/memory_mapped_file.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/memory_mapped_file.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/memory_mapped_file.cc
[ 66%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/synth_elf.o
[ 69%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/safe_readlink.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/safe_readlink.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/safe_readlink.cc
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/synth_elf.o -c /home/cybex-dev/Libraries/breakpad/src/common/linux/synth_elf.cc
[ 72%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/long_string_dictionary.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/long_string_dictionary.o -c /home/cybex-dev/Libraries/breakpad/src/common/long_string_dictionary.cc
[ 75%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/md5.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/md5.o -c /home/cybex-dev/Libraries/breakpad/src/common/md5.cc
[ 77%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/module.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/module.o -c /home/cybex-dev/Libraries/breakpad/src/common/module.cc
[ 80%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/stabs_reader.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/stabs_reader.o -c /home/cybex-dev/Libraries/breakpad/src/common/stabs_reader.cc
[ 83%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/simple_string_dictionary.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/simple_string_dictionary.o -c /home/cybex-dev/Libraries/breakpad/src/common/simple_string_dictionary.cc
[ 86%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/stabs_to_module.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/stabs_to_module.o -c /home/cybex-dev/Libraries/breakpad/src/common/stabs_to_module.cc
[ 88%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/string_conversion.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/string_conversion.o -c /home/cybex-dev/Libraries/breakpad/src/common/string_conversion.cc
[ 91%] Building CXX object CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/test_assembler.o
/usr/bin/c++   -DHAVE_A_OUT_H -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src  -std=c++11   -o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/test_assembler.o -c /home/cybex-dev/Libraries/breakpad/src/common/test_assembler.cc
[ 94%] Linking CXX static library common/libcommon.a
/usr/bin/cmake -P CMakeFiles/common.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/common.dir/link.txt --verbose=1
/usr/bin/ar qc common/libcommon.a  CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/convert_UTF.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/bytereader.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/cfi_assembler.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2diehandler.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/dwarf2reader.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/elf_reader.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf/functioninfo.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_cfi_to_module.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_cu_to_module.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/dwarf_line_to_module.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/language.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/crc32.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/dump_symbols.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elf_core_dump.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elf_symbols_to_module.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/elfutils.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/file_id.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/google_crashdump_uploader.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/guid_creator.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/http_upload.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/libcurl_wrapper.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/linux_libc_support.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/memory_mapped_file.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/safe_readlink.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/linux/synth_elf.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/long_string_dictionary.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/md5.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/module.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/simple_string_dictionary.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/stabs_reader.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/stabs_to_module.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/string_conversion.o CMakeFiles/common.dir/home/cybex-dev/Libraries/breakpad/src/common/test_assembler.o
/usr/bin/ranlib common/libcommon.a
make[3]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default'
[ 94%] Built target common
make -f CMakeFiles/dump_syms.dir/build.make CMakeFiles/dump_syms.dir/depend
make[3]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default'
cd /home/cybex-dev/Libraries/breakpad/out/Default && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default /home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/dump_syms.dir/DependInfo.cmake --color=
Dependee "/home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/dump_syms.dir/DependInfo.cmake" is newer than depender "/home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/dump_syms.dir/depend.internal".
Dependee "/home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/cybex-dev/Libraries/breakpad/out/Default/CMakeFiles/dump_syms.dir/depend.internal".
Scanning dependencies of target dump_syms
make[3]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default'
make -f CMakeFiles/dump_syms.dir/build.make CMakeFiles/dump_syms.dir/build
make[3]: Entering directory '/home/cybex-dev/Libraries/breakpad/out/Default'
[ 97%] Building CXX object CMakeFiles/dump_syms.dir/home/cybex-dev/Libraries/breakpad/src/tools/linux/dump_syms/dump_syms.o
/usr/bin/c++    -I/home/cybex-dev/Libraries/breakpad/out/Default/../../src   -o CMakeFiles/dump_syms.dir/home/cybex-dev/Libraries/breakpad/src/tools/linux/dump_syms/dump_syms.o -c /home/cybex-dev/Libraries/breakpad/src/tools/linux/dump_syms/dump_syms.cc
[100%] Linking CXX executable dump_syms
/usr/bin/cmake -E cmake_link_script CMakeFiles/dump_syms.dir/link.txt --verbose=1
/usr/bin/c++      CMakeFiles/dump_syms.dir/home/cybex-dev/Libraries/breakpad/src/tools/linux/dump_syms/dump_syms.o  -o dump_syms  -L/usr/lib/gcc/x86_64-linux-gnu/7 -rdynamic common/libcommon.a 
common/libcommon.a(dump_symbols.o): In function `bool (anonymous namespace)::InitModuleForElfClass<google_breakpad::ElfClass32>(google_breakpad::ElfClass32::Ehdr const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google_breakpad::scoped_ptr<google_breakpad::Module>&)':
dump_symbols.cc:(.text+0x1b38): undefined reference to `google_breakpad::BaseName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
common/libcommon.a(dump_symbols.o): In function `bool (anonymous namespace)::InitModuleForElfClass<google_breakpad::ElfClass64>(google_breakpad::ElfClass64::Ehdr const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google_breakpad::scoped_ptr<google_breakpad::Module>&)':
dump_symbols.cc:(.text+0x1ee2): undefined reference to `google_breakpad::BaseName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
make[3]: *** [dump_syms] Error 1
CMakeFiles/dump_syms.dir/build.make:95: recipe for target 'dump_syms' failed
make[2]: *** [CMakeFiles/dump_syms.dir/all] Error 2
make[3]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default'
CMakeFiles/Makefile2:378: recipe for target 'CMakeFiles/dump_syms.dir/all' failed
make[2]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default'
make[1]: *** [CMakeFiles/dump_syms.dir/rule] Error 2
CMakeFiles/Makefile2:390: recipe for target 'CMakeFiles/dump_syms.dir/rule' failed
make[1]: Leaving directory '/home/cybex-dev/Libraries/breakpad/out/Default'
make: *** [dump_syms] Error 2
Makefile:235: recipe for target 'dump_syms' failed
bstut commented 6 years ago

Same here

Bergiu commented 6 years ago

Now I have tried it with Ubuntu 14.04, 16.04 and 17.10 in Docker, Lubuntu 16.04 in an VM and at least Ubuntu 14.04.5 Desktop, Lubuntu 16.04 Desktop installed on my Laptop because I thought the error my be related to the virtualisation of Docker or VM. Everyone had minor issues during the installation, but all of them fails at the end on the same step in the issue described last here (Makefile:235: recipe for target 'dump_syms' failed).

AlexEdimensionz commented 6 years ago

Same here. Doesn't matter what version i tried on. Is there a stable version of breakpad and google/testing that we should roll back to?

cybex-dev commented 6 years ago

@AlexEdimensionz I will attempt to find a suitable fallback candidate for breakpad and GoogleTest today which is compatibile wiyh Telegram. If I find one, I will report back.

Bergiu commented 6 years ago

@cybex-dev have you found something?

Shikib commented 6 years ago

Any solution for this yet? Running into the same issue on 17.10.

e3oroush commented 6 years ago

For surpassing the following error:
undefined reference to google_breakpad::BaseName
You can add source and header file of path_helper.cc to the common target in the CMakeLists.txt of the project. Therefore, you can add these:
"../../src/common/path_helper.cc" to the common__cxx_srcs
"../../src/common/path_helper.h" to the common__other_srcs
to the out/Default/CMakeLists.txt

omkarnathsingh commented 6 years ago

Is it running on 17.10 or 18.04 for anyone yet?

mbasaglia commented 5 years ago

Any progress on this?

Aokromes commented 4 years ago

this issue is still valid on 1.9.3?

mbasaglia commented 4 years ago

The build instructions seem to have been changed in a couple places but it still hasn't been updated where I was having issues myself.

ie: requiring system-wide installation of libraries that are either custom-patched or have very specific versions.

it wouldn't be a problem if the build system could use those libraries from a specified location to avoid polluting the system but it isn't documented on the building-cmake page and I haven't figured how to do this.

ilya-fedin commented 4 years ago

Since the instruction is for Ubuntu 14.04 only, not a bug

mbasaglia commented 4 years ago

So is it not possible to build Telegram on an Ubuntu version that is less than 6 years old? 14.04 has reached end of support from canonical...

ilya-fedin commented 4 years ago

Yeah. This is still needed since tdesktop supports Ubuntu 12.04+ officially.

mbasaglia commented 4 years ago

but what if I use a newer OS and want to compile telegram desktop?

ilya-fedin commented 4 years ago

but what if I use a newer OS and want to compile telegram desktop?

Use a VM or a (lxc) container

mbasaglia commented 4 years ago

I want to fix a couple bugs I have found and those workarounds are not really feasible for a development environment.

ilya-fedin commented 4 years ago

and those workarounds are not really feasible for a development environment

But core developers are using that, so it's feasible

mbasaglia commented 4 years ago

Then there should be build instructions for setting that up? it's a very unusual setup...

ilya-fedin commented 4 years ago

Then there should be build instructions for setting that up?

Since they are using Parallels on Mac, that would be useless for you I guess

mbasaglia commented 4 years ago

Yes my point is that there are no instructions on how to build on modern Linux

I had opened an issue asking for instructions but it was closed pointing to this one https://github.com/telegramdesktop/tdesktop/issues/6076

As it stands there is no documented setup to get a development environment working

ilya-fedin commented 4 years ago

Yes my point is that there are no instructions on how to build on modern Linux

Yeah, and this is intended AFAIK

mbasaglia commented 4 years ago

it's intentional to not provide documentation? o_O

I'm ok if instructions require setting up containers as you mentioned but they need to specify how to have a complete development environment.

unless you actively want to discourage contributions?

ilya-fedin commented 4 years ago

it's intentional to not provide documentation? o_O

They are provided, but only for old Linux, since this is the only supported environment, like you that or not :man_shrugging:

mbasaglia commented 4 years ago

but what about the container setup you mentioned? it isn't documented anywhere

mbasaglia commented 4 years ago

I just want to contribute, it's frustrating that it's being actively being discouraged...

ilya-fedin commented 4 years ago

but what about the container setup you mentioned? it isn't documented anywhere

Because that was just my guess on how you can install Ubuntu 14.04

ilya-fedin commented 4 years ago

I just want to contribute, it's frustrating that it's being actively being discouraged...

If you just want to contribute, just use pkgbuild/spec file/anything else from your distro, they are doing a lot of work to compile on modern distros and you can just adapt that (this is what I did when started contributing since instructions really sucks).

mbasaglia commented 4 years ago

I'm not even sure what that means, I'm just going off to what is written in the readme and linked documentation...

ilya-fedin commented 4 years ago

lxc launch ubuntu:14.04 trusty is a way for you I guess then

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.