Anton Gladky <[email protected]> writes: > 2013/7/4 Torquil Macdonald Sørensen <[email protected]>: >> However, I have a question concerning multiarch and update-alternatives: >> >> In libmpich-dev.postinst, update-alternatives requires the library file >> paths as arguments. These paths include DEB_HOST_MULTIARCH, so the command >> dpkg-architecture is needed. So it seems that libmpich-dev must depend on >> dpkg-dev to solve this problem? Is this acceptable, or is there some another >> solution? > > I had never yet such situation. But I think it is OK to add dpkg-dev into > Depends-section if it is necessary.
You can determine the architecture at build time and generate a postinst using this information. Binary packages shouldn't have to use dpkg-architecture. Ansgar -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

