The ebuild created a file for /etc/env.d at "src_install()" state with the folling lines: echo "PATH=\"${EPREFIX}/${ANDROID_NDK_DIR}:" \ "${EPREFIX}/${ANDROID_TC_ARM_EABI}/bin/:" \ "${EPREFIX}/${ANDROID_TC_ANDROID_EABI}/bin/\"" \ > "${T}/80${PN}" || die The content of the created file contains annoying white spaces. E.g.: PATH="/opt/android-ndk: /opt/android-ndk/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/: /opt/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/" The whitespaces should be removed from the PATH environment. Reproducible: Always
Not new line, spaces. Bugzilla insert the line breaks because of the spaces.
Created attachment 284849 [details, diff] ebuild patch I confirmed this bug when it caused the build of app-text/linuxdoc-tools-0.9.21_p11 to fail. I attached an ebuild patch that fixes the problem.
Should be fixed in the 8b version. Thanks for the fix Joe. commit message: Version bump to the latest Android NDK. Fixes for the space in the PATH from Joe Pelkey <pelkeyj@gmail.com>. bug #374279. bump bug #392377.