debian パッケージのビルド中に問題が発生しました。
rules ファイルのドキュメントについては: https://www.debian.org/doc/manuals/maint-guide/dreq.en.html#rules
debian/rules build は dh build を実行します。次に、以下を実行します。
dh_testdir dh_auto_configure dh_auto_build dh_auto_test
fakeroot debian/rules バイナリは、fakeroot dh バイナリを実行します。次に、以下を実行します。
dh_testroot dh_prep dh_installdirs dh_auto_install dh_install dh_installdocs ... dh_builddeb
しかし、dh binary --no-act
コマンドを実行すると、出力にdh build --no-act
. これは、debian パッケージのビルド中に./configure
およびmake
コマンドが 2 回実行されることを意味します。それは奇妙だ。
以前dpkg-buildpackage -us -uc
はdebianパッケージをビルドしていました。
更新: 実際には 2 回実行されていないことがわかりましたが、なぜ --no-act でdh build
出力が 2 回実行されたと表示されるのですか?