On 2/3/2020 5:08 PM, Don Cross via blfs-support wrote:


On Mon, Feb 3, 2020 at 5:22 PM Alan Feuerbacher via blfs-support <[email protected] <mailto:[email protected]>> wrote:

    subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned
    non-zero exit status 1.


Just reading the Python stack trace, this appears to be the critical part. It is trying to execute the following command through the shell:

lsb_release -a

And that command is failing. When I run that command right in my Debian bash, I get:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.11 (stretch)
Release: 9.11
Codename: stretch

Alan, what happens when you do that? I encourage you to keep following the bread crumbs on this, one step at a time.

You're right: the release file was missing. Apparently I missed the entire section. Duh.

Anyway, I think I've found the actual problem: Python-3.8.1 fails to install two binaries that the LFS book says are created:

/usr/bin/pip3.8 is not created at all, but the symlink /usr/bin/pip3 -> pip3.8 is created by a manual step. That's why trying to execute it fails, since the symlink points to a nonexistent file.

/usr/bin/pyvenv and /usr/bin/pyvenv-3.8 are not created at all.

Alan

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to