ungoogled-software / ungoogled-chromium-debian

Debian, Ubuntu, and others packaging for ungoogled-chromium
386 stars 49 forks source link

Will try to Maintain This Port #313

Closed AssassinK786 closed 1 year ago

AssassinK786 commented 1 year ago

I will try to maintain this port Need Some Perquisites to maintain & develop

SugaryHull commented 1 year ago

I was able to rule out my install of Debian as the problem. I'll try working on ungoogled-chromium-debian with LLVM 13 again

SugaryHull commented 1 year ago

I can't get it to use lld-13. I even updated the LLVM 11 patch to say -fuse-ld=lld-13. Any suggestions? https://0bin.net/paste/Qu5oxlhN#Fw23t49efx-nPi2/IrZkMd0WfuerDlWf48pdHro/YVJ

AssassinK786 commented 1 year ago

I can't get it to use lld-13. I even updated the LLVM 11 patch to say -fuse-ld=lld-13. Any suggestions? https://0bin.net/paste/Qu5oxlhN#Fw23t49efx-nPi2/IrZkMd0WfuerDlWf48pdHro/YVJ

Download LLVM 13 for this problem

SugaryHull commented 1 year ago

I can't get it to use lld-13. I even updated the LLVM 11 patch to say -fuse-ld=lld-13. Any suggestions? https://0bin.net/paste/Qu5oxlhN#Fw23t49efx-nPi2/IrZkMd0WfuerDlWf48pdHro/YVJ

Download LLVM 13 for this problem

I did from Debian's repos. The problem appears to be that it doesn't install the symlink to lld for anything but LLVM 11 to prevent packaging conflicts. I tried manually creating this symlink with no luck Output of apt list: https://0bin.net/paste/vUKuk7+p#b2AcZkN6t5Pk0zjK6rhmipCWyXZAAmT6uSWhr89rPIo

PF4Public commented 1 year ago

@SugaryHull You could give Gentoo's chromium-110-compiler.patch a try. It removes the check:

@@ -1359,27 +1286,6 @@ config("compiler_deterministic") {
   }
 }

