Skip to content

Instantly share code, notes, and snippets.

@marioroy
Created November 8, 2014 01:26
Show Gist options
  • Save marioroy/9523867fa5c40e4f63bf to your computer and use it in GitHub Desktop.
Save marioroy/9523867fa5c40e4f63bf to your computer and use it in GitHub Desktop.
Test results for Net-DNS-Native-0.11
## Test results for Net-DNS-Native-0.11
## Use of uninitialized value in subroutine entry at
/tmp/Net-DNS-Native-0.11/blib/lib/Net/DNS/Native.pm line 37.
^^ error reported 227 times during make test (Perl 5.16.3, CentOS 7, TrueOS 10.0)
line 37: _fd2socket $self->_getaddrinfo($_[0], $_[1], $_[2], GETADDRINFO);
$_[0] is defined, but not $_[1] and $_[2]
sub getaddrinfo {
my $self = shift;
_fd2socket $self->_getaddrinfo($_[0], $_[1], $_[2], GETADDRINFO);
}
## On Mavericks (OS X 10.9.5; Perl 5.16.2)
Same error ^^ above 148 times.
Also, the following (notice Too many open files):
t/03_segfault.t .. skipped: socketpair(): Too many open files at /Volumes/RAMDisk/shm/Net-DNS-Native-0.11/blib/lib/Net/DNS/Native.pm line 37.
## Question:
Should Net::DNS::Native work with Perl 5.16.x?
What about Perl 5.14.x (Ubuntu Server 12.04 LTS)? (End of life 04/2017)
Redhat 7 comes with Perl 5.16.3. That will not change until RedHat 8 which
is a long time from now. Future Redhat updates i.e. 7.1, 7.2, 7.3, etc will
remain Perl 5.16.x. This includes CentOS Linux, Scientific Linux, anything
based on RedHat 7.
OS X 10.9.5 (Perl 5.16.3)
DragonFlyBSD 3.8 (Perl 5.16.3)
DragonFlyBSD 4.0 (Perl 5.16.3) is coming soon
FreeBSD 10.0 (Perl 5.16.3)
TrueOS 10.0.3 (Perl 5.16.3)
One can install a newer version on TrueOS (imagine the same for FreeBSD).
It uninstalls perl5.16 during the process. Though, not sure if this
becomes a problem for folks installing p5 packages (XS extensions)
compiled for Perl 5.16. Removing perl5.16 removes other packages (-1).
$ pkg search perl5
perl5.18-5.18.2_4 <-- passing, ok
perl5.20-5.20.0_3 <-- passing, ok
# pkg install perl5.18-5.18.2_4
...
Proceed with this action? [y/N]: y
[1/9] Deleting trueos-base-1408539534: 100%
[2/9] Deleting pcbsd-utils-1409929483: 100%
[3/9] Deleting qt4-network-4.8.6_1: 100%
[4/9] Deleting qt4-corelib-4.8.6_3: 100%
[5/9] Deleting perl5-5.16.3_11: 100% <-- oh oh
[6/9] Deleting mosh-1.2.4: 100%
[7/9] Deleting zfs-stats-1.2.2_1: 100%
[8/9] Deleting glib-2.40.0_4: 100%
[9/9] Installing perl5.18-5.18.2_4: 100%
## The following is just Fyi in case folks are wondering about older Perl 5.12.x
$ perl5.12 Makefile.PL
Warning: prerequisite Socket 1.94 not found. We have 1.8701.
Writing Makefile for Net::DNS::Native
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment