Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#75016 - libcups 2.4.2 links to OpenSSL ... libcups 2.4.1 linked to libgnutls.so
Attached to Project:
Arch Linux
Opened by Ryan Phillips (rphillips) - Friday, 10 June 2022, 01:01 GMT
Last edited by Toolybird (Toolybird) - Sunday, 31 July 2022, 03:42 GMT
Opened by Ryan Phillips (rphillips) - Friday, 10 June 2022, 01:01 GMT
Last edited by Toolybird (Toolybird) - Sunday, 31 July 2022, 03:42 GMT
|
DetailsDescription:
The new libcups-2.4.2 added support for OpenSSL. Arch Linux is now linking to libcups-2.4.2 to OpenSSL where prior to 2.4.2 the library linked to libgnutls. This new behavior is breaking Plexamp (and likely other packages). The main Plex forum is tracking the problem in this thread https://forums.plex.tv/t/plexamp-suddenly-no-longer-works-on-any-of-my-computers/795172/1 . The fix currently is to roll back to libcups-2.4.1. Forcing the Arch libcups-2.4.2 package to link to gnutls is probably a good fix. Additional info: * libcups-2.4.2-1 and libcups-2.4.2-2 (not working) is linking against OpenSSL * libcups-2.4.1-X (working) is linking against GnuTLS Steps to reproduce: Install plexamp-appimage with the new libcups-2.4.2-{1 or 2}. Notice an 'Unknown Error' upon trying to login. A successful call to the API with invalid credentials will return an error to the app 'User could not be authenticated'. |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 31 July 2022, 03:42 GMT
Reason for closing: Fixed
Additional comments about closing: cups 1:2.4.2-3
Sunday, 31 July 2022, 03:42 GMT
Reason for closing: Fixed
Additional comments about closing: cups 1:2.4.2-3
This patch fixes the issue for the PKGBUILD
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 415a1d4..a07f924 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -83,6 +83,7 @@ build() {
--enable-pam=yes \
--enable-raw-printing \
--enable-dbus=yes \
+ --with-tls=gnutls \
--with-dbusdir=/usr/share/dbus-1 \
--enable-relro \
--enable-libpaper \
{,lib}cups-2.4.2-2 broke printing to my canon pixma ts8151 (throwing a cups-pki-invalid error), and the relink to gnutls in 2.4.2-3 fixed it.
No appimage involved.
It was reported by Arch user and fixed by upstream. Case closed. Those mentioned here were just hidden under the carpet. I don't think Arch maintainers could test for all possible bugs themselves ever and those bugs won't be fixed automagically - someone needs to find and report them. It happens elsewhere - Arch users are significant source of foss bug reports since they are often among first adopters of new releases.
For those reasons switching over to openssl may make sense even if there will be some short term pain which will convert to long term benefit. Keep in mind we talk about upstream default not some experimental knob.
I agree some sort of testing including reading changelogs and tracking actual set of dependencies is appreciated :)
The upstream default should still be gnutls. Switching the default library on a point release is not semver compatible. We do need a report upstream on the issue, but I did not have the time to do so.
[1] https://github.com/OpenPrinting/cups/issues/409#issuecomment-1149019755