πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.devel
10 messages
10 total messages Started by John Paul Adrian Glaubitz Tue, 03 Nov 2026 16:00
Dropping big-endian targets - Re: WebKitGTK and architecture support in Debian
#301
Author: John Paul Adrian Glaubitz
Date: Tue, 03 Nov 2026 16:00
39 lines
3354 bytes
Hello,

> the TL;DR version of this e-mail is that at some point in the future
> we won't be able to keep updating WebKitGTK on some of Debian's
> official architectures. This is happening right now in the case of
> s390x, but others will follow later.

I'm not okay with this decision and the argument provided do not convince me.

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].

Also, Swift definitely supports more architectures than just x86_64
and AArch64 as can be seen from the source code [2].

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.

If Debian just continues this trend of disabling architectures so quickly,
we will soon end up with a distribution that is supported on x86_64 and
AArch64 only and I'm really not sure whether this is something we want.

Adrian

PS: I'm not subscribed to the list, please keep me CC'ed.

> [1] https://github.com/oracle/solaris-userland/tree/master/components/desktop/firefox/patches
> [2] https://github.com/swiftlang/swift/blob/058908fc9fa07ddddf799d1a7ece0e6d83b59046/utils/swift_build_support/swift_build_support/targets.py#L280

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
Re: Dropping big-endian targets - Re: WebKitGTK and architecture support in Debian
#306
Author: Charles Plessy
Date: Tue, 03 Nov 2026 23:50
33 lines
3182 bytes
Le Tue, Nov 03, 2026 at 04:51:15PM +0100, John Paul Adrian Glaubitz a Γ©crit :
>
>If Debian just continues this trend of disabling architectures so quickly,
>we will soon end up with a distribution that is supported on x86_64 and
>AArch64 only and I'm really not sure whether this is something we want.

Hi Adrian and everybody,

I would like to add that we are also in a much better position to
re-enable package building much quicker than before.

Thanks to the ability to create architecture support classes, like I did
with r-pkg-team-core-architecture, we can enable developers to set up an
environment bypassing the restriction without having to modify the
packages, make a local mass-rebuild, draw conclusions, sort out what
goes upstream and what does not, solve the problems, and then propose a
coordinated effort.

Another way to ease architecture maintenance would be to improve our
patching workflow, so that the burden of maintaining and updating
architecture-specific patches is not on the package maintainer. Ideally,
this improvement should reduce the overall workload rather than just
shifting the burden.

Have a nice day,

Charles

-- 
Charles Plessy                         Nagahama, Yomitan, Okinawa, Japan
Debian Med packaging team         http://www.debian.org/devel/debian-med
Tooting from work,               https://fediscience.org/@charles_plessy
Tooting from home,                 https://framapiaf.org/@charles_plessy
Re: Dropping big-endian targets - Re: WebKitGTK and architecture support in Debian
#310
Author: Alberto Garcia
Date: Wed, 04 Nov 2026 10:50
72 lines
5404 bytes
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.

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.

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

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.

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.

And then there's the Swift problem.

> 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.

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.

> 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.

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).

Regards,

Berto

> [1] https://github.com/oracle/solaris-userland/tree/master/components/desktop/firefox/patches
Re: Dropping big-endian targets - Re: WebKitGTK and architecture support in Debian
#311
Author: Antonio Russo
Date: Wed, 04 Nov 2026 12:20
16 lines
2562 bytes
On 11/4/26 3:16 AM, Alberto Garcia wrote:
> 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'm curious---given that Apple is apparently going to stop releasing
security updates for Intel Macs in fall of 2029 [1], shouldn't we
expect to lose amd64 support for WebKitGTK around then, too?

If so, given the forky support time frame goes beyond then, it seems
like amd64 should also be dropped as a security-supported target.


Best,
Antonio

[1] https://forums.appleinsider.com/discussion/244641/how-and-when-macos-will-finally-stop-support-for-intel-apps
Re: Dropping big-endian targets - Re: WebKitGTK and architecture support in Debian
#313
Author: Alberto Garcia
Date: Wed, 04 Nov 2026 15:10
12 lines
2473 bytes
On Wed, Nov 04, 2026 at 04:54:10AM -0700, Antonio Russo wrote:
> I'm curious---given that Apple is apparently going to stop releasing
> security updates for Intel Macs in fall of 2029 [1], shouldn't we
> expect to lose amd64 support for WebKitGTK around then, too?

I'm not sure that I understand your question. WebKitGTK is (and has
been) available in multiple architectures that Apple does not care
about.

Or are you worried about Swift dropping support for amd64?

Berto
Re: Dropping big-endian targets - Re: WebKitGTK and architecture support in Debian
#317
Author: Antonio Russo
Date: Thu, 05 Nov 2026 13:50
17 lines
2828 bytes
On 11/4/26 7:53 AM, Alberto Garcia wrote:
> On Wed, Nov 04, 2026 at 04:54:10AM -0700, Antonio Russo wrote:
>> I'm curious---given that Apple is apparently going to stop releasing
>> security updates for Intel Macs in fall of 2029 [1], shouldn't we
>> expect to lose amd64 support for WebKitGTK around then, too?
> 
> I'm not sure that I understand your question. WebKitGTK is (and has
> been) available in multiple architectures that Apple does not care
> about.
> 
> Or are you worried about Swift dropping support for amd64?

