cannot create a temporary file during linking

301 views
Skip to first unread message

Pavel Seleznev

unread,
Jun 2, 2019, 4:56:41 PM6/2/19
to Chromium-dev
Hello,

Sometimes when I get error "cannot create a temporary file: no such file or directory" and I delete files like chrome.exe/chrome.dll/chrome.dll.rsp/chrome.7z and start compilation again.

But today I have tried several times without luck and decided to ask advice.

In parallel folder the same sources have build successfully.
Temp folder is empty.

What can be the reason of error?

Regards,
Pavel

ninja -C out/Default chrome

ninja: Entering directory `out/Default'
[1/9] LINK(DLL) chrome_child.dll chrome_child.dll.lib
FAILED: chrome_child.dll chrome_child.dll.lib
ninja -t msvc -e environment.x86 -- ../../third_party/llvm-build/Release+Asserts/bin/lld-link.exe /nologo /IMPLIB:./chrome_child.dll.
lib /DLL /OUT:./chrome_child.dll /PDB:./chrome_child.dll.pdb @./chrome_child.dll.rsp
lld-link: error: cannot create a temporary file: no such file or directory
[3/9] CXX obj/chrome/browser/ui/ui/wallet_dom_handler.obj
ninja: build stopped: subcommand failed.

Pavel Seleznev

unread,
Jun 2, 2019, 5:26:14 PM6/2/19
to Chromium-dev
found the reason, some application has changed Temp from AppData\Local\Temp to AppData\Local\Temp\2

Pavel Seleznev

unread,
Jun 2, 2019, 6:05:30 PM6/2/19
to Chromium-dev
so, the full description

* I am using RDP to connect the build machine (Windows 2019 Server)
* I have disabled separate temporary folders according to
* rerun gn gen

and linked succesfull
Reply all
Reply to author
Forward
0 new messages