#1135587 screen: screen no longer works on big-endian systems

Package:
src:screen
Source:
src:screen
Submitter:
John Paul Adrian Glaubitz
Date:
2026-06-01 15:43:02 UTC
Severity:
normal
Tags:
#1135587#5
Date:
2026-05-03 07:24:19 UTC
From:
To:
Source: screen
Version: 5.0.1-1.1
Severity: important
X-Debbugs-Cc: debian-68k@lists.debian.org, debian-powerpc@lists.debian.org, debian-s390@lists.debian.org, debian-sparc@lists.debian.org
User: debian-68k@lists.debian.org
Usertags: m68k
User: debian-powerpc@lists.debian.org
Usertags: powerpc ppc64
User: debian-s390@lists.debian.org
Usertags: s390x
User: debian-sparc@lists.debian.org
Usertags: sparc64

Hi,

since the latest update, screen no longer works on big-endian systems.

Tested on both ppc64 and sparc64, running "screen bash" will start bash
inside a screen, but it's no longer possible to interact with the shell,
i.e. typing commands.

Downgrading screen to the last 4.x release, fixes the problem immediately.

Thanks,
Adrian

#1135587#10
Date:
2026-05-04 09:46:26 UTC
From:
To:
Hi John,

There seems to be a fix for this here in https://savannah.gnu.org/bugs/?67607
(https://cgit.git.savannah.gnu.org/cgit/screen.git/diff/?h=screen-v5&id=ccd0b27504707e4f3099f0b9fd7a89489c6973fb)

I have tested this patch on my s390x machine and it does seem to work fine.

Thanks,
Pranav

#1135587#15
Date:
2026-05-04 10:11:47 UTC
From:
To:
Hi Pranav,

Thanks for the heads-up! I'll test it on both big-endian PowerPC and SPARC.

Adrian

#1135587#20
Date:
2026-05-04 10:43:36 UTC
From:
To:
Hi Pranav,

I can confirm that the attached patch extracted from the commit above fixes the problem.

Adrian

#1135587#35
Date:
2026-05-07 13:17:39 UTC
From:
To:
Raising the severity to serious now to avoid that the broken version
migrates to testing and breaks screen on s390x there.

Adrian

#1135587#42
Date:
2026-05-12 06:55:31 UTC
From:
To:
Hi John,

Just to be sure. Was the severity raised to serious just as to warn the migration of the
package to testing or is there something that isn't working properly with the patch?

Thanks & Regards,
Pranav

#1135587#47
Date:
2026-05-12 07:06:58 UTC
From:
To:
Hi Pranav,

As indicated by my previous mail, I have set the severity to serious so that the package
won't be updated to 5.x in testing until this particular bug has been fixed. This ensures
that screen is broken on s390x in unstable only.

Adrian

#1135587#52
Date:
2026-05-12 08:56:55 UTC
From:
To:
Hello John,
There is already a fix provided as for this as part of https://savannah.gnu.org/bugs/?67607.

Pranav has verified this fix on S390x , it is working as expected.

Regards,
Giridhar Trivedi

From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date: Tuesday, 12 May 2026 at 12:37 PM
To: Pranav P <pranav.p7@ibm.com>
Cc: 1135587@bugs.debian.org <1135587@bugs.debian.org>, Debian S/390 Team <debian-s390@lists.debian.org>, debian-powerpc <debian-powerpc@lists.debian.org>,
<debian-sparc@lists.debian.org>
Subject: [EXTERNAL] Re: Bug#1135587: screen: screen no longer works on big-endian systems

Hi Pranav,

As indicated by my previous mail, I have set the severity to serious so that the package
won't be updated to 5.x in testing until this particular bug has been fixed. This ensures
that screen is broken on s390x in unstable only.

Adrian

#1135587#57
Date:
2026-05-12 09:35:22 UTC
From:
To:
Hi Giridhar,

Yes, I have also verified the fix on big-endian PowerPC and SPARC.

However, the fix has not been added to Debian unstable yet. The package
in unstable is still broken hence the severity of the bug.

Adrian

#1135587#62
Date:
2026-05-13 02:49:27 UTC
From:
To:
Strange, on Gentoo I have screen 5.0.1 on both m68k and PowerPC without this problem.
#1135587#67
Date:
2026-05-14 15:34:17 UTC
From:
To:
Hi folks,
https://salsa.debian.org/debian/screen/-/merge_requests/5

To assist with picking up any other regressions in future, anyone know
how I
can get a selection of CI runners assigned to this salsa project:
https://salsa.debian.org/peterdey/screen
(e.g. ppc64el/s390x/sparc64)?

Cheers,
Peter

#1135587#72
Date:
2026-05-16 03:06:28 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
screen, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1135587@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Otto Kekäläinen <otto@debian.org> (supplier of updated screen package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 16 May 2026 00:00:00 +0000
Source: screen
Architecture: source
Version: 5.0.1-2
Distribution: unstable
Urgency: medium
Maintainer: Axel Beckert <abe@debian.org>
Changed-By: Otto Kekäläinen <otto@debian.org>
Closes: 702659 859313 1134768 1135587
Changes:
 screen (5.0.1-2) unstable; urgency=medium
 .
   [ Peter Dey ]
   * Fix regression of #51088 - socket dir should be in /run/screen
   * Set Priority to optional to match archive override (Closes: #1134768)
   * Keep -Q @windows output off the attached display (Closes: #702659)
   * Restore the value of defflow after (re-)attachment (Closes: #859313)
   * Fix input handling on big-endian systems (Closes: #1135587)
   * Documentation fixes to keep lintian happy
 .
   [ Otto Kekäläinen ]
   * Bump Debian Policy version to 4.7.4
   * Update d/copyright to include recent contributors
   * Add myself and Peter Dey as uploader, and remove inactive old uploader
Checksums-Sha1:
 cc7ea4ce3d6fa53b29334950ca289620551faa2f 2316 screen_5.0.1-2.dsc
 909b7b06eb47bcf7b03cc5cc7d2d4e9eddb29c02 55508 screen_5.0.1-2.debian.tar.xz
 fa853be13fb13129282a5a17ed5b34d948b5ad7d 5903 screen_5.0.1-2_source.buildinfo
Checksums-Sha256:
 051c9bec3b609e4ff3dd7a782ebcb12338ee4adbba853d930f50ef6b4d1276a7 2316 screen_5.0.1-2.dsc
 b227dfd42ffb33a0f9f4d2d0f3383aed804ee77ae287ef7bd5861a9bc0f9ef7c 55508 screen_5.0.1-2.debian.tar.xz
 80573da8f4a0a020371db9373f0818b72356fc50ac2957bad83b56e6f251f41f 5903 screen_5.0.1-2_source.buildinfo
Files:
 837985b6249518d108d995bf117249e9 2316 misc optional screen_5.0.1-2.dsc
 f7e1cf9dcfa45906d6e51174a1369562 55508 misc optional screen_5.0.1-2.debian.tar.xz
 a36982293ceba192767428f39f55e662 5903 misc optional screen_5.0.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmbRSsR88dMO0U+RvvthEn87o2ogFAmoH224ACgkQvthEn87o
2ohsfg//ci31Kn2yYSLOAp8HIknDlR7h1LY9aBzKU5mpoJ9GGy1eOWODoR19YcMf
+XlxcsK/jUYIH53B+UeLm3kXAmq7wwHIhLMj6U7QVrFDBbfZjLAOp5hwFB9bm0y0
usnxj7MeMFjFiKl5iZ6A3xuS2QnLUVoWZN0blQ+iMsT8nD0EkSckKFDoiMSwqGzk
FFMARPqMvO+j89adAj8eX0/XBJBHKXQs2uhXhsHFlKyQrfga/R043RDNcB6HNhZN
7i//bwJwwKdGTlvfLnFGyT6tOmNl3/z5GBEyHzNJmTzk05DErpbN2ZVwCDa2SCv3
eyJKOQHN3K1NegwQAXTmNzTPCSE90Ob+uhy1aYmRMRVPlz5J0D17JLKivQkRznKE
Wvv370pnA0KEzb6D8j7Pqu+ZvfaqoydnE0/FgfHxKDN9YUKtkmxsNrDT6mUxzxMP
dUw6Cax3qMKJ9MnUg/9sacPN83cM3mIqryJkXMnKQpMGxXI9JIAn/Z0SX71wlkAY
UV/AVcg4+T85DWa4+9UjIu6BxQPQZ49TtqA1K2tc0rQ44nZTwRwv8c2p+DuECO1z
z9fxg0/ZYbcMWgfnuUvtNw2bmPHnBB7xlBtW8QAmQrv9xrckoau1jSw57aeXrTyU
b+VQpRLMfjtbksKntnC7LBDq8+1acXdcdXa9mL7equvzX0NDwAc=
=8XEI
-----END PGP SIGNATURE-----

#1135587#77
Date:
2026-06-01 13:30:25 UTC
From:
To:
Hi guys,

Perhaps no-one saw this, because I didn't include all the lists in CC...

To prevent other/future big-endian regressions, we're trying to get some
additional runners enabled on the Screen repo in Salsa:
https://salsa.debian.org/debian/screen/-/merge_requests/6

As far as I can tell, the runners for s390x and pp664el are enabled...
but they're not accepting jobs.

Would someone know if this is a config issue on our side, or a
permissions issue in the infra somewhere?

Cheers,
Peter

#1135587#82
Date:
2026-06-01 15:41:25 UTC
From:
To:
You do "dpkg --add-architecture s390x" and
"apt-get build-dep --host-architecture s390x"?

Bastian