{"record":{"id":"5189e4ce6a8ba2e7","repo":"nodejs/node","slug":"2","errorCode":"2","errorMessage":"error loading input file lists: %s\n","messagePattern":"error loading input file lists: (.+?)\n","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"deps/icu-small/source/tools/pkgdata/pkgdata.cpp","lineNumber":492,"sourceCode":"\n    if (options[WIN_DYNAMICBASE].doesOccur) {\n        fprintf(stdout, \"Note: Ignoring option -b (windows-dynamicbase).\\n\");\n    }\n\n    if (options[WIN_DLL_ARCH].doesOccur) {\n        o.cpuArch = options[WIN_DLL_ARCH].value;\n    }\n\n    /* OK options are set up. Now the file lists. */\n    tail = nullptr;\n    for( n=1; n<argc; n++) {\n        o.fileListFiles = pkg_appendToList(o.fileListFiles, &tail, uprv_strdup(argv[n]));\n    }\n\n    /* load the files */\n    loadLists(&o, &status);\n    if( U_FAILURE(status) ) {\n        fprintf(stderr, \"error loading input file lists: %s\\n\", u_errorName(status));\n        return 2;\n    }\n\n    result = pkg_executeOptions(&o);\n\n    if (pkgDataFlags != nullptr) {\n        for (n = 0; n < PKGDATA_FLAGS_SIZE; n++) {\n            if (pkgDataFlags[n] != nullptr) {\n                uprv_free(pkgDataFlags[n]);\n            }\n        }\n        uprv_free(pkgDataFlags);\n    }\n\n    if (o.cShortName != nullptr) {\n        uprv_free(const_cast<char*>(o.cShortName));\n    }\n    if (o.fileListFiles != nullptr) {","sourceCodeStart":474,"sourceCodeEnd":510,"githubUrl":"https://github.com/nodejs/node/blob/1b2de5e052fc0fb95fd7fb6846dcec4ade598e9e/deps/icu-small/source/tools/pkgdata/pkgdata.cpp#L474-L510","documentation":"loadLists() reads and parses the supplied file-list files into a UErrorCode; if it reports a failure pkgdata prints `u_errorName(status)` and returns exit code 2. The underlying cause is a filesystem or parse problem on one of the input lists, not the options themselves.","triggerScenarios":"A file-list path does not exist, is unreadable, or contains malformed entries; relative path resolved against the wrong cwd.","commonSituations":"Wrong relative path (cwd mismatch); the generated list file was not produced by the prior build step; permission denied.","solutions":["Verify every file-list path exists and is readable from pkgdata's working directory.","Look up the printed ICU error name for the specific failure (e.g. U_FILE_ACCESS_ERROR).","Ensure list files are generated before pkgdata runs."],"exampleFix":"# before\npkgdata ... ./nonexistent.lst\n# after\npkgdata ... ./out/tmp/icudata.lst","handlingStrategy":"validation","validationCode":"# bash: verify each list file is readable from pkgdata's cwd\nfor f in \"$@\"; do [ -r \"$f\" ] || { echo \"unreadable list: $f\" >&2; exit 2; }; done\npkgdata \"$@\"","typeGuard":null,"tryCatchPattern":"# capture the ICU error name pkgdata prints\nerr=\"$(pkgdata \"$@\" 2>&1 >/dev/null)\" || { echo \"loadLists failed: $err\" >&2; exit 2; }","preventionTips":["Resolve list paths absolutely or relative to a known cwd.","Run the list-generating build step before pkgdata and assert its output."],"tags":["icu","pkgdata","filesystem","arguments"],"backgroundTag":null,"analyzedSha":"1b2de5e052fc0fb95fd7fb6846dcec4ade598e9e","analyzedAt":"2026-08-13T00:53:24.642Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}