トップ «前の日記(2012-12-24(月)) 最新 次の日記(2012-12-26(水))» 編集

新秀の介の日記

過去の日記

2012-12-25(火) 今週で終わり

_ 眠くなる暇がなかった

今日は、やることが多くて、眠くなる暇もなかった。おまけに、腹の具合も悪かったしね。調子に乗らずに、今晩早めに寝ることにしよう。

_ ばぐじら救援通信 vol. 320

発行した。この回から、moz-users MLへの投稿ではなく、直接もじら組のコンテンツの一部となる。MLのアーカイブの公開まで時間がかかりそうなので、過去のばぐじら救援通信を見たい方*1は、Google Groupsをどうぞ。

*1 そんな奇特な方がいるか、わからないが。

_ The Feature Overview For The Linux 3.8 Kernel

Phoronix恒例の、次期Linuxの機能紹介。どうやら、3.8は新機能・追加機能が満載のようだ。面白そうなものは、

  • Samsung's F2FS file-system was merged. This is the Flash-Friendly File-System that is showing quite promising results.
  • Windows 8 multi-touch protocol support.
  • AVX optimizations to take advantage of the Advanced Vector Extensions on modern Intel and AMD CPUs.
  • AMD Radeon performance improvements within the Direct Rendering Manager code.
  • In certain cases, the Linux kernel now uses a lot less memory.

ってなところかな。特に、F2FSとmulti-touchプロトコルあたりは、楽しそうだな。

Tags: Linux

_ linux-kbuild-3.7のビルド、失敗

例によって、linux-kbuild-3.7が無いので、ここの通りにやってみたのだが、

~/develop$ svn co svn://svn.debian.org/kernel/dists/trunk/linux-tools
A    linux-tools/debian
A    linux-tools/debian/build
A    linux-tools/debian/build/tools
A    linux-tools/debian/build/tools/perf
A    linux-tools/debian/build/tools/perf/Makefile
A    linux-tools/debian/build/tools/Makefile
A    linux-tools/debian/build/Makefile.inc
A    linux-tools/debian/build/scripts
A    linux-tools/debian/build/scripts/mod
A    linux-tools/debian/build/scripts/mod/Makefile.real
A    linux-tools/debian/build/scripts/mod/gendef.py
A    linux-tools/debian/build/scripts/mod/elfconfig.h
A    linux-tools/debian/build/scripts/mod/real-lsb-32
A    linux-tools/debian/build/scripts/mod/real-lsb-32/elfconfig.h
A    linux-tools/debian/build/scripts/mod/real-msb-32
A    linux-tools/debian/build/scripts/mod/real-msb-32/elfconfig.h
A    linux-tools/debian/build/scripts/mod/modpost.c
A    linux-tools/debian/build/scripts/mod/real-lsb-64
A    linux-tools/debian/build/scripts/mod/real-lsb-64/elfconfig.h
A    linux-tools/debian/build/scripts/mod/real-msb-64
A    linux-tools/debian/build/scripts/mod/real-msb-64/elfconfig.h
A    linux-tools/debian/build/scripts/mod/Makefile
A    linux-tools/debian/build/scripts/genksyms
A    linux-tools/debian/build/scripts/genksyms/Makefile
A    linux-tools/debian/build/scripts/kconfig
A    linux-tools/debian/build/scripts/kconfig/Makefile
A    linux-tools/debian/build/scripts/basic
A    linux-tools/debian/build/scripts/basic/Makefile
A    linux-tools/debian/build/scripts/Makefile
A    linux-tools/debian/build/Makefile
A    linux-tools/debian/source
A    linux-tools/debian/source/local-options
A    linux-tools/debian/source/format
A    linux-tools/debian/source/options
A    linux-tools/debian/compat
A    linux-tools/debian/lib
A    linux-tools/debian/lib/python
A    linux-tools/debian/lib/python/debian_linux
A    linux-tools/debian/lib/python/debian_linux/gencontrol.py
A    linux-tools/debian/lib/python/debian_linux/__init__.py
A    linux-tools/debian/lib/python/debian_linux/utils.py
A    linux-tools/debian/lib/python/debian_linux/debian.py
A    linux-tools/debian/lib/python/debian_linux/config.py
A    linux-tools/debian/changelog
A    linux-tools/debian/patches
A    linux-tools/debian/patches/modpost-symbol-prefix.patch
A    linux-tools/debian/patches/perf-tools-Fix-x86-builds-with-ARCH-specified-on-the.patch
A    linux-tools/debian/patches/perf-Fix-include-order-for-bison-flex-generated-C-fi.patch
A    linux-tools/debian/patches/series
A    linux-tools/debian/patches/tools-perf-version.patch
A    linux-tools/debian/patches/tools-perf-install.patch
A    linux-tools/debian/bin
A    linux-tools/debian/bin/gencontrol.py
A    linux-tools/debian/bin/genorig.py
A    linux-tools/debian/copyright
A    linux-tools/debian/rules
A    linux-tools/debian/rules.defs
A    linux-tools/debian/rules.real
A    linux-tools/debian/templates
A    linux-tools/debian/templates/control.source.in
A    linux-tools/debian/templates/control.main.in
 U   linux-tools
リビジョン 19649 をチェックアウトしました。
~/develop$ VERSION="3.6"
~/develop$ wget http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-${VERSION}.tar.bz2
--2012-12-26 00:01:13--  http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-3.6.tar.bz2
ftp.kernel.org (ftp.kernel.org) をDNSに問いあわせています... 149.20.4.69
ftp.kernel.org (ftp.kernel.org)|149.20.4.69|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 82296001 (78M) [application/x-bzip2]
`linux-3.6.tar.bz2' に保存中

100%[======================================>] 82,296,001  8.11MB/s 時間 12s    

2012-12-26 00:01:26 (6.49 MB/s) - `linux-3.6.tar.bz2' へ保存完了 [82296001/82296001]

~/develop$ cd linux-tools/
~/develop/linux-tools$ ./debian/bin/genorig.py ../linux-
linux-3.6.tar.bz2
linux-kbuild-3.6_3.6-1~experimental.3_amd64.deb
linux-tools/
~/develop/linux-tools$ ./debian/bin/genorig.py ../linux-3.6.tar.bz2 
Using source name linux-tools, version 3.6.8, dfsg 0
Extracting tarball ../linux-3.6.tar.bz2
Generate orig
Generate tarball ../orig/linux-tools_3.6.8.orig.tar.xz
~/develop/linux-tools$ cd ..
~/develop$ tar xf orig/linux-tools_3.6.8.orig.tar.xz 
~/develop$ cd linux-tools-3.6.8/
~/develop/linux-tools-3.6.8$ ls
COPYING  Kbuild  Makefile  arch  include  lib  scripts  tools
~/develop/linux-tools-3.6.8$ cp -a ../linux-tools/* ./
~/develop/linux-tools-3.6.8$ ./debian/bin/gencontrol.py 
~/develop/linux-tools-3.6.8$ dch -i
dch warning: your current directory has been renamed to:
../linux-tools-3.6.7
dch warning: no orig tarball found for the new version.
~/develop/linux-tools-3.6.8$ make -f debian/rules clean
make -f debian/rules debian/control-real
make[1]: ディレクトリ `/home/hideo/develop/linux-tools-3.6.7' に入ります
chmod +x debian/bin/gencontrol.py
debian/bin/gencontrol.py
md5sum debian/bin/gencontrol.py debian/changelog debian/templates/control.main.in debian/templates/control.source.in > debian/control.md5sum

This target is made to fail intentionally, to make sure
that it is NEVER run during the automated build. Please
ignore the following error, the debian/control file has
been generated SUCCESSFULLY.

exit 1
make[1]: *** [debian/control-real] エラー 1
make[1]: ディレクトリ `/home/hideo/develop/linux-tools-3.6.7' から出ます
make: *** [debian/control] エラー 2
~/develop/linux-tools-3.6.8$ dpkg-checkbuilddeps 
~/develop/linux-tools-3.6.8$ cp -av ../orig/linux-tools_3.6.8.orig.tar.xz ..
cp: `../orig/linux-tools_3.6.8.orig.tar.xz' と `../linux-tools_3.6.8.orig.tar.xz' は同じファイルです
~/develop/linux-tools-3.6.8$ dpkg-buildpackage -us -uc
dpkg-buildpackage: source package linux-tools
dpkg-buildpackage: source version 3.6.7-1~experimental.2
dpkg-buildpackage: source changed by Hideo Oshima <hidenosuke@hidenosuke.org>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build linux-tools-3.6.7
dpkg-source: info: using options from linux-tools-3.6.7/debian/source/local-options: --abort-on-upstream-changes
dpkg-source: info: using options from linux-tools-3.6.7/debian/source/options: --compression=xz
dpkg-source: info: applying modpost-symbol-prefix.patch
dpkg-source: info: applying tools-perf-version.patch
dpkg-source: info: applying tools-perf-install.patch
dpkg-source: info: applying perf-Fix-include-order-for-bison-flex-generated-C-fi.patch
dpkg-source: info: applying perf-tools-Fix-x86-builds-with-ARCH-specified-on-the.patch
patching file tools/perf/Makefile
Hunk #1 FAILED at 56.
1 out of 1 hunk FAILED
dpkg-source: info: fuzz is not allowed when applying patches
dpkg-source: info: if patch 'perf-tools-Fix-x86-builds-with-ARCH-specified-on-the.patch' is correctly applied by quilt, use 'quilt refresh' to update it
dpkg-source: info: restoring quilt backup files for perf-tools-Fix-x86-builds-with-ARCH-specified-on-the.patch
dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -g0 -E -b -B .pc/perf-tools-Fix-x86-builds-with-ARCH-specified-on-the.patch/ --reject-file=- < linux-tools-3.6.7/debian/patches/perf-tools-Fix-x86-builds-with-ARCH-specified-on-the.patch gave error exit status 1
dpkg-buildpackage: error: dpkg-source --before-build linux-tools-3.6.7 gave error exit status 2

で、あえなく失敗。svnから引っ張ってきたlinux-kbuildのバージョンが3.6.8ってのもおかしいし、そもそもパッチが当たらないみたい。こりゃ、パッケージが登場するまで、待つしか無いか。

Tags: Debian

Copyright (C) 2005-2012 by Hidenosuke. All rights reserved.
mailto: hidenosuke_at_hidenosuke_dot_org or hideo.oshima_at_gmail_dot_com