% autoninja -C out/Debug-iphonesimulator chrome
ninja: Entering directory `out/Debug-iphonesimulator'
[775/25668] SWIFT gen/ios/chrome/browser/shared/ui/util/ios_chrome_browser_shared_ui_util_util_swift.swiftmodule
FAILED: gen/ios/chrome/browser/shared/ui/util/ios_chrome_browser_shared_ui_util_util_swift.swiftmodule
TOOL_VERSION=1700866067 python3 ../../build/toolchain/ios/swiftc.py -module-name ios_chrome_browser_shared_ui_util_util_swift -root-dir ../../ -object-dir obj/ios/chrome/browser/shared/ui/util/util_swift -pch-output-dir obj/ios/chrome/browser/shared/ui/util/ios_chrome_browser_shared_ui_util_util_swift:pch/ -module-path gen/ios/chrome/browser/shared/ui/util/ios_chrome_browser_shared_ui_util_util_swift.swiftmodule -header-path gen/ios/chrome/browser/shared/ui/util/util_swift.h -depfile obj/ios/chrome/browser/shared/ui/util/ios_chrome_browser_shared_ui_util_util_swift.d -bridge-header "" -swiftc-version swift-5.8-release -xcode-version 14E222b -swift-toolchain-path ../../third_party/swift-toolchain/ -fix-module-imports -target x86_64-apple-ios15.0-simulator -swift-version 5 -file-compilation-dir=. -g -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk -I../.. -Igen -I../../buildtools/third_party/libc++ ../../ios/chrome/browser/shared/ui/util/UIView+WindowCoordinates.swift ../../ios/chrome/browser/shared/ui/util/UIView+WindowObserving.swift ../../ios/chrome/browser/shared/ui/util/frame_layout_guide.swift ../../ios/chrome/browser/shared/ui/util/layout_guide_center.swift
I think that my args.gn is normal:
is_debug = true
enable_dsyms = false
enable_stripping = false
is_official_build = false
is_chrome_branded = false
target_cpu = "x64"
target_environment = "simulator"
enable_remoting = false
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/d8042b0b-9ac2-4a97-8d7c-6292cefaecc6n%40chromium.org.
% autoninja -C out/Debug-iphonesimulator chrome
ninja: Entering directory `out/Debug-iphonesimulator'
[718/57205] ACTION //chrome/browser/resources/gaia_auth_host:build_injected_scripts__bundle_js(//build/toolchain/mac:clang_x64)
FAILED: gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled/saml_injected.rollup.js gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled/saml_injected.rollup.js.map gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled/rollup.config.mjs gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled/build_injected_scripts__bundle_js_requestlist.txt
python3 ../../ui/webui/resources/tools/bundle_js.py --host about:blank --input gen/chrome/browser/resources/gaia_auth_host/stage --out_folder gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled --depfile gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts__bundle_js.d --target_name build_injected_scripts__bundle_js --exclude chrome://resources/mojo/mojo/public/js/bindings.js //resources/mojo/mojo/public/js/bindings.js chrome://resources/mojo/mojo/public/mojom/base/time.mojom-lite.js //resources/mojo/mojo/public/mojom/base/time.mojom-lite.js chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js //resources/polymer/v3_0/polymer/polymer_bundled.min.js chrome://resources/js/cr.js //resources/js/cr.js chrome://resources/js/load_time_data.js //resources/js/load_time_data.js chrome://resources/ash/common/load_time_data.m.js //resources/ash/common/load_time_data.m.js chrome://resources/mwc/lit/index.js //resources/mwc/lit/index.js --external_paths chrome://resources/polymer/v3_0/\|../../third_party/polymer/v3_0/components-chromium/ //resources/polymer/v3_0/\|../../third_party/polymer/v3_0/components-chromium/ chrome://resources/\|gen/ui/webui/resources/tsc/ //resources/\|gen/ui/webui/resources/tsc/ --js_module_in_files saml_injected.js
Traceback (most recent call last):
File "/Users/dewdel/chromium5/src/out/Debug-iphonesimulator/../../ui/webui/resources/tools/bundle_js.py", line 277, in <module>
main(sys.argv[1:])
File "/Users/dewdel/chromium5/src/out/Debug-iphonesimulator/../../ui/webui/resources/tools/bundle_js.py", line 250, in main
optimize_output = _optimize(args.input, args)
File "/Users/dewdel/chromium5/src/out/Debug-iphonesimulator/../../ui/webui/resources/tools/bundle_js.py", line 217, in _optimize
js_module_out_files = _bundle(out_path, in_path, manifest_out_path, args,
File "/Users/dewdel/chromium5/src/out/Debug-iphonesimulator/../../ui/webui/resources/tools/bundle_js.py", line 171, in _bundle
node.RunNode([node_modules.PathToRollup()] + rollup_args + [
File "/Users/dewdel/chromium5/src/third_party/node/node.py", line 28, in RunNode
stdout, stderr = process.communicate()
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1134, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 2021, in _communicate
stderr = self._translate_newlines(stderr,
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1011, in _translate_newlines
data = data.decode(encoding, errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 136: ordinal not in range(128)
[727/57205] ACTION //chrome/browser/metrics:expired_histograms_array(//build/toolchain/mac:clang_x64)
ninja: build stopped: subcommand failed.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/774b1163-5fdc-4ae1-bfe5-20e1e05f2229n%40chromium.org.
% gn args out/Debug-iphonesimulator
Waiting for editor on "/Users/dewdel/chromium5/src/out/Debug-iphonesimulator/args.gn"...
Generating files...
Done. Made 18533 targets from 3497 files in 7596ms
% autoninja -C out/Debug-iphonesimulator chrome
ninja: Entering directory `out/Debug-iphonesimulator'
[0/1] Regenerating ninja files
[285/56776] ACTION //chrome/browser/resources/gaia_auth_host:build_injected_scripts__bundle_js(//build/toolchain/mac:clang_x64)
FAILED: gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled/saml_injected.rollup.js gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled/saml_injected.rollup.js.map gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled/rollup.config.mjs gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled/build_injected_scripts__bundle_js_requestlist.txt
python3 ../../ui/webui/resources/tools/bundle_js.py --host about:blank --input gen/chrome/browser/resources/gaia_auth_host/stage --out_folder gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled --depfile gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts__bundle_js.d --target_name build_injected_scripts__bundle_js --exclude chrome://resources/mojo/mojo/public/js/bindings.js //resources/mojo/mojo/public/js/bindings.js chrome://resources/mojo/mojo/public/mojom/base/time.mojom-lite.js //resources/mojo/mojo/public/mojom/base/time.mojom-lite.js chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js //resources/polymer/v3_0/polymer/polymer_bundled.min.js chrome://resources/js/cr.js //resources/js/cr.js chrome://resources/js/load_time_data.js //resources/js/load_time_data.js chrome://resources/ash/common/load_time_data.m.js //resources/ash/common/load_time_data.m.js chrome://resources/mwc/lit/index.js //resources/mwc/lit/index.js --external_paths chrome://resources/polymer/v3_0/\|../../third_party/polymer/v3_0/components-chromium/ //resources/polymer/v3_0/\|../../third_party/polymer/v3_0/components-chromium/ chrome://resources/\|gen/ui/webui/resources/tsc/ //resources/\|gen/ui/webui/resources/tsc/ --js_module_in_files saml_injected.js
Traceback (most recent call last):
File "/Users/dewdel/chromium5/src/out/Debug-iphonesimulator/../../ui/webui/resources/tools/bundle_js.py", line 277, in <module>
main(sys.argv[1:])
File "/Users/dewdel/chromium5/src/out/Debug-iphonesimulator/../../ui/webui/resources/tools/bundle_js.py", line 250, in main
optimize_output = _optimize(args.input, args)
File "/Users/dewdel/chromium5/src/out/Debug-iphonesimulator/../../ui/webui/resources/tools/bundle_js.py", line 217, in _optimize
js_module_out_files = _bundle(out_path, in_path, manifest_out_path, args,
File "/Users/dewdel/chromium5/src/out/Debug-iphonesimulator/../../ui/webui/resources/tools/bundle_js.py", line 171, in _bundle
node.RunNode([node_modules.PathToRollup()] + rollup_args + [
File "/Users/dewdel/chromium5/src/third_party/node/node.py", line 28, in RunNode
stdout, stderr = process.communicate()
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1134, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 2021, in _communicate
stderr = self._translate_newlines(stderr,
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1011, in _translate_newlines
data = data.decode(encoding, errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 136: ordinal not in range(128)
[294/56776] CXX obj/buildtools/third_party/libc++abi/libc++abi/cxa_demangle.o
ninja: build stopped: subcommand failed.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 136: ordinal not in range(128)
% python3 ios/build/tools/setup-gn.py
% autoninja -C out/Debug-iphonesimulator gn_all
[1394/61805] SWIFT gen/ios/chrome/browser/shared/ui/util/ios_chrome_browser_shared_ui_util_util_swift.swiftmodule
FAILED: gen/ios/chrome/browser/shared/ui/util/ios_chrome_browser_shared_ui_util_util_swift.swiftmodule
TOOL_VERSION=1701202638 python3 ../../build/toolchain/ios/swiftc.py -module-name ios_chrome_browser_shared_ui_util_util_swift -root-dir ../../ -object-dir obj/ios/chrome/browser/shared/ui/util/util_swift -pch-output-dir obj/ios/chrome/browser/shared/ui/util/ios_chrome_browser_shared_ui_util_util_swift:pch/ -module-path gen/ios/chrome/browser/shared/ui/util/ios_chrome_browser_shared_ui_util_util_swift.swiftmodule -header-path gen/ios/chrome/browser/shared/ui/util/util_swift.h -depfile obj/ios/chrome/browser/shared/ui/util/ios_chrome_browser_shared_ui_util_util_swift.d -bridge-header "" -xcode-version 15A507 -fix-module-imports -target x86_64-apple-ios15.0-simulator -swift-version 5 -file-compilation-dir=. -g -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -I../.. -Igen -I../../buildtools/third_party/libc++ ../../ios/chrome/browser/shared/ui/util/UIView+WindowCoordinates.swift ../../ios/chrome/browser/shared/ui/util/UIView+WindowObserving.swift ../../ios/chrome/browser/shared/ui/util/frame_layout_guide.swift ../../ios/chrome/browser/shared/ui/util/layout_guide_center.swift
Traceback (most recent call last):
File "/Users/dewdel/chromium5/src/out/Debug-iphonesimulator/../../build/toolchain/ios/swiftc.py", line 327, in <module>
sys.exit(main(sys.argv[1:]))
File "/Users/dewdel/chromium5/src/out/Debug-iphonesimulator/../../build/toolchain/ios/swiftc.py", line 323, in main
compile_module(parsed.module_name, parsed.sources, parsed, extras, tmpdir)
File "/Users/dewdel/chromium5/src/out/Debug-iphonesimulator/../../build/toolchain/ios/swiftc.py", line 205, in compile_module
fix_module_imports(header_path, settings.header_path)
File "/Users/dewdel/chromium5/src/out/Debug-iphonesimulator/../../build/toolchain/ios/swiftc.py", line 29, in fix_module_imports
for line in header_file:
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1911: ordinal not in range(128)
python3 -c "import locale; print(locale.getpreferredencoding())"
% python3 -c "import locale; print(locale.getpreferredencoding())"
US-ASCII
% $LANG
zsh: command not found: en_US.US-ASCII
% export LANG=en_US.UTF-8
FAILED: gen/material_component_ic_arrow_back_bundle_bundle/Assets.car
TOOL_VERSION=1696605901 python3 ../../build/toolchain/ios/compile_xcassets.py -p 'ios' -e 'device' -t '15.0' -T '' -P '' -o gen/material_component_ic_arrow_back_bundle_bundle/Assets.car ../../ios/third_party/material_components_ios/src/components/private/Icons/icons/ic_arrow_back/src/MaterialIcons_ic_arrow_back.xcassets
/* com.apple.actool.errors */
../../ios/third_party/material_components_ios/src/components/private/Icons/icons/ic_arrow_back/src/MaterialIcons_ic_arrow_back.xcassets: error: Failed to launch AssetCatalogSimulatorAgent via CoreSimulator spawn
Failure Reason: Failed to spawn AssetCatalogSimulatorAgent on IBSimDeviceTypeiPad3x (05B22ADC-94B7-4881-B888-4E6BEC0027FF, (null), Shutdown)
Underlying Errors:
Description: Invalid device: The specified device is not available for spawning processes.
/* com.apple.actool.compilation-results */
/var/folders/p4/bpvglryx70dfmsvddyv5rtnc0000gp/T/tmpikdy5gmu.plist
[452/30177] ACTION //ios/chrome/app/resources:launchscreen_xib_compile_xib(//build/toolchain/ios:ios_clang_arm64)
FAILED: gen/ios/chrome/app/resources/launchscreen_xib_compile_xib/LaunchScreen.nib
python3 ../../build/config/ios/compile_ib_files.py --input ../../ios/chrome/app/resources/LaunchScreen.xib --output gen/ios/chrome/app/resources/launchscreen_xib_compile_xib/LaunchScreen.nib --minimum-deployment-target 15.0 --auto-activate-custom-fonts --target-device iphone --target-device ipad
2023-11-28 15:53:39.960 ibtoold[1725:12195] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEInterfaceBuilder/IDEInterfaceBuilder-22155/InterfaceBuilderKit/Utilities/IBAbstractInterfaceBuilderPlatformToolManager.m:548
Details: Failed to attach to IBAgent-iOS with error: Error Domain=com.apple.InterfaceBuilder Code=-1 "Encountered an error communicating with IBAgent-iOS." UserInfo={NSLocalizedFailureReason=IBAgent-iOS (-1) failed to launch, NSUnderlyingError=0x6000038518f0 {Error Domain=com.apple.CoreSimulator.SimError Code=404 "Failed to launch IBAgent-iOS via CoreSimulator spawn" UserInfo={NSLocalizedFailureReason=Failed to spawn IBAgent-iOS on IBSimDeviceTypeiPad2x (2C2E3EBE-C347-46BB-BA1E-FD2B45FE1D3E, (null), Shutdown), NSLocalizedDescription=Failed to launch IBAgent-iOS via CoreSimulator spawn, NSUnderlyingError=0x600003837000 {Error Domain=com.apple.CoreSimulator.SimError Code=404 "Invalid device: The specified device is not available for spawning processes." UserInfo={NSLocalizedDescription=Invalid device: The specified device is not available for spawning processes.}}}}, NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "IBAgent-iOS" for further information., NSLocalizedDescription=Encountered an error communicating with IBAgent-iOS.}
Object: <IBCocoaTouchToolManager>
Method: +_THREADSAFE_launchNewToolWithLaunchContext:executionContext:toolProxyClass:proxyDelegate:failureContext:requestingMethod:error:forReason:
Thread: <_NSMainThread: 0x600003e24080>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2023-11-28 15:53:39.962 ibtoold[1725:12195] [MT] IBPlatformTool: *** Failed to launch tool with description <IBCocoaTouchPlatformToolDescription: 0x600002ea0e00> System content for IBCocoaTouchFramework-fifteenAndLater <IBScaleFactorDeviceTypeDescription: 0x600002ea0ea0> scaleFactor=2x, renderMode.identifier=(null): Encountered an error communicating with IBAgent-iOS. (Failure reason: IBAgent-iOS (-1) failed to launch): Failed to launch IBAgent-iOS via CoreSimulator spawn (Failure reason: Failed to spawn IBAgent-iOS on IBSimDeviceTypeiPad2x (2C2E3EBE-C347-46BB-BA1E-FD2B45FE1D3E, (null), Shutdown)): Invalid device: The specified device is not available for spawning processes.
b'/* com.apple.ibtool.errors */\n/Users/dewdel/chromium5/src/ios/chrome/app/resources/LaunchScreen.xib: error: Encountered an error communicating with IBAgent-iOS.\n Failure Reason: IBAgent-iOS (-1) failed to launch\n Recovery Suggestion: Please check Console.app for crash reports for "IBAgent-iOS" for further information.\n Underlying Errors:\n Description: Failed to launch IBAgent-iOS via CoreSimulator spawn\n Failure Reason: Failed to spawn IBAgent-iOS on IBSimDeviceTypeiPad2x (2C2E3EBE-C347-46BB-BA1E-FD2B45FE1D3E, (null), Shutdown)\n Underlying Errors:\n Description: Invalid device: The specified device is not available for spawning processes.\n'
Traceback (most recent call last):
File "/Users/dewdel/chromium5/src/out/Release-iphoneos/../../build/config/ios/compile_ib_files.py", line 56, in <module>
sys.exit(main())
File "/Users/dewdel/chromium5/src/out/Release-iphoneos/../../build/config/ios/compile_ib_files.py", line 39, in main
stdout = subprocess.check_output(ibtool_args)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['xcrun', 'ibtool', '--errors', '--warnings', '--notices', '--output-format', 'human-readable-text', '--minimum-deployment-target', '15.0', '--auto-activate-custom-fonts', '--target-device', 'iphone', '--target-device', 'ipad', '--compile', '/Users/dewdel/chromium5/src/out/Release-iphoneos/gen/ios/chrome/app/resources/launchscreen_xib_compile_xib/LaunchScreen.nib', '/Users/dewdel/chromium5/src/ios/chrome/app/resources/LaunchScreen.xib']' returned non-zero exit status 1.
[456/30177] CXX obj/skia/skia_core_and_effects/SkBlurMaskFilterImpl.o
ninja: build stopped: subcommand failed.
dewdel@MyMacs-MacBook-Pro src % autoninja -C out/Debug-iphonesimulator gn_all
ninja: Entering directory `out/Debug-iphonesimulator'
[3983/60323] ACTION //ios/showcase/core/resources:launchscreen_xib_compile_storyboard(//build/toolchain/ios:ios_clang_x64)
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CACwGi-6x%3DrMehXR5JVnEZWNNz3wSifQqFH5j7TvFCydeH5E8zQ%40mail.gmail.com.