[From nobody Tue Nov 10 14:39:05 2026
Received: (at submit) by bugs.debian.org; 18 Sep 2026 10:45:52 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-106.7 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
 FROMDEVELOPER,MONEY,SPF_HELO_NONE,SPF_PASS,USER_IN_DKIM_WELCOMELIST
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 11; hammy, 150; neutral, 41; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;smcv@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:55780)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;smcv@debian.org&gt;) id 1x7W6K-002x8e-2e
 for submit@bugs.debian.org; Fri, 18 Sep 2026 10:45:52 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=SFgc6h1y8e7/jb9NI34fItWpvc4ZprZel4sLz+QR/aQ=; b=tsU6mqxardjrn3S4uhNw0k/l6j
 GH9urPDqxT86LH0Utv0KRGanKko033WOG4nGRjyYVmHTMbVRgiLnYxo4KiGmOr9a/VR1r1v0tyyEZ
 LWJPsM41KUMRhGeIX50Y2mWvGqMeaVZqh+uIFVW6iuayju7U2/WOMkIioRUbUxwWCNLbKDYSOT0rG
 M9QzrNO0Epum39G+Tuc/TuzhfiqXqxscZ6DYIa/zu9hWRFlfxf9YRS8WWhkIRKA9d7rofHYrs5AdS
 I8AU8qCGbAeWtOw+QwA+cEVpmlXB5ecCvvgd/NVSKf94ZEd5frDUTCdxqNEhKXS9ah51pLVcv7Bbr
 Q6uVTaeA==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;smcv@debian.org&gt;) id 1x7W6J-006fBL-0v
 for submit@bugs.debian.org; Fri, 18 Sep 2026 10:45:51 +0000
Date: Fri, 18 Sep 2026 11:45:50 +0100
From: Simon McVittie &lt;smcv@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: swt4-gtk: please disable webkit2gtk dependency on big-endian
Message-ID: &lt;aq0WXrY2alIrICGe@definition.pseudorandom.co.uk&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: smcv
Delivered-To: submit@bugs.debian.org

Source: swt4-gtk
Severity: important
Tags: forky sid
X-Debbugs-Cc: debian-s390@lists.debian.org, webkit2gtk@packages.debian.org
User: debian-s390@lists.debian.org
Usertags: s390x
Control: block 1148038 by -1

As announced in #1148038, new upstream releases of WebKitGTK no longer 
support big-endian architectures.

swt4-gtk currently builds an Architecture: any package, 
libswt-webkit-gtk-4-jni, which Depends on WebKitGTK libraries. Please 
limit building of this package to little-endian architectures, so that 
we can remove its old s390x binaries without them coming back (and being 
uninstallable) in the next upload.

One way to do this would be something like (untested)

 Package: libswt-webkit-gtk-4-jni
-Architecture: any
+Architecture: amd64 arm64 armhf i386 loong64 ppc64el riscv64
 Depends: libswt-gtk-4-jni (= ${binary:Version}), libwebkit2gtk-4.1-0, ${shlibs:Depends}, ${misc:Depends}

Or the package could be disabled on big-endian architectures by 
something like this in debian/rules (again untested)

ifneq ($(DEB_HOST_ARCH_ENDIAN),little)
dh_options += -Nlibswt-webkit-gtk-4-jni
endif

and then passing $(dh_options) to all dh invocations.

This will make two packages (biglybt and davmail) uninstallable on 
s390x, but that seems harmless.

    smcv
]