Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 867410 Details for
Bug 911715
dev-qt/qtwebengine-5.15.10_p20230623 and dev-qt/qtwebengine-6.5.2 - ninja: error: Filename too long
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
qtwebengine-6.5.2-filename-too-long.patch
qtwebengine-6.5.2-filename-too-long.patch (text/plain), 888 bytes, created by
Martin Mokrejš
on 2023-08-08 14:12:02 UTC
(
hide
)
Description:
qtwebengine-6.5.2-filename-too-long.patch
Filename:
MIME Type:
Creator:
Martin Mokrejš
Created:
2023-08-08 14:12:02 UTC
Size:
888 bytes
patch
obsolete
>--- qtwebengine-everywhere-src-6.5.2/src/3rdparty/gn/src/gn/ninja_action_target_writer.cc 2023-07-07 17:40:32.000000000 +0000 >+++ qtwebengine-everywhere-src-6.5.2/src/3rdparty/gn/src/gn/ninja_action_target_writer.cc 2023-08-08 13:07:42.745576000 +0000 >@@ -122,6 +122,14 @@ > // strictly necessary for regular one-shot actions, but it's easier to > // just always define unique_name. > std::string rspfile = custom_rule_name; >+ >+ //quick workaround if filename length > 255 - ".rsp", just cut the dirs starting from the end >+ //please note ".$unique_name" is not used at the moment >+ int pos = 0; >+ std::string delimiter("_"); >+ while (rspfile.length() > 251 && (pos = rspfile.find_last_of(delimiter)) != std::string::npos) >+ rspfile = rspfile.substr(0,pos); >+ > if (!target_->sources().empty()) > rspfile += ".$unique_name"; > rspfile += ".rsp";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 911715
:
867035
|
867409
| 867410 |
867411
|
867412