New comment by jcgruenhage on void-packages repository https://github.com/void-linux/void-packages/pull/31552#issuecomment-1155000157 Comment: So, a few things here: - can we reopen this? - @Chocimier keyanalyze does build with that template, but the resulting package is broken. I've commented it out for now, because keyanalyze isn't really all that useful for me anyway - the problem with perl-GnuPG-Interface still persists, any guesses what's going wrong there? ```text error determining fileno for STDIN: Illegal seek at (eval 270) line 55. Use of uninitialized value $line in pattern match (m//) at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 827. Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841. Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841. GnuPG Version 1.4 or 2.2+ required at (eval 270) line 55. ``` Here's the code: ```perl sub _version { my ( $self ) = @_; my $out = IO::Handle->new; my $handles = GnuPG::Handles->new( stdout => $out ); my $pid = $self->wrap_call( commands => [ '--no-options', '--version' ], handles => $handles ); my $line = $out->getline; $line =~ /(\d+\.\d+\.\d+)/; my $version = $1; unless ($self->cmp_version($version, '2.2') >= 0 or ($self->cmp_version($version, '1.4') >= 0 and $self->cmp_version($version, '1.5') < 0 )) { croak "GnuPG Version 1.4 or 2.2+ required"; } waitpid $pid, 0; return $version; } ``` And here's the output of `gpg --no-options --version`: ```text gpg (GnuPG) 2.2.34 libgcrypt 1.10.1 Copyright (C) 2022 g10 Code GmbH License GNU GPL-3.0-or-later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: /home/jcgruenhage/.gnupg Supported algorithms: Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2 ``` From my understanding of perl, this looks like it should work. I've also not been able to find any patches that other distros that have this packaged apply.