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

working: make: *** [Makefile:426: sharedmods] Error 139 #1474

Closed
cTas0099 opened this issue Nov 20, 2018 · 5 comments
Closed

working: make: *** [Makefile:426: sharedmods] Error 139 #1474

cTas0099 opened this issue Nov 20, 2018 · 5 comments

Comments

@cTas0099
Copy link

hello, I did not find the answer to this problem.
in #1297 the same problem, but there is no explicit solution

Versions

  • Python:3.7.1
  • OS: Archlinux
  • Kivy: 1.10.1
  • python for android: 0.6.0

Description

Command:

[user@revenge ~]$ p4a apk --private main4.py --name "Main4Kivy" --version 0.1 --bootstrap=sdl2 --requirements=kivy --debug

Error

[DEBUG]:   	make: *** [Makefile:426: sharedmods] Error 139
Exception in thread background thread for pid 31600:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.7/site-packages/sh.py", line 2170, in background_thread
    handle_exit_code(exit_code)
  File "/usr/lib/python3.7/site-packages/sh.py", line 1929, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/usr/lib/python3.7/site-packages/sh.py", line 672, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_2: 

  RAN: /usr/bin/make -j5

  STDOUT:
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Modules/config.o Modules/config.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -DPYTHONPATH='":plat-linux4:lib-tk:lib-old"' \
	-DPREFIX='"/usr/local"' \
	-DEXEC_PREFIX='"/usr/local"' \
	-DVERSION='"2.7"' \
	-DVPATH='""' \
	-o Modules/getpath.o ./Modules/getpath.c


@tito
Copy link
Member

tito commented Nov 22, 2018

It's explained here: #1297 (comment)

Try using python3 recipes in your requirements. Or use a previous compiler. Or contribute to have Python2 recipes using 2.7.15 with all updates cross-platform patches.

@tito tito closed this as completed Nov 22, 2018
@tito
Copy link
Member

tito commented Nov 22, 2018

Actually, somebody is working for 2.7.15: #1460

@ZhangKuixun
Copy link

ZhangKuixun commented Dec 18, 2018

@cTas0099 @tito Hello, how did you fix it? I have the same problem as you.

@AndreMiras
Copy link
Member

Basically you need to switch to Python3 or wait for the 2.7.15 PR to be merged, or else use @opacam fork directly.
If you have more questions, give it a try on Discord #support channel

@ZhangKuixun
Copy link

Basically you need to switch to Python3 or wait for the 2.7.15 PR to be merged, or else use @opacam fork directly.
If you have more questions, give it a try on Discord #support channel

Use yours or report errors

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

4 participants