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

[debian-users:02327] Re: [BUG REPORT] dpkg-dev-i18n, cannot extract skk_9.6-4.* sources



  吉山です.

I received from kise@xxxxxxxxxxxx on 10 16 , 1997. 

+ skkのソースパッケージ一式をもらってきて、
+ > ls -l
+ total 2386
+ -rw-r--r--   1 kise     kise        32670 Sep  4 17:35 skk_9.6-4.diff.gz
+ -rw-r--r--   1 kise     kise          630 Sep  4 17:35 skk_9.6-4.dsc
+ -rw-r--r--   1 kise     kise         1358 Sep  4 17:35 skk_9.6-4_i386.changes
+ -rw-r--r--   1 kise     kise      2394509 Feb 13  1997 skk_9.6.orig.tar.gz
+ 
+ 次のコマンドを実行したのですが、エラーになりました。
+ > dpkg-source -x skk_9.6-4.dsc
+ dpkg-source: error: diff patches file (skk-9.6.orig/contrib/diclookup-mule/diclookup-mule.el.diff) whose directory does not appear in tarfile
+ 
+ つまり、skk_9.6.orig.tar.gzにはない
+ skk-9.6.orig/contrib/diclookup-mule/diclookup-mule.elに対する
+ パッチが、skk_9.6-4.diff.gzに含まれているというわけです。
+ 
+ 最初、skk_9.6-4のソースが変だと思ったのですが、手動でtarを展開、patch
+ コマンドもうまくいくことから、dpkg-sourceの問題と判断しました。
+ 
+ agate:~> dpkg -S dpkg-source
+ dpkg-dev-i18n: /usr/man/man1/dpkg-source.1.gz
+ dpkg-dev-i18n: /usr/bin/dpkg-source
+ 
+ agate:~> dpkg -l dpkg-dev-i18n
+ (略)
+ ii  dpkg-dev-i18n   1.4.0.8-2      Package building tools for Debian Linux
+ 
+ dpkg-sourceはperlで書かれているようなので、ちらっとみたのですが、
+ どうも、上の現象は仕様のような気もします。

  dpkg-dev に含まれているコマンドの多くは perl のスクリプトです.I18N 
化の時にはほとんど手をつけていないので,中身は実は dpkg-dev と同一の物
です.従って,上記の問題はオリジナルの dpkg-dev の問題だと思いますが,
いかがでしょう?

---

   Name: 吉山あきら  Akira Yoshiyama
   E-mail: yosshy@debian.or.jp
          (yosshy@xxxxxxxxxxxxxxxxxxxxx)
   URL: http://jedi.seg.kobe-u.ac.jp/~yosshy/linux.html