Open leyewen opened 4 years ago
Hello
Same error for me when i try to cross-build this package from Ubuntu x86_64 to Android_x86. It looks like "./configure" can't find nasm's path.
Profile:
[settings]
arch=x86
build_type=Release
compiler=clang
compiler.libcxx=libc++
compiler.version=8
os=Android
os.api_level=21
[build_requires]
android_ndk_installer/r20@bincrafters/stable
[options]
[env]
Package and Environment Details
Conan profile
Configuration:
Steps to reproduce
Build
libx264/20190605
with msys2 and mingw64 in system environment (not msys2_installer and mingw_installer).Failed in
It is quite strange, when use
AS
due to thisnasm
error. when comment the profile code:work well.
What happened !?
Logs
First log
Click to expand log
``` libx264/20190605: Calling: > /c/users/home/.conan/data/libx264/20190605/_/_/build/1a9b746db3232276ada4cf64b16512ba901fcf09/source_subfolder/configure --disable-cli --prefix=/c/users/home/.conan/data/libx264/20190605/_/_/package/1a9b746db3232276ada4cf64b16512ba901fcf09 --enable-shared --enable-debug --bit-depth=all libx264/20190605: run_in_windows_bash: bash --login -c ^"cd \^"/c/users/home/.conan/data/libx264/20190605/_/_/build/1a9b746db3232276ada4cf64b16512ba901fcf09\^" ^&^& PATH=\^"/c/users/home/.conan/data/nasm/2.14/_/_/package/456f15897172eef340fcbac8a70811f2beb26a93/bin:$PATH\^" ^&^& /c/users/home/.conan/data/libx264/20190605/_/_/build/1a9b746db3232276ada4cf64b16512ba901fcf09/source_subfolder/configure --disable-cli --prefix=/c/users/home/.conan/data/libx264/20190605/_/_/package/1a9b746db3232276ada4cf64b16512ba901fcf09 --enable-shared --enable-debug --bit-depth=all ^" libx264/20190605: WARN: Error running `configure --help`: Error 1 while executing /c/users/home/.conan/data/libx264/20190605/_/_/build/1a9b746db3232276ada4cf64b16512ba901fcf09/source_subfolder/configure --help libx264/20190605: Found GNU assembler (GNU Binutils) 2.30 libx264/20190605: Minimum version is nasm-2.13 libx264/20190605: If you really want to compile without asm, configure with --disable-asm. libx264/20190605: libx264/20190605: ERROR: Package '1a9b746db3232276ada4cf64b16512ba901fcf09' build failed libx264/20190605: WARN: Build folder C:\Users\Home\.conan\data\libx264\20190605\_\_\build\1a9b746db3232276ada4cf64b16512ba901fcf09 ERROR: libx264/20190605: Error in build() method, line 94 autotools = self._configure_autotools() while calling '_configure_autotools', line 89 self._autotools.configure(args=args, build=False, vars=self._override_env, configure_dir=self._source_subfolder) ConanException: Error 1 while executing /c/users/home/.conan/data/libx264/20190605/_/_/build/1a9b746db3232276ada4cf64b16512ba901fcf09/source_subfolder/configure --disable-cli --prefix=/c/users/home/.conan/data/libx264/20190605/_/_/package/1a9b746db3232276ada4cf64b16512ba901fcf09 --enable-shared --enable-debug --bit-depth=all ```