[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phosh][debian/master] Mark phosh-doc as Multi-Arch: foreign (was all)

Guido Günther (@agx) gitlab at salsa.debian.org
Sat Aug 13 15:10:23 BST 2022



Guido Günther pushed to branch debian/master at Debian On Mobile / phosh


Commits:
167278b8 by Evangelos Ribeiro Tzaras at 2022-08-13T13:34:30+00:00
Mark phosh-doc as Multi-Arch: foreign (was all)

The d.o/pkg/phosh showed had a message from Multiarch hinter:

>Multiarch hinter reports 1 issue(s) low
>There are issues with the multiarch metadata for this package.
>
>    phosh-doc could be marked Multi-Arch: foreign

and I think it's right.

>From https://wiki.debian.org/MultiArch/Hints#ma-foreign

>set Multi-Arch: foreign
>
>The package in question is Architecture: all,
>does not contain any maintainer scripts and
>does not have any dependencies on architecture-dependent packages.
>Thus there is no way for it to expose architecture-specific interfaces
>and marking it Multi-Arch: foreign usually is safe.
>The hint can be wrong when other metadata is wrong already
>(e.g. a dependency is wrongly marked Multi-Arch: foreign).
>Care must be taken when updating the package.
>When it is switched to Architecture: any
>or maintainer scripts or dependencies are added,
>the marking should be reevaluated.
>
>Note that even though Architecture: all and Multi-Arch: foreign may look
>like similar concepts, they are not.
>The former means that the same binary package can be installed on
>different architectures.
>Yet, after installation such packages are treated as if they were
>"native" architecture (by definition the architecture of the dpkg package)
>packages.
>Thus Architecture: all packages cannot satisfy dependencies
>from other architectures without being marked Multi-Arch foreign.

- - - - -


1 changed file:

- debian/control


Changes:

=====================================
debian/control
=====================================
@@ -76,6 +76,7 @@ Description: Pure Wayland shell for mobile devices
 
 Package: phosh-doc
 Architecture: all
+Multi-Arch: foreign
 Section: doc
 Build-Profiles: <!nodoc>
 Depends:



View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phosh/-/commit/167278b81e17de7f3970f93d8b0e05f2cd16002f

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phosh/-/commit/167278b81e17de7f3970f93d8b0e05f2cd16002f
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20220813/6811acee/attachment.htm>


More information about the Debian-on-mobile-maintainers mailing list