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

Vim makepkg failed #934

Closed
azarashichop opened this issue Jun 28, 2017 · 4 comments
Closed

Vim makepkg failed #934

azarashichop opened this issue Jun 28, 2017 · 4 comments

Comments

@azarashichop
Copy link

@azarashichop azarashichop commented Jun 28, 2017

In progress of 'makepkg', some errors appears.
os_unix.c: In function 'mch_call_shell':
os_unix.c:4919:31: error: expected identifier before '=' token
|| (wait_pid == pid && WIFEXITED(status)))
^
os_unix.c:4919:31: warning: excess elements in union initializer
|| (wait_pid == pid && WIFEXITED(status)))
^~~~~~~~~
os_unix.c:4919:31: note: (near initialization for '(anonymous)')
In file included from os_unixx.h:28:0,
from os_unix.c:38:
os_unix.c:4919:31: error: expected identifier before ')' token
|| (wait_pid == pid && WIFEXITED(status)))
^
os_unix.c:5045:10: error: expected identifier before '=' token
if (WIFEXITED(status))
^
os_unix.c:5045:10: warning: excess elements in union initializer
if (WIFEXITED(status))
^~~~~~~~~

How we abort it?

@elieux

This comment has been minimized.

Copy link
Member

@elieux elieux commented Jun 28, 2017

Same problem as mintty/mintty#668. I need to make that patch. :)

@azarashichop

This comment has been minimized.

Copy link
Author

@azarashichop azarashichop commented Jul 3, 2017

@elieux
Thank you replying!

@azarashichop

This comment has been minimized.

Copy link
Author

@azarashichop azarashichop commented Jul 12, 2017

@elieux
By following your post, I modified 2 files (/usr/include/string.h and /usr/include/sys/wait.h).
And now, I succeed in building & installing vim package!
Thank you!

@elieux

This comment has been minimized.

Copy link
Member

@elieux elieux commented Jul 17, 2017

The fix is present in msys2-runtime v2.8.2.

@elieux elieux closed this Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.