Created attachment 729123 [details] build.log 16:48:18 runner ['x86_64-pc-linux-gnu-gcc', '-O2', '-pipe', '-march=native', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-fPIC', '-D__ST DC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_ldbrename_MODULES=NULL', '-DSTATIC_ldbrename_MODULES_PROTO=extern void __ldbrename_dummy_module_proto(void)', '-I.', '-I../..', '-I.', '-I../..', '-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '../../tools/ldbren ame.c', '-c', '-o/var/tmp/portage/sys-libs/ldb-2.2.1-r1/work/ldb-2.2.1-abi_x86_64.amd64/bin/default/tools/ldbrename.c.67.o'] ccache: error: Failed to create temporary file for /var/tmp/ccache/4/0/3/1/7e8j8orkb5ij6a7qtnq9rfis6q8gcM.tmp.zvxNKE: Permission denied ccache: error: Failed to create temporary file for /var/tmp/ccache/4/e/e/b/tr8t9jnt4khcmcjchf7r6h8kn1c8mM.tmp.JK3rI5: Permission denied Waf: Leaving directory `/var/tmp/portage/sys-libs/ldb-2.2.1-r1/work/ldb-2.2.1-abi_x86_64.amd64/bin/default' Build failed -> task in 'ldbsearch.objlist' failed with exit status 1: {task 139740614048672: c ldbsearch.c -> ldbsearch.c.51.o} ['x86_64-pc-linux-gnu-gcc', '-O2', '-pipe', '-march=native', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_ldbsearch_MODULES=NULL', '-DSTATIC_ldbsearch_MODULES_PROTO=extern void __ldbsearch_dummy_module_proto(void)', '-I.', '-I../..', '-I.', '-I../..', '-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '../../tools/ldbsearch.c', '-c', '-o/var/tmp/portage/sys-libs/ldb-2.2.1-r1/work/ldb-2.2.1-abi_x86_64.amd64/bin/default/tools/ldbsearch.c.51.o'] -> task in 'ldbrename.objlist' failed with exit status 1: {task 139740614049568: c ldbrename.c -> ldbrename.c.67.o} ['x86_64-pc-linux-gnu-gcc', '-O2', '-pipe', '-march=native', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_ldbrename_MODULES=NULL', '-DSTATIC_ldbrename_MODULES_PROTO=extern void __ldbrename_dummy_module_proto(void)', '-I.', '-I../..', '-I.', '-I../..', '-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '../../tools/ldbrename.c', '-c', '-o/var/tmp/portage/sys-libs/ldb-2.2.1-r1/work/ldb-2.2.1-abi_x86_64.amd64/bin/default/tools/ldbrename.c.67.o']
Created attachment 729126 [details] emerge.info
Created attachment 729129 [details] emerge.pqv
Have you tried resetting the permissions on CCACHE_DIR? chown -R portage:portage /var/tmp/ccache chmod -R u+w,g+w /var/tmp/ccache
(In reply to Mike Gilbert from comment #3) > Have you tried resetting the permissions on CCACHE_DIR? > > chown -R portage:portage /var/tmp/ccache > chmod -R u+w,g+w /var/tmp/ccache I had this emerge fail for "unable to create embedded ..." during the configure phase. I don't have the exact message because I no longer have the build.log file. I've been performing 'emerge @world' on all my systems. Each of the other three systems successfully built this package during their @world updates. I did the following and tried the emerge on the problem system again and it worked. # touch /var/tmp/ccache # chown -R portage:portage /var/tmp/ccache # chmod -R u+w,g+w /var/tmp/ccache The problem system is my oldest system installed more than five years ago. To me, this implies it's possible other older systems may have historical causes for this package to fail. I should note /var/tmp/ccache did not exist on any of my systems prior to creating it on the problem system. Yet the other three systems had no problem emerging this package during their normal respective 'emerge @world' updates. Also, 'emerge --info | grep CCACHE' returns nothing on all my systems. I'm assuming CCACHE_DIR is an expected environmental variable. Of course, I'm not a developer so these are all guesses on my part.