[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-devel:08941] working with new extipl package



佐野@浜松です。

 extipl_19990430-1 としてパッケージ作成中です。

一応、 .deb / .orig.tar.gz / .diff.gz / .dsc (の途中) までは
 dpkg-buildpackage -rsudo -ppgp で作られるようになったのですが
最後に .dsc に署名するところで失敗しているようです。

 script によるログはこんな感じです。

# script で実行した場合のみ "no utmp entry available, ..."
# というメッセージがたくさん出るのですが、これが出なくても
# 失敗するので関係無いと判断して、これだけ削除しています。

Script started on Tue May  4 23:30:11 1999
 $ dpkg-buildpackage -rsudo -ppgp
dpkg-buildpackage: source package is extipl
dpkg-buildpackage: source version is 19990430-1
dpkg-buildpackage: source maintainer is Taketoshi Sano <kgh12351@xxxxxxxxxxx>
dpkg-buildpackage: build architecture is i386
 sudo debian/rules clean
Password:
dh_testdir
dh_testroot
rm -f build-stamp install-stamp
# Add here commands to clean up after the build process.
make clean
make[1]: Entering directory `/Work/tmp/extipl/t.sano/debian-package/extipl-19990430'
cd src; make clean
make[2]: Entering directory `/Work/tmp/extipl/t.sano/debian-package/extipl-19990430/src'
rm -f extipl bin2src _extipl.bin _fdtest.bin extndipl.src \
*.lst *.o *.bak *~ *.core _BootSec.*
make[2]: Leaving directory `/Work/tmp/extipl/t.sano/debian-package/extipl-19990430/src'
make[1]: Leaving directory `/Work/tmp/extipl/t.sano/debian-package/extipl-19990430'
dh_clean
 dpkg-source -b extipl-19990430
dpkg-source: building extipl using existing extipl_19990430.orig.tar.gz
dpkg-source: building extipl in extipl_19990430-1.diff.gz
dpkg-source: building extipl in extipl_19990430-1.dsc
 debian/rules build
dh_testdir
# Add here commands to compile the package.
make 
make[1]: Entering directory `/Work/tmp/extipl/t.sano/debian-package/extipl-19990430'
cd src; make
make[2]: Entering directory `/Work/tmp/extipl/t.sano/debian-package/extipl-19990430/src'
cc -O   -o bin2src bin2src.c
nasm -f bin -o _extipl.bin -l _extipl.lst _extipl.asm
-rw-rw-r--   1 sano     sano          432 May  4 23:30 _extipl.bin
nasm -f bin -o _fdtest.bin -l _fdtest.lst _fdtest.asm
-rw-rw-r--   1 sano     sano          441 May  4 23:30 _fdtest.bin
./bin2src -o extndipl.src extndipl.templ
cc -O   -o extipl extipl.c
make[2]: Leaving directory `/Work/tmp/extipl/t.sano/debian-package/extipl-19990430/src'
make[1]: Leaving directory `/Work/tmp/extipl/t.sano/debian-package/extipl-19990430'
touch build-stamp
 sudo debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/tmp.
make install DESTDIR=`pwd`/debian/tmp
make[1]: Entering directory `/Work/tmp/extipl/t.sano/debian-package/extipl-19990430'
cd src; make
make[2]: Entering directory `/Work/tmp/extipl/t.sano/debian-package/extipl-19990430/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/Work/tmp/extipl/t.sano/debian-package/extipl-19990430/src'
install -s src/extipl /Work/tmp/extipl/t.sano/debian-package/extipl-19990430/debian/tmp/usr/sbin
make[1]: Leaving directory `/Work/tmp/extipl/t.sano/debian-package/extipl-19990430'
touch install-stamp
dh_testdir
dh_testroot
dh_installdocs
dh_installexamples
dh_installmenu
dh_installcron
dh_installmanpages
dh_installchangelogs 
dh_strip
dh_compress
dh_fixperms
dh_suidregister
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `extipl' in `../extipl_19990430-1_i386.deb'.
 signfile extipl_19990430-1.dsc
