Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Micropython build fails on WSL2 #616

Open
whatnick opened this issue Jan 6, 2021 · 2 comments
Open

Micropython build fails on WSL2 #616

whatnick opened this issue Jan 6, 2021 · 2 comments

Comments

@whatnick
Copy link
Contributor

whatnick commented Jan 6, 2021

On WSL2 the micropython build script errors out with too many input files in the pre-processor stage. Works fine on native Ubuntu.
micropython_compile_error

@mithro
Copy link
Member

mithro commented Jan 6, 2021

You are missing a lot of important information I need to figure out what is going on here.

What is the exact command you running on what commit revision? What were the lines before and after this one? What have you done to try and debug?

(BTW A screenshot is also a terrible way to put the output of something into a issue report.)

@whatnick
Copy link
Contributor Author

whatnick commented Jan 8, 2021

I had it saved. Better do it properly and contribute an issue template for this repo too. Here are details:

OS : Ubuntu on WSL2
Relevant ENV VARS:
PLATFORM : icebreaker
CPU : vexriscv
CPU_VARIANT : lite
TARGET : base
FIRMWARE : micropython

BUILD Stage: building firmware prior to make image for icepacked .bin file, running on the head of this PR #614

CLI Prefix : (LX P=icebreaker C=vexriscv.lite F=micropython R=support-icefeather)

Running : ./scripts/build-micropython.sh
Crashes with :

fatal error : Too many input files

The same sequence of actions works fine on NON WSL2 Ubuntu. Some discussion with @shenki suggests issues with platform detection. Unfortunately I have not done much debugging other than complaining loudly about WSL2 vagaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants