#1054654 Uses LWP::Debug::trace without explicit 'use LWP::Debug;'

#1054654#5
Date:
2023-10-27 12:02:58 UTC
From:
To:
Hi!

The module has been broken for a long long time, it tries to
unconditionally use LWP::Debug::trace which has been remove from LWP.

The attached reproducer shows the problem.

There is a forked and working version in
LWP::Protocol::http::SocketUnixAlt, I suggest packaging that and
removing liblwp-protocol-http-socketunix-perl from Debian.

Grüße,
Sven.

#1054654#10
Date:
2023-10-27 12:41:23 UTC
From:
To:
Hello,

I misinterpreted the error.

LWP::Debug::trace() still exists, but one needs to explicitly add

use LWP::Debug;

to the code to be able to use it.

Either way, the code is still very old, broken in the default state,
LWP::Debug only exists for legacy code and should not be used anymore (as
per its own dicumentation) and a working alternative exists for
LWP::Protocol::http::SocketUnix exists, my suggestion and the graveness of
this bug is still valid.

Grüße,
Sven.

#1054654#15
Date:
2023-11-25 11:18:24 UTC
From:
To:
Hello,

Bug #1054654 in liblwp-protocol-http-socketunix-perl reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/perl-team/modules/packages/liblwp-protocol-http-socketunix-perl/-/commit/d4f3898333e178f0d20fb0745a20dbe4585648b8
------------------------------------------------------------------------
patch in explicit loading of LWP::Debug

Closes: #1054654
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1054654

#1054654#22
Date:
2023-11-25 11:22:07 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
liblwp-protocol-http-socketunix-perl, 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 1054654@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Damyan Ivanov <dmn@debian.org> (supplier of updated liblwp-protocol-http-socketunix-perl 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, 25 Nov 2023 11:15:29 +0000
Source: liblwp-protocol-http-socketunix-perl
Architecture: source
Version: 0.02-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: Damyan Ivanov <dmn@debian.org>
Closes: 1054654
Changes:
 liblwp-protocol-http-socketunix-perl (0.02-5) unstable; urgency=medium
 .
   * Team upload
 .
   * help automatic package testing with pkg-perl/use-name
   * declare conformance with Policy 4.6.2 (no changes needed)
   * patch in explicit loading of LWP::Debug (Closes: #1054654)
Checksums-Sha1:
 839c9fb03ef78e015ea193ca15f263d2b97c0526 2329 liblwp-protocol-http-socketunix-perl_0.02-5.dsc
 e979dc78477605e0d7261602fbd752112df71388 3004 liblwp-protocol-http-socketunix-perl_0.02-5.debian.tar.xz
Checksums-Sha256:
 00de88cbe2d9024a2f40c96bb898b11395ad451edb7eef77a1bcd3cbed988fc0 2329 liblwp-protocol-http-socketunix-perl_0.02-5.dsc
 199ee43928c36d8d7be278d411b1ae5ddfc2a6e52c51cf48403bb9f3184eb8dc 3004 liblwp-protocol-http-socketunix-perl_0.02-5.debian.tar.xz
Files:
 ea205aa88bf49d4288d221bba55cc4db 2329 perl optional liblwp-protocol-http-socketunix-perl_0.02-5.dsc
 8c0d66a7e95b425274199644a0cbf583 3004 perl optional liblwp-protocol-http-socketunix-perl_0.02-5.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEErqDETssFbpNjDZ0z276dTZnSoAQFAmVh18gACgkQ276dTZnS
oATbmg//TLvOUBRW3LpsVkpINyfCMmNnBtN4psVMlrVwZaYw1+dGSGZt3yQ/W9w8
x5KV6fkZC5/fn4uGv1astCqGTcbx/w+OOfzcDtu0WaDg0xzwA06AEmxEvdA2z4+o
2KeAkOo6Y6TPQtkEzibPnGWkoy6Ks2TX4wntjg/GrY2Kmn05FisLKOgHvbki7go9
+MBhnTqLEQLGfOdEGzDj9bAIWCnTXpY9cWw1aiS073zYGfbTQw73OSUqDr+fALYS
49RE9Qra303F3ZvCmTMxv5f+3rSn0t8cK5qp9NjbGxtmbBNKy7lfzt1D1h1su6bC
x7ohfNtQHFGY5sQSf2deaoFnToBvnDMzHp/J2mSz0KoDClrQSWhI5w8PXPED78Wk
pKy58CDMjC3P378qnCS3RGvaPdK5hSPS1PEgGmHuO2qpTHIJOJEnnpiEq3ZurgMt
q4Y3J49J0T7Kb62grdfeXFGoaZ36ysJIYYdM8RlXObOisu0Y9G8FYMtoaGrxhuT1
DtBthfyDQVcULyNVtTxad8oUS4w2BHYP1JqEP1eJKo/1WJEiwYFvuOojcZ02hv4/
l9LlfsWLalXXunuv791v502Gb0wBX9RYuwE39Q0qEFwLsHLVWtHM/hoFQjdOJnsF
g9mcxQGIoLzgXN4GoUZ665BFpFAX/owkWZf1xflR9xj8MN7xBpI=
=bEPL
-----END PGP SIGNATURE-----