Skip to content

./android.py configure-host HOST fails because export CXXFLAGS is unquoted #129156

Closed
@Ragnoroct

Description

@Ragnoroct

I encountered an issue during ./android.py configure-host in a Docker container that failed the build:

error:

/bin/sh: 90: export: -I/cpython/cross-build/aarch64-linux-android/prefix/include: bad variable name

workaround: patch ./android-env.sh to fix the export

RUN sed -i 's/export CXXFLAGS=\$CFLAGS/export CXXFLAGS="\$CFLAGS"/' ./android-env.sh

Reference: Android/android-env.sh#L90

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-androidbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions