Dear Loris,
We've seen this problem before, but it seems like it was caused by a
long path for the build directory (not the install directory), so it's
easy to work around, see the discussion at
https://github.com/easybuilders/easybuild-easyconfigs/pull/11386#issuecomment-700511479
regards,
Kenneth
On 26/01/2024 08:48, Loris Bennett wrote:
Hi,
There is a known problem with Qt5 which can occur when file names
created during the build process become too long:
https://bugreports.qt.io/browse/QTBUG-59769?focusedCommentId=672710>>
This seems to be biting me when I try to build
Qt5-5.15.5-GCCcore-11.3.0.EasyBuild
as I get the following error:
ninja: error:
WriteFile(__third_party_blink_renderer_modules_mediacapturefromelement_mediacapturefromelement__jumbo_merge__trinity_shared_easybuild_arch_x86_64_intel_skylake_avx512_build_Qt5_5.15.5_GCCcore-11.3.0_qt-everywhere-src-5.15.5_qtwebengine_src_toolchain_target__rule.rsp):
Unable to create file. File name too long
I am in the process of setting up architecture-dependent builds, which
will replace the path
/trinity/shared/easybuild/arch/x86/64/intel/skylake_avx512
with
/sw/sc/easybuild
which should be sufficient since the longer path above is 256 characters
long, which I suspect is tripping a problem which occurs when the file
name is 255 characters long.
Has any one else had this issue? Is there another solution other than
simply shortening the path, as I will probably do via
architecture-dependent soft links?
Cheers,
Loris