よく見ると
fakeroot, while creating message channels: Function not implemented This may be due to a lack of SYSV IPC support. fakeroot: error while starting the `faked' daemon.
fakerootは中身を見るとスクリプト。。ということはこの中のどこかでエラーになっているということ??
順番に実行すると
KEY_PID=eval $FAKED
fakeroot, while creating message channels: Function not implemented
This may be due to a lack of SYSV IPC support.
同じエラー!! ということで”SVSV IPC”検索すると何やらsystem V IPC というプロセス間メッセージ通信のよう。これをインストールすればいいんだ!ということで
Python から SystemV IPC 共有メモリを使う
pip install sysv_ipc The program 'pip' is currently not installed. You can install it by typing: sudo apt install python-pip
先にpython-pipを入れろと?
sudo apt install python-pip … pip install sysv_ipc Collecting sysv_ipc Downloading https://files.pythonhosted.org/packages/57/8a/9bbb064566320cd66c6e32c35db76d43932d7b94348f0c4c1e74d03ec261/sysv_ipc-1.0.1.tar.gz (102kB) 100% |████████████████████████████████| 102kB 252kB/s Building wheels for collected packages: sysv-ipc Running setup.py bdist_wheel for sysv-ipc … done Stored in directory: /home/siel/.cache/pip/wheels/4a/1b/86/54fa68ec33c5ce26375645695f94c63ebab0ae2850a26f3005 Successfully built sysv-ipc Installing collected packages: sysv-ipc Successfully installed sysv-ipc You are using pip version 8.1.1, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
upgradeしろって。。
pip install --upgrade pip Collecting pip Downloading https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl (1.4MB) 100% |████████████████████████████████| 1.4MB 734kB/s Installing collected packages: pip Successfully installed pip-20.0.2
apt update したらupgradeしろって、、これアップしていいの??
apt list --upgradable Listing… Done bsdutils/xenial-updates 1:2.27.1-6ubuntu3.10 amd64 [upgradable from: 1:2.27.1-6ubuntu3.9] libblkid1/xenial-updates 2.27.1-6ubuntu3.10 amd64 [upgradable from: 2.27.1-6ubuntu3.9] libfdisk1/xenial-updates 2.27.1-6ubuntu3.10 amd64 [upgradable from: 2.27.1-6ubuntu3.9] libmount1/xenial-updates 2.27.1-6ubuntu3.10 amd64 [upgradable from: 2.27.1-6ubuntu3.9] libsmartcols1/xenial-updates 2.27.1-6ubuntu3.10 amd64 [upgradable from: 2.27.1-6ubuntu3.9] libuuid1/xenial-updates 2.27.1-6ubuntu3.10 amd64 [upgradable from: 2.27.1-6ubuntu3.9] mount/xenial-updates 2.27.1-6ubuntu3.10 amd64 [upgradable from: 2.27.1-6ubuntu3.9] sudo/xenial-updates,xenial-security 1.8.16-0ubuntu1.9 amd64 [upgradable from: 1.8.16-0ubuntu1.8] util-linux/xenial-updates 2.27.1-6ubuntu3.10 amd64 [upgradable from: 2.27.1-6ubuntu3.9] uuid-runtime/xenial-updates 2.27.1-6ubuntu3.10 amd64 [upgradable from: 2.27.1-6ubuntu3.9]
なんかよくわからんが、とりあえずやっておこう!
いろいろレポジトリあるようだけど今は上のだけが有効のようです。
そんで、”pip install sysv_ipc” はなんとなくできたっぽいけどまだ動かん!!
fakerootが鍵のよう!!
Sysvipc message queues and fakeroot #2465
fakeroot-tcpをセットアップしたらメッセージが変わった
root@DESKTOP-5IA5530:~# FAKEROOT_BINDIR=/mnt/d/linux/src/buildroot/output/firefly_rk3308_release/host/bin
root@DESKTOP-5IA5530:~# FAKED=${FAKEROOT_BINDIR}/faked
root@DESKTOP-5IA5530:~# KEY_PID=eval $FAKED
Please, don't run fakeroot from within fakeroot!