Pierre Labastie wrote:
On 08/02/2018 05:21, Bruce Dubbs wrote:
Ken Moffat wrote:
At the moment we note that posix/test-getaddrinfo4 and
posix/testgetaddrinfo5 may fail on some architectures.

According to https://sourceware.org/bugzilla/show_bug.cgi?id=20826
the tests need a working internet connection with DNS (reading the
details, they could pass depending on what was in /etc/hosts).

This was fixed in 2.27 (I haven't built it yet, but somebody posted
a link to bugs fixed in glibc-2.27 and I looked to see if anything
looked intersting).  So, I assume we can remove that comment.

My latest build was without tests, but I did a full test before glibc.  As I
recall, both getaddrinfo{4,5} failed, but only those.

If the tests need an internet connection with DNS, I think they cannot work in
chroot without copying the /etc/resolv.conf file from the host.

It would be interesting to do

echo nameserver > /etc/resolv.conf

just before make check. We would overwrite it in Chapter 7 with current instructions.

  -- Bruce

FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to