Skip to content

Flutter Engine build failure: UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 1001: illegal multibyte sequence #127659

@p1318k

Description

@p1318k

Is there an existing issue for this?

Steps to reproduce

I performed a build on Windows following the Flutter Engine Build Guide(https://github.com/flutter/flutter/wiki/Compiling-the-engine#compiling-for-windows). However, I encountered the following build error, and it did not proceed further.

Expected results

build success

Actual results

build failed

Code sample

nothing

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
PS C:\engine\src> ninja -C .\out\host_debug_unopt\
ninja: Entering directory `.\out\host_debug_unopt\'
[1/6284] ACTION //third_party/angle:angle_program_version_id(//build/toolchain/win:clang_x64)
FAILED: gen/angle/ANGLEShaderProgramVersion.h
C:/Users/kimki/.vpython-root/3a4476/Scripts/python.exe ../../third_party/angle/src/program_serialize_data_version.py gen/angle/ANGLEShaderProgramVersion.h gen/angle_code_affecting_program_serialize
Traceback (most recent call last):
  File "../../third_party/angle/src/program_serialize_data_version.py", line 40, in <module>
    angle_shader_program_version_hash_result = GenerateHashOfAffectedFiles(angle_code_files)
  File "../../third_party/angle/src/program_serialize_data_version.py", line 18, in GenerateHashOfAffectedFiles
    for chunk in iter(lambda: f.read(4096), ""):
  File "../../third_party/angle/src/program_serialize_data_version.py", line 18, in <lambda>
    for chunk in iter(lambda: f.read(4096), ""):
UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 1001: illegal multibyte sequence

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: desktopRunning on desktopc: crashStack traces logged to the consolee: local-engine-developmentLocal builds of the engine working betterengineflutter/engine related. See also e: labels.platform-windowsBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions