develooper Front page | perl.perl5.porters | Postings from May 2019

Re: [perl #134043] Net-Ping tests fail on Android 8.1 (Oreo) becausegetprotobyname etc. aren't implemented

Thread Previous
From:
Richard Leach
Date:
May 19, 2019 02:40
Subject:
Re: [perl #134043] Net-Ping tests fail on Android 8.1 (Oreo) becausegetprotobyname etc. aren't implemented
Message ID:
CADWSe2cX5gn=+rRxjz41ZZqm20SRBeviLzUEKd15BEMtrcLfog@mail.gmail.com
On Thu, Apr 18, 2019 at 1:09 AM Richard Leach (via RT)
<perlbug-followup@perl.org> wrote:
> Related to the efforts in RT#133787 to build Perl on Android 8.1
> (Oreo) under the Termux app environment, Net-Ping tests fail under
> "make test" because getprotobyname & co have not been implemented in
> the Bionic libraries.

Not ruling out providing an implementation of the missing functions,
but while looking into this further, I noticed that:
* Various Net::Ping tests skip if d_getpbyname is undefined, but not
all tests needing getprotobyname do this. One of the attached patches
adds additional skips.
* The Android hints file has probes for the stub functions, but these
no longer work due to the functions having stopped emitting warnings
at some point. This results in Configure therefore believing that the
stub functions are defined. The other attached patch restores stub
detection based upon the function return values.

Please could these patches be applied once blead is unfrozen?

Thanks,
Richard

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About