Cannot build latest Chromium

Torfinn Ingolfsen tingox at gmail.com
Tue Apr 28 17:51:28 UTC 2015


FWIW, the same problem seen on
tingo at kg-core1$ uname -a
FreeBSD kg-core1.kg4.no 9.3-STABLE FreeBSD 9.3-STABLE #0 r273918: Fri
Oct 31 22:52:44 CET 2014
     root at kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64

HTH

On Tue, Apr 28, 2015 at 5:48 PM, Andrea Venturoli <ml at netfence.it> wrote:
> Hello.
>
> The box is a 9.3/i386 and the problem is in the patch phase:
>
>> root at xxxxxx:/usr/ports/www/chromium # svn update
>> Updating '.':
>> At revision 384899.
>> root at xxxxxx:/usr/ports/www/chromium # make clean
>> ===>  Cleaning for chromium-42.0.2311.90
>> root at xxxxxx:/usr/ports/www/chromium # make extract
>>
>> To build Chromium, you should have around 2 GB of memory
>> and a fair amount of free diskspace (~ 3.7GB).
>>
>> Make sure you have Python build with the SEM option ON
>> (default in python27-2.7.8 since r361735)
>> ===>  License BSD3CLAUSE LGPL21 MPL accepted by the user
>> ===>  Found saved configuration for chromium-39.0.2171.99_1
>> ===>   chromium-42.0.2311.90 depends on file: /usr/local/sbin/pkg - found
>> ===> Fetching all distfiles required by chromium-42.0.2311.90 for building
>> ===>  Extracting for chromium-42.0.2311.90
>> => SHA256 Checksum OK for chromium-42.0.2311.90.tar.xz.
>> root at xxxxxx:/usr/ports/www/chromium # make patch
>> ===>  Patching for chromium-42.0.2311.90
>> ===>  Applying extra patch
>> /usr/ports/www/chromium/files/extra-patch-libusb-pc
>> ===>  Applying extra patch
>> /usr/ports/www/chromium/files/extra-patch-fixup-ffmpeg
>> ===>  Applying extra patch /usr/ports/www/chromium/files/extra-patch-gcc
>> ===>  Applying FreeBSD patches for chromium-42.0.2311.90
>> Ignoring previously applied (or reversed) patch.
>> 1 out of 1 hunks ignored--saving rejects to v8/src/debug.cc.rej
>> => Patch patch-v8__src__debug.cc failed to apply cleanly.
>> => Patch(es) patch-base__base.gyp patch-base__base.gypi
>> patch-base__debug__stack_trace_posix.cc
>> patch-base__files__file_path_watcher_kqueue.h
>> patch-base__posix__unix_domain_socket_linux.cc
>> patch-base__posix__unix_domain_socket_linux_unittest.cc
>> patch-base__process__internal_linux.h patch-base__process__launch.cc
>> patch-base__process__launch.h patch-base__process__memory_unittest.cc
>> patch-base__process__process_iterator_freebsd.cc
>> patch-base__process__process_metrics.h
>> patch-base__process__process_metrics_freebsd.cc
>> patch-base__security_unittest.cc patch-base__strings__safe_sprintf.cc
>> patch-base__sys_info_freebsd.cc patch-base__sys_info_posix.cc
>> patch-base__test__expectations__expectation.cc
>> patch-base__test__launcher__test_launcher.cc
>> patch-base__threading__platform_thread_linux.cc patch-build__common.gypi
>> patch-build__filename_rules.gypi patch-build__linux__system.gyp
>> patch-build__linux__unbundle__libwebp.gyp patch-cc__layers__layer_impl.cc
>> patch-chrome__app__chrome_main_d!
>
> elegate.cc
> patch-chrome__app__chrome_main_delegate.h
> patch-chrome__app__chromium_strings.grd
> patch-chrome__app__resources__locale_settings.grd
> patch-chrome__browser__about_flags.cc
> patch-chrome__browser__chrome_browser_main.cc
> patch-chrome__browser__chrome_browser_main_posix.cc
> patch-chrome__browser__chrome_content_browser_client.cc
> patch-chrome__browser__chrome_content_browser_client.h
> patch-chrome__browser__diagnostics__diagnostics_writer.cc
> patch-chrome__browser__diagnostics__diagnostics_writer.h
> patch-chrome__browser__download__download_prefs.cc
> patch-chrome__browser__download__download_prefs.h
> patch-chrome__browser__download__download_shelf_context_menu.cc
> patch-chrome__browser__download__download_shelf_context_menu.h
> patch-chrome__browser__extensions__api__image_writer_private__image_writer_private_api.cc
> patch-chrome__browser__extensions__api__music_manager_private__device_id_linux.cc
> patch-chrome__browser__extensions__window_open_apitest.cc
> patch-chrome__browser__gpu__gl_strin!
> g_manager.
> cc patch-chrome__browser__gpu__gpu_feature_checker.cc
> patch-chrome__browser__media__webrtc_log_uploader.cc
> patch-chrome__browser__media_galleries__fileapi__mtp_device_map_service.cc
> patch-chrome__browser__media_galleries__media_file_system_registry.cc
> patch-chrome__browser__media_galleries__media_folder_finder.cc
> patch-chrome__browser__memory_details.cc
> patch-chrome__browser__metrics__chrome_browser_main_extra_parts_metrics.cc
> patch-chrome__browser__net__connection_tester.cc
> patch-chrome__browser__notifications__message_center_notification_manager.cc
> patch-chrome__browser__plugins__plugins_resource_service.cc
> patch-chrome__browser__policy__policy_prefs_browsertest.cc
> patch-chrome__browser__process_singleton_posix.cc
> patch-chrome__browser__renderer_preferences_util.cc
> patch-chrome__browser__safe_browsing__incident_reporting__incident_handler_util.cc
> patch-chrome__browser__ssl__ssl_blocking_page.cc
> patch-chrome__browser__tracing__crash_service_uploader.cc
> patch-chrome__browser!
> __ui__aura
> __chrome_browser_main_extra_parts_aura.cc
> patch-chrome__browser__ui__aura__chrome_browser_main_extra_parts_aura.h
> patch-chrome__browser__ui__browser_command_controller.cc
> patch-chrome__browser__ui__browser_view_prefs.cc
> patch-chrome__browser__ui__panels__panel_manager.cc
> patch-chrome__browser__ui__startup__startup_browser_creator.cc
> patch-chrome__browser__ui__view__tabs__tab_drag_controller.cc
> patch-chrome__browser__ui__views__apps__chrome_native_app_window_views.cc
> patch-chrome__browser__ui__views__chrome_views_delegate.cc
> patch-chrome__browser__ui__views__chrome_views_delegate.h
> patch-chrome__browser__ui__views__first_run_dialog.cc
> patch-chrome__browser__ui__views__frame__browser_frame.cc
> patch-chrome__browser__ui__views__frame__opaque_browser_frame_view.cc
> patch-chrome__browser__ui__views__frame__opaque_browser_frame_view_layout.cc
> patch-chrome__browser__ui__views__tabs__tab_strip.cc
> patch-chrome__browser__ui__webui__about_ui.cc
> patch-chrome__browser__ui__webui__chrome_we!
> b_ui_contr
> oller_factory.cc
> patch-chrome__browser__ui__webui__options__browser_options_handler.cc
> patch-chrome__browser__ui__webui__options__browser_options_handler.h
> patch-chrome__browser__web_applications__web_app.cc
> patch-chrome__browser__web_applications__web_app.h
> patch-chrome__chrome_browser.gypi
> patch-chrome__chrome_browser_extensions.gypi
> patch-chrome__chrome_browser_ui.gypi patch-chrome__chrome_exe.gypi
> patch-chrome__common__chrome_paths.cc patch-chrome__common__chrome_paths.h
> patch-chrome__common__chrome_switches.cc
> patch-chrome__common__chrome_switches.h patch-chrome__common__pref_names.cc
> patch-chrome__common__pref_names.h
> patch-chrome__renderer__pepper__pepper_flash_font_file_host.cc
> patch-chrome__renderer__pepper__pepper_flash_font_file_host.h
> patch-chrome__test__base__in_process_browser_test.cc
> patch-chrome__test__base__testing_browser_process.h
> patch-chrome__test__chromedriver__chrome__chrome_finder.cc
> patch-chrome__test__perf__perf_test.cc patch-chrome__tools__build__l!
> inux__sed.
> sh patch-components__policy__resources__policy_templates.json
> patch-components__policy__tools__generate_policy_source.py
> patch-components__printing__renderer__print_web_view_helper.h
> patch-components__storage_monitor.gypi
> patch-components__storage_monitor__storage_monitor.cc
> patch-components__storage_monitor__storage_monitor_freebsd.cc
> patch-components__storage_monitor__storage_monitor_freebsd.h
> patch-components__update_client__update_query_params.cc
> patch-content__app__content_main_runner.cc
> patch-content__browser__browser_main_loop.cc
> patch-content__browser__child_process_launcher.cc
> patch-content__browser__download__base_file.cc
> patch-content__browser__download__base_file_linux.cc
> patch-content__browser__geolocation__location_arbitrator_impl.cc
> patch-content__browser__geolocation__wifi_data_provider_freebsd.cc
> patch-content__browser__geolocation__wifi_data_provider_freebsd.h
> patch-content__browser__gpu__gpu_data_manager_impl_private.cc
> patch-content__browser__indexed_db__!
> indexed_db
> _backing_store.cc
> patch-content__browser__renderer_host__render_widget_host_view_aura.cc
> patch-content__common__sandbox_linux__sandbox_debug_handling_linux.cc
> patch-content__common__set_process_title_linux.cc
> patch-content__common__set_process_title_linux.h
> patch-content__content_browser.gypi patch-content__content_common.gypi
> patch-content__content_tests.gypi patch-content__gpu__gpu_child_thread.cc
> patch-content__gpu__gpu_main.cc
> patch-content__public__common__content_switches.cc
> patch-content__public__common__content_switches.h
> patch-content__public__test__browser_test_base.cc
> patch-content__renderer__accessibility__blink_ax_tree_source.cc
> patch-content__renderer__media__webrtc_audio_capturer.cc
> patch-content__renderer__pepper__usb_key_code_conversion.cc
> patch-content__renderer__renderer_blink_platform_impl.cc
> patch-content__renderer__renderer_main_platform_delegate_linux.cc
> patch-crypto__nss_util.cc patch-device__hid__hid.gyp
> patch-device__hid__hid_service.cc patch-device!
> __serial__
> serial.gyp patch-device__serial__serial_io_handler_posix.cc
> patch-device__serial__serial_service_impl.cc patch-device__usb__usb.gyp
> patch-device__usb__usb_context.cc patch-device__usb__usb_context_unittest.cc
> patch-device__usb__usb_device_handle_impl.cc
> patch-device__usb__usb_device_handle_impl.h
> patch-device__usb__usb_device_impl.cc patch-device__usb__usb_error.cc
> patch-device__usb__usb_service_impl.cc patch-device__usb__usb_service_impl.h
> patch-extensions__browser__api__serial__serial_api.cc
> patch-gpu__config__gpu_control_list.cc
> patch-gpu__config__gpu_control_list_unittest.cc
> patch-gpu__config__gpu_info_collector.cc
> patch-gpu__config__gpu_test_config.cc patch-gpu__config__gpu_util.cc
> patch-gpu__gpu_config.gypi
> patch-media__audio__audio_input_volume_unittest.cc
> patch-media__base__audio_splicer.cc
> patch-media__filters__decrypting_audio_decoder.cc patch-media__media.gyp
> patch-media__video__capture__video_capture_device_factory.cc
> patch-native_client__build__common.gypi patch!
> -native_cl
> ient__src__shared__platform__platform.gyp
> patch-net__base__address_tracker_linux.cc
> patch-net__base__address_tracker_linux.h
> patch-net__base__address_tracker_linux_unittest.cc
> patch-net__base__dns_reloader.cc patch-net__base__mime_util_unittest.cc
> patch-net__base__net_util.h patch-net__base__net_util_linux.cc
> patch-net__base__net_util_posix.cc
> patch-net__base__network_change_notifier.cc
> patch-net__dns__address_sorter_posix.cc
> patch-net__dns__dns_config_service_posix_unittest.cc
> patch-net__dns__dns_session.cc patch-net__http__http_auth_gssapi_posix.cc
> patch-net__net.gyp patch-net__net.gypi
> patch-net__proxy__proxy_config_service_linux.cc
> patch-net__proxy__proxy_service.cc
> patch-net__quic__congestion_control__rtt_stats.cc
> patch-net__socket__socks5_client_socket.cc
> patch-net__socket__tcp_listen_socket_unittest.h
> patch-net__udp__udp_socket_unittest.cc
> patch-ppapi__proxy__file_io_resource.cc
> patch-ppapi__shared_impl__private__net_address_private_impl.cc
> patch-printing__printing.gy!
> p patch-re
> moting__remoting_host.gypi patch-skia__ext__SkMemory_new_handler.cpp
> patch-skia__skia_chrome.gypi patch-skia__skia_common.gypi
> patch-sync__util__get_session_name.cc
> patch-sync__util__get_session_name_linux.cc
> patch-testing__gtest__include__gtest__internal__gtest-port.h
> patch-testing__gtest__src__gtest.cc
> patch-third_party__WebKit__Source__bindings__core__v8__V8ScriptRunner.cpp
> patch-third_party__WebKit__Source__core__core.gyp
> patch-third_party__WebKit__Source__platform__blink_platform.gyp
> patch-third_party__WebKit__Source__platform__heap__StackFrameDepth.cpp
> patch-third_party__WebKit__Source__platform__heap__Visitor.cpp
> patch-third_party__WebKit__Source__web__web.gyp
> patch-third_party__WebKit__Source__wtf__ByteSwap.h
> patch-third_party__WebKit__Source__wtf__wtf.gyp
> patch-third_party__ffmpeg__libavutil__mem.c
> patch-third_party__khronos__khronos.gyp
> patch-third_party__libXNVCtrl__libXNVCtrl.gyp
> patch-third_party__libexif__libexif.gyp
> patch-third_party__libjingle__libjingle.gyp !
> patch-thir
> d_party__libjpeg_turbo__libjpeg.gyp
> patch-third_party__libphonenumber__libphonenumber.gyp
> patch-third_party__ots__include__opentype-sanitiser.h
> patch-third_party__pdfium__build__standalone.gypi
> patch-third_party__pdfium__core__include__fxcrt__fx_system.h
> patch-third_party__pdfium__fpdfsdk__src__javascript__PublicMethods.cpp
> patch-third_party__pdfium__fpdfsdk__src__jsapi__fxjs_v8.cpp
> patch-third_party__pdfium__pdfium.gyp
> patch-third_party__pdfium__third_party__base__logging.h
> patch-third_party__sfntly__sfntly.gyp
> patch-third_party__skia__src__core__SkVarAlloc.cpp
> patch-third_party__sqlite__sqlite.gyp
> patch-third_party__webrtc__base__cpumonitor.cc
> patch-third_party__webrtc__base__httpcommon.cc
> patch-third_party__webrtc__base__ipaddress.h
> patch-third_party__webrtc__base__linux.cc
> patch-third_party__webrtc__base__linux.h
> patch-third_party__webrtc__base__network.cc
> patch-third_party__webrtc__base__network.h
> patch-third_party__webrtc__base__physicalsocketserver.cc patch-third_part!
> y__webrtc_
> _base__stringutils.h patch-third_party__webrtc__base__systeminfo.cc
> patch-third_party__webrtc__base__thread_checker_impl.cc
> patch-third_party__webrtc__build__common.gypi
> patch-third_party__webrtc__modules__audio_device__audio_device.gypi
> patch-third_party__webrtc__modules__desktop_capture__desktop_capture.gypi
> patch-third_party__webrtc__modules__rtp_rtcp__source__forward_error_correction.cc
> patch-third_party__webrtc__modules__video_coding__main__source__receiver.cc
> patch-third_party__webrtc__system_wrappers__source__atomic32_posix.cc
> patch-third_party__webrtc__system_wrappers__source__cpu_info.cc
> patch-third_party__webrtc__system_wrappers__source__thread_posix.cc
> patch-third_party__webrtc__voice_engine__voice_engine_defines.h
> patch-tools__gyp__pylib__gyp__generator__make.py
> patch-tools__gyp__test__additional-targets__src__dir1__actions.gyp
> patch-tools__gyp__test__library__src__library.gyp
> patch-ui__app_list__app_list_constants.cc
> patch-ui__app_list__app_list_constants.h patc!
> h-ui__base
> __ime__input_method_factory.cc patch-ui__base__ui_base.gyp
> patch-ui__events__event_switches.cc patch-ui__events__event_switches.h
> patch-ui__gfx__render_text.cc patch-ui__gl__gl.gyp
> patch-ui__resources__ui_resources.grd
> patch-ui__shell_dialogs__select_file_dialog.cc patch-ui__views__views.gyp
> patch-ui__views__views_delegate.cc patch-ui__views__views_delegate.h
> patch-ui__views__window__custom_frame_view.cc
> patch-v8__src__base__platform__platform-freebsd.cc
> patch-v8__src__base__platform__platform-posix.cc applied cleanly.
>>
>> *** [do-patch] Error code 1
>>
>> Stop in /usr/ports/www/chromium.
>> *** [patch] Error code 1
>>
>> Stop in /usr/ports/www/chromium.
>> root at xxxxxx:/usr/ports/www/chromium #
>
>
> Removing that patch gets me to the next stage, but everything ends with:
>
>> obj/chrome/libbrowser_ui.a(browser_ui.opaq): In function
>> `OpaqueBrowserFrameViewPlatformSpecific::Create(OpaqueBrowserFrameView*,
>> OpaqueBrowserFrameViewLayout*, Profile*)':
>>
>> opaque_browser_frame_view_platform_specific.cc:(.text._ZN38OpaqueBrowserFrameViewPlatformSpecific6CreateEP22OpaqueBrowserFrameViewP28OpaqueBrowserFrameViewLayoutP7Profile+0x0):
>> multiple definition of
>> `OpaqueBrowserFrameViewPlatformSpecific::Create(OpaqueBrowserFrameView*,
>> OpaqueBrowserFrameViewLayout*, Profile*)'
>>
>> obj/chrome/libbrowser_ui.a(browser_ui.opaq):opaque_browser_frame_view_linux.cc:(.text._ZN38OpaqueBrowserFrameViewPlatformSpecific6CreateEP22OpaqueBrowserFrameViewP28OpaqueBrowserFrameViewLayoutP7Profile+0x0):
>> first defined here
>> collect2: error: ld returned 1 exit status
>> ninja: build stopped: subcommand failed.
>
>
> Just to let you know.
> If you need me to try or test anything, just ask.
>
>
>
>  bye & Thanks
>         av.
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"



-- 
mvh
Torfinn


More information about the freebsd-ports mailing list