On 02/10/2019 10:07 AM, Xi Ruoyao via lfs-dev wrote:
On 2019-02-10 09:54 -0600, Bruce Dubbs via lfs-dev wrote:
On 02/10/2019 06:41 AM, Pierre Labastie via lfs-dev wrote:
On 10/02/2019 08:45, Brandon Murry via lfs-dev wrote:
Hi, I hope this is the right place to put this.
I've been attempting to build Linux From Scratch from the development book
using Systemd. One of the big new changes is an early build of Python 3.7.2
for the newest version of Glibc 2.29. I've tried this about 6 times trying all
different setups within the host environment. Compiling Python 3.7.2 during
chapter 5 produces a ton of "error: unknown type name" for standard C libraries.
Python fails to build the majority of it's modules. When Glibc is rebuilt
during chapter 6, it fails due to missing Python modules. Haven't seen any
hints about this from LFS or on the net, so curious to see if I'm the only one
having this issue.
Thanks,
Brandon


All I can tell is that I've built LFS SVN twice (in a 64 bit and in a 32 bit
VM) since glibc-2.29 has been put in, and I haven't seen those errors.

Like Thomas, I suggest you check the 2.2 host system requirements page. Note
that version-check.sh does not necessarily tell if something goes wrong: the
output has to be compared with the versions given above in the page.

We saw that problem in testing.  Python in Chapter 5 needs glibc 2.26 or
later on the host system.  We did change that in the host system
requirements.

But this is very strange.  Chapter 5 Python should link to Glibc-2.29 built in
temporary toolchain, instead of Glibc of the host.

It has to do with headers. It's possible that with the right CFLAGS setting we can get Python in Chapter 5 to build with the headers in /tools. The problem we saw was with Debian stable. If someone wants to investigate, then we can update the book to support older versions of glibc.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to