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

Build scripts don't work anymore under CYGWIN #181

Open
carlo-bramini opened this issue Aug 19, 2024 · 1 comment
Open

Build scripts don't work anymore under CYGWIN #181

carlo-bramini opened this issue Aug 19, 2024 · 1 comment

Comments

@carlo-bramini
Copy link

I updated my sources and I tried to build them by using mingw-woarm64-build with CYGWIN.
Unfortunately, it doesn't work anymore.
On the console, it prints this error:

++ '[' 0 = 1 ']'
+ echo '::group::Install Dependencies'
::group::Install Dependencies
+ sudo apt update
.github/scripts/install-dependencies.sh: line 6: sudo: command not found

Last working version seems to be f10fff6.

@Blackhex
Copy link
Member

Hello and thank you for the report. We are not targetting, using, or testing theese build scripts in Cygwin environment. We are targetting only Ubuntu 22.04 and Ubuntu 22.04 in WSL for now. I'd recommend you to set RUN_BOOTSTRAP=0 environment variable to skip installation of needed Ubuntu packages. This will also skip download of GCC dependency repositories which are required for the build so you'll have to either run .github/scripts/install-libraries.sh script before the build, or set RESET_SOURCES=1 environment variable as well which will trigger the dependencies download but bevare it will also reset your local changes in the source code repositories in the code folder.

Also note that theese build scripts and the corresponding repositories can only build x86_64-pc-cygwin target toolchain. If you'd like to experiment with aarch64-pc-cygwin toolchain, so far we've only got to some experiments within #123 PR.

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