libvpx/1.8.0@bincrafters/stable: yasm: FATAL: Could not open input file
libvpx/1.8.0@bincrafters/stable: yasm: FATAL:y asm: Could not Fopen AiTnAL: pCuot file
libvpx/1.8.0@bincrafters/stable: uld not open input file
libvpx/1.8.0@bincrafters/stable: make[1]: *** [Makefile:189:vpx_dsp/x86/intrapred_sse2.asm.o] error 1
libvpx/1.8.0@bincrafters/stable: make[1]: *** Waiting for outstanding tasks....
libvpx/1.8.0@bincrafters/stable: make[1]: *** [Makefile:189:vpx_dsp/x86/intrapred_ssse3.asm.o] error 1
libvpx/1.8.0@bincrafters/stable: make[1]: *** [Makefile:189:vpx_ports/emms_mmx.asm.o] error1
libvpx/1.8.0@bincrafters/stable: make: *** [Makefile:17:.DEFAULT] error2
Fixed method
It seen to use cygwin_installer/2.9.0@bincrafters/stable due to this error.
And change it to msys2_installer/latest@bincrafters/stable build passed.
I read the code from reactivate Visual Studio buildshttps://github.com/bincrafters/conan-libvpx/commit/37a2381c02c82f2417b5921e8c5725b6c579ebd2, found out it had change to fixed another bug.
So I rechange and update the file
.conan\data\libvpx\1.8.0\bincrafters\stable\export\conanfile.py
in line 36 change, start to change
###### this code is del #######
def build_requirements(self):
self.build_requires('yasm/1.3.0')
# line 36
if tools.os_info.is_windows and self.settings.compiler == 'Visual Studio':
if "CYGWIN" not in os.environ:
self.build_requires("cygwin_installer/2.9.0@bincrafters/stable")
if self._use_winbash and self.settings.compiler != 'Visual Studio':
if "CONAN_BASH_PATH" not in os.environ:
self.build_requires("msys2_installer/latest@bincrafters/stable")
@property
def _use_winbash(self):
return tools.os_info.is_windows and (self.settings.compiler == 'gcc' or tools.cross_building(self.settings))
###### this code is del #######
new change to:
in line 36 change, start to change
if tools.os_info.is_windows and "CONAN_BASH_PATH" not in os.environ:
self.build_requires("msys2/20190524")
Because of in windows use cygwin_installer/2.9.0@bincrafters/stable will buld fail (test fail). And "CYGWIN" not in os.environ force to use cygwin_installer/2.9.0@bincrafters/stable in windows, it force replace user's compiler! I change it to: if no compiler, use "msys2/20190524" as default (test passed).
And it build pretty.
Logs
libvpx/1.8.0@bincrafters/stable: Applying build-requirement: yasm/1.3.0
libvpx/1.8.0@bincrafters/stable: Applying build-requirement: cygwin_installer/2.9.0@bincrafters/stable
libvpx/1.8.0@bincrafters/stable: WARN: Build folder is dirty, removing it: C:\Users\Home.conan\data\libvpx\1.8.0\bincrafters\stable\build\2b8eea48ceb8a91c3e4fccdf69329fc3197c3506
libvpx/1.8.0@bincrafters/stable: Copying sources to build folder
libvpx/1.8.0@bincrafters/stable: Building your package in C:\Users\Home.conan\data\libvpx\1.8.0\bincrafters\stable\build\2b8eea48ceb8a91c3e4fccdf69329fc3197c3506
libvpx/1.8.0@bincrafters/stable: Generator txt created conanbuildinfo.txt
libvpx/1.8.0@bincrafters/stable: Calling build()
libvpx/1.8.0@bincrafters/stable: run_in_windowsbash: C:.conan\a35ff1\1\bin\bash.exe --login -c ^"cd \^"/cygdrive/c/users/home/.conan/data/libvpx/1.8.0/bincrafters/stable/build/2b8eea48ceb8a91c3e4fccdf69329fc3197c3506\^" ^&^& PATH=\^"/cygdrive/c/users/home/.conan/data/yasm/1.3.0//_/package/456f15897172eef340fcbac8a70811f2beb26a93/bin:/cygdrive/c/.conan/a35ff1/1/bin:$PATH\^" ^&^& /cygdrive/c/users/home/.conan/data/libvpx/1.8.0/bincrafters/stable/build/2b8eea48ceb8a91c3e4fccdf69329fc3197c3506/source_subfolder/configure --help ^"
libvpx/1.8.0@bincrafters/stable: Usage: configure [options]
libvpx/1.8.0@bincrafters/stable: Options:
libvpx/1.8.0@bincrafters/stable:
libvpx/1.8.0@bincrafters/stable: Build options:
libvpx/1.8.0@bincrafters/stable: --help print this message
libvpx/1.8.0@bincrafters/stable: --log=yes|no|FILE file configure log is written to [config.log]
libvpx/1.8.0@bincrafters/stable: --target=TARGET target platform tuple [generic-gnu]
libvpx/1.8.0@bincrafters/stable: --cpu=CPU optimize for a specific cpu rather than a family
libvpx/1.8.0@bincrafters/stable: --extra-cflags=ECFLAGS add ECFLAGS to CFLAGS []
libvpx/1.8.0@bincrafters/stable: --extra-cxxflags=ECXXFLAGS add ECXXFLAGS to CXXFLAGS []
libvpx/1.8.0@bincrafters/stable: --enable-extra-warnings emit harmless warnings (always non-fatal)
libvpx/1.8.0@bincrafters/stable: --enable-werror treat warnings as errors, if possible
libvpx/1.8.0@bincrafters/stable: (not available with all compilers)
libvpx/1.8.0@bincrafters/stable: --disable-optimizations turn on/off compiler optimization flags
libvpx/1.8.0@bincrafters/stable: --enable-pic turn on/off Position Independent Code
libvpx/1.8.0@bincrafters/stable: --enable-ccache turn on/off compiler cache
libvpx/1.8.0@bincrafters/stable: --enable-debug enable/disable debug mode
libvpx/1.8.0@bincrafters/stable: --enable-gprof enable/disable gprof profiling instrumentation
libvpx/1.8.0@bincrafters/stable: --enable-gcov enable/disable gcov coverage instrumentation
libvpx/1.8.0@bincrafters/stable: --enable-thumb enable/disable building arm assembly in thumb mode
libvpx/1.8.0@bincrafters/stable: --disable-dependency-tracking
libvpx/1.8.0@bincrafters/stable: disable to speed up one-time build
libvpx/1.8.0@bincrafters/stable:
libvpx/1.8.0@bincrafters/stable: Install options:
libvpx/1.8.0@bincrafters/stable: --enable-install-docs control whether docs are installed
libvpx/1.8.0@bincrafters/stable: --disable-install-bins control whether binaries are installed
libvpx/1.8.0@bincrafters/stable: --disable-install-libs control whether libraries are installed
libvpx/1.8.0@bincrafters/stable: --enable-install-srcs control whether sources are installed
libvpx/1.8.0@bincrafters/stable:
libvpx/1.8.0@bincrafters/stable:
libvpx/1.8.0@bincrafters/stable: Advanced options:
libvpx/1.8.0@bincrafters/stable: --disable-libs libraries
libvpx/1.8.0@bincrafters/stable: --disable-examples examples
libvpx/1.8.0@bincrafters/stable: --disable-tools tools
libvpx/1.8.0@bincrafters/stable: --disable-docs documentation
libvpx/1.8.0@bincrafters/stable: --enable-unit-tests unit tests
libvpx/1.8.0@bincrafters/stable: --enable-decode-perf-tests build decoder perf tests with unit tests
libvpx/1.8.0@bincrafters/stable: --enable-encode-perf-tests build encoder perf tests with unit tests
libvpx/1.8.0@bincrafters/stable: --cpu=CPU tune for the specified CPU (ARM: cortex-a8, X86: sse3)
libvpx/1.8.0@bincrafters/stable: --libc=PATH path to alternate libc
libvpx/1.8.0@bincrafters/stable: --size-limit=WxH max size to allow in the decoder
libvpx/1.8.0@bincrafters/stable: --as={yasm|nasm|auto} use specified assembler [auto, yasm preferred]
libvpx/1.8.0@bincrafters/stable: --sdk-path=PATH path to root of sdk (android builds only)
libvpx/1.8.0@bincrafters/stable: --enable-codec-srcs in/exclude codec library source code
libvpx/1.8.0@bincrafters/stable: --enable-debug-libs in/exclude debug version of libraries
libvpx/1.8.0@bincrafters/stable: --enable-static-msvcrt use static MSVCRT (VS builds only)
libvpx/1.8.0@bincrafters/stable: --enable-vp9-highbitdepth use VP9 high bit depth (10/12) profiles
libvpx/1.8.0@bincrafters/stable: --enable-better-hw-compatibility
libvpx/1.8.0@bincrafters/stable: enable encoder to produce streams with better
libvpx/1.8.0@bincrafters/stable: hardware decoder compatibility
libvpx/1.8.0@bincrafters/stable: --enable-vp8 VP8 codec support
libvpx/1.8.0@bincrafters/stable: --enable-vp9 VP9 codec support
libvpx/1.8.0@bincrafters/stable: --enable-internal-stats output of encoder internal stats for debug, if supported (encoders)
libvpx/1.8.0@bincrafters/stable: --enable-postproc postprocessing
libvpx/1.8.0@bincrafters/stable: --enable-vp9-postproc vp9 specific postprocessing
libvpx/1.8.0@bincrafters/stable: --disable-multithread multithreaded encoding and decoding
libvpx/1.8.0@bincrafters/stable: --disable-spatial-resampling spatial sampling (scaling) support
libvpx/1.8.0@bincrafters/stable: --enable-realtime-only enable this option while building for real-time encoding
libvpx/1.8.0@bincrafters/stable: --enable-onthefly-bitpacking enable on-the-fly bitpacking in real-time encoding
libvpx/1.8.0@bincrafters/stable: --enable-error-concealment enable this option to get a decoder which is able to conceal losses
libvpx/1.8.0@bincrafters/stable: --enable-coefficient-range-checking
libvpx/1.8.0@bincrafters/stable: enable decoder to check if intermediate
libvpx/1.8.0@bincrafters/stable: transform coefficients are in valid range
libvpx/1.8.0@bincrafters/stable: --enable-runtime-cpu-detect runtime cpu detection
libvpx/1.8.0@bincrafters/stable: --enable-shared shared library support
libvpx/1.8.0@bincrafters/stable: --disable-static static library support
libvpx/1.8.0@bincrafters/stable: --enable-small favor smaller size over speed
libvpx/1.8.0@bincrafters/stable: --enable-postproc-visualizer macro block / block level visualizers
libvpx/1.8.0@bincrafters/stable: --enable-multi-res-encoding enable multiple-resolution encoding
libvpx/1.8.0@bincrafters/stable: --disable-temporal-denoising enable temporal denoising and disable the spatial denoiser
libvpx/1.8.0@bincrafters/stable: --enable-vp9-temporal-denoising
libvpx/1.8.0@bincrafters/stable: enable vp9 temporal denoising
libvpx/1.8.0@bincrafters/stable: --enable-webm-io enable input from and output to WebM container
libvpx/1.8.0@bincrafters/stable: --enable-libyuv enable libyuv
libvpx/1.8.0@bincrafters/stable:
libvpx/1.8.0@bincrafters/stable: Codecs:
libvpx/1.8.0@bincrafters/stable: Codecs can be selectively enabled or disabled individually, or by family:
libvpx/1.8.0@bincrafters/stable: --disable-
libvpx/1.8.0@bincrafters/stable: is equivalent to:
libvpx/1.8.0@bincrafters/stable: --disable--encoder
libvpx/1.8.0@bincrafters/stable: --disable--decoder
libvpx/1.8.0@bincrafters/stable:
libvpx/1.8.0@bincrafters/stable: Codecs available in this distribution:
libvpx/1.8.0@bincrafters/stable: vp8: encoder decoder
libvpx/1.8.0@bincrafters/stable: vp9: encoder decoder
libvpx/1.8.0@bincrafters/stable:
libvpx/1.8.0@bincrafters/stable:
libvpx/1.8.0@bincrafters/stable: NOTES:
libvpx/1.8.0@bincrafters/stable: Object files are built at the place where configure is launched.
libvpx/1.8.0@bincrafters/stable:
libvpx/1.8.0@bincrafters/stable: All boolean options can be negated. The default value is the opposite
libvpx/1.8.0@bincrafters/stable: of that shown above. If the option --disable-foo is listed, then
libvpx/1.8.0@bincrafters/stable: the default value for foo is enabled.
libvpx/1.8.0@bincrafters/stable:
libvpx/1.8.0@bincrafters/stable: Supported targets:
libvpx/1.8.0@bincrafters/stable: arm64-android-gcc arm64-darwin-gcc arm64-linux-gcc
libvpx/1.8.0@bincrafters/stable: arm64-win64-gcc arm64-win64-vs15
libvpx/1.8.0@bincrafters/stable: armv7-android-gcc armv7-darwin-gcc armv7-linux-rvct
libvpx/1.8.0@bincrafters/stable: armv7-linux-gcc armv7-none-rvct armv7-win32-gcc
libvpx/1.8.0@bincrafters/stable: armv7-win32-vs14 armv7-win32-vs15
libvpx/1.8.0@bincrafters/stable: armv7s-darwin-gcc
libvpx/1.8.0@bincrafters/stable: armv8-linux-gcc
libvpx/1.8.0@bincrafters/stable: mips32-linux-gcc
libvpx/1.8.0@bincrafters/stable: mips64-linux-gcc
libvpx/1.8.0@bincrafters/stable: ppc64le-linux-gcc
libvpx/1.8.0@bincrafters/stable: sparc-solaris-gcc
libvpx/1.8.0@bincrafters/stable: x86-android-gcc x86-darwin8-gcc x86-darwin8-icc
libvpx/1.8.0@bincrafters/stable: x86-darwin9-gcc x86-darwin9-icc x86-darwin10-gcc
libvpx/1.8.0@bincrafters/stable: x86-darwin11-gcc x86-darwin12-gcc x86-darwin13-gcc
libvpx/1.8.0@bincrafters/stable: x86-darwin14-gcc x86-darwin15-gcc x86-darwin16-gcc
libvpx/1.8.0@bincrafters/stable: x86-darwin17-gcc x86-iphonesimulator-gcc x86-linux-gcc
libvpx/1.8.0@bincrafters/stable: x86-linux-icc x86-os2-gcc x86-solaris-gcc
libvpx/1.8.0@bincrafters/stable: x86-win32-gcc x86-win32-vs14 x86-win32-vs15
libvpx/1.8.0@bincrafters/stable: x86-win32-vs16
libvpx/1.8.0@bincrafters/stable: x86_64-android-gcc x86_64-darwin9-gcc x86_64-darwin10-gcc
libvpx/1.8.0@bincrafters/stable: x86_64-darwin11-gcc x86_64-darwin12-gcc x86_64-darwin13-gcc
libvpx/1.8.0@bincrafters/stable: x86_64-darwin14-gcc x86_64-darwin15-gcc x86_64-darwin16-gcc
libvpx/1.8.0@bincrafters/stable: x86_64-darwin17-gcc x86_64-iphonesimulator-gcc x86_64-linux-gcc
libvpx/1.8.0@bincrafters/stable: x86_64-linux-icc x86_64-solaris-gcc x86_64-win64-gcc
libvpx/1.8.0@bincrafters/stable: x86_64-win64-vs14 x86_64-win64-vs15 x86_64-win64-vs16
libvpx/1.8.0@bincrafters/stable: generic-gnu
libvpx/1.8.0@bincrafters/stable:
libvpx/1.8.0@bincrafters/stable: WARN: Error running configure --help: Error 1 while executing /cygdrive/c/users/home/.conan/data/libvpx/1.8.0/bincrafters/stable/build/2b8eea48ceb8a91c3e4fccdf69329fc3197c3506/source_subfolder/configure --help
libvpx/1.8.0@bincrafters/stable: Calling:
Package and Environment Details
Conan profile
Steps to reproduce
conanfile.txt
add only one packagelibvpx/1.8.0@bincrafters/stable
in the list[requires]
, and build it. And then got error.Fixed method
It seen to use
cygwin_installer/2.9.0@bincrafters/stable
due to this error. And change it tomsys2_installer/latest@bincrafters/stable
build passed. I read the code fromreactivate Visual Studio builds
https://github.com/bincrafters/conan-libvpx/commit/37a2381c02c82f2417b5921e8c5725b6c579ebd2, found out it had change to fixed another bug.So I rechange and update the file.conan\data\libvpx\1.8.0\bincrafters\stable\export\conanfile.py
in line 36 change, start to changenew change to: in line 36 change, start to change
Because of in windows use
cygwin_installer/2.9.0@bincrafters/stable
will buld fail (test fail). And"CYGWIN" not in os.environ
force to usecygwin_installer/2.9.0@bincrafters/stable
in windows, it force replace user's compiler! I change it to: if no compiler, use "msys2/20190524" as default (test passed).And it build pretty.
Logs