Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 818766 - sci-libs/tensorflow-2.5.0-r2: build failed if ccache is enabled in portage
Summary: sci-libs/tensorflow-2.5.0-r2: build failed if ccache is enabled in portage
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-18 03:42 UTC by Haonan Chen
Modified: 2021-10-19 20:45 UTC (History)
2 users (show)

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


Attachments
build log and emerge info (file_818766.txt,32.21 KB, text/plain)
2021-10-18 03:43 UTC, Haonan Chen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Haonan Chen 2021-10-18 03:42:33 UTC
If `ccache` is enabled in `/etc/portage/make.conf`, building sci-libs/tensorflow-2.5.0-r2 will call `mkdir /var/lib/portage/home/.cache`, and it will failed.

Even set `CCACHE_DIR="/var/cache/ccache"` in `/etc/portage/make.conf` or `export CCACHE_DIR="/var/cache/ccache"` before build does not help.

The error will also arise for sci-libs/tensorflow-2.5.0-r1.


Reproducible: Always

Steps to Reproduce:
1. set `FEATURES="ccache splitdebug"` and `CCACHE_DIR="/var/cache/ccache"` in `/etc/portage/make.conf`
2. `emerge -a sci-libs/tensorflow-2.5.0-r1`
Actual Results:  
Build failed due to failed to create `/var/lib/portage/home/.cache`

Expected Results:  
Build success

see attachment
Comment 1 Haonan Chen 2021-10-18 03:43:17 UTC
Created attachment 745632 [details]
build log and emerge info