0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Franka Ubuntu RealTime

Last updated at Posted at 2021-07-15

リアルタイムカーネルビルドでエラー

本家の手順
https://frankaemika.github.io/docs/installation_linux.html#setting-up-the-real-time-kernel
5.4.3 失敗状態は以下

$ curl -SLO https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.4.3.tar.xz
$ curl -SLO https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.4.3.tar.sign
$ curl -SLO https://www.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patch-5.4.3-$ rt1.patch.xz
$ curl -SLO https://www.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patch-5.4.3-rt1.patch.sign
$ xz -d linux-5.4.3.tar.xz
$ xz -d patch-5.4.3-rt1.patch.xz
$ gpg2 --verify linux-5.4.3.tar.sign 
gpg: 署名されたデータが'linux-5.4.3.tar'にあると想定します
gpg: 2019年12月13日 16時48分09秒 JSTに施された署名
gpg:                RSA鍵647F28654894E3BD457199BE38DBBDC86092693Eを使用
gpg: "Greg Kroah-Hartman "からの正しい署名 [不明の]
gpg:                 別名"Greg Kroah-Hartman " [不明の]
gpg:                 別名"Greg Kroah-Hartman (Linux kernel stable release signing key) " [不明の]
gpg: *警告*: この鍵は信用できる署名で証明されていません!
gpg:          この署名が所有者のものかどうかの検証手段がありません。
主鍵フィンガープリント: 647F 2865 4894 E3BD 4571  99BE 38DB BDC8 6092 693E
$ gpg2 --verify patch-5.4.3-rt1.patch.sign 
gpg: 署名されたデータが'patch-5.4.3-rt1.patch'にあると想定します
gpg: 2019年12月18日 06時06分01秒 JSTに施された署名
gpg:                RSA鍵57892E705233051337F6FDD105641F175712FA5Bを使用
gpg: "Sebastian Andrzej Siewior"からの正しい署名 [不明の]
gpg:                 別名"Sebastian Andrzej Siewior " [不明の]
gpg:                 別名"Sebastian Andrzej Siewior " [不明の]
gpg: *警告*: この鍵は信用できる署名で証明されていません!
gpg:          この署名が所有者のものかどうかの検証手段がありません。
主鍵フィンガープリント: 6425 4695 FFF0 AA44 66CC  19E6 7B96 E816 2A8C F5D1
     副鍵フィンガープリント: 5789 2E70 5233 0513 37F6  FDD1 0564 1F17 5712 FA5B
$ tar xf linux-5.4.3.tar 
$ cd linux-5.4.3
$ patch -p1 < ../patch-5.4.3-rt1.patch
$ make oldconfig
Preemption Model
  1. No Forced Preemption (Server) (PREEMPT_NONE)
\> 2. Voluntary Kernel Preemption (Desktop) (PREEMPT_VOLUNTARY)
  3. Preemptible Kernel (Low-Latency Desktop) (PREEMPT)
  4. Fully Preemptible Kernel (Real-Time) (PREEMPT_RT) (NEW)
choice[1-4?]: 4
...
$ nproc
8
$ fakeroot make -j8 deb-pkg
make clean
sh ./scripts/package/mkdebian
  TAR     linux-5.4.3-rt1.tar.gz
origversion=$(dpkg-parsechangelog -SVersion |sed 's/-[^-]*$//');\
	mv linux-5.4.3-rt1.tar.gz ../linux-5.4.3-rt1_${origversion}.orig.tar.gz
dpkg-buildpackage -r"fakeroot -u" -a$(cat debian/arch)  -i.git -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: info: source package linux-5.4.3-rt1
dpkg-buildpackage: info: source version 5.4.3-rt1-1
dpkg-buildpackage: info: source distribution bionic
dpkg-buildpackage: info: source changed by root 
dpkg-buildpackage: info: host architecture amd64
 dpkg-source -i.git --before-build linux-5.4.3
 fakeroot -u debian/rules clean
fakeroot: FAKEROOTKEY set to 1269829135
fakeroot: nested operation not yet supported
dpkg-buildpackage: error: fakeroot -u debian/rules clean subprocess returned exit status 1
scripts/Makefile.package:73: recipe for target 'deb-pkg' failed
make[1]: *** [deb-pkg] Error 1
Makefile:1430: recipe for target 'deb-pkg' failed
make: *** [deb-pkg] Error 2
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?