Re: Failed tests for Python3 on LSF-13.0-systemd
"Alan Ianson" ([email protected] via lfs-support Mailing List) <[email protected]> Tue, 31 Mar 2026 13:43:24 -0700
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1774989814-1253-20055 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 31 Mar 2026 10:00:02 +0000 "\"Nikita Beliy\"" ([email protected] via lfs-support Mailing List) <[email protected]> wrote: > Dear all, > > While installing tools from chapter 8 , I stumbled on an error in > test which wasn't referenced in the book and do not appear in the > reference log. In section 8.53. Python-3.14.3, the test_urlib2 > and .test_urllibnet fails, because they can't resolve the host name > 'www.pythontest.net'. And indeed, in chroot environment, > I can't ping by host names, only by ip. You can place an /etc/resolv.conf inside your chroot if you need hostname resolution. In the past I have copied a working /etc/resolv.conf form my host for this reason. The development book currently includes these instructions for the XML-Parser package... cat > /etc/resolv.conf << EOF nameserver 8.8.8.8 nameserver 8.8.4.4 EOF And after it's complete the /etc/resolv.conf file is removed. > I managed to bypass this test by adding www.pythontest.net to hosts, > after which these tests passes on second pass. This approach will work just as well. > But I'm still unsure, should the system at this stage be able to > resolve host names or not: > On one side, no mention of this error in book, and no error reported > in reference logs > On other side, in the same chapter, when discussing pip, book states: > "Since domain name resolution is not yet configured". > > So should I carry on, or go back and reinstall inetutils? I don't think inetutils will be of any help in this case. I would just carry on just you are. ------------=_1774989814-1253-20055 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page ------------=_1774989814-1253-20055--