-
Notifications
You must be signed in to change notification settings - Fork 0
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
gpep517 #10
Comments
Still need to figure out cross builds |
I see consistent errors with
This did not happen with the original scripts. Observed in |
@mgorny, do you have an idea what might be the cause for this? |
Hmm how do I pass -C options via gpep ?
This worked with the build approach. I assume there is something similar with gpep |
@m-kuhn As it seems you forgot to add |
This works after fixing the scripts: However seeing this again:
|
How are you invoking it? I don't have a Windows system, and to be honest I've never considered portability to one, but I can try figuring something out if I know more. |
I can see that from gentoo to windows is a far way :-) See the link in #10 (comment)
does that help? |
I wonder why it isn't giving you a proper backtrace. My guess is that writing to a fd doesn't work for some reason. Perhaps CMake doesn't open a fd for you. Maybe try with |
I remember playing with the fd and not receiving bith, stderr and stdout at the same time. @Neumann-A do you have steps to reproduce this issue? |
@m-kuhn: I just updated my-vcpkg-port. You can use https://github.com/Neumann-A/my-vcpkg-ports/tree/master/py-toolz , just remove |
So I am currently debugging a python build and added a random |
Got a backtrace with output-fd 0:
|
Thanks. I can reproduce the problem using IPython. So apparently standard fds aren't supposed to be opened like that. I'll investigate more. |
Apparently fdopening stdout and stderr is a bad idea and can cause the interpreter to crash. Use sys.stdout or sys.stderr, respectively, when these fds are passed. Bug: open-vcpkg/python-registry#10 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Could you try the patch from projg2/gpep517#15? |
Apparently fdopening stdout and stderr is a bad idea and can cause the interpreter to crash. Use sys.stdout or sys.stderr, respectively, when these fds are passed. Bug: open-vcpkg/python-registry#10 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Seems to work. |
Apparently fdopening stdout and stderr is a bad idea and can cause the interpreter to crash. Use sys.stdout or sys.stderr, respectively, when these fds are passed. Bug: open-vcpkg/python-registry#10 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Thanks for the confirmation. I've just pushed and uploaded v16 with the fix. |
Is this the right tool to use, compared to
build
?I guess vcpkg qualifies as "distribution" and so far I had good results... https://fosstodon.org/@orsinium/110956868463721979
The text was updated successfully, but these errors were encountered: