[debian-users 00809] DEB_HOST_MULTIARCHとDEB_BUILD_MULTIARCHの違いは何ですか
下森です https://tracker.debian.org/pkg/mozcを見ていて気になったのですが https://lintian.debian.org/tags/illegal-variable?version=2.114.163
With debhelper compatibility level >= 13 (and also dh-exec before it) several files in the ./debian folder support the expansion of variables. Unfortunately, people sometimes confuse the DEB_BUILD_* variables with the similarly-named DEB_HOST_* variables.
Some conditions are difficult to detect but it is never correct to use DEB_BUILD_MULTIARCH in debian/*.install or in debian/*.links.
Please use DEB_HOST_MULTIARCH instead of DEB_BUILD_MULTIARCH.
For more information please consult: https://wiki.debian.org/Multiarch/Implementation#Recipes_for_converting_pack... Bug#983219
debian/uim-mozc.installのDEB_BUILD_MULTIARCHをDEB_HOST_MULTIARCHに変えてって話だと おもうのですが。 DEB_BUILD_MULTIARCH と DEB_HOST_MULTIARCHの違いって何ですか。
On Fri, 15 Apr 2022 23:32:10 +0900 SHITAMORI Akira <sitamo@gmail.com> wrote:
debian/uim-mozc.installのDEB_BUILD_MULTIARCHをDEB_HOST_MULTIARCHに変えてって話だと おもうのですが。 DEB_BUILD_MULTIARCH と DEB_HOST_MULTIARCHの違いって何ですか。
$ man dpkg-architecture DEB_BUILD_MULTIARCH The clarified GNU system type of the build machine, used for filesystem paths (since dpkg 1.16.0). ------ DEB_HOST_MULTIARCH The clarified GNU system type of the host machine, used for filesystem paths (since dpkg 1.16.0). ^^^^^ https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983219#5 みると、クロスビルドするときに問題になるようですね -- Regards, Hideki Yamane henrich @ debian.org/iijmio-mail.jp
下森です。 返信ありがとうございます。 英語の説明だとGoogle翻訳とかで読むので内容がよく判らないことが多くなります。 https://wiki.debian.org/CrossBuildPackagingGuidelines
Terminology
HOST is the machine we are building for
BUILD is the machine we are building on
(TARGET is only relevant for compilers and is the architecture that a compiler outputs code for. Unless packaging binutils, gcc or hurd, the target architecture is irrelevant.)
This somewhat confusing terminology is GNU's fault.
HOSTだとどのアーキテクチャに対してかで BUILDだとビルドを実行しているアーキテクチャになるってことですかね? On Sat, 16 Apr 2022 12:37:11 +0900 Hideki Yamane <henrich@iijmio-mail.jp> wrote:
On Fri, 15 Apr 2022 23:32:10 +0900 SHITAMORI Akira <sitamo@gmail.com> wrote:
debian/uim-mozc.installのDEB_BUILD_MULTIARCHをDEB_HOST_MULTIARCHに変えてって話だと おもうのですが。 DEB_BUILD_MULTIARCH と DEB_HOST_MULTIARCHの違いって何ですか。
$ man dpkg-architecture
DEB_BUILD_MULTIARCH The clarified GNU system type of the build machine, used for filesystem paths (since dpkg 1.16.0). ------
DEB_HOST_MULTIARCH The clarified GNU system type of the host machine, used for filesystem paths (since dpkg 1.16.0). ^^^^^
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983219#5 みると、クロスビルドするときに問題になるようですね
-- Regards,
Hideki Yamane henrich @ debian.org/iijmio-mail.jp _______________________________________________ debian-users mailing list debian-users@debian.or.jp https://lists.debian.or.jp/mailman/listinfo/debian-users
participants (2)
-
Hideki Yamane -
SHITAMORI Akira