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

Pins pyjnius==1.1.2 #1426

Merged
merged 1 commit into from
Oct 22, 2018
Merged

Pins pyjnius==1.1.2 #1426

merged 1 commit into from
Oct 22, 2018

Conversation

AndreMiras
Copy link
Member

Fixes patch failing with:

patching file setup.py
Hunk #1 FAILED at 53.
1 out of 1 hunk FAILED -- saving rejects to file setup.py.rej

refs #1414, #1416, #1417

Fixes patch failing with:
```
patching file setup.py
Hunk #1 FAILED at 53.
1 out of 1 hunk FAILED -- saving rejects to file setup.py.rej
```
refs kivy#1414, kivy#1416, kivy#1417
@AndreMiras
Copy link
Member Author

Tried in docker with:

python setup_testapp_python2.py apk --sdk-dir $ANDROID_SDK_HOME --ndk-dir $ANDROID_NDK_HOME --requirements sdl2,python2,pyjnius

Last log outputs:

Compiling /home/user/.local/share/python-for-android/dists/bdisttest_python2/private/lib/python2.7/xml/sax/xmlreader.py ...
[INFO]:    Selecting java build tool:
[INFO]:    Detected highest available build tools version to be 26.0.2
[INFO]:        Building with gradle, as gradle executable is present
[DEBUG]:   -> running gradlew assembleDebug
[DEBUG]:        Incremental java compilation is an incubating feature.
[DEBUG]:        :preBuild UP-TO-DATE
[DEBUG]:        :preDebugBuild UP-TO-DATE
[DEBUG]:        :checkDebugManifest
[DEBUG]:        :prepareDebugDependencies
[DEBUG]:        :compileDebugAidl
[DEBUG]:        :compileDebugRenderscript
[DEBUG]:        :generateDebugBuildConfig
[DEBUG]:        :generateDebugResValues
[DEBUG]:        :generateDebugResources
[DEBUG]:        :mergeDebugResources
[DEBUG]:        :processDebugManifest
[DEBUG]:        :processDebugResources
[DEBUG]:        :generateDebugSources
[DEBUG]:        :incrementalDebugJavaCompilationSafeguard
[DEBUG]:        :javaPreCompileDebug
[DEBUG]:        :compileDebugJavaWithJavac
[DEBUG]:        :compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
[DEBUG]:        Note: Some input files use or override a deprecated API.
[DEBUG]:        Note: Recompile with -Xlint:deprecation for details.
[DEBUG]:        :compileDebugNdk UP-TO-DATE
[DEBUG]:        :compileDebugSources
[DEBUG]:        :mergeDebugShaders
[DEBUG]:        :compileDebugShaders
[DEBUG]:        :generateDebugAssets
[DEBUG]:        :mergeDebugAssets
[DEBUG]:        :transformClassesWithDexForDebug
[DEBUG]:
[DEBUG]:        Running dex as a separate process.
[DEBUG]:
[DEBUG]:        To run dex in process, the Gradle daemon needs a larger heap.
[DEBUG]:        It currently has 1024 MB.
[DEBUG]:        For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
[DEBUG]:        To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
[DEBUG]:        For more information see https://docs.gradle.org/current/userguide/build_environment.html
[DEBUG]:
[DEBUG]:        :mergeDebugJniLibFolders
[DEBUG]:        :transformNativeLibsWithMergeJniLibsForDebug
[DEBUG]:        :transformNativeLibsWithStripDebugSymbolForDebug
[DEBUG]:        :processDebugJavaRes UP-TO-DATE
[DEBUG]:        :transformResourcesWithMergeJavaResForDebug
[DEBUG]:        :validateSigningDebug
[DEBUG]:        :packageDebug
[DEBUG]:        :assembleDebug
[DEBUG]:
[DEBUG]:        BUILD SUCCESSFUL
[DEBUG]:
[DEBUG]:        Total time: 2.969 secs
[DEBUG]:
[INFO]:    <- directory context /home/user/testapps
[INFO]:    # Copying APK to current directory
[INFO]:    # APK filename not found in build output, trying to guess
[INFO]:    # Found APK file: /home/user/.local/share/python-for-android/dists/bdisttest_python2/build/outputs/apk/bdisttest_python2-debug.apk
[INFO]:    # Add version number to APK
[INFO]:    # APK renamed to bdisttest_python2-1.1-debug.apk
[DEBUG]:   -> running cp /home/user/.local/share/python-for-android/dists/bdisttest_python2/build/outputs/apk/bdisttest_python2-debug.apk bdisttest_python2-1.1-debug.apk
(venv) user@8233c0edb557:~/testapps$

So seems fine

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

Successfully merging this pull request may close these issues.

None yet

2 participants