Gentoo Archives: gentoo-user

From: karl@××××××××.se
To: gentoo-user@l.g.o
Subject: [gentoo-user] sys-apps/dtc-1.5.0 install failure
Date: Wed, 29 May 2019 11:30:49
Message-Id: 20190529113040.1579A823E078@turkos.aspodata.se
1 Part of portage_tmpdir/portage/sys-apps/dtc-1.5.0/temp/build.log:
2 ...
3 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
4 running install_lib
5 copying build/lib.linux-x86_64-2.7/libfdt.py -> /usr/lib64/python2.7/site-packages
6 * ACCESS DENIED: fopen_wr: /usr/lib64/python2.7/site-packages/libfdt.py
7 error: [Errno 13] Permission denied: '/usr/lib64/python2.7/site-packages/libfdt.py'
8 make[1]: *** [pylibfdt/Makefile.pylibfdt:24: install_pylibfdt] Error 1
9 make[1]: Leaving directory '/Net/portage_tmpdir/portage/sys-apps/dtc-1.5.0/work/dtc-1.5.0'
10 make: *** [Makefile:231: maybe_install_pylibfdt] Error 2
11 * ERROR: sys-apps/dtc-1.5.0::gentoo failed (install phase):
12 * emake failed
13 *
14 ...
15
16 Why does the install fail, I have no problem creating that file by hand
17 (as in touch <file>), why does a simple thing like copy fail ?
18
19 Have it something with sandboxing to do ?
20
21 How do I go arond this ?
22
23 Regards,
24 /Karl Hammar

Replies

Subject Author
Re: [gentoo-user] sys-apps/dtc-1.5.0 install failure Francesco Turco <fturco@××××××××.fm>