On 3/3/20 8:42 PM, Xi Ruoyao via blfs-dev wrote:
Now samba requires python 3, and python 3 requires lsb-tools.  I don't think
these make any sense:

* I can rebuild Python 3 (for upgrading) w/o lsb-tools.

This was instated when upgrading to Python-3.8 IIRC. When installing Python-3.8.0, setuptools would call upon 'lsb-release' if a /etc/lsb-release file is present on the system (to identify the distribution and adapt to some quirks that other distros use). LSB-Tools uses a python module as part of it's implementation of lsb-release, and when upgrading minor versions of python, the modules aren't carried over. Setuptools used to call 'lsb-release' after it would install the new python executable, and as a result, it would crash because there is no '/usr/lib/python3.8/site-packages/lsbtools/lsb_release.py' file installed under the python3.8 directory yet (you have to rebuild lsb-tools for that).


I remember putting that in, but I'm not sure if it's valid or not anymore. I think they may have fixed it in the newest version of setuptools (which is included with Python-3.8.2). If there aren't any objections, I have no issues with commenting this out in case it becomes a problem again.

* I can build samba with Python 3 built in LFS, before I rebuilt Python 3.
That was an oversight on my part, I'll remove it in my next commit. Thank you Xi
Should we remove them, or explain why we need these strange dependencies?
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to