Package: liblwp-protocol-http-socketunix-perl Version: 0.02-4 Severity: grave Tags: upstream
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. -- System Information: Debian Release: trixie/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (200, 'experimental'), (1, 'experimental-debug') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.4.0-2-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages liblwp-protocol-http-socketunix-perl depends on: ii libwww-perl 6.72-1 ii perl 5.36.0-9 liblwp-protocol-http-socketunix-perl recommends no packages. liblwp-protocol-http-socketunix-perl suggests no packages. -- debconf-show failed
#!/usr/bin/perl use strict; use warnings; use LWP; use HTTP::Request; use LWP::Protocol::http::SocketUnix; LWP::Protocol::implementor( http => 'LWP::Protocol::http::SocketUnix' ); my $ua = LWP::UserAgent->new(); my $req = HTTP::Request->new( "GET" => "http:/run/some-socket-somewhere-does-not-matter/" ); my $res = $ua->request($req); print $res->content;