View previous topic :: View next topic |
Author |
Message |
ExecutorElassus Veteran


Joined: 11 Mar 2004 Posts: 1491 Location: Berlin, Germany
|
Posted: Sat Jun 07, 2025 12:07 pm Post subject: qtwebengine build fails on too-long filename with symlink |
|
|
So, somewhat messy situation:
/var/tmp/portage is on its own partition, which is 9.5GB and can't be expanded. dev-qt/qtwebengine thus fails the minimum-storage check and refuses to build. To solve this, I've created the symlink /var/tmp/portnotmp, which points to a subdirectory on another partition.
However, late in the qtwebengine build process it reaches a point where ninja fails because the file it's building includes the entire file path in its name, and this creates a filename that's greater than the 255-character limit of the filesystem.
How can I work around this problem?
Cheers,
E |
|
Back to top |
|
 |
Ionen Developer


Joined: 06 Dec 2018 Posts: 2933
|
|
Back to top |
|
 |
ExecutorElassus Veteran


Joined: 11 Mar 2004 Posts: 1491 Location: Berlin, Germany
|
Posted: Sat Jun 07, 2025 12:37 pm Post subject: |
|
|
It's a deep enough subdirectory that the build fails (and symlinking doesn't seem to make any difference, as the build just uses the full path of the link target regardless). I have qtwebengine specifically set to use that directory in package.env, as instructed. I do not have any higher-level subdirectories/mount points with >10GB space on them, except for /usr (but that seems really risky to use, since I can't easily delete much of what resides there if I end up running out of space).
This is apparently a long-standing issue with Qt, noted here.
I'll look into using the bind option to see if that helps.
UPDATE: yup, bind-mounting that directory worked. So I guess I'll just have to mount that subdirectory whenever qtwebengine needs to build. Thanks for the help!
Cheers,
EE |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|