Bug 169179 - LibreOffice build fails with weird ccache attempt to execute a CLion subdirectory
Summary: LibreOffice build fails with weird ccache attempt to execute a CLion subdirec...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks: Dev-Bugs
  Show dependency treegraph
 
Reported: 2025-10-31 19:27 UTC by Eyal Rozenberg
Modified: 2025-11-25 15:50 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2025-10-31 19:27:43 UTC
I'm building LibreOffice on a Devuan Excalibur machine. On that machine, I also have an installation of CLion at /opt/clion ; and ccache is also installed. After

*  installing the prerequisite packages suggested for Debian
* cloning the main repo, and subrepositories;
* configuring the build with: autogen.sh --enable-dbgutil --without-doxygen --disable-librelogo --enable-optimized=debug
* running make

... I get the following error at some point:

ccache: error: execute_noreturn of /opt/clion/bin/clang failed: Permission denied
make[1]: *** [/home/eyalroz/src/libreoffice/solenv/gbuild/LinkTarget.mk:366: /home/eyalroz/src/libreoffice/workdir/GenCObject/UnpackedTarball/pdfium/core/fxcodec/jpeg/jpeg_common.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:301: build] Error 2

it seems like the LO build was trying to use ccache, which in turn was trying to execute /opt/clion/bin/clang as though it was a binary file? I'm not quite sure what I'm seeing.

I checked the directory mentioned:

$ ls -lad /opt/clion/bin/clang
drwxr-xr-x 4 root root 4096 Jan 21  1970 /opt/clion/bin/clang

nothing suspicious there - expect perhaps the misleading name?

I'll provide additional information as requested of course.