🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel
Article #596

Re: Dropping big-endian targets - Re: WebKitGTK and architecture support in Debian

#596
From: John Paul Adrian Glaubitz
Date: Mon, 23 Nov 2026 18:30
116 lines
7007 bytes
On Wed, 2026-11-04 at 11:16 +0100, Alberto Garcia wrote:
> On Tue, Nov 03, 2026 at 04:51:15PM +0100, John Paul Adrian Glaubitz wrote:
> 
> > While Skia does not officially big-endian targets, it definitely
> > works there. Oracle is shipping Firefox for Solaris SPARC with Skia
> > enabled and they're providing custom patches to make Skia work [1].
> 
> When this decision was taken, it definitely didn't work. Google is not
> supporting Skia in BE targets, the WebKitGTK team does not have the
> time or resources to do it either, and no one had shown interest in
> doing or funding that work.

You did not even ask me.

> Like all other major web engines, WebKitGTK is affected by a constant
> stream of security bugs (more than 200 CVEs in the most recent
> advisory), and having security updates blocked because the package
> does not build in s390x is not a good solution for our users.

This is about Skia, not WebKit. Skia can be patched to work on big-endian systems.

I have opened a tracker bug for this now: https://github.com/sparclinux/issues/issues/128

> I don't know what Firefox does, or whether whatever they do can be
> brought to WebKitGTK just like that. Having a look at the patches in
> [1], there seems to be easily 10 or more that deal with endianness
> issues. Also, when I had a look at what other projects were doing to
> patch Skia downstream, it did not look pretty:
> 
>    https://raw.githubusercontent.com/zeldin/chromium_be/refs/heads/master/chromium-146.0.7680.177/skia.patch

That doesn't mean it's an unreasonable problem.

> This is not something that we can carry downstream and definitely
> not something that I, as a Debian maintainer, am in a position to
> evaluate. Also, Skia is updated frequently in WebKitGTK, so whatever
> patches we would have to apply would need to be kept up-to-date. So
> it's not enough to produce a patch that works, someone has to *own*
> that work, preferably upstream, in the WebKit repo.

Again, you didn't even bother to ask me. You just went ahead and made
this decision. Plus, there are people from IBM willing to step in to
help. I'm not sure why you didn't accept their help.

> If this happens and there's a realistic effort to keep Skia working
> on BE targets then we'll have time to reconsider and revert this
> decision, but until then I would not like s390x to block the WebKit
> updates for other architectures.

Who is "we"?

> And then there's the Swift problem.

Which also isn't an unsolvable problem either. But again, you didn't
ask for help.

> > Also, Swift definitely supports more architectures than just x86_64
> > and AArch64 as can be seen from the source code [2].
> 
> I talked to Apple about this, they told me that they focus on x86_64
> and aarch64, and support for other architectures is limited. I also
> talked to the person who maintains swiftlang in Debian, and when
> he tried to build the package on other architectures he found a
> never-ending stream of problems, and that's the reason why only amd64
> and arm64 are enabled. So I think that this is more complicated than
> flipping a configuration option.

And again you didn't talk to porters. Do you want Debian to become an
x86_64-only distribution?

> But again: if there is someone with the time and energy to make Swift
> work on other architectures, that will be very much appreciated and
> the whole project will benefit from that.

So, how many porters have you asked so far?

> > There was also no effort made to reach out to porters to ask for
> > help, it was just unilaterally decided that WebKit2Gtk disables the
> > build on big-endian architectures.
> 
> I regret that I did not include you directly in the conversation, and
> for that I apologize, but please understand that this decision was not
> taken lightly, and that we'll always be able to revert it if there's
> a *realistic* effort to overcome the challenges that we have ahead of
> us.

The point is: You, as a single maintainer, do not have the authority
to kill of individual ports. If you want to make a decision that will
disable hundreds of packages, you have to talk to people in charge and
not just make this decision on your.

And I still don't understand why people think it's a good idea to feed
the Intel monopoly. Every time a maintainer decides he wants to limit
architectures outside x86_64, an Intel executive opens a bottle of Champaign
because he can't believe his luck that the open source community opts for
supporting the most locked down architecture on Earth.

> But to be frank at the moment I'm more worried about the upcoming
> Swift transition (which, last time I checked, didn't even have a
> stable ABI).

Again, communication is the key. If you don't communicate these issues,
porters are not able to help.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
Technical Details
Message-ID: <O2GXF-dIEw-73@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O2GXF-dIEw-75@gated-at.bofh.it> <NVp5w-9D6X-5@gated-at.bofh.it> <NVGJ3-9MDR-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Newsgroups: linux.debian.devel
Subject: Re: Dropping big-endian targets - Re: WebKitGTK and architecture  support in Debian
Date: Mon, 23 Nov 2026 19:30:03 +0100
Message-ID: <O2GXF-dIEw-73@gated-at.bofh.it>
References: <O2GXF-dIEw-75@gated-at.bofh.it> <NVp5w-9D6X-5@gated-at.bofh.it> <NVGJ3-9MDR-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-devel-request@lists.debian.org  Mon Nov 23 18:20:52 2026
Old-Return-Path: <glaubitz@zedat.fu-berlin.de>
X-Amavis-Spam-Status: No, score=-4.198 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001]
 autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -5.5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.62.1 
MIME-Version: 1.0
X-Originating-IP: 87.189.149.181
X-Zedat-Hint: PO
X-Mailing-List: <debian-devel@lists.debian.org> archive/latest/373355
List-ID: <debian-devel.lists.debian.org>
List-URL: <https://lists.debian.org/debian-devel/>
List-Archive: https://lists.debian.org/msgid-search/c659911b3fe33e0ef0b6abb9d31f7c9db794a8a6.camel@physik.fu-berlin.de
Approved: robomod@news.nic.it
Lines: 116
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: debian-devel <debian-devel@lists.debian.org>
X-Original-Date: Mon, 23 Nov 2026 19:20:37 +0100
X-Original-Message-ID: <c659911b3fe33e0ef0b6abb9d31f7c9db794a8a6.camel@physik.fu-berlin.de>
X-Original-References: 
	<5e057f22d13a2bcd7360a3c988c541b88970dbe2.camel@physik.fu-berlin.de>
	 <ausGBkfs0G0jCNoa@igalia.com>