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

ffmpeg: conan v2 #15818

Closed
wants to merge 18 commits into from
Closed

ffmpeg: conan v2 #15818

wants to merge 18 commits into from

Conversation

paulharris
Copy link
Contributor

Continuing from #15035, pushing here to share the work, feel free to pull the changes into any other PR and go from there.

It currently fails at the configure step, on Windows (DOS environment, compiler=msvc).

Comparing config.log between the old working recipe (with compiler=VisualStudio) and this one,
the difference is the old config.log had:

LDFLAGS='-LIBPATH:/k/env/conandata/zlib/1.2.13/cci/13c96f538b52e1600c40b88994de240f/package/fab8ac12fb25ca3eb6ea9dfae033136194574dc3/lib -LIBPATH:/k/env/conandata/bzip2/1.0.8/cci/464be69744fa6d48ed01928cfe470008/package/6d7b0e4f4bdcc313f1817db496d10b1452ad6001/lib .... etc etc

whereas the new config.log had

LDFLAGS=

The new config.log is also missing the lines

Platform=x64
UniversalCRTSdkDir='C:\Program Files (x86)\Windows Kits\10\'
VSCMD_ARG_VCVARS_VER=14.3
VSCMD_START_DIR='K:\env\conandata\ffmpeg\5.0\paul\test2\build\a52938edbd2b0d85c72768924adc41517df507a6\build-release'

There were a bunch of others, but the main thing firstly is the LDFLAGS, because without -libpath, nothing links.

@ghost
Copy link

ghost commented Feb 8, 2023

I detected other pull requests that are modifying ffmpeg/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@paulharris
Copy link
Contributor Author

@SpaceIm / @prince-chrismc ... I'd like to understand why this keeps failing for me on windows, with errors like:

BEGIN ./ffconf.xnuIbwqy/test.c
    1	int main(void){ return 0; }
END ./ffconf.xnuIbwqy/test.c
cl.exe /I/k/env/conandata/vorbis/1.3.7/cci/4bc83814e0814e1a03aa451411f82bd3/package/b1ff2a2f3592c4e70f91c2581c6e0e5ff62d43d4/include /I/k/env/conandata/ogg/1.3.5/cci/1fd1211e20186ca5ff5ba927fb0989ee/package/b448e8eba5514d8e2baa777bd322fd9583200330/include /I/k/env/conandata/libwebp/1.2.4/cci/0a7a0849e7780712c650e84e0b0b01c8/package/9099292b4b932fa39f9e092d134fd37ad7ade233/include /I/k/env/conandata/libfdk_aac/2.0.2/cci/c70daa/package/8b3117c31942877c9edf009bf38f3a3b5586c429/include /I/k/env/conandata/libmp3lame/3.100/cci/44b12d/package/b448e8eba5514d8e2baa777bd322fd9583200330/include /I/k/env/conandata/libvpx/1.11.0/mxrap/2023-02-01/package/5e0af5f73300ab516ed9a8e7ff76a20877f5d36f/include /I/k/env/conandata/libx265/3.4/cci/7347071b88c04ecd3bf66f9d450b6aac/package/d138127af1801535920354a588799ecf562204d9/include /I/k/env/conandata/libx264/cci.20220602/cci/35c2fd77371c19fd564351db10ae6747/package/482564dc3f80b8672f82b4f1806cda8d431a398c/include /I/k/env/conandata/opus/1.3.1/cci/6938146de9da3b6817c85b6d522e8e4d/package/b448e8eba5514d8e2baa777bd322fd9583200330/include /I/k/env/conandata/opus/1.3.1/cci/6938146de9da3b6817c85b6d522e8e4d/package/b448e8eba5514d8e2baa777bd322fd9583200330/include/opus /I/k/env/conandata/openh264/2.3.1/cci/21db3aa3d786b3e6eb9489dfb88372cb/package/8b3117c31942877c9edf009bf38f3a3b5586c429/include /I/k/env/conandata/openjpeg/2.5.0/cci/cb3ca9c879e991ad313caa16d7e04169/package/b448e8eba5514d8e2baa777bd322fd9583200330/include /I/k/env/conandata/openjpeg/2.5.0/cci/cb3ca9c879e991ad313caa16d7e04169/package/b448e8eba5514d8e2baa777bd322fd9583200330/include/openjpeg-2.5 /I/k/env/conandata/libiconv/1.17/cci/7f5704761b99aeddacadf5c7904ffbaa/package/b448e8eba5514d8e2baa777bd322fd9583200330/include /I/k/env/conandata/xz_utils/5.4.0/cci/394283edeac4658356894312aa0fdcbb/package/b448e8eba5514d8e2baa777bd322fd9583200330/include /I/k/env/conandata/bzip2/1.0.8/cci/464be69744fa6d48ed01928cfe470008/package/8aaea3355c2fe5c6018a0a55628de77a534b1d51/include /I/k/env/conandata/zlib/1.2.13/cci/13c96f538b52e1600c40b88994de240f/package/b448e8eba5514d8e2baa777bd322fd9583200330/include -DOPJ_STATIC -DLZMA_API_STATIC -DNDEBUG -MD -O2 -Ob2 -nologo -c -Fo./ffconf.xnuIbwqy/test.o ./ffconf.xnuIbwqy/test.c
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/vorbis/1.3.7/cci/4bc83814e0814e1a03aa451411f82bd3/package/b1ff2a2f3592c4e70f91c2581c6e0e5ff62d43d4/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/vorbis/1.3.7/cci/4bc83814e0814e1a03aa451411f82bd3/package/b1ff2a2f3592c4e70f91c2581c6e0e5ff62d43d4/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/ogg/1.3.5/cci/1fd1211e20186ca5ff5ba927fb0989ee/package/b448e8eba5514d8e2baa777bd322fd9583200330/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/ogg/1.3.5/cci/1fd1211e20186ca5ff5ba927fb0989ee/package/b448e8eba5514d8e2baa777bd322fd9583200330/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/libwebp/1.2.4/cci/0a7a0849e7780712c650e84e0b0b01c8/package/9099292b4b932fa39f9e092d134fd37ad7ade233/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/libwebp/1.2.4/cci/0a7a0849e7780712c650e84e0b0b01c8/package/9099292b4b932fa39f9e092d134fd37ad7ade233/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/libfdk_aac/2.0.2/cci/c70daa/package/8b3117c31942877c9edf009bf38f3a3b5586c429/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/libfdk_aac/2.0.2/cci/c70daa/package/8b3117c31942877c9edf009bf38f3a3b5586c429/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/libmp3lame/3.100/cci/44b12d/package/b448e8eba5514d8e2baa777bd322fd9583200330/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/libmp3lame/3.100/cci/44b12d/package/b448e8eba5514d8e2baa777bd322fd9583200330/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/libvpx/1.11.0/mxrap/2023-02-01/package/5e0af5f73300ab516ed9a8e7ff76a20877f5d36f/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/libvpx/1.11.0/mxrap/2023-02-01/package/5e0af5f73300ab516ed9a8e7ff76a20877f5d36f/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/libx265/3.4/cci/7347071b88c04ecd3bf66f9d450b6aac/package/d138127af1801535920354a588799ecf562204d9/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/libx265/3.4/cci/7347071b88c04ecd3bf66f9d450b6aac/package/d138127af1801535920354a588799ecf562204d9/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/libx264/cci.20220602/cci/35c2fd77371c19fd564351db10ae6747/package/482564dc3f80b8672f82b4f1806cda8d431a398c/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/libx264/cci.20220602/cci/35c2fd77371c19fd564351db10ae6747/package/482564dc3f80b8672f82b4f1806cda8d431a398c/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/opus/1.3.1/cci/6938146de9da3b6817c85b6d522e8e4d/package/b448e8eba5514d8e2baa777bd322fd9583200330/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/opus/1.3.1/cci/6938146de9da3b6817c85b6d522e8e4d/package/b448e8eba5514d8e2baa777bd322fd9583200330/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/opus/1.3.1/cci/6938146de9da3b6817c85b6d522e8e4d/package/b448e8eba5514d8e2baa777bd322fd9583200330/include/opus', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/opus/1.3.1/cci/6938146de9da3b6817c85b6d522e8e4d/package/b448e8eba5514d8e2baa777bd322fd9583200330/include/opus' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/openh264/2.3.1/cci/21db3aa3d786b3e6eb9489dfb88372cb/package/8b3117c31942877c9edf009bf38f3a3b5586c429/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/openh264/2.3.1/cci/21db3aa3d786b3e6eb9489dfb88372cb/package/8b3117c31942877c9edf009bf38f3a3b5586c429/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/openjpeg/2.5.0/cci/cb3ca9c879e991ad313caa16d7e04169/package/b448e8eba5514d8e2baa777bd322fd9583200330/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/openjpeg/2.5.0/cci/cb3ca9c879e991ad313caa16d7e04169/package/b448e8eba5514d8e2baa777bd322fd9583200330/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/openjpeg/2.5.0/cci/cb3ca9c879e991ad313caa16d7e04169/package/b448e8eba5514d8e2baa777bd322fd9583200330/include/openjpeg-2.5', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/openjpeg/2.5.0/cci/cb3ca9c879e991ad313caa16d7e04169/package/b448e8eba5514d8e2baa777bd322fd9583200330/include/openjpeg-2.5' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/libiconv/1.17/cci/7f5704761b99aeddacadf5c7904ffbaa/package/b448e8eba5514d8e2baa777bd322fd9583200330/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/libiconv/1.17/cci/7f5704761b99aeddacadf5c7904ffbaa/package/b448e8eba5514d8e2baa777bd322fd9583200330/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/xz_utils/5.4.0/cci/394283edeac4658356894312aa0fdcbb/package/b448e8eba5514d8e2baa777bd322fd9583200330/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/xz_utils/5.4.0/cci/394283edeac4658356894312aa0fdcbb/package/b448e8eba5514d8e2baa777bd322fd9583200330/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/bzip2/1.0.8/cci/464be69744fa6d48ed01928cfe470008/package/8aaea3355c2fe5c6018a0a55628de77a534b1d51/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/bzip2/1.0.8/cci/464be69744fa6d48ed01928cfe470008/package/8aaea3355c2fe5c6018a0a55628de77a534b1d51/include' ignored
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/zlib/1.2.13/cci/13c96f538b52e1600c40b88994de240f/package/b448e8eba5514d8e2baa777bd322fd9583200330/include', object file assumed
cl : Command line warning D9027 : source file 'I:/k/env/conandata/zlib/1.2.13/cci/13c96f538b52e1600c40b88994de240f/package/b448e8eba5514d8e2baa777bd322fd9583200330/include' ignored
test.c
/k/env/conandata/ffmpeg/5.0/paul/test2/build/a52938edbd2b0d85c72768924adc41517df507a6/src/compat/windows/mslink /LIBPATH:/k/env/conandata/vorbis/1.3.7/cci/4bc83814e0814e1a03aa451411f82bd3/package/b1ff2a2f3592c4e70f91c2581c6e0e5ff62d43d4/lib /LIBPATH:/k/env/conandata/ogg/1.3.5/cci/1fd1211e20186ca5ff5ba927fb0989ee/package/b448e8eba5514d8e2baa777bd322fd9583200330/lib /LIBPATH:/k/env/conandata/libwebp/1.2.4/cci/0a7a0849e7780712c650e84e0b0b01c8/package/9099292b4b932fa39f9e092d134fd37ad7ade233/lib /LIBPATH:/k/env/conandata/libfdk_aac/2.0.2/cci/c70daa/package/8b3117c31942877c9edf009bf38f3a3b5586c429/lib /LIBPATH:/k/env/conandata/libmp3lame/3.100/cci/44b12d/package/b448e8eba5514d8e2baa777bd322fd9583200330/lib /LIBPATH:/k/env/conandata/libvpx/1.11.0/mxrap/2023-02-01/package/5e0af5f73300ab516ed9a8e7ff76a20877f5d36f/lib /LIBPATH:/k/env/conandata/libx265/3.4/cci/7347071b88c04ecd3bf66f9d450b6aac/package/d138127af1801535920354a588799ecf562204d9/lib /LIBPATH:/k/env/conandata/libx264/cci.20220602/cci/35c2fd77371c19fd564351db10ae6747/package/482564dc3f80b8672f82b4f1806cda8d431a398c/lib /LIBPATH:/k/env/conandata/opus/1.3.1/cci/6938146de9da3b6817c85b6d522e8e4d/package/b448e8eba5514d8e2baa777bd322fd9583200330/lib /LIBPATH:/k/env/conandata/openh264/2.3.1/cci/21db3aa3d786b3e6eb9489dfb88372cb/package/8b3117c31942877c9edf009bf38f3a3b5586c429/lib /LIBPATH:/k/env/conandata/openjpeg/2.5.0/cci/cb3ca9c879e991ad313caa16d7e04169/package/b448e8eba5514d8e2baa777bd322fd9583200330/lib /LIBPATH:/k/env/conandata/libiconv/1.17/cci/7f5704761b99aeddacadf5c7904ffbaa/package/b448e8eba5514d8e2baa777bd322fd9583200330/lib /LIBPATH:/k/env/conandata/xz_utils/5.4.0/cci/394283edeac4658356894312aa0fdcbb/package/b448e8eba5514d8e2baa777bd322fd9583200330/lib /LIBPATH:/k/env/conandata/bzip2/1.0.8/cci/464be69744fa6d48ed01928cfe470008/package/8aaea3355c2fe5c6018a0a55628de77a534b1d51/lib /LIBPATH:/k/env/conandata/zlib/1.2.13/cci/13c96f538b52e1600c40b88994de240f/package/b448e8eba5514d8e2baa777bd322fd9583200330/lib -nologo -out:./ffconf.xnuIbwqy/test.exe ./ffconf.xnuIbwqy/test.o
LINK : fatal error LNK1104: cannot open file 'K:\.conan\028900\1\bin\msys64\LIBPATH;K:\env\conandata\vorbis\1.3.7\cci\4bc83814e0814e1a03aa451411f82bd3\package\b1ff2a2f3592c4e70f91c2581c6e0e5ff62d43d4\lib.obj'
C compiler test failed.