Yes, I am concerned about Swift going away on amd64, which to me seems
plausible.  But, I had a misunderstanding about the relationship of
Swift and WebKitGTK, which motivated that email.  Sorry for the noise!

Antonio
Re: Dropping big-endian targets - Re: WebKitGTK and architecture support in Debian
#392
Author: Alberto Garcia
Date: Mon, 09 Nov 2026 23:50
21 lines
2867 bytes
(sorry for the late reply)

On Thu, Nov 05, 2026 at 06:24:40AM -0700, Antonio Russo wrote:

>>> I'm curious---given that Apple is apparently going to stop        
>>> releasing security updates for Intel Macs in fall of 2029 [1],    
>>> shouldn't we expect to lose amd64 support for WebKitGTK around    
>>> then, too?                                                        

>> Or are you worried about Swift dropping support for amd64?

> Yes, I am concerned about Swift going away on amd64, which to me
> seems plausible.

I don't have any reason to believe that this is going to happen. Swift
is a multiplatform language, and is available for macOS, Linux, and
Windows (it even explicitly targets cloud services running on Linux
hardware). It's not only a language for writing software for Apple's
products.

Berto
Re: Dropping big-endian targets - Re: WebKitGTK and architecture support in Debian
#595
Author: John Paul Adrian Glaubitz
Date: Mon, 23 Nov 2026 18:30
22 lines
2955 bytes
On Wed, 2026-11-04 at 04:54 -0700, Antonio Russo wrote:
> On 11/4/26 3:16 AM, Alberto Garcia wrote:
> > 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'm curious---given that Apple is apparently going to stop releasing
> security updates for Intel Macs in fall of 2029 [1], shouldn't we
> expect to lose amd64 support for WebKitGTK around then, too?
> 
> If so, given the forky support time frame goes beyond then, it seems
> like amd64 should also be dropped as a security-supported target.

Yep, that would be the consequence if we were to follow the logic that
we should only support do what upstream wants to support.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
Re: Dropping big-endian targets - Re: WebKitGTK and architecture support in Debian
#596
Author: 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
Re: Dropping big-endian targets - Re: WebKitGTK and architecture support in Debian
#627
Author: Alberto Garcia
Date: Wed, 25 Nov 2026 23:40
83 lines
5389 bytes
On Mon, Nov 23, 2026 at 07:20:37PM +0100, John Paul Adrian Glaubitz wrote:

I would like to clarify a few things:

> Do you want Debian to become an x86_64-only distribution?

No, I don't.

I have personally committed patches to WebKit upstream to fix build
failures in multiple targets, including loongson, armhf, powerpc,
GNU/kFreeBSD, the Hurd, and yes, s390x. Most of them written in my
spare time.

I understand the frustration, but you're shooting the wrong target.

> > no one had shown interest in doing or funding that work.
> You did not even ask me.

Here I was talking in the context of the upstream WebKit project.

This project receives contributions from many individuals and
organizations. Over the years, some of them have actively worked (or
funded the work) to maintain the Linux ports of WebKit running on
certain platforms, and the project is generally open to these kinds of
contributions.

And, again, in the context of the upstream WebKitGTK project, since
the time that it started using Skia, no one came to make it work on
s390x, I suspect because no one actually uses WebKitGTK on s390x.

So WebKitGTK dropped big-endian support. When that happened I decided
to request the removal of the s390x packages from the archive because
it's blocking more than 200 CVE fixes from reaching testing.

About the non-official ports (hppa, powerpc, m68k, sparc, etc.), I
didn't request any removal from anywhere. I added a build dependency
on "architecture-is-little-endian", which simply describes the current
status of the project, and prevents useful CPU cycles from being
wasted on a build that is 100% guaranteed to fail. If someone manages
to provide a patch that makes it build I'm happy to take it (as I have
always done) as long as it's something that I can evaluate, is not too
intrusive and doesn't break other targets.

But for an official port like s390x I would be against enabling it
again without a credible plan from someone to do the actual work, and
*own* it (see below).

> This is about Skia, not WebKit.

Even if it wast just about Skia, WebKitGTK updates it every month or
two, so any patches to make it work on big-endian targets would need
to be rebased constantly.

But I'm afraid that this is not just about Skia. The common WebKit
code is full of '#if CPU(BIG_ENDIAN)' code that is basically dead and
no one is testing.

In fact I just saw that there's even a hard build error in
PlatformCPU.h (this is not Skia, this is project-wide code):

   #if !CPU(LITTLE_ENDIAN)
   #error "Unsupported endian"
   #endif

And see where that came from:

   https://commits.webkit.org/318379@main

> Plus, there are people from IBM willing to step in to help. I'm not
> sure why you didn't accept their help.

The people from IBM wrote offering their help, and within 30 minutes I
sent them a reply describing the current status of the problem,
showing an example of another project that was patching Skia
downstream as a reference, and I directed them to upstream WebKitGTK,
where their work would be the most valuable.

If that effort ends up being successful, then the situation in Debian
can be re-evaluated.

Regards,

Berto
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads