On Sun, 02 Jul 2023 15:40:45 +0100, Mark Hindley wrote: > On Sun, Jul 02, 2023 at 03:37:29PM +0200, gregor herrmann wrote: > > Random notes: > > - IO::Uncompress::AnyUncompress is in both perl-modules-5.36 and > > libio-compress-perl. > The system I reproduced on only has perl-modules-5.36 installed.
Ok. > > - From a quick look at libio-compress-perl I don't see any recent > > relevant changes. > > - I note that for de/compressing xz files libio-compress-lzma-perl is > > needed, > Can you point me to the documentation for that, please? I have looked again > and > still can't find it! TBH, I was grepping through the code and found various occasions where IO::Compress::Adapter::Xz or IO::Uncompress::Adapter::UnXz and IO::Compress::Xz or IO::Uncompress::UnXz are mentioned :) lib/IO/Uncompress/AnyUncompress.pm (from libio-compress-perl in git, 2.204-1) has 41 eval ' use IO::Uncompress::Adapter::UnXz 2.204 ;'; 53 eval ' use IO::Uncompress::UnXz 2.204 ;'; 140 if (defined $IO::Uncompress::UnXz::VERSION and 145 my ($obj, $errstr, $errno) = 146 IO::Uncompress::Adapter::UnXz::mkUncompObject(); The only thing which comes close to some documentation is 1060 =head1 SEE ALSO 1061 1062 L<Compress::Zlib>, L<IO::Compress::Gzip>, L<IO::Uncompress::Gunzip>, L<IO::Compress::Deflate>, L<IO::Uncompress::Inflate>, L<IO::Compress::RawDeflate>, L<IO::Uncompress::RawInflate>, L<IO::Compress::Bzip2>, L<IO::Uncompress::Bunzip2>, L<IO::Compress::Lzma>, L<IO::Uncompress::UnLzma>, L<IO::Compress::Xz>, L<IO::Uncompress::UnXz>, L<IO::Compress::Lzip>, L<IO::Uncompress::UnLzip>, L<IO::Compress::Lzop>, L<IO::Uncompress::UnLzop>, L<IO::Compress::Lzf>, L<IO::Uncompress::UnLzf>, L<IO::Compress::Zstd>, L<IO::Uncompress::UnZstd>, L<IO::Uncompress::AnyInflate> Some other grep results: lib/IO/Compress/Zip.pm:To write Xz content, the module C<IO::Uncompress::UnXz> must lib/IO/Uncompress/Unzip.pm: eval{ require IO::Uncompress::Adapter::UnXz ; lib/IO/Uncompress/Unzip.pm: IO::Uncompress::Adapter::UnXz->import() } ; lib/IO/Uncompress/Unzip.pm: if ! defined $IO::Uncompress::Adapter::UnXz::VERSION ; lib/IO/Uncompress/Unzip.pm: my $obj = IO::Uncompress::Adapter::UnXz::mkUncompObject(); lib/IO/Uncompress/Unzip.pm:To read Xz content, the module C<IO::Uncompress::UnXz> must So lib/IO/Compress/Zip.pm and lib/IO/Uncompress/Unzip.pm mention that IO::Uncompress::UnXz is required (and the former should probably mention IO::Compress::Xz) > > which is only Suggested by libio-compress-perl (and > > Recommended by apt-cacher) > Installing libio-compress-lzma-perl pulls in libio-compress-perl and normal > apt-cacher decompression is restored. Yay \o/ > I suppose the apt-cacher Recommends will need to become a Depends. *nod* Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `-
signature.asc
Description: Digital Signature