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

FS#3317 - Please help solve the compilation problem of fakeroot on WSL #8191

Closed
openwrt-bot opened this issue Sep 3, 2020 · 3 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

PussAzuki:

Today, I updated and compiled the openwrt firmware weekly on WSL as usual, and then I encountered a problem.

See https://paste.ubuntu.com/p/GRMmn7kjFB/

Then I used the search engine to search for some keywords. Then it turns out that it is the first generation problem of WSL, but there is already a solution.

See microsoft/WSL#4067

But I'm not sure what kind of variables I can use. So I sent it here for help, hoping that the community can solve this problem perfectly.

@openwrt-bot
Copy link
Author

jow-:

Please try the following change (add HOST_CONFIGURE_ARGS += --with-ipc=tcp to tools/fakeroot/Makefile):

diff --git a/tools/fakeroot/Makefile b/tools/fakeroot/Makefile
index 2df893d64d..797cdfd801 100644
--- a/tools/fakeroot/Makefile
+++ b/tools/fakeroot/Makefile
@@ -17,4 +17,7 @@ HOST_CONFIGURE_VARS +=
ac_cv_header_sys_capability_h=no
ac_cv_func_capset=no

+HOST_CONFIGURE_ARGS += \

  •   --with-ipc=tcp
    

$(eval $(call HostBuild))

@openwrt-bot
Copy link
Author

PussAzuki:

It works! But when I tried make -j1 V=s, it threw an exception, but it was ignored.Then the generated firmware can be used.

@openwrt-bot
Copy link
Author

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

No branches or pull requests

1 participant