Skip to content

Instantly share code, notes, and snippets.

@plaster
Last active August 20, 2016 07:32
Show Gist options
  • Save plaster/b7b9a9e4ea4e6e8bb7a6f4755fc8065d to your computer and use it in GitHub Desktop.
Save plaster/b7b9a9e4ea4e6e8bb7a6f4755fc8065d to your computer and use it in GitHub Desktop.
[ plaster@cymbal:~ ]
% sudo apt-get build-dep dash
[sudo] plaster のパスワード:
パッケージリストを読み込んでいます... 完了
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
アップグレード: 0 個、新規インストール: 0 個、削除: 0 個、保留: 0 個。
[ plaster@cymbal:~ ]
% fakeroot
[ root@cymbal:~ ]
% mkdir /tmp/debian-tutorial
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[ root@cymbal:~ ]
% cd /tmp/debian-tutorial
[ root@cymbal:/tmp/debian-tutorial ]
% ls -al
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
合計 8.0K
drwxr-xr-x 2 plaster plaster 4.0K 8月 20 16:01 .
drwxrwxrwt 6 root root 4.0K 8月 20 16:01 ..
[ root@cymbal:/tmp/debian-tutorial ]
% apt-get source dash
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
パッケージリストを読み込んでいます... 完了
注意: 'dash' パッケージは以下の場所の 'Git' バージョン制御システムで保守されています:
http://smarden.org/git/dash.git/
パッケージの最新の (まだリリースされていないかもしれない) 更新を取得するには、
git clone http://smarden.org/git/dash.git/
を使用してください。
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
267 kB のソースアーカイブを取得する必要があります。
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
取得:1 http://ftp.jaist.ac.jp/debian stretch/main dash 0.5.8-2.3 (dsc) [1,764 B]
取得:2 http://ftp.jaist.ac.jp/debian stretch/main dash 0.5.8-2.3 (tar) [223 kB]
取得:3 http://ftp.jaist.ac.jp/debian stretch/main dash 0.5.8-2.3 (diff) [42.2 kB]
267 kB を 0秒 で取得しました (605 kB/s)
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
dpkg-source: info: extracting dash in dash-0.5.8
dpkg-source: info: unpacking dash_0.5.8.orig.tar.gz
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
dpkg-source: info: applying dash_0.5.8-2.3.diff.gz
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[ root@cymbal:/tmp/debian-tutorial/dash-0.5.8 ]
% debuild -us -uc
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
debuild: fatal error at line 943:
problem running fakeroot: either install the fakeroot package,
use a -r option to select another root command program to use or
run me as root!
[ plaster@cymbal:~ ]
% fakeroot-ng
[ root@cymbal:~ ]
% mkdir /tmp/debian-tutorial
[ root@cymbal:~ ]
% cd /tmp/debian-tutorial
[ root@cymbal:/tmp/debian-tutorial ]
% apt-get source dash
パッケージリストを読み込んでいます... 完了
注意: 'dash' パッケージは以下の場所の 'Git' バージョン制御システムで保守されています:
http://smarden.org/git/dash.git/
パッケージの最新の (まだリリースされていないかもしれない) 更新を取得するには、
git clone http://smarden.org/git/dash.git/
を使用してください。
267 kB のソースアーカイブを取得する必要があります。
取得:1 http://ftp.jaist.ac.jp/debian stretch/main dash 0.5.8-2.3 (dsc) [1,764 B]
取得:2 http://ftp.jaist.ac.jp/debian stretch/main dash 0.5.8-2.3 (tar) [223 kB]
取得:3 http://ftp.jaist.ac.jp/debian stretch/main dash 0.5.8-2.3 (diff) [42.2 kB]
267 kB を 0秒 で取得しました (586 kB/s)
dpkg-source: info: extracting dash in dash-0.5.8
dpkg-source: info: unpacking dash_0.5.8.orig.tar.gz
dpkg-source: info: applying dash_0.5.8-2.3.diff.gz
[ root@cymbal:/tmp/debian-tutorial ]
% cd dash-0.5.8
[ root@cymbal:/tmp/debian-tutorial/dash-0.5.8 ]
% debuild -us -uc
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: info: source package dash
dpkg-buildpackage: info: source version 0.5.8-2.3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Mattia Rizzolo <mattia@debian.org>
dpkg-source --before-build dash-0.5.8
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
fakeroot: error while starting the `faked' daemon.
kill: 使用法: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... または kill -l [sigspec]
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 1
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment