View previous topic :: View next topic |
Author |
Message |
musv Advocate
Joined: 01 Dec 2002 Posts: 3366 Location: de
|
Posted: Thu Dec 14, 2017 6:16 am Post subject: Install phase: Failed to copy file: OSError |
|
|
Hi there,
kinfocenter-5.11.4 fails to install on my machine.
Code: | -- Installing: /var/tmp/portage/kde-plasma/kinfocenter-5.11.4/image/usr/share/kpackage/kcms/kcm_fileindexermonitor/contents
-- Installing: /var/tmp/portage/kde-plasma/kinfocenter-5.11.4/image/usr/share/kpackage/kcms/kcm_fileindexermonitor/contents/ui
-- Installing: /var/tmp/portage/kde-plasma/kinfocenter-5.11.4/image/usr/share/kpackage/kcms/kcm_fileindexermonitor/contents/ui/main.qml
-- Installing: /var/tmp/portage/kde-plasma/kinfocenter-5.11.4/image/usr/share/kpackage/kcms/kcm_fileindexermonitor/contents/ui/constants.js
-- Installing: /var/tmp/portage/kde-plasma/kinfocenter-5.11.4/image/usr/share/kpackage/kcms/kcm_fileindexermonitor/metadata.desktop
-- Installing: /var/tmp/portage/kde-plasma/kinfocenter-5.11.4/image/usr/share/kpackage/kcms/kcm_fileindexermonitor/metadata.json
-- Installing: /var/tmp/portage/kde-plasma/kinfocenter-5.11.4/image/usr/share/doc/HTML/en/kinfocenter/index.cache.bz2
-- Installing: /var/tmp/portage/kde-plasma/kinfocenter-5.11.4/image/usr/share/doc/HTML/en/kinfocenter/index.docbook
-- Installing: /var/tmp/portage/kde-plasma/kinfocenter-5.11.4/image/usr/share/doc/HTML/en/kinfocenter/kinfocenter.png
ERROR:root:Failed to copy file: _parsed_options=Namespace(group=-1, mode=420, owner=-1), source=b'/var/tmp/portage/kde-plasma/kinfocenter-5.11.4/distdir/glogo-small.png', dest_dir=b'/var/tmp/portage/kde-plasma/kinfocenter-5.11.4/image//usr/share/kinfocenter'
Traceback (most recent call last):
File "/usr/lib/portage/python3.6/doins.py", line 184, in run
copyfile(source, dest)
File "/usr/lib64/python3.6/site-packages/portage/util/file_copy/__init__.py", line 30, in _optimized_copyfile
_file_copy(src_file.fileno(), dst_file.fileno())
OSError: [Errno 95] Operation not supported
* ERROR: kde-plasma/kinfocenter-5.11.4::gentoo failed (install phase):
* doins failed |
I'm quite sure I've seen this error already somewhere else. Nevertheless I assume, it doesn't have anything to do with kinfocenter. It seems to be related to some python3.6 stuff.
The file to be copied is at the correct place and accessible. Also the copy procedure seems to be successful:
Code: | ls -al /var/tmp/portage/kde-plasma/kinfocenter-5.11.4/distdir/glogo-small.png
glogo-small.png -> /var/portage/distfiles/glogo-small.png
ls -al /var/tmp/portage/kde-plasma/kinfocenter-5.11.4/image/usr/share/kinfocenter/glogo-small.png
-rw-r--r-- 1 root root 0 14. Dez 07:07 /var/tmp/portage/kde-plasma/kinfocenter-5.11.4/image/usr/share/kinfocenter/glogo-small.png |
The destination directory is located in a tmpfs.
Is this a bug or some misconfiguration on my system? |
|
Back to top |
|
|
blopsalot Apprentice
Joined: 28 Jan 2017 Posts: 231
|
Posted: Mon Jan 15, 2018 2:44 am Post subject: |
|
|
enable Tmpfs POSIX Access Control Lists and Tmpfs extended attributes. make sure portage can use the extended attributes |
|
Back to top |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3366 Location: de
|
Posted: Mon Jan 15, 2018 9:06 pm Post subject: |
|
|
Thanks, I'll try it in the next days. |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
|
Back to top |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3366 Location: de
|
Posted: Sat Mar 17, 2018 10:19 pm Post subject: |
|
|
Tried today a system update. The error doesn't occur anymore. Seems to be fixed. |
|
Back to top |
|
|
|