-
-
Notifications
You must be signed in to change notification settings - Fork 782
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
xmake is stuck on searching glfw on apt #1413
Comments
If the apt program does not exist on your system, it will not have any effect, because any package cannot be found from apt. Although I can judge based on different linux systems, there are too many linux distributions. It would be very cumbersome to choose which package managers to find based on different distributions. So I simply tried to find packages from different package managers. |
If you have a better way, you can help to improve it https://github.com/xmake-io/xmake-repo/blob/68185a64eab2f0fec54e60e7cff24654f31681cf/packages/g/glfw/xmake.lua#L13-L19 But for ubuntu, it is necessary to find this package from apt. you can use |
The problem is not that it should be found using the package manager of the distribution (In this case this would be |
same problem? #1374 |
This is a very strange problem, usually on my system it may not be able to reproduce. However, I just added some more debugging output to the test branch. You can update to the test branch version and show me a complete output. xmake update -s github:xmake-io/xmake#test |
Yes this is actually the same problem. |
In #1374 he mentions something about users. When I read that I remembered that when updating to |
This is the output when calling
|
And this is when calling
|
stuck on |
Just to check if this issue is version related I downgraded to |
This returns |
Can you run |
This repeats over and over again:
|
I have added more output on test branch. can you try |
This is the output after a few seconds: xmake_test_output.txt |
Ok, I will continue to look at it tomorrow. Thanks! |
I have improved it on test branch. you can try and remove glfw if works and try |
Now |
Does it work? |
This may be related to parallel scheduling. Although I probably know where the problem is, I need more information. I updated test branch, can you run |
Yes it works now. It runs through without hanging or errors. I will give you the output of |
With glfw:
|
I saw the logs, does it works now? |
Yes it works now |
I have improve dev branch, can you try it again? test cases:
|
I updated to the dev branch.
|
Does it work now? |
Yes it works completely fine. It does not hang. There are no errors. The project can be compiled successfully. 👍 |
ok |
Here just to say that I encountered same issue just now after updating from 2.5.2 to 2.5.4 on Windows 10 using installer. Tested with 2.5.3, there it worked, so I deduced it is probably same issue? Although not caused by apt... Posting in case it may help someone else :) |
Describe the bug
When calling
xmake f -m debug
on my project xmake gets stuck on findingglfw
fromapt
.xmake.lua:
Expected behavior
xmake should not do anything with
apt
because this is anArch
linux system.Error output
This is all the output I get when calling
xmake f -vD -m debug
Related Environment
The text was updated successfully, but these errors were encountered: