Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906019 - app-editors/neovim-0.9.0-r1 - hardcoded usage of ccache
Summary: app-editors/neovim-0.9.0-r1 - hardcoded usage of ccache
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-09 12:19 UTC by Bogdan
Modified: 2023-12-04 19:03 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info neovim (emerge.info,19.73 KB, text/plain)
2023-05-09 12:20 UTC, Bogdan
Details
build log (neovim-0.9.0-r1:20230509-122202.log,306.50 KB, text/plain)
2023-05-09 12:23 UTC, Bogdan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan 2023-05-09 12:19:03 UTC
I disable usage of ccache.
app-editors/neovim-0.9.0-r1 build process use ccache forcibly.

Reproducible: Always

Actual Results:  
Build failed.
ccache: error: Failed to create temporary file for /???/ccache/7/8/215ba950u5mjkt7qsh6ja0mkpovs18sR.tmp.XXXXXX.tmp: Permission denied

Expected Results:  
Build process MUST NOT USE ccache, if ccache is switched off.
Comment 1 Bogdan 2023-05-09 12:20:58 UTC
Created attachment 861388 [details]
emerge --info neovim
Comment 2 Bogdan 2023-05-09 12:23:46 UTC
Created attachment 861389 [details]
build log
Comment 3 listout 2023-09-01 02:12:15 UTC
@Bogdan, can you please share how you disabled usage of ccache/what changes did you make?
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-01 02:20:27 UTC
(In reply to listout from comment #3)
> @Bogdan, can you please share how you disabled usage of ccache/what changes
> did you make?

FEATURES="-ccache" I think, then they saw neovim try to use it because ccache is simply installed.
Comment 5 Bogdan 2023-09-05 17:34:06 UTC
ccache-config --remove-link
FEATURES="-ccache" CCACHE_USE="NO" USE="-ccache" emerge -1 app-editors/neovim
Comment 6 Bogdan 2023-09-05 17:39:21 UTC
I do  a trick: remove ccache binary from system.
Than neovim rebuilds success.

Example:
1) mv /usr/bin/ccache /usr/bin/ccache1
2) emerge -1 neovim
3) --- success

Next Example:
1) mv /usr/bin/ccache1 /usr/bin/ccache
2) FEATURES="-ccache" USE="-ccache" emerge -1 neovim
3) --- fail