question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[package] xorg/system: false positive of missing requirements: xtrans-dev xkb-data

See original GitHub issue

Description

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:closed
  • Created a year ago
  • Reactions:1
  • Comments:15 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
laserssoncommented, Oct 19, 2022

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.

1reaction
ericLemanissiercommented, Oct 19, 2022

This can be closed, it was fixed with https://github.com/conan-io/conan-center-index/pull/13592

Read more comments on GitHub >

github_iconTop Results From Across the Web

[package] xorg/system: false positive of missing requirements: xtrans ...
[package] xorg/system: false positive of missing requirements: xtrans-dev xkb-data. hooks warnings #13541 #13541. Sign in to view logs.
Read more >
xorg-server 1.10.0 - LWN.net
Here's the final 1.10 release. Since RC3, we've had a few build fixes made, and one regression fixed (a crasher on sparc and...
Read more >
Consolidated ChangeLog for X11R7.7 - X.Org
Module Module X11R7.6 X11R7.7 . xkeyboard‑config ‑ 2.6 . xserver 1.9.3 1.12.2 app bdftopcf 1.0.3 1.0.3
Read more >
configure - Apple Open Source
/bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for xorg-server 1.4.2-apple56.
Read more >
unRAIDServer-6.10.1-x86_64.txt - DigitalOcean
x.x addresses - emhttp new defaults: - root password required - newly created ... Fix missing csrf-token in Notify - webgui: Fix monitor...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found