On Wed, May 29, 2019, at 13:30, k...@aspodata.se wrote: > Part of portage_tmpdir/portage/sys-apps/dtc-1.5.0/temp/build.log: > ... > x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. > -Wl,-O1 -Wl,--as-needed -O2 -pipe -fPIC -Wall -Wpointer-arith > -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wredundant-decls -Wshadow -I/usr/include/valgrind -fPIC -Wall > -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wredundant-decls -Wshadow -I/usr/include/valgrind > build/temp.linux-x86_64-2.7/libfdt_wrap.o -L../libfdt -L/usr/lib64 > -lfdt -lpython2.7 -o build/lib.linux-x86_64-2.7/_libfdt.so > running install_lib > copying build/lib.linux-x86_64-2.7/libfdt.py -> > /usr/lib64/python2.7/site-packages > * ACCESS DENIED: fopen_wr: > /usr/lib64/python2.7/site-packages/libfdt.py > error: [Errno 13] Permission denied: > '/usr/lib64/python2.7/site-packages/libfdt.py' > make[1]: *** [pylibfdt/Makefile.pylibfdt:24: install_pylibfdt] Error 1 > make[1]: Leaving directory > '/Net/portage_tmpdir/portage/sys-apps/dtc-1.5.0/work/dtc-1.5.0' > make: *** [Makefile:231: maybe_install_pylibfdt] Error 2 > * ERROR: sys-apps/dtc-1.5.0::gentoo failed (install phase): > * emake failed > * > ... > > Why does the install fail, I have no problem creating that file by hand > (as in touch <file>), why does a simple thing like copy fail ?
I don't know how to solve this problem, but it has already been reported: https://bugs.gentoo.org/686852 -- https://fturco.gitlab.io/