Summary: | dev-qt/qtwebengine-5.15.10_p20230623 and dev-qt/qtwebengine-6.5.2 - ninja: error: Filename too long | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | gyakovlev |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugreports.qt.io/browse/QTBUG-59769 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
qtwebengine-5.15.10_p20230623-filename-too-long.patch qtwebengine-6.5.2-filename-too-long.patch qtwebengine-6.5.2-filename-too-long__build.log.bz2 qtwebengine-5.15.10_p20230623-filename-too-long__build.log.bz2 |
Description
Martin Mokrejš
2023-08-04 16:53:05 UTC
Created attachment 867035 [details]
build.log
Created attachment 867409 [details, diff]
qtwebengine-5.15.10_p20230623-filename-too-long.patch
Created attachment 867410 [details, diff]
qtwebengine-6.5.2-filename-too-long.patch
Created attachment 867411 [details]
qtwebengine-6.5.2-filename-too-long__build.log.bz2
I spoke too early. It applies but fails in another place.
Created attachment 867412 [details]
qtwebengine-5.15.10_p20230623-filename-too-long__build.log.bz2
Also fails.
>>> len('__services_data_decoder_public_mojom_mojom_resource_snapshot_for_web_bundle__parser__auto_vestec1-elixir_projects_biocev_gentoo_var_tmp_portage_dev-qt_qtwebengine-6.5.2_work_qtwebengine-everywhere-src-6.5.2_build_src_core_target_toolchain_target__rule..rsp') 256 >>> Is that because there are two dots before the file extension? BTW I am on NFSv4 filesystem: nfs4 rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard A workaround for me is to use a different filesystem mkdir /dev/shm/mmokrejs; PORTAGE_TMPDIR=/dev/shm/mmokrejs emerge ${crap} The above patch indeed works if one reserves a position for the erroneous extra dot character. So I decreased the number from 251 to 250 and now the patch work on NFS too. BTW, it introduces a warning but luckily works: [123/195] CXX src/gn/ninja_action_target_writer.o ../../../../qtwebengine-everywhere-src-6.5.2/src/3rdparty/gn/src/gn/ninja_action_target_writer.cc: In member function ‘std::string NinjaActionTargetWriter::WriteRuleDefinition()’: ../../../../qtwebengine-everywhere-src-6.5.2/src/3rdparty/gn/src/gn/ninja_action_target_writer.cc:130:78: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string<char>::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 130 | while (rspfile.length() > 250 && (pos = rspfile.find_last_of(delimiter)) != std::string::npos) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ The extra dot issue is fixed by https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/495236 patch. |