Re: [blfs-dev] strange dependencies: samba -> python3 -> lsb-tools

2020-03-03 Thread Bruce Dubbs via blfs-dev

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.
* I can build samba with Python 3 built in LFS, before I rebuilt Python 3.

Should we remove them, or explain why we need these strange dependencies?


I think those are both artifacts of older versions of the book.  I agree 
that they can be removed.


  -- Bruce


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


Re: [blfs-dev] strange dependencies: samba -> python3 -> lsb-tools

2020-03-03 Thread Douglas R. Reno via blfs-dev


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


[blfs-dev] strange dependencies: samba -> python3 -> lsb-tools

2020-03-03 Thread Xi Ruoyao via blfs-dev
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.
* I can build samba with Python 3 built in LFS, before I rebuilt Python 3.

Should we remove them, or explain why we need these strange dependencies?
-- 
Xi Ruoyao 
School of Aerospace Science and Technology, Xidian University

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