[package] xorg/system: false positive of missing requirements: xtrans-dev xkb-data
See original GitHub issueDescription
While trying to run conan install on Ubuntu 22.04 docker/podman image, the xorg/system
package started giving false positive errors for missing system packages: xtrans-dev and xkb-data.
This only started happening in the last few days as our CI was failing for Ubuntu 22.04 builds. Ubuntu 18.04 builds don’t seem to be affected.
Below is the error I was getting along with proof that the “missing” packages are installed
I am running this in a isolated podman container based off ubuntu 22.04.
My Linux Mint 21 (based off Ubuntu 22.04) seems to be working though.
xorg/system: ERROR: while executing system_requirements(): System requirements: 'xtrans-dev, xkb-data' are missing but can't install because tools.system.package_manager:mode is 'check'.Please update packages manually or set 'tools.system.package_manager:mode' to 'install' in the [conf] section of the profile, or in the command line using '-c tools.system.package_manager:mode=install'
ERROR: Error in system requirements
user@939acd8a9ea7:~/build$ sudo apt install xtrans-dev xkb-data
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xkb-data is already the newest version (2.33-1).
xtrans-dev is already the newest version (1.4.0-1).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Package and Environment Details
- Package Name/Version: xorg/system
- Operating System+version: Linux Ubuntu 22.04
- Compiler+version: GCC 11
- Docker image: Custom podman image based off ubuntu 22.04
- Conan version: conan 1.53.0
- Python version: Python 3.10.6
Conan profile
[settings] os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=11 compiler.libcxx=libstdc++ build_type=Release [options] [build_requires] [env]
Steps to reproduce
Create folder with the following conanfile.txt
[requires]
xorg/system
[options]
[generators]
cmake
cmake_find_package
[imports]
conan install PATH_TO_CONANFILE.TXT -s compiler.libcxx=libstdc++11 --build missing
Logs
Click to expand log
user@939acd8a9ea7:~/build$ sudo apt install xtrans-dev xkb-data
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xkb-data is already the newest version (2.33-1).
xtrans-dev is already the newest version (1.4.0-1).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
user@939acd8a9ea7:~/build$
user@939acd8a9ea7:~/build$
user@939acd8a9ea7:~/build$ conan install ../project -s compiler.libcxx=libstdc++11 --build missing
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
conanfile.txt: Installing package
Requirements
xorg/system from 'conancenter' - Cache
Packages
xorg/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
Installing (downloading, building) binaries...
dpkg-query: no packages found matching xtrans-dev:amd64
dpkg-query: no packages found matching xkb-data:amd64
xorg/system: ERROR: while executing system_requirements(): System requirements: 'xtrans-dev, xkb-data' are missing but can't install because tools.system.package_manager:mode is 'check'.Please update packages manually or set 'tools.system.package_manager:mode' to 'install' in the [conf] section of the profile, or in the command line using '-c tools.system.package_manager:mode=install'
ERROR: Error in system requirements
user@939acd8a9ea7:~/build$
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:15 (11 by maintainers)
Having our builds tactically nuked by breaking changes to conan center recipes is becoming really concerning. This is not the first time this has happened.
This can be closed, it was fixed with https://github.com/conan-io/conan-center-index/pull/13592