• Bug#840813: mark xorg-docs-core Multi-Arch: foreign

    From Manuel A. Fernandez Montecelo@21:1/5 to All on Fri Sep 29 00:30:03 2017
    XPost: linux.debian.bugs.dist

    Control: tags -1 + pending
    Control: tags 858469 + pending


    Hi,

    2016-10-15 09:49 Helmut Grohne:
    Package: xorg-docs-core
    Version: 1:1.7.1-1
    Tags: patch
    User: helmutg@debian.org
    Usertags: rebootstrap
    Control: affects -1 + src:xterm

    xterm cannot be cross built from source, because its build dependency on >xorg-docs-core is unsatisfiable. In general, Architecture: all packages
    that are not marked Multi-Arch: foreign cannot satisfy cross
    Build-Depends at all. I propose marking it Multi-Arch: foreign, because
    it is Architecture: all, has no maintainer scripts or depdendencies. The
    same holds for xorg-docs. Please consider applying the attached patch.

    I prepared an NMU with this fix, plus the fix for the broken symlink in #858469, plus a change in the VCS from 2016 that has not been released
    yet.

    debdiff attached.

    I uploaded to delayed/15, but if you want me to cancel or if it's OK to
    change it to happen sooner, please let me know.


    Cheers.
    --
    Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>


    diff -u xorg-docs-1.7.1/debian/changelog xorg-docs-1.7.1/debian/changelog
    --- xorg-docs-1.7.1/debian/changelog
    +++ xorg-docs-1.7.1/debian/changelog
    @@ -1,3 +1,21 @@
    +xorg-docs (1:1.7.1-1.1) unstable; urgency=medium
    +
    + * Non-maintainer upload.
    +
    + [ Manuel A. Fernandez Montecelo ]
    + * Remove d/xorg-docs.links (Closes: #858469)
    + - /usr/share/X11/doc was broken for years (the file was last modified
    + in 2010) without anybody complaining, so rather than fixing the
    + destination it's probably better to just remove this legacy bit
    +
    + [ Julien Cristau ]
    + * Switch xorg.freedesktop.org URLs in packaging to https.
    +
    + [ Helmut Grohne ]
    + * Mark all packages Multi-Arch: foreign. (Closes: #840813)
    +
    + -- Manuel A. Fernandez Montecelo <mafm@debian.org> Fri, 29 Sep 2017 00:05:13 +0200
    +
    xorg-docs (1:1.7.1-1) unstable; urgency=medium

    * Team upload.
    diff -u xorg-docs-1.7.1/debian/control xorg-docs-1.7.1/debian/control
    --- xorg-docs-1.7.1/debian/control
    +++ xorg-docs-1.7.1/debian/control
    @@ -24,6 +24,7 @@
    Depends: ${misc:Depends}
    Suggests
  • From Julien Cristau@21:1/5 to Manuel A. Fernandez Montecelo on Sun Oct 1 23:00:02 2017
    XPost: linux.debian.bugs.dist

    On Fri, Sep 29, 2017 at 00:21:59 +0200, Manuel A. Fernandez Montecelo wrote:

    Control: tags -1 + pending
    Control: tags 858469 + pending


    Hi,

    2016-10-15 09:49 Helmut Grohne:
    Package: xorg-docs-core
    Version: 1:1.7.1-1
    Tags: patch
    User: helmutg@debian.org
    Usertags: rebootstrap
    Control: affects -1 + src:xterm

    xterm cannot be cross built from source, because its build dependency on xorg-docs-core is unsatisfiable. In general, Architecture: all packages that are not marked Multi-Arch: foreign cannot satisfy cross
    Build-Depends at all. I propose marking it Multi-Arch: foreign, because
    it is Architecture: all, has no maintainer scripts or depdendencies. The same holds for xorg-docs. Please consider applying the attached patch.

    I prepared an NMU with this fix, plus the fix for the broken symlink in #858469, plus a change in the VCS from 2016 that has not been released
    yet.

    debdiff attached.

    I uploaded to delayed/15, but if you want me to cancel or if it's OK to change it to happen sooner, please let me know.

    FWIW I don't think any of these changes are worth an upload. They're
    probably not worth removing your upload either, except if they're not in
    git they'll be lost the next time somebody touches this. So please
    either cancel the NMU or provide a git tree we can pull from.

    Cheers,
    Julien

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Julien Cristau@21:1/5 to Manuel A. Fernandez Montecelo on Wed Oct 4 13:50:01 2017
    XPost: linux.debian.bugs.dist

    On 10/04/2017 01:07 AM, Manuel A. Fernandez Montecelo wrote:
    I agree that the changes are not very important in general from the
    point of view of the package.

    However, they are somehwat important for cross-building and rebootstrap,
    and to bring up new architectures

    I fail to see how that can possibly be true for this package.

    Anyway, thanks for the patches.

    Cheers,
    Julien

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Manuel A. Fernandez Montecelo@21:1/5 to All on Wed Oct 4 01:10:02 2017
    XPost: linux.debian.bugs.dist

    Hi Julien,

    2017-10-01 22:50 Julien Cristau:
    On Fri, Sep 29, 2017 at 00:21:59 +0200, Manuel A. Fernandez Montecelo wrote:

    I uploaded to delayed/15, but if you want me to cancel or if it's OK to
    change it to happen sooner, please let me know.

    FWIW I don't think any of these changes are worth an upload. They're >probably not worth removing your upload either, except if they're not in
    git they'll be lost the next time somebody touches this. So please
    either cancel the NMU or provide a git tree we can pull from.

    Thanks for taking a look and providing feedback.

    I agree that the changes are not very important in general from the
    point of view of the package.

    However, they are somehwat important for cross-building and rebootstrap,
    and to bring up new architectures, and since the last update was a
    couple of years ago, maybe we'll go for a few months/years without
    updates...


    Anyway, I attach the individual patches that can be applied, if you want
    me to provide the git tree I'll try to look tomorrow with more calm.


    Cheers.
    --
    Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>


    From 10c5fac7492a25bdd3aba50d60235848793d1829 Mon Sep 17 00:00:00 2001
    From: Helmut Grohne <helmut@subdivi.de>
    Date: Fri, 29 Sep 2017 00:02:40 +0200
    Subject: [PATCH 1/3] Mark all packages Multi-Arch: foreign. (Closes: #840813)

    ---
    debian/changelog | 6 +++++-
    debian/control | 2 ++
    2 files changed, 7 insertions(+), 1 deletion(-)

    diff --git a/debian/changelog b/debian/changelog
    index b2259cf..9c05a1b 100644
    --- a/debian/changelog
    +++ b/debian/changelog
    @@ -1,7 +1,11 @@
    -xorg-docs (1:1.7.1-2) UNRELEASED; urgency=medium
    +xorg-docs (1:1.7.1-1.1) UNRELEASED; urgency=medium

    + [ Julien Cristau ]
    * Switch xorg.freedesktop.org URLs in packaging to https.

    + [ Helmut Grohne ]
    + * Mark all packages Multi-Arch: foreign. (Closes: #840813)
    +
    -- Julien Cristau <jcristau@debian.org> Sun, 21 Aug 2016 19:36:18 +0200

    xorg-docs (1:1.7.1-1) unstable; urgency=medium
    diff --git a/debian/control b/debian/control
    index fda9339..cbf99f3 100644
    --- a/debian/control
    +++ b/debian/control
    @@ -24,6 +24,7 @@ Architecture: all
    Depends: ${misc:Depends}
    Suggests: xorg-docs
    Replaces: xorg-docs ( << 1:1.4-5 )
    +Multi-Arch: foreign
    Description: Core documentation for the X.org X Window System
    This package contains co
  • From Julien Cristau@21:1/5 to Manuel A. Fernandez Montecelo on Wed Oct 4 23:20:01 2017
    XPost: linux.debian.bugs.dist

    On Wed, Oct 4, 2017 at 20:08:45 +0200, Manuel A. Fernandez Montecelo wrote:

    Hi,

    2017-10-04 13:41 Julien Cristau:
    On 10/04/2017 01:07 AM, Manuel A. Fernandez Montecelo wrote:
    I agree that the changes are not very important in general from the
    point of view of the package.

    However, they are somehwat important for cross-building and rebootstrap, and to bring up new architectures

    I fail to see how that can possibly be true for this package.

    Well, it's one of the most basic x-term packages, but more importantly, rightly or wrongly, it's necessary to build glib2.0 w/tests in the
    native architecture.

    Urgh. I'd forgotten that xterm b-d on xorg-docs-core. Sorry :(

    Anyway, thanks for the patches.

    So will you want a public repository, or it's OK with these patches?

    It's fine.

    Cheers,
    Julien

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Manuel A. Fernandez Montecelo@21:1/5 to All on Wed Oct 4 20:20:02 2017
    XPost: linux.debian.bugs.dist

    Hi,

    2017-10-04 13:41 Julien Cristau:
    On 10/04/2017 01:07 AM, Manuel A. Fernandez Montecelo wrote:
    I agree that the changes are not very important in general from the
    point of view of the package.

    However, they are somehwat important for cross-building and rebootstrap,
    and to bring up new architectures

    I fail to see how that can possibly be true for this package.

    Well, it's one of the most basic x-term packages, but more importantly,
    rightly or wrongly, it's necessary to build glib2.0 w/tests in the
    native architecture.


    Anyway, thanks for the patches.

    So will you want a public repository, or it's OK with these patches?


    Cheers.
    --
    Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Manuel A. Fernandez Montecelo@21:1/5 to All on Thu Oct 5 00:40:01 2017
    XPost: linux.debian.bugs.dist

    2017-10-04 23:09 GMT+02:00 Julien Cristau <jcristau@debian.org>:
    On Wed, Oct 4, 2017 at 20:08:45 +0200, Manuel A. Fernandez Montecelo wrote:

    Well, it's one of the most basic x-term packages, but more importantly,
    rightly or wrongly, it's necessary to build glib2.0 w/tests in the
    native architecture.

    Urgh. I'd forgotten that xterm b-d on xorg-docs-core. Sorry :(

    No problem!


    So will you want a public repository, or it's OK with these patches?

    It's fine.

    Great! We're all set, then.


    Thanks and cheers.

    --
    Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)