@ghost ghost mentioned this pull request Feb 9, 2023
3 tasks
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 5 (a6d7b6da2b4eab4cb8513fe74907ecd11ab70e06):

  • ffmpeg/5.1@:
    CI failed to create some packages (All logs)

    Logs for packageID 1fb5ac9ef1b20a62a6d0ea3d06e65a9a0fb10ffe:
    [settings]
    arch=armv8
    build_type=Debug
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=12.0
    os=Macos
    [options]
    ffmpeg:shared=False
    
    [...]
    libpng/1.6.39: Retrieving package 6347693437e9f879b25630da15bcd83033510088 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    libpng/1.6.39: Package installed 6347693437e9f879b25630da15bcd83033510088
    libpng/1.6.39: Downloaded package revision c4674d72ab561670ec42127a3328d516
    vorbis/1.3.7: Retrieving package 521d6b3c6cd3236ae5ba6803035d09513d6f07dc from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    vorbis/1.3.7: Package installed 521d6b3c6cd3236ae5ba6803035d09513d6f07dc
    vorbis/1.3.7: Downloaded package revision 6862619d71e80e4847a9eaf835edeb45
    freetype/2.12.1: Retrieving package ca9a5981297e341b8442d261d6f91d0af60e055b from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    freetype/2.12.1: Package installed ca9a5981297e341b8442d261d6f91d0af60e055b
    freetype/2.12.1: Downloaded package revision 15e949c2c60062c4fe622c67cb50720e
    pkgconf/1.9.3: Appending PATH env var: /Users/jenkins/w/prod/BuildSingleReference@5/.conan/data/pkgconf/1.9.3/_/_/package/907cb07dbeb8f7bacd51a5119560f14986d21b20/bin
    pkgconf/1.9.3: Setting PKG_CONFIG env var: /Users/jenkins/w/prod/BuildSingleReference@5/.conan/data/pkgconf/1.9.3/_/_/package/907cb07dbeb8f7bacd51a5119560f14986d21b20/bin/pkgconf
    pkgconf/1.9.3: Appending AUTOMAKE_CONAN_INCLUDES env var: /Users/jenkins/w/prod/BuildSingleReference@5/.conan/data/pkgconf/1.9.3/_/_/package/907cb07dbeb8f7bacd51a5119560f14986d21b20/bin/aclocal
    ffmpeg/5.1: Applying build-requirement: pkgconf/1.9.3
    [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK
    ffmpeg/5.1: Configuring sources in /Users/jenkins/w/prod/BuildSingleReference@5/.conan/data/ffmpeg/5.1/_/_/source/src
    ffmpeg/5.1: 
    [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK
    [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK
    [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK
    ffmpeg/5.1: Copying sources to build folder
    ffmpeg/5.1: Building your package in /Users/jenkins/w/prod/BuildSingleReference@5/.conan/data/ffmpeg/5.1/_/_/build/1fb5ac9ef1b20a62a6d0ea3d06e65a9a0fb10ffe
    ffmpeg/5.1: Generator txt created conanbuildinfo.txt
    ffmpeg/5.1: Calling generate()
    ffmpeg/5.1: Aggregating env generators
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
    ffmpeg/5.1: Calling build()
    ffmpeg/5.1: Calling:
     > "/Users/jenkins/w/prod/BuildSingleReference@5/.conan/data/ffmpeg/5.1/_/_/build/1fb5ac9ef1b20a62a6d0ea3d06e65a9a0fb10ffe/src/configure" '--disable-shared' '--enable-static' '--prefix=/' '--bindir=${prefix}/bin' '--libdir=${prefix}/lib' '--host=aarch64-apple-darwin' '--build=x86_64-apple-darwin' '--install-name-dir=@rpath' '--arch=aarch64' '--target-os=darwin' '--pkg-config-flags=--static' '--disable-doc' '--enable-cross-compile' '--enable-asm' '--enable-pic' '--enable-avdevice' '--enable-avcodec' '--enable-avformat' '--enable-swresample' '--enable-swscale' '--enable-postproc' '--enable-avfilter' '--enable-bzlib' '--enable-zlib' '--enable-lzma' '--enable-iconv' '--enable-libopenjpeg' '--enable-libopenh264' '--enable-libvorbis' '--enable-libopus' '--disable-libzmq' '--disable-sdl2' '--enable-libx264' '--enable-libx265' '--enable-libvpx' '--enable-libmp3lame' '--enable-libfdk-aac' '--enable-libwebp' '--enable-openssl' '--disable-alsa' '--disable-libpulse' '--disable-vaapi' '--disable-vdpau' '--disable-libxcb' '--disable-libxcb-shm' '--disable-libxcb-shape' '--disable-libxcb-xfixes' '--enable-appkit' '--enable-avfoundation' '--enable-coreimage' '--enable-audiotoolbox' '--enable-videotoolbox' '--disable-securetransport' '--disable-cuda' '--disable-cuvid' '--enable-nonfree' '--enable-gpl' '--disable-vulkan' '--disable-optimizations' '--disable-mmx' '--disable-stripping' '--enable-debug' '--disable-outdev=audiotoolbox' '--extra-cflags=-arch arm64 -isysroot /Applications/conan/xcode/12.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk' '--extra-ldflags=-arch arm64 -isysroot /Applications/conan/xcode/12.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk' 
    
    ----Running------
    > . "/Users/jenkins/w/prod/BuildSingleReference@5/.conan/data/ffmpeg/5.1/_/_/build/1fb5ac9ef1b20a62a6d0ea3d06e65a9a0fb10ffe/build-debug/conan/conanbuild.sh" && "/Users/jenkins/w/prod/BuildSingleReference@5/.conan/data/ffmpeg/5.1/_/_/build/1fb5ac9ef1b20a62a6d0ea3d06e65a9a0fb10ffe/src/configure" '--disable-shared' '--enable-static' '--prefix=/' '--bindir=${prefix}/bin' '--libdir=${prefix}/lib' '--host=aarch64-apple-darwin' '--build=x86_64-apple-darwin' '--install-name-dir=@rpath' '--arch=aarch64' '--target-os=darwin' '--pkg-config-flags=--static' '--disable-doc' '--enable-cross-compile' '--enable-asm' '--enable-pic' '--enable-avdevice' '--enable-avcodec' '--enable-avformat' '--enable-swresample' '--enable-swscale' '--enable-postproc' '--enable-avfilter' '--enable-bzlib' '--enable-zlib' '--enable-lzma' '--enable-iconv' '--enable-libopenjpeg' '--enable-libopenh264' '--enable-libvorbis' '--enable-libopus' '--disable-libzmq' '--disable-sdl2' '--enable-libx264' '--enable-libx265' '--enable-libvpx' '--enable-libmp3lame' '--enable-libfdk-aac' '--enable-libwebp' '--enable-openssl' '--disable-alsa' '--disable-libpulse' '--disable-vaapi' '--disable-vdpau' '--disable-libxcb' '--disable-libxcb-shm' '--disable-libxcb-shape' '--disable-libxcb-xfixes' '--enable-appkit' '--enable-avfoundation' '--enable-coreimage' '--enable-audiotoolbox' '--enable-videotoolbox' '--disable-securetransport' '--disable-cuda' '--disable-cuvid' '--enable-nonfree' '--enable-gpl' '--disable-vulkan' '--disable-optimizations' '--disable-mmx' '--disable-stripping' '--enable-debug' '--disable-outdev=audiotoolbox' '--extra-cflags=-arch arm64 -isysroot /Applications/conan/xcode/12.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk' '--extra-ldflags=-arch arm64 -isysroot /Applications/conan/xcode/12.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk' 
    -----------------
    Unknown option "--host=aarch64-apple-darwin".
    See /Users/jenkins/w/prod/BuildSingleReference@5/.conan/data/ffmpeg/5.1/_/_/build/1fb5ac9ef1b20a62a6d0ea3d06e65a9a0fb10ffe/src/configure --help for available options.
    ffmpeg/5.1: 
    ffmpeg/5.1: ERROR: Package '1fb5ac9ef1b20a62a6d0ea3d06e65a9a0fb10ffe' build failed
    ffmpeg/5.1: WARN: Build folder /Users/jenkins/w/prod/BuildSingleReference@5/.conan/data/ffmpeg/5.1/_/_/build/1fb5ac9ef1b20a62a6d0ea3d06e65a9a0fb10ffe/build-debug
    ERROR: ffmpeg/5.1: Error in build() method, line 638
    	autotools.configure()
    	ConanException: Error 1 while executing "/Users/jenkins/w/prod/BuildSingleReference@5/.conan/data/ffmpeg/5.1/_/_/build/1fb5ac9ef1b20a62a6d0ea3d06e65a9a0fb10ffe/src/configure" '--disable-shared' '--enable-static' '--prefix=/' '--bindir=${prefix}/bin' '--libdir=${prefix}/lib' '--host=aarch64-apple-darwin' '--build=x86_64-apple-darwin' '--install-name-dir=@rpath' '--arch=aarch64' '--target-os=darwin' '--pkg-config-flags=--static' '--disable-doc' '--enable-cross-compile' '--enable-asm' '--enable-pic' '--enable-avdevice' '--enable-avcodec' '--enable-avformat' '--enable-swresample' '--enable-swscale' '--enable-postproc' '--enable-avfilter' '--enable-bzlib' '--enable-zlib' '--enable-lzma' '--enable-iconv' '--enable-libopenjpeg' '--enable-libopenh264' '--enable-libvorbis' '--enable-libopus' '--disable-libzmq' '--disable-sdl2' '--enable-libx264' '--enable-libx265' '--enable-libvpx' '--enable-libmp3lame' '--enable-libfdk-aac' '--enable-libwebp' '--enable-openssl' '--disable-alsa' '--disable-libpulse' '--disable-vaapi' '--disable-vdpau' '--disable-libxcb' '--disable-libxcb-shm' '--disable-libxcb-shape' '--disable-libxcb-xfixes' '--enable-appkit' '--enable-avfoundation' '--enable-coreimage' '--enable-audiotoolbox' '--enable-videotoolbox' '--disable-securetransport' '--disable-cuda' '--disable-cuvid' '--enable-nonfree' '--enable-gpl' '--disable-vulkan' '--disable-optimizations' '--disable-mmx' '--disable-stripping' '--enable-debug' '--disable-outdev=audiotoolbox' '--extra-cflags=-arch arm64 -isysroot /Applications/conan/xcode/12.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk' '--extra-ldflags=-arch arm64 -isysroot /Applications/conan/xcode/12.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk' 
    
  • ffmpeg/4.2.1@:
    Didn't run or was cancelled before finishing

  • ffmpeg/5.0@:
    Didn't run or was cancelled before finishing

  • ffmpeg/4.4@:
    Didn't run or was cancelled before finishing

  • ffmpeg/4.4.3@:
    Didn't run or was cancelled before finishing

  • ffmpeg/4.3.2@:
    Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline (informative, not required for merge) ❌

Note: Conan v2 builds are informative and they are not required for the PR to be merged.

The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future.

See details:

Failure in build 5 (a6d7b6da2b4eab4cb8513fe74907ecd11ab70e06):

  • ffmpeg/5.1@:
    Error running command conan export --name ffmpeg --version 5.1 recipes/ffmpeg/all/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py", line 13, in <module>
        from conans.tools import get_gnu_triplet
    ModuleNotFoundError: No module named 'conans.tools'
    
  • ffmpeg/5.0@:
    Error running command conan export --name ffmpeg --version 5.0 recipes/ffmpeg/all/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py", line 13, in <module>
        from conans.tools import get_gnu_triplet
    ModuleNotFoundError: No module named 'conans.tools'
    
  • ffmpeg/4.4.3@:
    Error running command conan export --name ffmpeg --version 4.4.3 recipes/ffmpeg/all/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py", line 13, in <module>
        from conans.tools import get_gnu_triplet
    ModuleNotFoundError: No module named 'conans.tools'
    
  • ffmpeg/4.4@:
    Error running command conan export --name ffmpeg --version 4.4 recipes/ffmpeg/all/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py", line 13, in <module>
        from conans.tools import get_gnu_triplet
    ModuleNotFoundError: No module named 'conans.tools'
    
  • ffmpeg/4.3.2@:
    Error running command conan export --name ffmpeg --version 4.3.2 recipes/ffmpeg/all/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py", line 13, in <module>
        from conans.tools import get_gnu_triplet
    ModuleNotFoundError: No module named 'conans.tools'
    
  • ffmpeg/4.2.1@:
    Error running command conan export --name ffmpeg --version 4.2.1 recipes/ffmpeg/all/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-15818/recipes/ffmpeg/all/conanfile.py", line 13, in <module>
        from conans.tools import get_gnu_triplet
    ModuleNotFoundError: No module named 'conans.tools'
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@prince-chrismc
Copy link
Contributor

@jcar87 The GNU triplet is failing in 1.x and needs your magic touch

$ conan create all --version 5.1
Exporting the recipe
ERROR: Error loading conanfile at '/Users/christopherm/conan-center-index/recipes/ffmpeg/all/conanfile.py': Unable to load conanfile in /Users/christopherm/conan-center-index/recipes/ffmpeg/all/conanfile.py
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/Users/christopherm/conan-center-index/recipes/ffmpeg/all/conanfile.py", line 13, in <module>
    from conans.tools import get_gnu_triplet
ModuleNotFoundError: No module named 'conans.tools'

$ conan --version
Conan version 2.0.0-beta9

@prince-chrismc
Copy link
Contributor

I suspect the tools a messing up the paths between the I: and K: it's doing the wrong things

cl.exe /I/k/env/conandata/vorbis/1.3.7/cci/4bc83814e0814e1a03aa451411f82bd3/package/b1ff2a2f3592c4e70f91c2581c6e0e5ff62d43d4/include /I/k/env/conandata/ogg/1.3.5/cci/1fd1211e20186ca5ff5ba927fb0989ee/package/b448e8eba5514d8e2baa777bd322fd9583200330/include /I/k/env/conandata/libwebp/1.2.4/cci/0a7a0849e7780712c650e84e0b0b01c8/package/9099292b4b932fa39f9e092d134fd37ad7ade233/include /I/k/env/conandata/libfdk_aac/2.0.2/cci/c70daa/package/8b3117c31942877c9edf009bf38f3a3b5586c429/include /I/k/env/conandata/libmp3lame/3.100/cci/44b12d/package/b448e8eba5514d8e2baa777bd322fd9583200330/include /I/k/env/conandata/libvpx/1.11.0/mxrap/2023-02-01/package/5e0af5f73300ab516ed9a8e7ff76a20877f5d36f/include /I/k/env/conandata/libx265/3.4/cci/7347071b88c04ecd3bf66f9d450b6aac/package/d138127af1801535920354a588799ecf562204d9/include /I/k/env/conandata/libx264/cci.20220602/cci/35c2fd77371c19fd564351db10ae6747/package/482564dc3f80b8672f82b4f1806cda8d431a398c/include /I/k/env/conandata/opus/1.3.1/cci/6938146de9da3b6817c85b6d522e8e4d/package/b448e8eba5514d8e2baa777bd322fd9583200330/include /I/k/env/conandata/opus/1.3.1/cci/6938146de9da3b6817c85b6d522e8e4d/package/b448e8eba5514d8e2baa777bd322fd9583200330/include/opus /I/k/env/conandata/openh264/2.3.1/cci/21db3aa3d786b3e6eb9489dfb88372cb/package/8b3117c31942877c9edf009bf38f3a3b5586c429/include /I/k/env/conandata/openjpeg/2.5.0/cci/cb3ca9c879e991ad313caa16d7e04169/package/b448e8eba5514d8e2baa777bd322fd9583200330/include /I/k/env/conandata/openjpeg/2.5.0/cci/cb3ca9c879e991ad313caa16d7e04169/package/b448e8eba5514d8e2baa777bd322fd9583200330/include/openjpeg-2.5 /I/k/env/conandata/libiconv/1.17/cci/7f5704761b99aeddacadf5c7904ffbaa/package/b448e8eba5514d8e2baa777bd322fd9583200330/include /I/k/env/conandata/xz_utils/5.4.0/cci/394283edeac4658356894312aa0fdcbb/package/b448e8eba5514d8e2baa777bd322fd9583200330/include /I/k/env/conandata/bzip2/1.0.8/cci/464be69744fa6d48ed01928cfe470008/package/8aaea3355c2fe5c6018a0a55628de77a534b1d51/include /I/k/env/conandata/zlib/1.2.13/cci/13c96f538b52e1600c40b88994de240f/package/b448e8eba5514d8e2baa777bd322fd9583200330/include -DOPJ_STATIC -DLZMA_API_STATIC -DNDEBUG -MD -O2 -Ob2 -nologo -c -Fo./ffconf.xnuIbwqy/test.o ./ffconf.xnuIbwqy/test.c
cl : Command line warning D9024 : unrecognized source file type 'I:/k/env/conandata/vorbis/1.3.7/cci/4bc83814e0814e1a03aa451411f82bd3/package/b1ff2a2f3592c4e70f91c2581c6e0e5ff62d43d4/include', object file assumed

tc.generate()


if is_msvc(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I stole this from recipes/coin-utils/all/conanfile.py maybe see if you can build that one?

        env = tc.environment()
        if is_msvc(self):
            compile_wrapper = unix_path(self, self.conf.get("user.automake:compile-wrapper", check_type=str))
            ar_wrapper = unix_path(self, self.conf.get("user.automake:lib-wrapper", check_type=str))
            env.define("CC", f"{compile_wrapper} cl -nologo")
            env.define("CXX", f"{compile_wrapper} cl -nologo")
            env.define("LD", "link -nologo")
            env.define("AR", f"{ar_wrapper} \"lib -nologo\"")
            env.define("NM", "dumpbin -symbols")
            env.define("OBJDUMP", ":")
            env.define("RANLIB", ":")
            env.define("STRIP", ":")
        tc.generate(env)

args.append("--toolchain=msvc")
if self.settings.compiler == "Visual Studio" and tools.Version(self.settings.compiler.version) <= "12":
if self.settings.compiler == "Visual Studio" and Version(self.settings.compiler.version) <= "12":
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in conan 1.57 they added check min vs with raise = false to be 2.0 compatible

@stale
Copy link

stale bot commented Mar 25, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 25, 2023
@paulharris paulharris closed this Mar 29, 2023
@paulharris paulharris deleted the ffmpeg-conan-v2 branch March 31, 2023 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants