-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[package] xorg/system: Missing xvmc dependency when using prebuilt binaries #22485
Comments
Possible affected PR: #21681 (comment) |
Update: I spoke with @jcar87 about the issue, and he says it's also related to the fact that C3I uses a GCC built from source (I think only GCC11 at time of writing, just a guess from me). Notably, in most distributions, So this means that whenever we tell something to link with The temporary solution is to add Perhaps we could also add this flag to the link flags for |
My naive questions are:
|
After reading thoroughly, I've understood the issue with |
Just in case, I'll add some extra info: |
I think you're absolutely right on all accounts (I need to a confirm a couple of things):
So we have two potential issues:
|
AFAIU, this is a conan specific situation, which happens in two different ways:
|
Description
Since #22081 (which removed xvmc) was merged, there have been periodic build failures in a few PRs, for example #21387. Even building a direct dependency of
xorg
can fail, for example here: #19897I believe the issue that the package pulls the latest xorg package revision, but because the package ID for xorg is cleared, the latest package (which does contain the
xvmc
requirement) is pulled. When the main package is built, the dependency thinks it needs xvmc, but the main package pulls the latest recipe, which does not pull xvmc. So I think one or both of the following need to happen:A fix for this potentially be applied to other
system
packages.Package and Environment Details
Conan profile
[settings]
os=Linux
arch=x86_64
compiler=gcc
compiler.version=11
compiler.libcxx=libstdc++11
build_type=Release
[conf]
tools.system.package_manager:mode=install
tools.system.package_manager:sudo=True
tools.build:compiler_executables={"c": "gcc-11", "cpp": "g++-11"}
Steps to reproduce
Important: Make sure your system does not contain
xvmc
from the system package manager. It should be safe to remove (see discussion on the PR that removed it fromxorg/system
, but I don't take responsibility if it breaks things.I've removed all
xorg
andtk
packages from my system:I can then reproduce the failure by navigating to
recipes/tk/all
and runningI was not able to reproduce the problem with different approaches
conan create
instead of aconan test
(yet, it might be possible)(This is not a
tk
specific problem, just one that has been affected by this)Logs
Click to expand log
The text was updated successfully, but these errors were encountered: