You are not logged in.

#1 2020-03-02 07:06:29

cynicfm
Banned
From: Home
Registered: 2019-05-31
Posts: 96

[solved]chromium prepare() interrupted during patching

edit: log is post no 5

Hey...

Problem with getting ungoogled-chromium up and running... The compiling process had been interrupted in the meantime and now next day after makepkg -si this error is present... No idea how to fix it...
Please helpp

Last edited by cynicfm (2020-03-02 12:58:04)


Have a good day

Offline

#2 2020-03-02 08:36:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [solved]chromium prepare() interrupted during patching

Do a clean build

makepkg -siC

https://wiki.archlinux.org/index.php/Makepkg#Usage

Edit: Whoops I flubbed my syntax

Last edited by V1del (2020-03-02 12:57:00)

Offline

#3 2020-03-02 09:59:57

cynicfm
Banned
From: Home
Registered: 2019-05-31
Posts: 96

Re: [solved]chromium prepare() interrupted during patching

V1del wrote:

Still the same failure occurs

Last edited by cynicfm (2020-03-02 10:01:39)


Have a good day

Offline

#4 2020-03-02 10:05:29

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [solved]chromium prepare() interrupted during patching

Please post the output in English (see https://wiki.archlinux.org/index.php/Co … s_and_code).

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2020-03-02 12:22:04

cynicfm
Banned
From: Home
Registered: 2019-05-31
Posts: 96

Re: [solved]chromium prepare() interrupted during patching

ok thanks

ungoogled-chromium-ozone % makepkg -sic
==> Making package: ungoogled-chromium-ozone 80.0.3987.106-2 (Mon Mar  2 13:12:23 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found chromium-80.0.3987.106.tar.xz
  -> Found chromium-launcher-6.tar.gz
  -> Found cros-search-service-Include-cmath-for-std-pow.patch
  -> Found move-RemoteTreeNode-declaration.patch
  -> Found sync-enable-USSPasswords-by-default.patch
  -> Found fix-shim-header-generation-when-unbundling-ICU.patch
  -> Found fix-building-with-system-zlib.patch
  -> Found remove-verbose-logging-in-local-unique-font-matching.patch
  -> Found fix-building-with-unbundled-libxml.patch
  -> Found rename-Relayout-in-DesktopWindowTreeHostPlatform.patch
  -> Found rebuild-Linux-frame-button-cache-when-activation.patch
  -> Found chromium-widevine.patch
  -> Found chromium-skia-harmony.patch
  -> Found ungoogled-chromium-80.0.3987.106-1.zip
  -> Found flags.archlinux.gn
  -> Found chromium-drirc-disable-10bpc-color-configs.conf
  -> Found vaapi-fix.patch
  -> Found vaapi-fix-wayland-init.patch
  -> Found 0001-Add-missing-algorithm-header-in-bitmap_cursor_factor.patch
  -> Found fix-vaapi-ozone-build.patch
==> Validating source files with sha256sums...
    chromium-80.0.3987.106.tar.xz ... Passed
    chromium-launcher-6.tar.gz ... Passed
    cros-search-service-Include-cmath-for-std-pow.patch ... Passed
    move-RemoteTreeNode-declaration.patch ... Passed
    sync-enable-USSPasswords-by-default.patch ... Passed
    fix-shim-header-generation-when-unbundling-ICU.patch ... Passed
    fix-building-with-system-zlib.patch ... Passed
    remove-verbose-logging-in-local-unique-font-matching.patch ... Passed
    fix-building-with-unbundled-libxml.patch ... Passed
    rename-Relayout-in-DesktopWindowTreeHostPlatform.patch ... Passed
    rebuild-Linux-frame-button-cache-when-activation.patch ... Passed
    chromium-widevine.patch ... Passed
    chromium-skia-harmony.patch ... Passed
    ungoogled-chromium-80.0.3987.106-1.zip ... Passed
    flags.archlinux.gn ... Passed
    chromium-drirc-disable-10bpc-color-configs.conf ... Passed
    vaapi-fix.patch ... Passed
    vaapi-fix-wayland-init.patch ... Passed
    0001-Add-missing-algorithm-header-in-bitmap_cursor_factor.patch ... Passed
    fix-vaapi-ozone-build.patch ... Passed
==> Extracting sources...
  -> Extracting chromium-80.0.3987.106.tar.xz with bsdtar
  -> Extracting chromium-launcher-6.tar.gz with bsdtar
  -> Extracting ungoogled-chromium-80.0.3987.106-1.zip with bsdtar
==> Starting prepare()...
patching file chrome/common/string_matching/fuzzy_tokenized_string_match.cc
patching file components/sync_bookmarks/bookmark_model_merger.cc
Hunk #2 succeeded at 202 (offset -2 lines).
patching file components/sync_bookmarks/bookmark_model_merger.h
patching file components/sync/driver/sync_driver_switches.cc
patching file AUTHORS
Hunk #1 succeeded at 885 (offset -6 lines).
patching file build/linux/unbundle/icu.gn
Hunk #1 succeeded at 96 (offset 4 lines).
Hunk #2 succeeded at 179 (offset 4 lines).
patching file build/linux/unbundle/zlib.gn
Hunk #1 succeeded at 13 with fuzz 2.
patching file content/child/child_process_sandbox_support_impl_linux.cc
patching file build/linux/unbundle/libxml.gn
patching file third_party/libxml/chromium/libxml_utils.h
patching file third_party/libxml/chromium/xml_reader.cc
patching file third_party/libxml/chromium/xml_writer.cc
patching file ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc
Hunk #1 succeeded at 560 (offset 4 lines).
Hunk #2 succeeded at 673 (offset 4 lines).
Hunk #3 succeeded at 716 (offset 4 lines).
patching file ui/views/widget/desktop_aura/desktop_window_tree_host_platform.h
patching file chrome/browser/ui/views/frame/desktop_linux_browser_frame_view.cc
patching file ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc
Hunk #1 succeeded at 681 (offset 4 lines).
patching file third_party/widevine/cdm/BUILD.gn
patching file third_party/skia/src/ports/SkFontHost_FreeType.cpp
Hunk #1 succeeded at 129 (offset 1 line).
patching file media/gpu/vaapi/vaapi_video_decode_accelerator.cc
Hunk #1 succeeded at 647 (offset 6 lines).
Hunk #2 succeeded at 672 (offset 6 lines).
Hunk #3 succeeded at 1101 (offset 6 lines).
Hunk #4 succeeded at 1119 (offset 6 lines).
patching file media/gpu/vaapi/vaapi_video_decode_accelerator.h
patching file media/gpu/vaapi/vaapi_wrapper.cc
patching file media/gpu/vaapi/vaapi_wrapper.h
Hunk #1 succeeded at 80 (offset 1 line).
patching file gpu/ipc/service/gpu_init.cc
Hunk #2 succeeded at 327 (offset 1 line).
patching file media/gpu/vaapi/BUILD.gn
Hunk #1 succeeded at 129 (offset 1 line).
patching file AUTHORS
patching file ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc
  -> Applying ungoogled chromium patches
INFO: Applying patches from /home/cynicfm/Downloads/ungoogled-chromium-ozone/src/ungoogled-chromium-80.0.3987.106-1/patches
INFO: * Applying chromium-exclude_unwind_tables.patch (1/85)
patching file build/config/compiler/compiler.gni
INFO: * Applying 0001-fix-building-without-safebrowsing.patch (2/85)
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/blacklist_state_fetcher.cc
patching file chrome/browser/extensions/blacklist_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/chrome_browser_main_extra_parts_profiles.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/captive_portal_blocking_page.cc
patching file chrome/browser/ssl/security_state_tab_helper.cc
patching file chrome/browser/subresource_filter/chrome_subresource_filter_client.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/safe_browsing/features.cc
patching file components/security_interstitials/content/cert_report_helper.cc
INFO: * Applying 0003-disable-autofill-download-manager.patch (3/85)
patching file components/autofill/core/browser/autofill_download_manager.cc
INFO: * Applying 0005-disable-default-extensions.patch (4/85)
patching file chrome/browser/extensions/component_extensions_whitelist/whitelist.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 0007-disable-web-resource-service.patch (5/85)
patching file components/web_resource/web_resource_service.cc
INFO: * Applying 0009-disable-google-ipv6-probes.patch (6/85)
patching file net/dns/host_resolver_manager.cc
INFO: * Applying 0010-disable-gcm-status-check.patch (7/85)
patching file components/gcm_driver/gcm_channel_status_request.cc
INFO: * Applying 0014-disable-translation-lang-fetch.patch (8/85)
patching file chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
patching file components/translate/core/browser/translate_language_list.cc
patching file components/translate/core/browser/translate_ranker_impl.cc
INFO: * Applying 0015-disable-update-pings.patch (9/85)
patching file chrome/updater/configurator.cc
INFO: * Applying 0017-disable-new-avatar-menu.patch (10/85)
patching file components/signin/internal/identity_manager/primary_account_policy_manager_impl.cc
INFO: * Applying 0021-disable-rlz.patch (11/85)
patching file rlz/buildflags/buildflags.gni
INFO: * Applying unrar.patch (12/85)
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 (13/85)
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_blocking_page.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 (14/85)
patching file chrome/browser/safe_browsing/client_side_detection_service.cc
INFO: * Applying all-add-trk-prefixes-to-possibly-evil-connections.patch (15/85)
patching file build/mac/tweak_info_plist.py
patching file chrome/browser/chromeos/customization/customization_document.cc
patching file chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
patching file chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
patching file chrome/browser/chromeos/file_manager/file_manager_string_util.cc
patching file chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc
patching file chrome/browser/extensions/install_signer.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/chromeos/accessibility/chromevox/background/prefs.js
patching file chrome/browser/resources/default_apps/external_extensions.json
patching file chrome/browser/safe_browsing/client_side_detection_service.cc
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/tracing/crash_service_uploader.cc
patching file chrome/browser/ui/views/outdated_upgrade_bubble_view.cc
patching file chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
patching file chrome/common/extensions/chrome_extensions_client.cc
patching file chrome/common/url_constants.cc
patching file chrome/installer/setup/google_chrome_behaviors.cc
patching file chromecast/browser/service/cast_service_simple.cc
patching file chromeos/geolocation/simple_geolocation_provider.cc
patching file cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
patching file components/cloud_devices/common/cloud_devices_urls.cc
patching file components/crash/content/app/breakpad_linux.cc
patching file components/drive/service/drive_api_service.cc
patching file components/feedback/feedback_uploader.cc
patching file components/gcm_driver/gcm_account_tracker.cc
patching file components/history/core/browser/web_history_service.cc
patching file components/invalidation/impl/gcm_network_channel.cc
patching file components/metrics/url_constants.cc
patching file components/password_manager/core/browser/password_store.cc
patching file components/policy/core/common/policy_loader_win.cc
patching file components/policy/resources/policy_templates.json
patching file components/rappor/rappor_service_impl.cc
patching file components/safe_search_api/safe_search/safe_search_url_checker_client.cc
patching file components/search_engines/prepopulated_engines.json
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/shell/browser/shell_browser_main_parts.cc
patching file extensions/browser/updater/safe_manifest_parser.cc
patching file extensions/common/extension_urls.cc
patching file google_apis/gaia/gaia_constants.cc
patching file google_apis/gcm/engine/gservices_settings.cc
patching file jingle/notifier/base/gaia_token_pre_xmpp_auth.cc
patching file remoting/base/breakpad_mac.mm
patching file remoting/protocol/jingle_messages.cc
patching file ui/views/examples/webview_example.cc
INFO: * Applying disable-crash-reporter.patch (16/85)
patching file chrome/browser/tracing/crash_service_uploader.cc
patching file third_party/breakpad/breakpad/src/client/linux/sender/google_crash_report_sender.cc
INFO: * Applying disable-google-host-detection.patch (17/85)
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 (18/85)
patching file components/search_engines/prepopulated_engines.json
INFO: * Applying disable-signin.patch (19/85)
patching file chrome/browser/ui/chrome_pages.cc
INFO: * Applying disable-translate.patch (20/85)
patching file components/translate/content/renderer/translate_helper.cc
patching file components/translate/core/browser/translate_manager.cc
patching file components/translate/core/browser/translate_script.cc
INFO: * Applying disable-untraceable-urls.patch (21/85)
patching file chrome/browser/plugins/plugins_resource_service.cc
patching file chrome/browser/safe_browsing/client_side_model_loader.cc
patching file chrome/browser/safe_browsing/client_side_model_loader.h
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 (22/85)
patching file chrome/browser/profiles/profile_avatar_downloader.cc
INFO: * Applying disable-gcm.patch (23/85)
patching file components/gcm_driver/gcm_client_impl.cc
INFO: * Applying disable-domain-reliability.patch (24/85)
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 (25/85)
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 chromecast/browser/url_request_context_factory.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
The next patch would create the file net/url_request/trk_protocol_handler.cc,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file net/url_request/trk_protocol_handler.h,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
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
Traceback (most recent call last):
  File "/home/cynicfm/Downloads/ungoogled-chromium-ozone/src/ungoogled-chromium-80.0.3987.106-1/utils/patches.py", line 160, in <module>
    main()
  File "/home/cynicfm/Downloads/ungoogled-chromium-ozone/src/ungoogled-chromium-80.0.3987.106-1/utils/patches.py", line 156, in main
    args.callback(args)
  File "/home/cynicfm/Downloads/ungoogled-chromium-ozone/src/ungoogled-chromium-80.0.3987.106-1/utils/patches.py", line 110, in _apply_callback
    apply_patches(
  File "/home/cynicfm/Downloads/ungoogled-chromium-ozone/src/ungoogled-chromium-80.0.3987.106-1/utils/patches.py", line 54, in apply_patches
    subprocess.run(cmd, check=True)
  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/patch', '-p1', '--ignore-whitespace', '-i', '/home/cynicfm/Downloads/ungoogled-chromium-ozone/src/ungoogled-chromium-80.0.3987.106-1/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch', '-d', '.', '--no-backup-if-mismatch', '--forward']' returned non-zero exit status 1.
==> ERROR: A failure occurred in prepare().
    Aborting...

Have a good day

Offline

#6 2020-03-02 12:44:39

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,932
Website

Re: [solved]chromium prepare() interrupted during patching

That's not a clean build. The warnings show that some patches already have been applied.
This is probably also the reason, why patch fails at some hook.
To perform a clean build, use the capital-C flag:

makepkg -C

If the sources are already prepared, you can also build by running

makepkg --noprepare

Last edited by schard (2020-03-02 12:46:17)

Offline

#7 2020-03-02 12:57:13

cynicfm
Banned
From: Home
Registered: 2019-05-31
Posts: 96

Re: [solved]chromium prepare() interrupted during patching

makepkg -C

Yes, that was it... Another kind of annoying failure with super easy solution

Thank you :-)


Have a good day

Offline

Board footer

Powered by FluxBB