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 support #15819

Merged
merged 18 commits into from
Apr 13, 2023
Merged

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Feb 8, 2023

Specify library name and version: lib/1.0


@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.

@ghost ghost mentioned this pull request Feb 9, 2023
3 tasks
from conan.tools.scm import Version
from conans import AutoToolsBuildEnvironment, tools
from conans.tools import get_gnu_triplet
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
from conans.tools import get_gnu_triplet
from conan.tools.gnu.get_gnu_triplet import _get_gnu_triplet as get_gnu_triplet

Copy link
Contributor Author

@SpaceIm SpaceIm Mar 22, 2023

Choose a reason for hiding this comment

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

it's not allowed by conancenter to import internal conan functions

@paulharris
Copy link
Contributor

I tried to build locally on Linux-gcc11,
fails at the config step, not able to find vaapi.

check_pkg_config vaapi libva >= 0.35.0 va/va.h vaInitialize
test_pkg_config vaapi libva >= 0.35.0 va/va.h vaInitialize
/build/conandata/conan-data/pkgconf/1.9.3/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/pkgconf --exists --print-errors libva >= 0.35.0
Package libva was not found in the pkg-config search path.
Perhaps you should add the directory containing `libva.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libva', required by 'virtual:world', not found

It is looking for libva.pc. I added a call to copy vaapi.pc to libva.pc, but it then complained:

check_pkg_config vaapi libva >= 0.35.0 va/va.h vaInitialize
test_pkg_config vaapi libva >= 0.35.0 va/va.h vaInitialize
/build/conandata/conan-data/pkgconf/1.9.3/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/pkgconf --exists --print-errors libva >= 0.35.0
Package dependency requirement 'libva >= 0.35.0' could not be satisfied.
Package 'libva' has version 'system', required version is '>= 0.35.0'

@SpaceIm
Copy link
Contributor Author

SpaceIm commented Mar 23, 2023

I tried to build locally on Linux-gcc11, fails at the config step, not able to find vaapi.

check_pkg_config vaapi libva >= 0.35.0 va/va.h vaInitialize
test_pkg_config vaapi libva >= 0.35.0 va/va.h vaInitialize
/build/conandata/conan-data/pkgconf/1.9.3/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/pkgconf --exists --print-errors libva >= 0.35.0
Package libva was not found in the pkg-config search path.
Perhaps you should add the directory containing `libva.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libva', required by 'virtual:world', not found

It is looking for libva.pc. I added a call to copy vaapi.pc to libva.pc, but it then complained:

check_pkg_config vaapi libva >= 0.35.0 va/va.h vaInitialize
test_pkg_config vaapi libva >= 0.35.0 va/va.h vaInitialize
/build/conandata/conan-data/pkgconf/1.9.3/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/pkgconf --exists --print-errors libva >= 0.35.0
Package dependency requirement 'libva >= 0.35.0' could not be satisfied.
Package 'libva' has version 'system', required version is '>= 0.35.0'

I guess #16464 fixed this issue.

@SpaceIm SpaceIm marked this pull request as draft March 23, 2023 00:15
@conan-center-bot

This comment has been minimized.

@SpaceIm
Copy link
Contributor Author

SpaceIm commented Mar 29, 2023

So several conan v2 issues in dependencies have been fixed by #16217, #16232, #16315, #16464, #16463, so these dependencies should work fine now.
I believe that now we just have to wait for conan v2 compatibility of libx264 recipe: #15353.
Once merged I'll work further on this PR, where there are still at least 2 known issues:

  • msvc build fails
  • we have to find a way to replace this get_gnu_triplet() from conan v1 API.

if cxx:
args.append(f"--cxx={unix_path(self, cxx)}")
pkg_config = self.conf.get("tools.gnu:pkg_config", default=buildenv_vars.get("PKG_CONFIG"), check_type=str)
if pkg_config:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the flags for ar, nm, ranlib and strip are missing. This might cause some issues while cross compiling. At least it was an issue with conan1

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed by 5f0359f

@prince-chrismc
Copy link
Contributor

prince-chrismc commented Mar 29, 2023

Testing this locally I found this (after building #15353)

ffmpeg/5.1: Full package reference: ffmpeg/5.1#86697114b57ac89ab7594e95a32335a9:64ae2f2e52417e21791a9b72741d68279a58ea82#2f2537dc4bca1be17d27306d0e5f5ac9
ffmpeg/5.1: Package folder /Users/christopherm/.conan2/p/ffmpec6f2a0be93fb1/p
ffmpeg/5.1: WARN: cannot determine version of libavdevice packaged with ffmpeg!
ffmpeg/5.1: WARN: cannot determine version of libavfilter packaged with ffmpeg!
ffmpeg/5.1: WARN: cannot determine version of libavformat packaged with ffmpeg!
ffmpeg/5.1: WARN: cannot determine version of libavcodec packaged with ffmpeg!
ffmpeg/5.1: WARN: cannot determine version of libswscale packaged with ffmpeg!
ffmpeg/5.1: WARN: cannot determine version of libswresample packaged with ffmpeg!
ffmpeg/5.1: WARN: cannot determine version of libpostproc packaged with ffmpeg!
WARN: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN:     'cpp_info.names' used in: zlib/1.2.13, libiconv/1.17, ogg/1.3.5, openjpeg/2.5.0, vorbis/1.3.7, libfdk_aac/2.0.2, openssl/1.1.1t, bzip2/1.0.8, libpng/1.6.39, xz_utils/5.4.0, opus/1.3.1, freetype/2.13.0, brotli/1.0.9, libwebp/1.3.0, libx264/cci.20220602
WARN:     'cpp_info.build_modules' used in: openjpeg/2.5.0, openssl/1.1.1t, bzip2/1.0.8, xz_utils/5.4.0, freetype/2.13.0
WARN:     'env_info' used in: yasm/1.3.0, pkgconf/1.9.3, libiconv/1.17, bzip2/1.0.8, freetype/2.13.0
WARN:     'cpp_info.filenames' used in: libfdk_aac/2.0.2, freetype/2.13.0
WARN:     'user_info' used in: freetype/2.13.0

======== Launching test_package ========

Which is from

def _read_component_version(self, component_name):

Which was broken with the 5.1 release, searching with https://github.com/FFmpeg/FFmpeg/tree/n5.0.2/libavcodec this probably was working, I see no issues for it https://github.com/conan-io/conan-center-index/issues?q=is%3Aissue+is%3Aopen+ffmpeg

They changed this for all the project in 5.1 to have the major split out like this FFmpeg/FFmpeg@f2da2e1

@github-actions
Copy link
Contributor

github-actions bot commented Apr 4, 2023

Hooks produced the following warnings for commit 1cfddba
ffmpeg/5.0
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.8.24.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.59.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.56.3.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.57.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.59.4.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.4.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.56.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.6.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.6.4.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.57.17.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.59.18.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.59.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.59.16.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.59.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.4.3.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.8.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
ffmpeg/4.4.3
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.5.9.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.55.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.55.9.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.58.13.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.56.70.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.5.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.3.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.7.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.58.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.58.76.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.3.9.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.7.110.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.56.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.58.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.58.134.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.58.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
ffmpeg/5.1
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.59.27.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.59.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.57.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.4.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.56.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.6.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.59.37.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.4.7.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.6.7.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.59.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.59.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.8.44.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.57.28.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.56.6.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.8.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.59.7.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
ffmpeg/4.2.1
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.3.5.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.55.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.5.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.7.57.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.3.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.7.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.55.5.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.58.54.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.5.5.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.58.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.56.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.58.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.56.31.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.58.8.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.58.29.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.58.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
ffmpeg/4.4
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.5.9.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.55.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.55.9.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.58.13.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.56.70.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.5.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.3.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.7.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.58.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.58.76.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.3.9.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.7.110.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.56.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.58.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.58.134.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.58.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
ffmpeg/4.3.2
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.55.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.56.51.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.58.91.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.5.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.3.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.7.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.58.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavformat.58.45.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavutil.56.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.3.7.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.58.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswresample.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.7.85.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavfilter.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libpostproc.55.7.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libswscale.5.7.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavdevice.58.10.100.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libavcodec.58.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.

@SpaceIm SpaceIm closed this Apr 4, 2023
@SpaceIm
Copy link
Contributor Author

SpaceIm commented Apr 4, 2023

I don't understand these undefined references in test package on Linux in v2 pipeline, it was working fine in previous build... Did you update conan client in c3i?

@SpaceIm SpaceIm reopened this Apr 4, 2023
@prince-chrismc
Copy link
Contributor

used my magic power to check v2 failures 😡

   ======== Installing packages ========
   ERROR: Missing binary: pulseaudio/14.2:29fc47e22a5da418b91f207b848f39d0442c09ee
   ERROR: Missing binary: vulkan-loader/1.3.239.0:9f784576b216e5216c534dd9d6d20cb3d7075a58
   
   vulkan-loader/1.3.239.0: WARN: Can't find a 'vulkan-loader/1.3.239.0' package binary '9f784576b216e5216c534dd9d6d20cb3d7075a58' for the configuration:
   [settings]
   arch=x86_64
   build_type=Release
   compiler=gcc
   compiler.version=11
   os=Linux
   [options]
   shared=True
   with_wsi_directfb=False
   with_wsi_wayland=True
   with_wsi_xcb=True
   with_wsi_xlib=True
   [requires]
   vulkan-headers/1.3.239.0#3f678623fcd7aa3a39015b5770f4f31d:da39a3ee5e6b4b0d3255bfef95601890afd80709
   xorg/system
   
   ERROR: Missing prebuilt package for 'pulseaudio/14.2', 'vulkan-loader/1.3.239.0'
   Check the available packages using 'conan list vulkan-loader/1.3.239.0:* -r=remote'
   or try to build locally from sources using the '--build=pulseaudio/14.2 --build=vulkan-loader/1.3.239.0' argument
   
   More Info at 'https://docs.conan.io/2/knowledge/faq.html#error-missing-prebuilt-package'
   ```
   
   </details>
```

@prince-chrismc
Copy link
Contributor

This PR is missing cppstd and the packages that build are with the setting which is why they are missing.

Hopefully the team fixes this tomorrow :/

@paulharris
Copy link
Contributor

Just a note that this PR links to the correct MSVC runtime on Windows, while the current ffmpeg recipe tries to use "-dynamic" as a flag, and so ends up linking against libcmt (MSVC static runtime).

Looking forward to seeing this PR live!

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 21 (1cfddbab49a00674dc0857b3c93d9f1fac7da810):

  • ffmpeg/5.1@:
    All packages built successfully! (All logs)

  • ffmpeg/5.0@:
    All packages built successfully! (All logs)

  • ffmpeg/4.4.3@:
    All packages built successfully! (All logs)

  • ffmpeg/4.4@:
    All packages built successfully! (All logs)

  • ffmpeg/4.3.2@:
    All packages built successfully! (All logs)

  • ffmpeg/4.2.1@:
    All packages built successfully! (All logs)


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 21 (1cfddbab49a00674dc0857b3c93d9f1fac7da810):

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

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

    Logs for packageID bb669681626525df606ca24dee3bf072c7882a4c:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=gnu17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=True
    
    [...]
    Hit:3 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
    Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
    Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
    Reading package lists...
    
    xorg/system: RUN: sudo apt-get install -y --no-install-recommends libxcb-util-dev
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following NEW packages will be installed:
      libxcb-util-dev
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 9,974 B of archives.
    After this operation, 71.7 kB of additional disk space will be used.
    Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-util-dev amd64 0.4.0-0ubuntu3 [9,974 B]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 9,974 B in 0s (41.9 kB/s)
    Selecting previously unselected package libxcb-util-dev:amd64.
    (Reading database ... 
    (Reading database ... 5%
    (Reading database ... 10%
    (Reading database ... 15%
    (Reading database ... 20%
    (Reading database ... 25%
    (Reading database ... 30%
    (Reading database ... 35%
    (Reading database ... 40%
    (Reading database ... 45%
    (Reading database ... 50%
    (Reading database ... 55%
    (Reading database ... 60%
    (Reading database ... 65%
    (Reading database ... 70%
    (Reading database ... 75%
    (Reading database ... 80%
    (Reading database ... 85%
    (Reading database ... 90%
    (Reading database ... 95%
    (Reading database ... 100%
    (Reading database ... 19318 files and directories currently installed.)
    Preparing to unpack .../libxcb-util-dev_0.4.0-0ubuntu3_amd64.deb ...
    Unpacking libxcb-util-dev:amd64 (0.4.0-0ubuntu3) ...
    Setting up libxcb-util-dev:amd64 (0.4.0-0ubuntu3) ...
    
    
    ======== Installing packages ========
    ERROR: Missing binary: pulseaudio/14.2:29fc47e22a5da418b91f207b848f39d0442c09ee
    ERROR: Missing binary: vulkan-loader/1.3.239.0:9f784576b216e5216c534dd9d6d20cb3d7075a58
    
    vulkan-loader/1.3.239.0: WARN: Can't find a 'vulkan-loader/1.3.239.0' package binary '9f784576b216e5216c534dd9d6d20cb3d7075a58' for the configuration:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.version=11
    os=Linux
    [options]
    shared=True
    with_wsi_directfb=False
    with_wsi_wayland=True
    with_wsi_xcb=True
    with_wsi_xlib=True
    [requires]
    vulkan-headers/1.3.239.0#3f678623fcd7aa3a39015b5770f4f31d:da39a3ee5e6b4b0d3255bfef95601890afd80709
    xorg/system
    
    ERROR: Missing prebuilt package for 'pulseaudio/14.2', 'vulkan-loader/1.3.239.0'
    Check the available packages using 'conan list vulkan-loader/1.3.239.0:* -r=remote'
    or try to build locally from sources using the '--build=pulseaudio/14.2 --build=vulkan-loader/1.3.239.0' argument
    
    More Info at 'https://docs.conan.io/2/knowledge/faq.html#error-missing-prebuilt-package'
    
  • 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.

@SSE4
Copy link
Contributor

SSE4 commented Apr 5, 2023

This PR is missing cppstd and the packages that build are with the setting which is why they are missing.

@prince-chrismc sorry, I don't understand. ffmpeg is pure C library. why does it need to care about cppstd in the first place?

@SpaceIm
Copy link
Contributor Author

SpaceIm commented Apr 5, 2023

I agree it's orthogonal to cppstd. I don't understand why these vulkan-loader & pulseaudio packages are missing, given that in a previous c3i build (https://c3i.jfrog.io/c3i/misc-v2/logs/pr/15819/20-linux-gcc/ffmpeg/4.4.3//0b89df21e01e911503b70883ee6f5b777dbcf232-test.txt), they were available for the same configuration (Linux, Release, gcc 11, cppstd=gnu17, libstdc++11, all shared)

@prince-chrismc
Copy link
Contributor

So the team helped me out!

In an investigation they found it was actually the 2.0 graph #16901 the issue was the header only library full package mode in the new everything shared config of v2 was being triggered under pulse audio.

Since this is all new it's the first time we are seeing that.

I did not double check the graph but I assume there are different revision of the same header only package which is causing the problem

Copy link
Contributor

@prince-chrismc prince-chrismc left a comment

Choose a reason for hiding this comment

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

Lets merge this in we can circle back to generate packages through the backend 🤞

@SpaceIm
Copy link
Contributor Author

SpaceIm commented Apr 5, 2023

So the team helped me out!

In an investigation they found it was actually the 2.0 graph #16901 the issue was the header only library full package mode in the new everything shared config of v2 was being triggered under pulse audio.

Since this is all new it's the first time we are seeing that.

I did not double check the graph but I assume there are different revision of the same header only package which is causing the problem

Actually I'm pretty sure that this "invalidation" of package id of pre-built Linux packages of pulseaudio & vulkan-loader comes from update in xorg recipe merged yesterday (#16886), and not from vulkan-headers recipe.

if cxx:
args.append(f"--cxx={unix_path(self, cxx)}")
ld = buildenv_vars.get("LD")
if ld:
Copy link
Contributor

@nicosmd nicosmd Apr 6, 2023

Choose a reason for hiding this comment

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

There is an issue when cross building ffmpeg with the ld flag. In the old package, the ld was not set and I have the feeling, that this had some reasons.

The problem when setting ld is that the build will fails with: C compiler test failed.

When checking the logs it seems, that the test build is trying to run gcc commands using the specified linker, which results in:

aarch64-linux-gnu-ld: unrecognized option '-Wl,-Bsymbolic,-znoexecstack'

which definitely the wrong tool for that flags.
I'm not sure, if this is somehow explainable or a bug in the configuration stage of ffmpeg itself. Or maybe I'm doing something wrong. Maybe someone would need to reproduce the issue.
If the issue can be reproduced I would vote to remove the ld flag setting for the moment since it was not set in the old conanfile as well. At least for me, when removing the ld part, the cross compilation is working finally.

Choose a reason for hiding this comment

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

x86_64-linux-gnu-ld: unrecognised emulation mode: 64
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om
C compiler test failed.

@prince-chrismc prince-chrismc self-assigned this Apr 12, 2023
@SpaceIm
Copy link
Contributor Author

SpaceIm commented Apr 13, 2023

ERROR: Missing binary: pulseaudio/14.2:29fc47e22a5da418b91f207b848f39d0442c09ee
ERROR: Missing binary: vulkan-loader/1.3.239.0:9f784576b216e5216c534dd9d6d20cb3d7075a58

vulkan-loader/1.3.239.0: WARN: Can't find a 'vulkan-loader/1.3.239.0' package binary '9f784576b216e5216c534dd9d6d20cb3d7075a58' for the configuration:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.version=11
os=Linux
[options]
shared=True
with_wsi_directfb=False
with_wsi_wayland=True
with_wsi_xcb=True
with_wsi_xlib=True
[requires]
vulkan-headers/1.3.239.0#3f678623fcd7aa3a39015b5770f4f31d:da39a3ee5e6b4b0d3255bfef95601890afd80709
xorg/system

ERROR: Missing prebuilt package for 'pulseaudio/14.2', 'vulkan-loader/1.3.239.0'
Check the available packages using 'conan list vulkan-loader/1.3.239.0:* -r=remote'
or try to build locally from sources using the '--build=pulseaudio/14.2 --build=vulkan-loader/1.3.239.0' argument

More Info at 'https://docs.conan.io/2/knowledge/faq.html#error-missing-prebuilt-package'

@uilianries @RubenRBS @jcar87 @danimtb What the status of these packages? This PR can be merged if I change its status to ready for review, but v2 packages will be missing.

@jcar87
Copy link
Contributor

jcar87 commented Apr 13, 2023

Apologies for the confusion - the binaries for the dependencies are already there, and the last run for the v2 pipeline has proceeded further, with some failures

however I agree we should proceed with the merge

@prince-chrismc prince-chrismc marked this pull request as ready for review April 13, 2023 21:26
@prince-chrismc
Copy link
Contributor

This is amazing work so far so lets get it in :) We can make a new PR to fine to and address those v2 packages that one comment raising concerns

@SpaceIm
Copy link
Contributor Author

SpaceIm commented Apr 13, 2023

Apologies for the confusion - the binaries for the dependencies are already there, and the last run for the v2 pipeline has proceeded further, with some failures

however I agree we should proceed with the merge

These errors are surprising. Error on Linux seems to be a conan client bug, and on macOS something weird in macOS agent already seen several times (boost and other recipes).

@SpaceIm
Copy link
Contributor Author

SpaceIm commented Apr 13, 2023

Would it help conan v2 to add package_type = shared-library to vaapi & vdpau recipes so that conan understands that -rpath-link must be added (in the meantime it shouldn't be needed since they are system libraries...)?

@conan-center-bot conan-center-bot merged commit 4de2dfb into conan-io:master Apr 13, 2023
@SpaceIm SpaceIm deleted the ffmpeg-conan-v2 branch April 14, 2023 08:02
@AlexisDev
Copy link

I have a question indirectly linked to this PR, this morning when trying to build my project it failed because the package is apparently missing.

The log says the generated package id is 0885adea2acd88fb7e79b4bda9709c5ac37386ff and from the CI I can see the package exists but is BUILD + TEST_OK.
My question is, why my generated package ID is referencing a package not up on conancenter ?
If you could help me to avoid this problem in the futur I'll be grateful forever.

I'm using conan 1.59 and can't afford to update to 2.0 yet.

@prince-chrismc
Copy link
Contributor

We are slowly dropping support for v1 configs are we move more resources to v2. #16968 for the latest and we will be dropping more. If your settings/profiles are not an exact match they'll be missing.

Regardless you can simply add --build missing and then it wil generate packages locally, you can host your on configs in a conan server https://docs.conan.io/2/tutorial/conan_repositories.html for the docs :)

@SpaceIm
Copy link
Contributor Author

SpaceIm commented Apr 19, 2023

Apologies for the confusion - the binaries for the dependencies are already there, and the last run for the v2 pipeline has proceeded further, with some failures

however I agree we should proceed with the merge

These errors are surprising. Error on Linux seems to be a conan client bug, and on macOS something weird in macOS agent already seen several times (boost and other recipes).

@jcar87 Linux builds & test work fine in v2 pipeline after #17014 & #17013. See #17065 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.