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

buildozer.spec and spaces in package.name #1833

Open
lemonJumps opened this issue Jun 28, 2024 · 0 comments
Open

buildozer.spec and spaces in package.name #1833

lemonJumps opened this issue Jun 28, 2024 · 0 comments

Comments

@lemonJumps
Copy link

Versions

  • Python: Python 3.10.12
  • OS: windows (with WSL ubuntu)
  • Buildozer: 1.5.0

Description

Adding space into package.name for instance: "scanner 4" will cause build to fail,
this is because some include paths for clang will use the name as is without quotes and therefore think the path is two different parameters.

Honestly I think that just simply adding, "don't use spaces" comment, into the auto-generated buildozer.spec would be sufficient for first timers like my self. :D

Error during build:

creating build/temp.linux-x86_64-3.11/android
/home/lemon/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/home/lemon/scannur-4/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/lemon/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/lemon/scannur-4/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/Scannur 4/arm64-v8a/include/python3.1 -fPIC -I/home/lemon/scannur-4/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/home/lemon/scannur-4/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c android/_android.c -o build/temp.linux-x86_64-3.11/android/_android.o
clang-14: error: no such file or directory: '4/arm64-v8a/include/python3.1'
clang-14: error: no such file or directory: 'android/_android.c'
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

1 participant