Open osresearch opened 8 months ago
If I add
unix_ffi=True
tolib/micropython-lib/python-stdlib/os-path/manifest.py
, then it is able to compile the frozen content.
I don't think that's the correct solution because it will most likely break targets (eg bare-metal ports) that can't use the unix-ffi
code.
One solution would be to make it ignore subsequent packages if one is already require'd by the same name. So in this case the unix_ffi
os
will take precedence because it's require'd first.
Should be fixed by https://github.com/micropython/micropython/pull/13620
Building fails for the
unix
port when adding theglob
package to the variant manifest with:glob
's manifest requiresos-path
, withoutunix_ffi
, and that in turns requiresos
also withoutunix_ffi
:os-path
's manifest requiresos
:This causes a conflict with the
os
that has already been required withunix_ffi
:If I add
unix_ffi=True
tolib/micropython-lib/python-stdlib/os-path/manifest.py
, then it is able to compile the frozen content.