gnuports@2rosenthals.com ?????????????? ????? #42

???: "Dave Yeo" <gnuports@2rosenthals.com> ?? ????
?????????
??: Re: [GNU Ports] Assertion error with pip building
??: Fri, 30 Sep 2022 19:45:17 -0700
??: GNU Ports for eCS Mailing List <gnuports@2rosenthals.com>

On 09/30/22 07:18 PM, Lewis G Rosenthal wrote:
Greetings...

For a project (Privoxy), I got involved in building Mbed TLS
(https://www.trustedfirmware.org/projects/mbed-tls/). Mbed TLS seems to
require the Jinja2 Pyhthon module (https://pypi.org/project/Jinja2/).

Unfortunately, pip (well, gcc, more likely) is having a hard time
building wheel, as a prereq for MarkupCode, which itself is a prereq for
Jinja2.

I've hackishly worked around the problem by removing line 91 from
python3.9/site-packages/setuptools/command/install_lib.py:

assert preserve_mode and preserve_times and not preserve_symlinks


What I'm failing to understand, however, is why the assertion fails in
the first place. It seems perfectly reasonable, unless I'm missing
something. Before I open a ticket for bww about this, I thought I might
mention it here, in case anyone has any ideas.

Thanks

Here's a bit of the output (mind the wrapping):


Wonder about it not wanting to write to your $HOME directory, seems to fail with copy_tree
Dave

???????: ????, ??????, ??????.
?????????
??? ????????