-config("clang_revision") {
-  if (is_clang && clang_base_path == default_clang_base_path) {
-    update_args = [
-      "--print-revision",
-      "--verify-version=$clang_version",
-    ]
-    if (llvm_force_head_revision) {
-      update_args += [ "--llvm-force-head-revision" ]
-    }
-    clang_revision = exec_script("//tools/clang/scripts/update.py",
-                                 update_args,
-                                 "trim string")
-
-    # This is here so that all files get recompiled after a clang roll and
-    # when turning clang on or off. (defines are passed via the command line,
-    # and build system rebuild things when their commandline changes). Nothing
-    # should ever read this define.
-    defines = [ "CR_CLANG_REVISION=\"$clang_revision\"" ]
-  }
-}
-
 config("rustc_revision") {
   if (enable_rust && defined(rustc_version)) {
     # Similar to the above config, this is here so that all files get
SugaryHull commented 1 year ago

@SugaryHull You could give Gentoo's chromium-110-compiler.patch a try. It removes the check:

@@ -1359,27 +1286,6 @@ config("compiler_deterministic") {
   }
 }

-config("clang_revision") {
-  if (is_clang && clang_base_path == default_clang_base_path) {
-    update_args = [
-      "--print-revision",
-      "--verify-version=$clang_version",
-    ]
-    if (llvm_force_head_revision) {
-      update_args += [ "--llvm-force-head-revision" ]
-    }
-    clang_revision = exec_script("//tools/clang/scripts/update.py",
-                                 update_args,
-                                 "trim string")
-
-    # This is here so that all files get recompiled after a clang roll and
-    # when turning clang on or off. (defines are passed via the command line,
-    # and build system rebuild things when their commandline changes). Nothing
-    # should ever read this define.
-    defines = [ "CR_CLANG_REVISION=\"$clang_revision\"" ]
-  }
-}
-
 config("rustc_revision") {
   if (enable_rust && defined(rustc_version)) {
     # Similar to the above config, this is here so that all files get

That fixed the version error. Now to see if LLVM 16 will work instead of LLVM 13.

SugaryHull commented 1 year ago

Debian also has a patch that fixes clang and GCC11. I'll give a GCC build a shot

AssassinK786 commented 1 year ago

error error1 I'm getting this error for version ungoogled-chromium-111.0.5563.64-1 & 104.0.5112.101-1

SugaryHull commented 1 year ago

GCC crashes at building dav1d (says clang but actually GCC) clang: error: unknown argument: '-mpreferred-stack-boundary=5' https://0bin.net/paste/DuquKjwj#zLqkc6q0NeWHa8PJ-DmaeOCon/+ibUHGQGZ5ASpgb4N

SugaryHull commented 1 year ago

error error1 I'm getting this error for version ungoogled-chromium-111.0.5563.64-1 & 104.0.5112.101-1

The Gentoo patch that @PF4Public linked earlier fixes this the second error.

AssassinK786 commented 1 year ago

how to use it because i have no idea to use it And it for version 110 what about version 104?

SugaryHull commented 1 year ago

Add it to the patches directory in the base debian directory, then add the filename to the series file.

AssassinK786 commented 1 year ago

Add it to the patches directory in the base debian directory, then add the filename to the series file.

Ok I have to repeat the steps again for this or there is other way for it?

PF4Public commented 1 year ago

Debian also has a patch that fixes clang and GCC11. I'll give a GCC build a shot

There is no working patch for gcc for chromium 111, stick to clang at the moment.

AssassinK786 commented 1 year ago

sudo ./utils/patches.py apply build/src patches INFO: Applying patches from patches INFO: Applying 0001-fix-building-without-safebrowsing.patch (1/104) patching file chrome/browser/BUILD.gn patching file chrome/browser/browser_process.h patching file chrome/browser/browser_process_impl.cc patching file chrome/browser/browser_process_impl.h patching file chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc patching file chrome/browser/chrome_content_browser_client.cc patching file chrome/browser/component_updater/file_type_policies_component_installer.cc patching file chrome/browser/download/chrome_download_manager_delegate.cc patching file chrome/browser/download/download_item_model.cc patching file chrome/browser/download/download_prefs.cc patching file chrome/browser/download/download_target_determiner.cc patching file chrome/browser/extensions/api/downloads/downloads_api.cc patching file chrome/browser/extensions/api/downloads/downloads_api.h patching file chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_api.cc patching file chrome/browser/extensions/api/webstore_private/webstore_private_api.cc patching file chrome/browser/extensions/blocklist_state_fetcher.cc patching file chrome/browser/extensions/blocklist_state_fetcher.h patching file chrome/browser/metrics/chrome_metrics_service_client.cc patching file chrome/browser/net/trial_comparison_cert_verifier_controller.cc patching file chrome/browser/profiles/profile_impl.cc patching file chrome/browser/profiles/profiles_state.cc patching file chrome/browser/safe_browsing/BUILD.gn patching file chrome/browser/ssl/security_state_tab_helper.cc patching file chrome/browser/ui/BUILD.gn patching file chrome/browser/ui/tab_helpers.cc patching file chrome/browser/ui/webui/downloads/downloads_dom_handler.cc patching file chrome/browser/ui/webui/downloads/downloads_dom_handler.h patching file chrome/browser/ui/webui/interstitials/interstitial_ui.cc patching file chrome/renderer/chrome_content_renderer_client.cc patching file components/security_interstitials/content/cert_report_helper.cc INFO: Applying 0003-disable-autofill-download-manager.patch (2/104) patching file components/autofill/core/browser/autofill_download_manager.cc INFO: Applying 0005-disable-default-extensions.patch (3/104) patching file chrome/browser/extensions/component_extensions_allowlist/allowlist.cc patching file chrome/browser/extensions/component_loader.cc patching file chrome/browser/extensions/external_component_loader.cc patching file chrome/browser/extensions/webstore_installer.cc INFO: Applying 0009-disable-google-ipv6-probes.patch (4/104) patching file net/dns/host_resolver_manager.cc INFO: Applying 0015-disable-update-pings.patch (5/104) patching file chrome/updater/configurator.cc INFO: Applying 0021-disable-rlz.patch (6/104) patching file BUILD.gn patching file rlz/buildflags/buildflags.gni INFO: Applying unrar.patch (7/104) patching file chrome/browser/safe_browsing/download_protection/file_analyzer.cc patching file chrome/common/safe_browsing/BUILD.gn patching file chrome/services/file_util/safe_archive_analyzer.cc INFO: Applying safe_browsing-disable-incident-reporting.patch (8/104) patching file chrome/browser/safe_browsing/chrome_safe_browsing_blocking_page_factory.cc patching file chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc patching file chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc patching file chrome/browser/safe_browsing/safe_browsing_service.cc patching file components/security_interstitials/core/safe_browsing_loud_error_ui.cc INFO: Applying safe_browsing-disable-reporting-of-safebrowsing-over.patch (9/104) patching file components/safe_browsing/content/browser/client_side_detection_service.cc INFO: Applying all-add-trk-prefixes-to-possibly-evil-connections.patch (10/104) patching file build/apple/tweak_info_plist.py patching file chrome/browser/ash/customization/customization_document.cc patching file chrome/browser/ash/extensions/file_manager/private_api_misc.cc patching file chrome/browser/extensions/install_signer.cc patching file chrome/browser/media/webrtc/webrtc_event_log_uploader.cc patching file chrome/browser/media/webrtc/webrtc_log_uploader.cc patching file chrome/browser/nacl_host/nacl_infobar_delegate.cc patching file chrome/browser/profiles/profile_avatar_downloader.cc patching file chrome/browser/resources/default_apps/external_extensions.json patching file chrome/browser/safe_browsing/download_protection/download_feedback.cc patching file chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc patching file chrome/browser/supervised_user/supervised_user_service.cc patching file chrome/browser/ui/dialogs/outdated_upgrade_bubble.cc patching file chrome/browser/ui/webui/ntp/ntp_resource_cache.cc patching file chrome/chrome_cleaner/components/recovery_component.cc patching file chrome/chrome_cleaner/crash/crashpad_crash_reporter.cc patching file chrome/common/extensions/chrome_extensions_client.cc patching file chrome/installer/setup/google_chrome_behaviors.cc patching file chromecast/crash/linux/minidump_uploader.cc patching file chromeos/ash/components/geolocation/simple_geolocation_provider.cc patching file components/drive/service/drive_api_service.cc patching file components/feedback/feedback_uploader.cc patching file components/google/core/common/google_util.cc patching file components/history/core/browser/web_history_service.cc patching file components/metrics/url_constants.cc patching file components/safe_browsing/content/browser/client_side_detection_service.cc patching file components/safe_search_api/safe_search/safe_search_url_checker_client.cc patching file components/safe_search_api/stub_url_checker.cc patching file components/translate/core/browser/translate_url_fetcher.cc patching file components/translate/core/common/translate_util.cc patching file components/variations/variations_url_constants.cc patching file content/browser/speech/speech_recognition_engine.cc patching file content/browser/webauth/webauth_request_security_checker.h patching file content/shell/browser/shell_browser_main_parts.cc patching file extensions/common/extension_urls.cc patching file google_apis/gaia/gaia_constants.cc patching file google_apis/gaia/gaia_urls.cc patching file google_apis/gcm/engine/gservices_settings.cc patching file remoting/base/breakpad_mac.mm patching file remoting/protocol/jingle_messages.cc patching file rlz/lib/lib_values.cc patching file ui/accessibility/extensions/chromevoxclassic/chromevox/background/prefs.js patching file ui/accessibility/extensions/chromevoxclassic/host/chrome/host.js patching file ui/views/examples/webview_example.cc INFO: Applying disable-crash-reporter.patch (11/104) patching file chrome/browser/chrome_content_browser_client.cc patching file components/crash/core/app/crashpad.cc patching file components/gwp_asan/client/gwp_asan.cc patching file third_party/crashpad/crashpad/client/crashpad_client_linux.cc INFO: Applying disable-google-host-detection.patch (12/104) patching file chrome/common/google_url_loader_throttle.cc patching file components/google/core/common/google_util.cc patching file components/page_load_metrics/browser/page_load_metrics_util.cc patching file components/page_load_metrics/common/page_load_metrics_util.cc patching file components/search_engines/template_url.cc patching file components/variations/net/variations_http_headers.cc patching file net/base/url_util.cc INFO: Applying replace-google-search-engine-with-nosearch.patch (13/104) patching file components/search_engines/prepopulated_engines.json INFO: Applying disable-signin.patch (14/104) patching file chrome/browser/ui/chrome_pages.cc INFO: Applying toggle-translation-via-switch.patch (15/104) patching file chrome/browser/renderer_context_menu/render_view_context_menu.cc patching file components/translate/core/browser/translate_language_list.cc patching file components/translate/core/browser/translate_manager.cc patching file components/translate/core/browser/translate_ranker_impl.cc patching file components/translate/core/browser/translate_script.cc INFO: Applying disable-untraceable-urls.patch (16/104) patching file rlz/lib/financial_ping.cc patching file rlz/lib/lib_values.cc patching file rlz/lib/lib_values.h INFO: Applying disable-profile-avatar-downloading.patch (17/104) patching file chrome/browser/profiles/profile_avatar_downloader.cc INFO: Applying disable-gcm.patch (18/104) patching file components/gcm_driver/gcm_client_impl.cc INFO: Applying disable-domain-reliability.patch (19/104) patching file chrome/browser/domain_reliability/service_factory.cc patching file components/domain_reliability/BUILD.gn patching file components/domain_reliability/bake_in_configs.py patching file components/domain_reliability/google_configs.cc patching file components/domain_reliability/uploader.cc INFO: Applying block-trk-and-subdomains.patch (20/104) patching file chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc patching file chrome/browser/history/history_utils.cc patching file chrome/browser/ui/singleton_tabs.cc patching file components/omnibox/browser/autocomplete_input.cc patching file components/url_formatter/url_fixer.cc patching file content/browser/child_process_security_policy_impl.cc patching file net/BUILD.gn patching file net/url_request/trk_protocol_handler.cc patching file net/url_request/trk_protocol_handler.h patching file net/url_request/url_request.cc patching file net/url_request/url_request_context_builder.cc patching file url/url_constants.cc patching file url/url_constants.h patching file url/url_util.cc INFO: Applying disable-gaia.patch (21/104) patching file google_apis/gaia/gaia_auth_fetcher.cc INFO: Applying disable-fonts-googleapis-references.patch (22/104) patching file chrome/browser/resources/chromeos/accessibility/chromevox/options/options.css patching file chrome/browser/resources/chromeos/accessibility/select_to_speak/options.css patching file components/dom_distiller/content/browser/dom_distiller_viewer_source.cc patching file components/dom_distiller/core/html/preview.html patching file components/dom_distiller/core/javascript/dom_distiller_viewer.js patching file components/supervised_user/core/browser/resources/supervised_user_block_interstitial.html patching file third_party/crashpad/crashpad/doc/support/crashpad_doxygen.css patching file tools/md_browser/base.css INFO: Applying disable-webstore-urls.patch (23/104) patching file chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc patching file chrome/browser/extensions/chrome_content_verifier_delegate.cc patching file chrome/browser/extensions/extension_migrator.cc patching file chrome/browser/extensions/extension_migrator.h patching file extensions/browser/updater/extension_downloader.cc INFO: Applying fix-learn-doubleclick-hsts.patch (24/104) patching file net/tools/transport_security_state_generator/transport_security_state_generator.cc INFO: Applying disable-webrtc-log-uploader.patch (25/104) patching file chrome/browser/media/webrtc/webrtc_log_uploader.cc INFO: Applying fix-building-with-prunned-binaries.patch (26/104) patching file chrome/test/chromedriver/BUILD.gn patching file third_party/devtools-frontend/src/BUILD.gn INFO: Applying disable-network-time-tracker.patch (27/104) patching file components/network_time/network_time_tracker.cc INFO: Applying disable-mei-preload.patch (28/104) patching file chrome/BUILD.gn INFO: Applying fix-building-without-safebrowsing.patch (29/104) patching file chrome/browser/BUILD.gn patching file chrome/browser/chrome_content_browser_client.cc patching file chrome/browser/chrome_content_browser_client_receiver_bindings.cc patching file chrome/browser/component_updater/chrome_client_side_phishing_component_installer.cc patching file chrome/browser/devtools/devtools_window.cc patching file chrome/browser/download/bubble/download_bubble_controller.cc patching file chrome/browser/download/chrome_download_manager_delegate.cc patching file chrome/browser/download/download_item_model.cc patching file chrome/browser/download/download_stats.cc patching file chrome/browser/download/download_target_determiner.cc patching file chrome/browser/enterprise/connectors/analysis/content_analysis_delegate.cc patching file chrome/browser/enterprise/connectors/analysis/content_analysis_downloads_delegate.cc patching file chrome/browser/enterprise/connectors/analysis/files_request_handler.cc patching file chrome/browser/enterprise/connectors/connectors_service.cc patching file chrome/browser/enterprise/connectors/connectors_service.h patching file chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/context_signals_decorator.cc patching file chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc patching file chrome/browser/enterprise/connectors/reporting/reporting_service_settings.cc patching file chrome/browser/enterprise/signals/context_info_fetcher.cc patching file chrome/browser/enterprise/signals/context_info_fetcher.h patching file chrome/browser/enterprise/signals/signals_utils.cc patching file chrome/browser/enterprise/signals/signals_utils.h patching file chrome/browser/extensions/BUILD.gn patching file chrome/browser/extensions/api/api_browser_context_keyed_service_factories.cc patching file chrome/browser/extensions/api/cookies/cookies_api.cc patching file chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc patching file chrome/browser/extensions/chrome_extensions_browser_client.cc patching file chrome/browser/extensions/extension_service.cc patching file chrome/browser/extensions/extension_service.h patching file chrome/browser/extensions/extension_system_impl.cc patching file chrome/browser/extensions/safe_browsing_verdict_handler.cc patching file chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc patching file chrome/browser/file_system_access/chrome_file_system_access_permission_context.h patching file chrome/browser/media/webrtc/display_media_access_handler.cc patching file chrome/browser/notifications/notification_display_service_impl.cc patching file chrome/browser/password_manager/chrome_password_manager_client.cc patching file chrome/browser/password_manager/chrome_password_manager_client.h patching file chrome/browser/permissions/contextual_notification_permission_ui_selector.cc patching file chrome/browser/permissions/permission_revocation_request.cc patching file chrome/browser/permissions/prediction_based_permission_ui_selector.cc patching file chrome/browser/policy/configuration_policy_handler_list_factory.cc patching file chrome/browser/prefs/browser_prefs.cc patching file chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc patching file chrome/browser/resources/settings/lazy_load.ts patching file chrome/browser/resources/settings/privacy_page/privacy_guide/privacy_guide_page.ts patching file chrome/browser/safe_browsing/metrics/safe_browsing_metrics_provider.cc patching file chrome/browser/safe_browsing/url_lookup_service_factory.cc patching file chrome/browser/ssl/chrome_security_blocking_page_factory.cc patching file chrome/browser/ssl/sct_reporting_service_factory.cc patching file chrome/browser/ssl/ssl_error_controller_client.cc patching file chrome/browser/subresource_filter/chrome_content_subresource_filter_web_contents_helper_factory.cc patching file chrome/browser/ui/BUILD.gn patching file chrome/browser/ui/javascript_dialogs/javascript_tab_modal_dialog_manager_delegate_desktop.cc patching file chrome/browser/ui/views/download/download_item_view.cc patching file chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc patching file chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views_mac.mm patching file chrome/browser/ui/webui/downloads/downloads_dom_handler.cc patching file chrome/browser/ui/webui/management/management_ui_handler.cc patching file chrome/browser/webshare/share_service_impl.cc patching file chrome/test/BUILD.gn patching file components/password_manager/content/browser/content_password_manager_driver.cc patching file components/password_manager/core/browser/password_manager_client.h patching file components/password_manager/core/browser/password_reuse_detection_manager.cc patching file components/safe_browsing/content/common/proto/BUILD.gn patching file components/safe_browsing/content/common/safe_browsing.mojom patching file components/safe_browsing/core/browser/BUILD.gn patching file components/safe_browsing/core/browser/hashprefix_realtime/hash_realtime_service.h patching file components/safe_browsing/core/browser/verdict_cache_manager.cc patching file content/browser/file_system_access/file_system_access_safe_move_helper.cc patching file content/browser/file_system_access/file_system_access_safe_move_helper.h patching file content/public/browser/file_system_access_permission_context.h patching file extensions/browser/updater/update_service.cc patching file printing/buildflags/buildflags.gni patching file weblayer/BUILD.gn INFO: Applying remove-unused-preferences-fields.patch (30/104) patching file android_webview/browser/aw_browser_context.cc patching file chrome/app/settings_strings.grdp patching file chrome/browser/android/signin/signin_manager_android.cc patching file chrome/browser/android/signin/signin_manager_android.h patching file chrome/browser/ash/lock_screen_apps/lock_screen_profile_creator_impl.cc patching file chrome/browser/ash/lock_screen_apps/lock_screen_profile_creator_impl_unittest.cc patching file chrome/browser/ash/login/signin/device_id_browsertest.cc patching file chrome/browser/chrome_content_browser_client.cc patching file chrome/browser/download/download_browsertest.cc patching file chrome/browser/download/download_item_model.cc patching file chrome/browser/enterprise/connectors/analysis/content_analysis_delegate.cc patching file chrome/browser/enterprise/connectors/connectors_service.cc patching file chrome/browser/enterprise/connectors/connectors_service.h patching file chrome/browser/enterprise/signals/context_info_fetcher.cc patching file chrome/browser/enterprise/signals/context_info_fetcher.h patching file chrome/browser/enterprise/signals/signals_utils.cc patching file chrome/browser/enterprise/signals/signals_utils.h patching file chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc patching file chrome/browser/extensions/api/identity/identity_apitest.cc patching file chrome/browser/extensions/api/identity/identity_get_auth_token_function.cc patching file chrome/browser/extensions/api/preference/preference_api.cc patching file chrome/browser/extensions/api/preference/preference_apitest.cc patching file chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_event_router.cc patching file chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_event_router_unittest.cc patching file chrome/browser/extensions/api/settings_private/prefs_util.cc patching file chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc patching file chrome/browser/extensions/extension_allowlist.cc patching file chrome/browser/extensions/installed_loader.cc patching file chrome/browser/extensions/pref_mapping.cc patching file chrome/browser/net/profile_network_context_service.cc patching file chrome/browser/net/trial_comparison_cert_verifier_browsertest.cc patching file chrome/browser/net/trial_comparison_cert_verifier_controller.cc patching file chrome/browser/net/trial_comparison_cert_verifier_controller.h patching file chrome/browser/net/trial_comparison_cert_verifier_controller_unittest.cc patching file chrome/browser/password_manager/generated_password_leak_detection_pref.cc patching file chrome/browser/permissions/permission_revocation_request.cc patching file chrome/browser/permissions/prediction_based_permission_ui_selector.cc patching file chrome/browser/policy/browser_signin_policy_handler.cc patching file chrome/browser/policy/configuration_policy_handler_list_factory.cc patching file chrome/browser/prefs/browser_prefs.cc patching file chrome/browser/prefs/chrome_command_line_pref_store.cc patching file chrome/browser/prefs/chrome_pref_service_factory.cc patching file chrome/browser/prefs/pref_functional_browsertest.cc patching file chrome/browser/profiles/gaia_info_update_service.cc patching file chrome/browser/profiles/gaia_info_update_service_unittest.cc patching file chrome/browser/profiles/profile_attributes_entry.cc patching file chrome/browser/profiles/profile_attributes_storage.cc patching file chrome/browser/profiles/profile_impl.cc patching file chrome/browser/profiles/profile_manager.cc patching file chrome/browser/profiles/profile_window.cc patching file chrome/browser/profiles/profiles_state.cc patching file chrome/browser/resources/settings/privacy_page/disable_safebrowsing_dialog.html patching file chrome/browser/resources/settings/privacy_page/privacy_page.html patching file chrome/browser/resources/settings/privacy_page/privacy_page.ts patching file chrome/browser/resources/settings/privacy_page/security_page.html patching file chrome/browser/resources/settings/privacy_page/security_page.ts patching file chrome/browser/resources/settings/site_settings_page/site_settings_page.ts patching file chrome/browser/safe_browsing/advanced_protection_status_manager.cc patching file chrome/browser/safe_browsing/advanced_protection_status_manager_unittest.cc patching file chrome/browser/safe_browsing/android/services_delegate_android.h patching file chrome/browser/safe_browsing/certificate_reporting_service.cc patching file chrome/browser/safe_browsing/certificate_reporting_service_browsertest.cc patching file chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_controller_impl_win.cc patching file chrome/browser/safe_browsing/chrome_cleaner/reporter_runner_browsertest_win.cc patching file chrome/browser/safe_browsing/chrome_cleaner/srt_client_info_win.cc patching file chrome/browser/safe_browsing/chrome_password_protection_service.cc patching file chrome/browser/safe_browsing/chrome_password_protection_service.h patching file chrome/browser/safe_browsing/chrome_password_protection_service_browsertest.cc patching file chrome/browser/safe_browsing/chrome_password_protection_service_sync_browsertest.cc patching file chrome/browser/safe_browsing/download_protection/check_client_download_request.cc patching file chrome/browser/safe_browsing/download_protection/check_client_download_request_base.cc patching file chrome/browser/safe_browsing/download_protection/download_protection_service_unittest.cc patching file chrome/browser/safe_browsing/generated_safe_browsing_pref.cc patching file chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc patching file chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc patching file chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc patching file chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc patching file chrome/browser/safe_browsing/incident_reporting/state_store.cc patching file chrome/browser/safe_browsing/incident_reporting/state_store_unittest.cc patching file chrome/browser/safe_browsing/metrics/safe_browsing_metrics_provider.cc patching file chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc patching file chrome/browser/safe_browsing/safe_browsing_service.cc patching file chrome/browser/safe_browsing/safe_browsing_service.h patching file chrome/browser/safe_browsing/telemetry/android/android_telemetry_service.cc patching file chrome/browser/safe_browsing/telemetry/android/android_telemetry_service_unittest.cc patching file chrome/browser/safe_browsing/url_checker_delegate_impl.cc patching file chrome/browser/send_tab_to_self/send_tab_to_self_util.cc patching file chrome/browser/signin/account_consistency_mode_manager.cc patching file chrome/browser/signin/account_consistency_mode_manager_unittest.cc patching file chrome/browser/signin/chrome_device_id_helper.cc patching file chrome/browser/signin/chrome_signin_client.cc patching file chrome/browser/signin/chromeos_mirror_account_consistency_browsertest.cc patching file chrome/browser/signin/dice_browsertest.cc patching file chrome/browser/signin/header_modification_delegate_impl.cc patching file chrome/browser/signin/mirror_browsertest.cc patching file chrome/browser/signin/primary_account_policy_manager.cc patching file chrome/browser/signin/primary_account_policy_manager.h patching file chrome/browser/signin/primary_account_policy_manager_unittest.cc patching file chrome/browser/signin/signin_manager.cc patching file chrome/browser/signin/signin_promo_util.cc patching file chrome/browser/signin/signin_ui_util.cc patching file chrome/browser/signin/signin_util_win.cc patching file chrome/browser/signin/signin_util_win_browsertest.cc patching file chrome/browser/ssl/certificate_reporting_test_utils.cc patching file chrome/browser/ssl/sct_reporting_service.cc patching file chrome/browser/ssl/ssl_browsertest.cc patching file chrome/browser/ssl/ssl_error_controller_client.cc patching file chrome/browser/supervised_user/supervised_user_pref_store.cc patching file chrome/browser/ui/autofill/payments/save_card_bubble_controller_impl.cc patching file chrome/browser/ui/browser_command_controller.cc patching file chrome/browser/ui/browser_command_controller.h patching file chrome/browser/ui/browser_command_controller_unittest.cc patching file chrome/browser/ui/chrome_pages.cc patching file chrome/browser/ui/hats/trust_safety_sentiment_service.cc patching file chrome/browser/ui/views/page_info/page_info_bubble_view_sync_browsertest.cc patching file chrome/browser/ui/views/profiles/profile_menu_view.cc patching file chrome/browser/ui/views/profiles/profile_menu_view_browsertest.cc patching file chrome/browser/ui/views/safe_browsing/password_reuse_modal_warning_dialog.cc patching file chrome/browser/ui/views/safe_browsing/password_reuse_modal_warning_dialog.h patching file chrome/browser/ui/views/sync/inline_login_ui_browsertest.cc patching file chrome/browser/ui/webui/browser_command/browser_command_handler.cc patching file chrome/browser/ui/webui/downloads/downloads_dom_handler.cc patching file chrome/browser/ui/webui/history/history_ui.cc patching file chrome/browser/ui/webui/management/management_ui_handler.cc patching file chrome/browser/ui/webui/profile_info_watcher.cc patching file chrome/browser/ui/webui/profile_info_watcher.h patching file chrome/browser/ui/webui/reset_password/reset_password_ui.cc patching file chrome/browser/ui/webui/settings/people_handler.cc patching file chrome/browser/ui/webui/settings/safety_check_handler.cc patching file chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc patching file chrome/browser/ui/webui/settings/settings_ui.cc patching file chrome/browser/ui/webui/signin/inline_login_handler.cc patching file chrome/browser/ui/webui/signin/inline_login_handler_impl.cc patching file chrome/browser/ui/webui/signin/signin_error_ui.cc patching file chrome/browser/ui/webui/signin/signin_utils_desktop.cc patching file chrome/browser/ui/webui/signin/turn_sync_on_helper.cc patching file chrome/browser/ui/webui/signin/turn_sync_on_helper_unittest.cc patching file chrome/browser/ui/webui/welcome/welcome_ui.cc patching file chrome/browser/unified_consent/unified_consent_service_factory.cc patching file chrome/common/extensions/api/privacy.json patching file components/lookalikes/core/safety_tips_config.cc patching file components/password_manager/core/browser/leak_detection_delegate.cc patching file components/password_manager/core/browser/password_bubble_experiment.cc patching file components/password_manager/core/browser/password_reuse_detector.cc patching file components/password_manager/core/browser/password_reuse_manager_impl.cc patching file components/password_manager/core/browser/password_store.cc patching file components/password_manager/core/browser/password_sync_util.cc patching file components/password_manager/core/browser/sync_credentials_filter_unittest.cc patching file components/safe_browsing/content/browser/base_blocking_page.cc patching file components/safe_browsing/content/browser/client_side_detection_service.cc patching file components/safe_browsing/content/browser/safe_browsing_navigation_observer_manager.cc patching file components/safe_browsing/content/browser/triggers/suspicious_site_trigger_unittest.cc patching file components/safe_browsing/content/browser/triggers/trigger_manager.cc patching file components/safe_browsing/content/browser/triggers/trigger_throttler.cc patching file components/safe_browsing/content/browser/triggers/trigger_throttler_unittest.cc patching file components/safe_browsing/content/browser/ui_manager.cc patching file components/safe_browsing/content/browser/ui_manager_unittest.cc patching file components/safe_browsing/content/browser/web_ui/safe_browsing_ui.cc patching file components/safe_browsing/core/browser/db/hit_report.h patching file components/safe_browsing/core/browser/db/util.h patching file components/safe_browsing/core/browser/db/v4_local_database_manager.cc patching file components/safe_browsing/core/browser/db/v4_local_database_manager.h patching file components/safe_browsing/core/browser/db/v4_protocol_manager_util.cc patching file components/safe_browsing/core/browser/db/v4_protocol_manager_util.h patching file components/safe_browsing/core/browser/db/v4_update_protocol_manager.cc patching file components/safe_browsing/core/browser/db/v4_update_protocol_manager.h patching file components/safe_browsing/core/browser/password_protection/password_protection_service_base.h patching file components/safe_browsing/core/browser/ping_manager.cc patching file components/safe_browsing/core/browser/realtime/policy_engine.cc patching file components/safe_browsing/core/browser/realtime/url_lookup_service.cc patching file components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc patching file components/safe_browsing/core/browser/safe_browsing_metrics_collector.cc patching file components/safe_browsing/core/browser/tailored_security_service/tailored_security_service.cc patching file components/safe_browsing/core/browser/tailored_security_service/tailored_security_service_observer_util.cc patching file components/safe_browsing/core/common/BUILD.gn patching file components/safe_browsing/core/common/safe_browsing_policy_handler.cc patching file components/safe_browsing/core/common/safe_browsing_prefs_unittest.cc patching file components/safety_check/safety_check.cc patching file components/security_interstitials/content/bad_clock_blocking_page.cc patching file components/security_interstitials/content/captive_portal_blocking_page.cc patching file components/security_interstitials/content/cert_report_helper.cc patching file components/security_interstitials/content/mitm_software_blocking_page.cc patching file components/security_interstitials/content/security_interstitial_controller_client.cc patching file components/security_interstitials/content/security_interstitial_controller_client.h patching file components/security_interstitials/content/security_interstitial_page.cc patching file components/security_interstitials/content/ssl_blocking_page.cc patching file components/security_interstitials/core/controller_client.cc patching file components/security_interstitials/core/controller_client.h patching file components/send_tab_to_self/entry_point_display_reason.cc patching file components/signin/core/browser/account_investigator.cc patching file components/signin/core/browser/account_investigator_unittest.cc patching file components/signin/core/browser/account_reconcilor_unittest.cc patching file components/signin/core/browser/dice_account_reconcilor_delegate.cc patching file components/signin/internal/identity_manager/account_tracker_service.cc patching file components/signin/internal/identity_manager/account_tracker_service_unittest.cc patching file components/signin/internal/identity_manager/gaia_cookie_manager_service.cc patching file components/signin/internal/identity_manager/gaia_cookie_manager_service_unittest.cc patching file components/signin/internal/identity_manager/mutable_profile_oauth2_token_service_delegate.cc patching file components/signin/internal/identity_manager/mutable_profile_oauth2_token_service_delegate_unittest.cc patching file components/signin/internal/identity_manager/primary_account_manager.cc patching file components/signin/internal/identity_manager/primary_account_manager_unittest.cc patching file components/signin/internal/identity_manager/primary_account_mutator_impl.cc patching file components/signin/internal/identity_manager/profile_oauth2_token_service.cc patching file components/signin/internal/identity_manager/profile_oauth2_token_service_delegate_chromeos_unittest.cc patching file components/signin/public/base/BUILD.gn patching file components/signin/public/base/device_id_helper.cc patching file components/signin/public/base/device_id_helper_unittest.cc patching file components/signin/public/identity_manager/identity_utils.cc patching file components/signin/public/identity_manager/identity_utils_unittest.cc patching file components/signin/public/identity_manager/primary_account_mutator_unittest.cc patching file tools/metrics/histograms/enums.xml INFO: Applying block-requests.patch (31/104) patching file chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.cc patching file chrome/browser/new_tab_page/promos/promo_service.cc patching file chrome/browser/resources/discards/graph_doc_template.html patching file chrome/browser/search/background/ntp_background_service.cc patching file chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc patching file components/assist_ranker/ranker_url_fetcher.cc patching file components/update_client/update_checker.cc INFO: Applying disable-privacy-sandbox.patch (32/104) patching file chrome/browser/privacy_sandbox/privacy_sandbox_settings_delegate.cc patching file components/privacy_sandbox/privacy_sandbox_prefs.cc patching file components/privacy_sandbox/privacy_sandbox_settings_impl.cc patching file content/browser/aggregation_service/aggregation_service_features.cc patching file third_party/blink/common/features.cc INFO: Applying doh-changes.patch (33/104) patching file chrome/common/chrome_features.cc patching file net/dns/public/doh_provider_entry.cc patching file services/network/public/cpp/features.cc INFO: Applying disable-fetching-field-trials.patch (34/104) patching file chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java patching file components/variations/service/variations_service.cc INFO: Applying add-ungoogled-flag-headers.patch (35/104) patching file chrome/browser/about_flags.cc patching file chrome/browser/bromite_flag_choices.h patching file chrome/browser/bromite_flag_entries.h patching file chrome/browser/ungoogled_flag_choices.h patching file chrome/browser/ungoogled_flag_entries.h patching file chrome/browser/ungoogled_platform_flag_choices.h patching file chrome/browser/ungoogled_platform_flag_entries.h INFO: Applying 0006-modify-default-prefs.patch (36/104) patching file chrome/browser/background/background_mode_manager.cc patching file chrome/browser/chrome_content_browser_client.cc patching file chrome/browser/net/profile_network_context_service.cc patching file chrome/browser/prefetch/prefetch_prefs.h patching file chrome/browser/profiles/profile.cc patching file chrome/browser/resources/settings/reset_page/reset_profile_dialog.html patching file chrome/browser/signin/account_consistency_mode_manager.cc patching file chrome/browser/ui/browser_ui_prefs.cc patching file components/autofill/core/common/autofill_prefs.cc patching file components/bookmarks/browser/bookmark_utils.cc patching file components/content_settings/core/browser/cookie_settings.cc patching file components/password_manager/core/browser/password_manager.cc patching file components/payments/core/payment_prefs.cc INFO: Applying 0008-restore-classic-ntp.patch (37/104) patching file chrome/browser/search/search.cc patching file components/ntp_snippets/features.cc INFO: Applying 0013-disable-missing-key-warning.patch (38/104) patching file chrome/browser/ui/startup/google_api_keys_infobar_delegate.cc INFO: Applying 0016-chromium-sandbox-pie.patch (39/104) patching file sandbox/linux/BUILD.gn INFO: Applying 0018-disable-first-run-behaviour.patch (40/104) patching file chrome/browser/ui/startup/startup_tab_provider.cc INFO: Applying 0019-disable-battery-status-service.patch (41/104) patching file services/device/battery/battery_status_service.cc patching file services/device/battery/battery_status_service.h INFO: Applying connection-message.patch (42/104) patching file components/error_page_strings.grdp INFO: * Applying chromium-110-compiler.patch (43/104) /usr/bin/patch: **** Only garbage was found in the patch input. Traceback (most recent call last): File "/home/kp/Downloads/ungoogled-chromium-111.0.5563.64-1/./utils/patches.py", line 250, in main() File "/home/kp/Downloads/ungoogled-chromium-111.0.5563.64-1/./utils/patches.py", line 246, in main args.callback(args, parser.error) File "/home/kp/Downloads/ungoogled-chromium-111.0.5563.64-1/./utils/patches.py", line 198, in _apply_callback apply_patches( File "/home/kp/Downloads/ungoogled-chromium-111.0.5563.64-1/./utils/patches.py", line 132, in apply_patches subprocess.run(cmd, check=True) File "/usr/lib/python3.10/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/bin/patch', '-p1', '--ignore-whitespace', '-i', '/home/kp/Downloads/ungoogled-chromium-111.0.5563.64-1/patches/extra/debian/fixes/chromium-110-compiler.patch', '-d', 'build/src', '--no-backup-if-mismatch', '--forward']' returned non-zero exit status 2. Got this Error after applying this

Add it to the patches directory in the base debian directory, then add the filename to the series file.

SugaryHull commented 1 year ago

Did you download the RAW file or from the file explorer in Github?

SugaryHull commented 1 year ago

Debian also has a patch that fixes clang and GCC11. I'll give a GCC build a shot

There is no working patch for gcc for chromium 111, stick to clang at the moment.

I can't get anything but Clang 11 and GCC 10 to detect their core libraries. I made a Bullseye chroot environment to confirm if using Clang 17 with the upstream clang and lld packages would fix it and still got these errors: https://0bin.net/paste/myM20HBf#q9SCf2kb7D7ke3YAuh3g3b0-096Xjx//AvuQSRpO0BA

SugaryHull commented 1 year ago

Debian also has a patch that fixes clang and GCC11. I'll give a GCC build a shot

There is no working patch for gcc for chromium 111, stick to clang at the moment.

I can't get anything but Clang 11 and GCC 10 to detect their core libraries. I made a Bullseye chroot environment to confirm if using Clang 17 with the upstream clang and lld packages would fix it and still got these errors: https://0bin.net/paste/myM20HBf#q9SCf2kb7D7ke3YAuh3g3b0-096Xjx//AvuQSRpO0BA

I fixed this by installing libc++-[version]-dev

SugaryHull commented 1 year ago

I was able to build with Clang and link with GCC (couldn't get LLD 13 to work; still didn't fully replace LLD 11) wihtout LTO and got much farther. This is the error I got this time, which looks to be an easy enough fix: https://0bin.net/paste/2k7ppzaz#aR1N6Nd44NUdcUp4iOQZ3XGDxHx2EiMeUZYlCiBEAwb

PF4Public commented 1 year ago

which looks to be an easy enough fix: https://0bin.net/paste/2k7ppzaz#aR1N6Nd44NUdcUp4iOQZ3XGDxHx2EiMeUZYlCiBEAwb

yep

AssassinK786 commented 1 year ago

sudo ./utils/patches.py apply build/src patches INFO: Applying patches from patches INFO: Applying 0001-fix-building-without-safebrowsing.patch (1/104) patching file chrome/browser/BUILD.gn patching file chrome/browser/browser_process.h patching file chrome/browser/browser_process_impl.cc patching file chrome/browser/browser_process_impl.h patching file chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc patching file chrome/browser/chrome_content_browser_client.cc patching file chrome/browser/component_updater/file_type_policies_component_installer.cc patching file chrome/browser/download/chrome_download_manager_delegate.cc patching file chrome/browser/download/download_item_model.cc patching file chrome/browser/download/download_prefs.cc patching file chrome/browser/download/download_target_determiner.cc patching file chrome/browser/extensions/api/downloads/downloads_api.cc patching file chrome/browser/extensions/api/downloads/downloads_api.h patching file chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_api.cc patching file chrome/browser/extensions/api/webstore_private/webstore_private_api.cc patching file chrome/browser/extensions/blocklist_state_fetcher.cc patching file chrome/browser/extensions/blocklist_state_fetcher.h patching file chrome/browser/metrics/chrome_metrics_service_client.cc patching file chrome/browser/net/trial_comparison_cert_verifier_controller.cc patching file chrome/browser/profiles/profile_impl.cc patching file chrome/browser/profiles/profiles_state.cc patching file chrome/browser/safe_browsing/BUILD.gn patching file chrome/browser/ssl/security_state_tab_helper.cc patching file chrome/browser/ui/BUILD.gn patching file chrome/browser/ui/tab_helpers.cc patching file chrome/browser/ui/webui/downloads/downloads_dom_handler.cc patching file chrome/browser/ui/webui/downloads/downloads_dom_handler.h patching file chrome/browser/ui/webui/interstitials/interstitial_ui.cc patching file chrome/renderer/chrome_content_renderer_client.cc patching file components/security_interstitials/content/cert_report_helper.cc INFO: Applying 0003-disable-autofill-download-manager.patch (2/104) patching file components/autofill/core/browser/autofill_download_manager.cc INFO: Applying 0005-disable-default-extensions.patch (3/104) patching file chrome/browser/extensions/component_extensions_allowlist/allowlist.cc patching file chrome/browser/extensions/component_loader.cc patching file chrome/browser/extensions/external_component_loader.cc patching file chrome/browser/extensions/webstore_installer.cc INFO: Applying 0009-disable-google-ipv6-probes.patch (4/104) patching file net/dns/host_resolver_manager.cc INFO: Applying 0015-disable-update-pings.patch (5/104) patching file chrome/updater/configurator.cc INFO: Applying 0021-disable-rlz.patch (6/104) patching file BUILD.gn patching file rlz/buildflags/buildflags.gni INFO: Applying unrar.patch (7/104) patching file chrome/browser/safe_browsing/download_protection/file_analyzer.cc patching file chrome/common/safe_browsing/BUILD.gn patching file chrome/services/file_util/safe_archive_analyzer.cc INFO: Applying safe_browsing-disable-incident-reporting.patch (8/104) patching file chrome/browser/safe_browsing/chrome_safe_browsing_blocking_page_factory.cc patching file chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc patching file chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc patching file chrome/browser/safe_browsing/safe_browsing_service.cc patching file components/security_interstitials/core/safe_browsing_loud_error_ui.cc INFO: Applying safe_browsing-disable-reporting-of-safebrowsing-over.patch (9/104) patching file components/safe_browsing/content/browser/client_side_detection_service.cc INFO: Applying all-add-trk-prefixes-to-possibly-evil-connections.patch (10/104) patching file build/apple/tweak_info_plist.py patching file chrome/browser/ash/customization/customization_document.cc patching file chrome/browser/ash/extensions/file_manager/private_api_misc.cc patching file chrome/browser/extensions/install_signer.cc patching file chrome/browser/media/webrtc/webrtc_event_log_uploader.cc patching file chrome/browser/media/webrtc/webrtc_log_uploader.cc patching file chrome/browser/nacl_host/nacl_infobar_delegate.cc patching file chrome/browser/profiles/profile_avatar_downloader.cc patching file chrome/browser/resources/default_apps/external_extensions.json patching file chrome/browser/safe_browsing/download_protection/download_feedback.cc patching file chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc patching file chrome/browser/supervised_user/supervised_user_service.cc patching file chrome/browser/ui/dialogs/outdated_upgrade_bubble.cc patching file chrome/browser/ui/webui/ntp/ntp_resource_cache.cc patching file chrome/chrome_cleaner/components/recovery_component.cc patching file chrome/chrome_cleaner/crash/crashpad_crash_reporter.cc patching file chrome/common/extensions/chrome_extensions_client.cc patching file chrome/installer/setup/google_chrome_behaviors.cc patching file chromecast/crash/linux/minidump_uploader.cc patching file chromeos/ash/components/geolocation/simple_geolocation_provider.cc patching file components/drive/service/drive_api_service.cc patching file components/feedback/feedback_uploader.cc patching file components/google/core/common/google_util.cc patching file components/history/core/browser/web_history_service.cc patching file components/metrics/url_constants.cc patching file components/safe_browsing/content/browser/client_side_detection_service.cc patching file components/safe_search_api/safe_search/safe_search_url_checker_client.cc patching file components/safe_search_api/stub_url_checker.cc patching file components/translate/core/browser/translate_url_fetcher.cc patching file components/translate/core/common/translate_util.cc patching file components/variations/variations_url_constants.cc patching file content/browser/speech/speech_recognition_engine.cc patching file content/browser/webauth/webauth_request_security_checker.h patching file content/shell/browser/shell_browser_main_parts.cc patching file extensions/common/extension_urls.cc patching file google_apis/gaia/gaia_constants.cc patching file google_apis/gaia/gaia_urls.cc patching file google_apis/gcm/engine/gservices_settings.cc patching file remoting/base/breakpad_mac.mm patching file remoting/protocol/jingle_messages.cc patching file rlz/lib/lib_values.cc patching file ui/accessibility/extensions/chromevoxclassic/chromevox/background/prefs.js patching file ui/accessibility/extensions/chromevoxclassic/host/chrome/host.js patching file ui/views/examples/webview_example.cc INFO: Applying disable-crash-reporter.patch (11/104) patching file chrome/browser/chrome_content_browser_client.cc patching file components/crash/core/app/crashpad.cc patching file components/gwp_asan/client/gwp_asan.cc patching file third_party/crashpad/crashpad/client/crashpad_client_linux.cc INFO: Applying disable-google-host-detection.patch (12/104) patching file chrome/common/google_url_loader_throttle.cc patching file components/google/core/common/google_util.cc patching file components/page_load_metrics/browser/page_load_metrics_util.cc patching file components/page_load_metrics/common/page_load_metrics_util.cc patching file components/search_engines/template_url.cc patching file components/variations/net/variations_http_headers.cc patching file net/base/url_util.cc INFO: Applying replace-google-search-engine-with-nosearch.patch (13/104) patching file components/search_engines/prepopulated_engines.json INFO: Applying disable-signin.patch (14/104) patching file chrome/browser/ui/chrome_pages.cc INFO: Applying toggle-translation-via-switch.patch (15/104) patching file chrome/browser/renderer_context_menu/render_view_context_menu.cc patching file components/translate/core/browser/translate_language_list.cc patching file components/translate/core/browser/translate_manager.cc patching file components/translate/core/browser/translate_ranker_impl.cc patching file components/translate/core/browser/translate_script.cc INFO: Applying disable-untraceable-urls.patch (16/104) patching file rlz/lib/financial_ping.cc patching file rlz/lib/lib_values.cc patching file rlz/lib/lib_values.h INFO: Applying disable-profile-avatar-downloading.patch (17/104) patching file chrome/browser/profiles/profile_avatar_downloader.cc INFO: Applying disable-gcm.patch (18/104) patching file components/gcm_driver/gcm_client_impl.cc INFO: Applying disable-domain-reliability.patch (19/104) patching file chrome/browser/domain_reliability/service_factory.cc patching file components/domain_reliability/BUILD.gn patching file components/domain_reliability/bake_in_configs.py patching file components/domain_reliability/google_configs.cc patching file components/domain_reliability/uploader.cc INFO: Applying block-trk-and-subdomains.patch (20/104) patching file chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc patching file chrome/browser/history/history_utils.cc patching file chrome/browser/ui/singleton_tabs.cc patching file components/omnibox/browser/autocomplete_input.cc patching file components/url_formatter/url_fixer.cc patching file content/browser/child_process_security_policy_impl.cc patching file net/BUILD.gn patching file net/url_request/trk_protocol_handler.cc patching file net/url_request/trk_protocol_handler.h patching file net/url_request/url_request.cc patching file net/url_request/url_request_context_builder.cc patching file url/url_constants.cc patching file url/url_constants.h patching file url/url_util.cc INFO: Applying disable-gaia.patch (21/104) patching file google_apis/gaia/gaia_auth_fetcher.cc INFO: Applying disable-fonts-googleapis-references.patch (22/104) patching file chrome/browser/resources/chromeos/accessibility/chromevox/options/options.css patching file chrome/browser/resources/chromeos/accessibility/select_to_speak/options.css patching file components/dom_distiller/content/browser/dom_distiller_viewer_source.cc patching file components/dom_distiller/core/html/preview.html patching file components/dom_distiller/core/javascript/dom_distiller_viewer.js patching file components/supervised_user/core/browser/resources/supervised_user_block_interstitial.html patching file third_party/crashpad/crashpad/doc/support/crashpad_doxygen.css patching file tools/md_browser/base.css INFO: Applying disable-webstore-urls.patch (23/104) patching file chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc patching file chrome/browser/extensions/chrome_content_verifier_delegate.cc patching file chrome/browser/extensions/extension_migrator.cc patching file chrome/browser/extensions/extension_migrator.h patching file extensions/browser/updater/extension_downloader.cc INFO: Applying fix-learn-doubleclick-hsts.patch (24/104) patching file net/tools/transport_security_state_generator/transport_security_state_generator.cc INFO: Applying disable-webrtc-log-uploader.patch (25/104) patching file chrome/browser/media/webrtc/webrtc_log_uploader.cc INFO: Applying fix-building-with-prunned-binaries.patch (26/104) patching file chrome/test/chromedriver/BUILD.gn patching file third_party/devtools-frontend/src/BUILD.gn INFO: Applying disable-network-time-tracker.patch (27/104) patching file components/network_time/network_time_tracker.cc INFO: Applying disable-mei-preload.patch (28/104) patching file chrome/BUILD.gn INFO: Applying fix-building-without-safebrowsing.patch (29/104) patching file chrome/browser/BUILD.gn patching file chrome/browser/chrome_content_browser_client.cc patching file chrome/browser/chrome_content_browser_client_receiver_bindings.cc patching file chrome/browser/component_updater/chrome_client_side_phishing_component_installer.cc patching file chrome/browser/devtools/devtools_window.cc patching file chrome/browser/download/bubble/download_bubble_controller.cc patching file chrome/browser/download/chrome_download_manager_delegate.cc patching file chrome/browser/download/download_item_model.cc patching file chrome/browser/download/download_stats.cc patching file chrome/browser/download/download_target_determiner.cc patching file chrome/browser/enterprise/connectors/analysis/content_analysis_delegate.cc patching file chrome/browser/enterprise/connectors/analysis/content_analysis_downloads_delegate.cc patching file chrome/browser/enterprise/connectors/analysis/files_request_handler.cc patching file chrome/browser/enterprise/connectors/connectors_service.cc patching file chrome/browser/enterprise/connectors/connectors_service.h patching file chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/context_signals_decorator.cc patching file chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc patching file chrome/browser/enterprise/connectors/reporting/reporting_service_settings.cc patching file chrome/browser/enterprise/signals/context_info_fetcher.cc patching file chrome/browser/enterprise/signals/context_info_fetcher.h patching file chrome/browser/enterprise/signals/signals_utils.cc patching file chrome/browser/enterprise/signals/signals_utils.h patching file chrome/browser/extensions/BUILD.gn patching file chrome/browser/extensions/api/api_browser_context_keyed_service_factories.cc patching file chrome/browser/extensions/api/cookies/cookies_api.cc patching file chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc patching file chrome/browser/extensions/chrome_extensions_browser_client.cc patching file chrome/browser/extensions/extension_service.cc patching file chrome/browser/extensions/extension_service.h patching file chrome/browser/extensions/extension_system_impl.cc patching file chrome/browser/extensions/safe_browsing_verdict_handler.cc patching file chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc patching file chrome/browser/file_system_access/chrome_file_system_access_permission_context.h patching file chrome/browser/media/webrtc/display_media_access_handler.cc patching file chrome/browser/notifications/notification_display_service_impl.cc patching file chrome/browser/password_manager/chrome_password_manager_client.cc patching file chrome/browser/password_manager/chrome_password_manager_client.h patching file chrome/browser/permissions/contextual_notification_permission_ui_selector.cc patching file chrome/browser/permissions/permission_revocation_request.cc patching file chrome/browser/permissions/prediction_based_permission_ui_selector.cc patching file chrome/browser/policy/configuration_policy_handler_list_factory.cc patching file chrome/browser/prefs/browser_prefs.cc patching file chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc patching file chrome/browser/resources/settings/lazy_load.ts patching file chrome/browser/resources/settings/privacy_page/privacy_guide/privacy_guide_page.ts patching file chrome/browser/safe_browsing/metrics/safe_browsing_metrics_provider.cc patching file chrome/browser/safe_browsing/url_lookup_service_factory.cc patching file chrome/browser/ssl/chrome_security_blocking_page_factory.cc patching file chrome/browser/ssl/sct_reporting_service_factory.cc patching file chrome/browser/ssl/ssl_error_controller_client.cc patching file chrome/browser/subresource_filter/chrome_content_subresource_filter_web_contents_helper_factory.cc patching file chrome/browser/ui/BUILD.gn patching file chrome/browser/ui/javascript_dialogs/javascript_tab_modal_dialog_manager_delegate_desktop.cc patching file chrome/browser/ui/views/download/download_item_view.cc patching file chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc patching file chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views_mac.mm patching file chrome/browser/ui/webui/downloads/downloads_dom_handler.cc patching file chrome/browser/ui/webui/management/management_ui_handler.cc patching file chrome/browser/webshare/share_service_impl.cc patching file chrome/test/BUILD.gn patching file components/password_manager/content/browser/content_password_manager_driver.cc patching file components/password_manager/core/browser/password_manager_client.h patching file components/password_manager/core/browser/password_reuse_detection_manager.cc patching file components/safe_browsing/content/common/proto/BUILD.gn patching file components/safe_browsing/content/common/safe_browsing.mojom patching file components/safe_browsing/core/browser/BUILD.gn patching file components/safe_browsing/core/browser/hashprefix_realtime/hash_realtime_service.h patching file components/safe_browsing/core/browser/verdict_cache_manager.cc patching file content/browser/file_system_access/file_system_access_safe_move_helper.cc patching file content/browser/file_system_access/file_system_access_safe_move_helper.h patching file content/public/browser/file_system_access_permission_context.h patching file extensions/browser/updater/update_service.cc patching file printing/buildflags/buildflags.gni patching file weblayer/BUILD.gn INFO: Applying remove-unused-preferences-fields.patch (30/104) patching file android_webview/browser/aw_browser_context.cc patching file chrome/app/settings_strings.grdp patching file chrome/browser/android/signin/signin_manager_android.cc patching file chrome/browser/android/signin/signin_manager_android.h patching file chrome/browser/ash/lock_screen_apps/lock_screen_profile_creator_impl.cc patching file chrome/browser/ash/lock_screen_apps/lock_screen_profile_creator_impl_unittest.cc patching file chrome/browser/ash/login/signin/device_id_browsertest.cc patching file chrome/browser/chrome_content_browser_client.cc patching file chrome/browser/download/download_browsertest.cc patching file chrome/browser/download/download_item_model.cc patching file chrome/browser/enterprise/connectors/analysis/content_analysis_delegate.cc patching file chrome/browser/enterprise/connectors/connectors_service.cc patching file chrome/browser/enterprise/connectors/connectors_service.h patching file chrome/browser/enterprise/signals/context_info_fetcher.cc patching file chrome/browser/enterprise/signals/context_info_fetcher.h patching file chrome/browser/enterprise/signals/signals_utils.cc patching file chrome/browser/enterprise/signals/signals_utils.h patching file chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc patching file chrome/browser/extensions/api/identity/identity_apitest.cc patching file chrome/browser/extensions/api/identity/identity_get_auth_token_function.cc patching file chrome/browser/extensions/api/preference/preference_api.cc patching file chrome/browser/extensions/api/preference/preference_apitest.cc patching file chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_event_router.cc patching file chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_event_router_unittest.cc patching file chrome/browser/extensions/api/settings_private/prefs_util.cc patching file chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc patching file chrome/browser/extensions/extension_allowlist.cc patching file chrome/browser/extensions/installed_loader.cc patching file chrome/browser/extensions/pref_mapping.cc patching file chrome/browser/net/profile_network_context_service.cc patching file chrome/browser/net/trial_comparison_cert_verifier_browsertest.cc patching file chrome/browser/net/trial_comparison_cert_verifier_controller.cc patching file chrome/browser/net/trial_comparison_cert_verifier_controller.h patching file chrome/browser/net/trial_comparison_cert_verifier_controller_unittest.cc patching file chrome/browser/password_manager/generated_password_leak_detection_pref.cc patching file chrome/browser/permissions/permission_revocation_request.cc patching file chrome/browser/permissions/prediction_based_permission_ui_selector.cc patching file chrome/browser/policy/browser_signin_policy_handler.cc patching file chrome/browser/policy/configuration_policy_handler_list_factory.cc patching file chrome/browser/prefs/browser_prefs.cc patching file chrome/browser/prefs/chrome_command_line_pref_store.cc patching file chrome/browser/prefs/chrome_pref_service_factory.cc patching file chrome/browser/prefs/pref_functional_browsertest.cc patching file chrome/browser/profiles/gaia_info_update_service.cc patching file chrome/browser/profiles/gaia_info_update_service_unittest.cc patching file chrome/browser/profiles/profile_attributes_entry.cc patching file chrome/browser/profiles/profile_attributes_storage.cc patching file chrome/browser/profiles/profile_impl.cc patching file chrome/browser/profiles/profile_manager.cc patching file chrome/browser/profiles/profile_window.cc patching file chrome/browser/profiles/profiles_state.cc patching file chrome/browser/resources/settings/privacy_page/disable_safebrowsing_dialog.html patching file chrome/browser/resources/settings/privacy_page/privacy_page.html patching file chrome/browser/resources/settings/privacy_page/privacy_page.ts patching file chrome/browser/resources/settings/privacy_page/security_page.html patching file chrome/browser/resources/settings/privacy_page/security_page.ts patching file chrome/browser/resources/settings/site_settings_page/site_settings_page.ts patching file chrome/browser/safe_browsing/advanced_protection_status_manager.cc patching file chrome/browser/safe_browsing/advanced_protection_status_manager_unittest.cc patching file chrome/browser/safe_browsing/android/services_delegate_android.h patching file chrome/browser/safe_browsing/certificate_reporting_service.cc patching file chrome/browser/safe_browsing/certificate_reporting_service_browsertest.cc patching file chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_controller_impl_win.cc patching file chrome/browser/safe_browsing/chrome_cleaner/reporter_runner_browsertest_win.cc patching file chrome/browser/safe_browsing/chrome_cleaner/srt_client_info_win.cc patching file chrome/browser/safe_browsing/chrome_password_protection_service.cc patching file chrome/browser/safe_browsing/chrome_password_protection_service.h patching file chrome/browser/safe_browsing/chrome_password_protection_service_browsertest.cc patching file chrome/browser/safe_browsing/chrome_password_protection_service_sync_browsertest.cc patching file chrome/browser/safe_browsing/download_protection/check_client_download_request.cc patching file chrome/browser/safe_browsing/download_protection/check_client_download_request_base.cc patching file chrome/browser/safe_browsing/download_protection/download_protection_service_unittest.cc patching file chrome/browser/safe_browsing/generated_safe_browsing_pref.cc patching file chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc patching file chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc patching file chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc patching file chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc patching file chrome/browser/safe_browsing/incident_reporting/state_store.cc patching file chrome/browser/safe_browsing/incident_reporting/state_store_unittest.cc patching file chrome/browser/safe_browsing/metrics/safe_browsing_metrics_provider.cc patching file chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc patching file chrome/browser/safe_browsing/safe_browsing_service.cc patching file chrome/browser/safe_browsing/safe_browsing_service.h patching file chrome/browser/safe_browsing/telemetry/android/android_telemetry_service.cc patching file chrome/browser/safe_browsing/telemetry/android/android_telemetry_service_unittest.cc patching file chrome/browser/safe_browsing/url_checker_delegate_impl.cc patching file chrome/browser/send_tab_to_self/send_tab_to_self_util.cc patching file chrome/browser/signin/account_consistency_mode_manager.cc patching file chrome/browser/signin/account_consistency_mode_manager_unittest.cc patching file chrome/browser/signin/chrome_device_id_helper.cc patching file chrome/browser/signin/chrome_signin_client.cc patching file chrome/browser/signin/chromeos_mirror_account_consistency_browsertest.cc patching file chrome/browser/signin/dice_browsertest.cc patching file chrome/browser/signin/header_modification_delegate_impl.cc patching file chrome/browser/signin/mirror_browsertest.cc patching file chrome/browser/signin/primary_account_policy_manager.cc patching file chrome/browser/signin/primary_account_policy_manager.h patching file chrome/browser/signin/primary_account_policy_manager_unittest.cc patching file chrome/browser/signin/signin_manager.cc patching file chrome/browser/signin/signin_promo_util.cc patching file chrome/browser/signin/signin_ui_util.cc patching file chrome/browser/signin/signin_util_win.cc patching file chrome/browser/signin/signin_util_win_browsertest.cc patching file chrome/browser/ssl/certificate_reporting_test_utils.cc patching file chrome/browser/ssl/sct_reporting_service.cc patching file chrome/browser/ssl/ssl_browsertest.cc patching file chrome/browser/ssl/ssl_error_controller_client.cc patching file chrome/browser/supervised_user/supervised_user_pref_store.cc patching file chrome/browser/ui/autofill/payments/save_card_bubble_controller_impl.cc patching file chrome/browser/ui/browser_command_controller.cc patching file chrome/browser/ui/browser_command_controller.h patching file chrome/browser/ui/browser_command_controller_unittest.cc patching file chrome/browser/ui/chrome_pages.cc patching file chrome/browser/ui/hats/trust_safety_sentiment_service.cc patching file chrome/browser/ui/views/page_info/page_info_bubble_view_sync_browsertest.cc patching file chrome/browser/ui/views/profiles/profile_menu_view.cc patching file chrome/browser/ui/views/profiles/profile_menu_view_browsertest.cc patching file chrome/browser/ui/views/safe_browsing/password_reuse_modal_warning_dialog.cc patching file chrome/browser/ui/views/safe_browsing/password_reuse_modal_warning_dialog.h patching file chrome/browser/ui/views/sync/inline_login_ui_browsertest.cc patching file chrome/browser/ui/webui/browser_command/browser_command_handler.cc patching file chrome/browser/ui/webui/downloads/downloads_dom_handler.cc patching file chrome/browser/ui/webui/history/history_ui.cc patching file chrome/browser/ui/webui/management/management_ui_handler.cc patching file chrome/browser/ui/webui/profile_info_watcher.cc patching file chrome/browser/ui/webui/profile_info_watcher.h patching file chrome/browser/ui/webui/reset_password/reset_password_ui.cc patching file chrome/browser/ui/webui/settings/people_handler.cc patching file chrome/browser/ui/webui/settings/safety_check_handler.cc patching file chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc patching file chrome/browser/ui/webui/settings/settings_ui.cc patching file chrome/browser/ui/webui/signin/inline_login_handler.cc patching file chrome/browser/ui/webui/signin/inline_login_handler_impl.cc patching file chrome/browser/ui/webui/signin/signin_error_ui.cc patching file chrome/browser/ui/webui/signin/signin_utils_desktop.cc patching file chrome/browser/ui/webui/signin/turn_sync_on_helper.cc patching file chrome/browser/ui/webui/signin/turn_sync_on_helper_unittest.cc patching file chrome/browser/ui/webui/welcome/welcome_ui.cc patching file chrome/browser/unified_consent/unified_consent_service_factory.cc patching file chrome/common/extensions/api/privacy.json patching file components/lookalikes/core/safety_tips_config.cc patching file components/password_manager/core/browser/leak_detection_delegate.cc patching file components/password_manager/core/browser/password_bubble_experiment.cc patching file components/password_manager/core/browser/password_reuse_detector.cc patching file components/password_manager/core/browser/password_reuse_manager_impl.cc patching file components/password_manager/core/browser/password_store.cc patching file components/password_manager/core/browser/password_sync_util.cc patching file components/password_manager/core/browser/sync_credentials_filter_unittest.cc patching file components/safe_browsing/content/browser/base_blocking_page.cc patching file components/safe_browsing/content/browser/client_side_detection_service.cc patching file components/safe_browsing/content/browser/safe_browsing_navigation_observer_manager.cc patching file components/safe_browsing/content/browser/triggers/suspicious_site_trigger_unittest.cc patching file components/safe_browsing/content/browser/triggers/trigger_manager.cc patching file components/safe_browsing/content/browser/triggers/trigger_throttler.cc patching file components/safe_browsing/content/browser/triggers/trigger_throttler_unittest.cc patching file components/safe_browsing/content/browser/ui_manager.cc patching file components/safe_browsing/content/browser/ui_manager_unittest.cc patching file components/safe_browsing/content/browser/web_ui/safe_browsing_ui.cc patching file components/safe_browsing/core/browser/db/hit_report.h patching file components/safe_browsing/core/browser/db/util.h patching file components/safe_browsing/core/browser/db/v4_local_database_manager.cc patching file components/safe_browsing/core/browser/db/v4_local_database_manager.h patching file components/safe_browsing/core/browser/db/v4_protocol_manager_util.cc patching file components/safe_browsing/core/browser/db/v4_protocol_manager_util.h patching file components/safe_browsing/core/browser/db/v4_update_protocol_manager.cc patching file components/safe_browsing/core/browser/db/v4_update_protocol_manager.h patching file components/safe_browsing/core/browser/password_protection/password_protection_service_base.h patching file components/safe_browsing/core/browser/ping_manager.cc patching file components/safe_browsing/core/browser/realtime/policy_engine.cc patching file components/safe_browsing/core/browser/realtime/url_lookup_service.cc patching file components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc patching file components/safe_browsing/core/browser/safe_browsing_metrics_collector.cc patching file components/safe_browsing/core/browser/tailored_security_service/tailored_security_service.cc patching file components/safe_browsing/core/browser/tailored_security_service/tailored_security_service_observer_util.cc patching file components/safe_browsing/core/common/BUILD.gn patching file components/safe_browsing/core/common/safe_browsing_policy_handler.cc patching file components/safe_browsing/core/common/safe_browsing_prefs_unittest.cc patching file components/safety_check/safety_check.cc patching file components/security_interstitials/content/bad_clock_blocking_page.cc patching file components/security_interstitials/content/captive_portal_blocking_page.cc patching file components/security_interstitials/content/cert_report_helper.cc patching file components/security_interstitials/content/mitm_software_blocking_page.cc patching file components/security_interstitials/content/security_interstitial_controller_client.cc patching file components/security_interstitials/content/security_interstitial_controller_client.h patching file components/security_interstitials/content/security_interstitial_page.cc patching file components/security_interstitials/content/ssl_blocking_page.cc patching file components/security_interstitials/core/controller_client.cc patching file components/security_interstitials/core/controller_client.h patching file components/send_tab_to_self/entry_point_display_reason.cc patching file components/signin/core/browser/account_investigator.cc patching file components/signin/core/browser/account_investigator_unittest.cc patching file components/signin/core/browser/account_reconcilor_unittest.cc patching file components/signin/core/browser/dice_account_reconcilor_delegate.cc patching file components/signin/internal/identity_manager/account_tracker_service.cc patching file components/signin/internal/identity_manager/account_tracker_service_unittest.cc patching file components/signin/internal/identity_manager/gaia_cookie_manager_service.cc patching file components/signin/internal/identity_manager/gaia_cookie_manager_service_unittest.cc patching file components/signin/internal/identity_manager/mutable_profile_oauth2_token_service_delegate.cc patching file components/signin/internal/identity_manager/mutable_profile_oauth2_token_service_delegate_unittest.cc patching file components/signin/internal/identity_manager/primary_account_manager.cc patching file components/signin/internal/identity_manager/primary_account_manager_unittest.cc patching file components/signin/internal/identity_manager/primary_account_mutator_impl.cc patching file components/signin/internal/identity_manager/profile_oauth2_token_service.cc patching file components/signin/internal/identity_manager/profile_oauth2_token_service_delegate_chromeos_unittest.cc patching file components/signin/public/base/BUILD.gn patching file components/signin/public/base/device_id_helper.cc patching file components/signin/public/base/device_id_helper_unittest.cc patching file components/signin/public/identity_manager/identity_utils.cc patching file components/signin/public/identity_manager/identity_utils_unittest.cc patching file components/signin/public/identity_manager/primary_account_mutator_unittest.cc patching file tools/metrics/histograms/enums.xml INFO: Applying block-requests.patch (31/104) patching file chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.cc patching file chrome/browser/new_tab_page/promos/promo_service.cc patching file chrome/browser/resources/discards/graph_doc_template.html patching file chrome/browser/search/background/ntp_background_service.cc patching file chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc patching file components/assist_ranker/ranker_url_fetcher.cc patching file components/update_client/update_checker.cc INFO: Applying disable-privacy-sandbox.patch (32/104) patching file chrome/browser/privacy_sandbox/privacy_sandbox_settings_delegate.cc patching file components/privacy_sandbox/privacy_sandbox_prefs.cc patching file components/privacy_sandbox/privacy_sandbox_settings_impl.cc patching file content/browser/aggregation_service/aggregation_service_features.cc patching file third_party/blink/common/features.cc INFO: Applying doh-changes.patch (33/104) patching file chrome/common/chrome_features.cc patching file net/dns/public/doh_provider_entry.cc patching file services/network/public/cpp/features.cc INFO: Applying disable-fetching-field-trials.patch (34/104) patching file chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java patching file components/variations/service/variations_service.cc INFO: Applying add-ungoogled-flag-headers.patch (35/104) patching file chrome/browser/about_flags.cc patching file chrome/browser/bromite_flag_choices.h patching file chrome/browser/bromite_flag_entries.h patching file chrome/browser/ungoogled_flag_choices.h patching file chrome/browser/ungoogled_flag_entries.h patching file chrome/browser/ungoogled_platform_flag_choices.h patching file chrome/browser/ungoogled_platform_flag_entries.h INFO: Applying 0006-modify-default-prefs.patch (36/104) patching file chrome/browser/background/background_mode_manager.cc patching file chrome/browser/chrome_content_browser_client.cc patching file chrome/browser/net/profile_network_context_service.cc patching file chrome/browser/prefetch/prefetch_prefs.h patching file chrome/browser/profiles/profile.cc patching file chrome/browser/resources/settings/reset_page/reset_profile_dialog.html patching file chrome/browser/signin/account_consistency_mode_manager.cc patching file chrome/browser/ui/browser_ui_prefs.cc patching file components/autofill/core/common/autofill_prefs.cc patching file components/bookmarks/browser/bookmark_utils.cc patching file components/content_settings/core/browser/cookie_settings.cc patching file components/password_manager/core/browser/password_manager.cc patching file components/payments/core/payment_prefs.cc INFO: Applying 0008-restore-classic-ntp.patch (37/104) patching file chrome/browser/search/search.cc patching file components/ntp_snippets/features.cc INFO: Applying 0013-disable-missing-key-warning.patch (38/104) patching file chrome/browser/ui/startup/google_api_keys_infobar_delegate.cc INFO: Applying 0016-chromium-sandbox-pie.patch (39/104) patching file sandbox/linux/BUILD.gn INFO: Applying 0018-disable-first-run-behaviour.patch (40/104) patching file chrome/browser/ui/startup/startup_tab_provider.cc INFO: Applying 0019-disable-battery-status-service.patch (41/104) patching file services/device/battery/battery_status_service.cc patching file services/device/battery/battery_status_service.h INFO: Applying connection-message.patch (42/104) patching file components/error_page_strings.grdp INFO: * Applying chromium-110-compiler.patch (43/104) /usr/bin/patch: **** Only garbage was found in the patch input. Traceback (most recent call last): File "/home/kp/Downloads/ungoogled-chromium-111.0.5563.64-1/./utils/patches.py", line 250, in main() File "/home/kp/Downloads/ungoogled-chromium-111.0.5563.64-1/./utils/patches.py", line 246, in main args.callback(args, parser.error) File "/home/kp/Downloads/ungoogled-chromium-111.0.5563.64-1/./utils/patches.py", line 198, in _apply_callback apply_patches( File "/home/kp/Downloads/ungoogled-chromium-111.0.5563.64-1/./utils/patches.py", line 132, in apply_patches subprocess.run(cmd, check=True) File "/usr/lib/python3.10/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/bin/patch', '-p1', '--ignore-whitespace', '-i', '/home/kp/Downloads/ungoogled-chromium-111.0.5563.64-1/patches/extra/debian/fixes/chromium-110-compiler.patch', '-d', 'build/src', '--no-backup-if-mismatch', '--forward']' returned non-zero exit status 2. Got this Error after applying this

Add it to the patches directory in the base debian directory, then add the filename to the series file.

Any idea for this issue?

SugaryHull commented 1 year ago

which looks to be an easy enough fix: https://0bin.net/paste/2k7ppzaz#aR1N6Nd44NUdcUp4iOQZ3XGDxHx2EiMeUZYlCiBEAwb

yep

That patch failed to apply INFO: Applying patches from /home/alex/src/ungoogled-chromium-debian/debian/submodules/ungoogled-chromium/patches INFO: * Applying chromium-shim_headers.patch (1/105) patching file build/shim_headers.gni Hunk #3 FAILED at 29. 1 out of 3 hunks FAILED -- saving rejects to file build/shim_headers.gni.rej

SugaryHull commented 1 year ago

Looks like Debian has a shim patch for 111

SugaryHull commented 1 year ago

They also have patches for Clang 13 and LLD 13. I'll try those out

SugaryHull commented 1 year ago

@AssassinK786 Redownload the 110 Compiler patch with the raw link

SugaryHull commented 1 year ago

They also have patches for Clang 13 and LLD 13. I'll try those out

Got ungoogled-chromium 111.0.5563.65 to build in a chroot environment with those patches. All I got was a singular ungoogled-chromium package and a debug symbols package. Is that normal?

AssassinK786 commented 1 year ago

@AssassinK786 Redownload the 110 Compiler patch with the raw link

And which folder it should be dropped in ?

SugaryHull commented 1 year ago

@AssassinK786 Redownload the 110 Compiler patch with the raw link

And which folder it should be dropped in ?

I would put it in debian/patches because it's not specific to ungoogled-chromium

SugaryHull commented 1 year ago

Got ungoogled-chromium 111.0.5563.65 to build in a chroot environment with those patches. All I got was a singular ungoogled-chromium package and a debug symbols package. Is that normal?

I'll make a fork of ungoogled-chromium-debian with my changes and submit a pull-request

AssassinK786 commented 1 year ago

They also have patches for Clang 13 and LLD 13. I'll try those out

Got ungoogled-chromium 111.0.5563.65 to build in a chroot environment with those patches. All I got was a singular ungoogled-chromium package and a debug symbols package. Is that normal?

Yes, You are right check my repo for deb file

AssassinK786 commented 1 year ago

@AssassinK786 Redownload the 110 Compiler patch with the raw link

And which folder it should be dropped in ?

I would put it in debian/patches because it's not specific to ungoogled-chromium

Can you share your series file?

SugaryHull commented 1 year ago

This would be the series file you should have if you were to only add that 110 Compiler patch https://0bin.net/paste/iYK5w1Hm#1zO+vZN1lYYNiAayF-vTTzqB4AU9MNhIIvwpgcyoSOZ

AssassinK786 commented 1 year ago

This would be the series file you should have if you were to only add that 110 Compiler patch https://0bin.net/paste/iYK5w1Hm#1zO+vZN1lYYNiAayF-vTTzqB4AU9MNhIIvwpgcyoSOZ

There is not Debian/patches file for me It is patches dir then core & extra dir with series file both of them having debian dir where should i ?

AssassinK786 commented 1 year ago

This would be the series file you should have if you were to only add that 110 Compiler patch https://0bin.net/paste/iYK5w1Hm#1zO+vZN1lYYNiAayF-vTTzqB4AU9MNhIIvwpgcyoSOZ

https://0bin.net/paste/F0mYy3Mr#PgiJv1y1l5+ocUYApSYI5lBrF6MRW08SMZN7nxGlqLJ this is my series File

SugaryHull commented 1 year ago

The series file is in the patches folder within the debian directory. You download the patch to the patches folder and then edit the series file in said folder to add the filename of the patch you downloaded. One filename per line