Pretty Good Privacy(tm) 2.6.3ia - Public-key encryption for the masses.
(c) 1990-96 Philip Zimmermann, Phil's Pretty Good Software. 1996-03-04
International version - not for use in the USA. Does not use RSAREF.
Current time: 1999/05/04 14:31 GMT

You need a pass phrase to unlock your RSA secret key. 
Key for user ID: Taketoshi Sano <kgh12351@xxxxxxxxxxx>
1024-bit key, key ID 2EFDA151, created 1998/11/04

Enter pass phrase: cannot open tty, using stdin

Unable to get terminal characteristics: ioctl: Inappropriate ioctl for device
[pika] $ exit
exit

Script done on Tue May  4 23:30:57 1999

PGP 関連のパッケージは、以下のとおりです。

 $ dpkg -l|grep pgp
ii  auto-pgp        1.04-2         PGP tools for command-line and Emacs use
ii  libpgperl       6.3.2-15       Perl modules for PostgreSQL.
ii  pgp-i           2.6.3a-4       Public key encryption system (International 
ii  pgp5i           5.0-3          Public key encryption system (International 
ii  pgplot5         5.2-8          large subroutine library for plotting scient
ii  x-pgp-sig-el    1.3.3-1        X-PGP-Sig mail and news header utility.

また、 .dsc ファイルをコマンドラインで pgp -sta によって
署名すると、

 $ ls
extipl_19990430-1.dsc
 $ pgp -sta *.dsc
Pretty Good Privacy(tm) 2.6.3ia - Public-key encryption for the masses.
(c) 1990-96 Philip Zimmermann, Phil's Pretty Good Software. 1996-03-04
International version - not for use in the USA. Does not use RSAREF.
Current time: 1999/05/04 14:40 GMT

A secret key is required to make a signature. 
You specified no user ID to select your secret key,
so the default user ID and key will be the most recently
added key on your secret keyring.

You need a pass phrase to unlock your RSA secret key. 
Key for user ID: Taketoshi Sano <kgh12351@xxxxxxxxxxx>
1024-bit key, key ID 2EFDA151, created 1998/11/04

Enter pass phrase: cannot open tty, using stdin
Pass phrase is good.  Just a moment....
Clear signature file: extipl_19990430-1.dsc.asc
 $ cat *.asc
-----BEGIN PGP SIGNED MESSAGE-----

Source: extipl
Version: 19990430-1
Binary: extipl
Maintainer: Taketoshi Sano <kgh12351@xxxxxxxxxxx>
Architecture: i386
Standards-Version: 2.4.0.0
Files: 
 f65b81f8b009de79ee214ab928e6875c 36493 extipl_19990430.orig.tar.gz
 0ea49c3202381549668810cb10840df4 5392 extipl_19990430-1.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBNy8GqhOWfrQu/aFRAQFdgAP/aQIl8Y4P2s8XUylM7qKf0LwGU2lWASrY
F9AdCZ6mpuLkSoxST4JCmmwXRSGL/YQlWBCjS2cdvsTfBsccSXorIDHWZq3XGocp
4FxNbKOSNdXbUWfXdlCRCWq/c60IbNDD+wB7AHK2WuMRWi4UY4MV4CpWq1UnUxp/
m1TovXr7UCU=
=cHoY
-----END PGP SIGNATURE-----

というように正常に署名できます。

エラーメッセージが

Unable to get terminal characteristics: ioctl: Inappropriate ioctl for device

となっていたので、端末によるのかと思い、 X 上の kterm, xterm と
コンソール、kon の 4 種類を試してみましたが、いずれも上記の
エラーは同じでした。

何かヒントなどあればよろしくお願いします。 _o_

-- 
     #わたしのおうちは浜松市、「夜のお菓子」で有名さ。
    <xlj06203@xxxxxxxxxxx> : Taketoshi Sano (佐野 武俊)