[package] xorg/system: Seems system package tool doesn't install all necessary libraries
See original GitHub issuePackage and Environment Details (include every applicable attribute)
- Package Name/Version: xorg/system
- Operating System+version: Fedora 32
- Compiler+version: GCC 10
- Conan version: conan 1.26.0
- Python version: Python 3.8.3
Conan profile (output of conan profile show default
or conan profile show <profile>
if custom profile is in use)
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++
compiler.version=10
os=Linux
os_build=Linux
Steps to reproduce (Include if Applicable)
conan install xorg/system@
Not full logs
Click to expand log
ERROR: xorg/test: Error in package_info() method, line 68
self._fill_cppinfo_from_pkgconfig(name)
while calling '_fill_cppinfo_from_pkgconfig', line 18
if not pkg_config.provides:
ConanException: pkg-config command ['pkg-config', '--print-provides', 'xtrans', '--print-errors'] failed with error: Command 'pkg-config --print-provides xtrans --print-errors' returned non-zero exit status 1.
Package xtrans was not found in the pkg-config search path.
Perhaps you should add the directory containing `xtrans.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xtrans', required by 'virtual:world', not found
I think that pkg-config search all libraries in the list in package_info(self) function and if it didn’t find, then it would print error in above. So I’m thinking of adding more than one package in packages
list.
For example to dnf and yum package manager:
packages = ["xorg-x11-server-devel", "libxcb-devel", "libdmx-devel",
"libfontenc-devel", "libFS-devel", "libICE-devel",
"libSM-devel", "libXau-devel", "libXaw-devel",
"libXcomposite-devel", "libXcursor-devel", "libXdamage-devel",
"libXdmcp-devel", "libXext-devel", "libXfixes-devel",
"libXft-devel", "libXi-devel", "libXinerama-devel",
"libxkbfile-devel", "libXmu-devel", "libXpm-devel",
"libXrandr-devel", "libXrender-devel", "libXres-devel",
"libXScrnSaver-devel", "libXt-devel", "libXtst-devel",
"libXv-devel", "libXvMC-devel", "libXxf86dga-devel",
"libXxf86vm-devel", "xorg-x11-xtrans-devel"]
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Conan does not install system packages despite requiring them
I am currently going on a wild goose chase. I'm on a new system and needed to reinstall conan. This was easy as...
Read more >"I cannot find a working X window system" - Ask Ubuntu
On this system, X in /etc/X11 points to /usr/bin/Xorg and /usr/lib/xorg has just one modules directory. Is X to be specifically installed, or ......
Read more >Installation Troubleshooting - Togaware: Rattle
On MS/Windows, when a package has been loaded into the library (using the library() command), we can not then update it with the...
Read more >General problem installing any R package - Microsoft Support
When trying to install any R package on your system, for example: ... the necessary file permissions to be able to write to...
Read more >R Commander Installation Notes - Social Sciences Mcmaster
Occasionally, an R package or packages required by the Rcmdr package fails ... Check to see whether the X11 windowing system (X Windows)...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Actually, https://github.com/conan-io/conan-center-index/pull/2115 should fix this issue
Is this issue fixed? I cannot install the bincrafters pango package because it depends on xorg/system and pkg-config cannot find all of the libs in the the package_info step. Copying the recipe file from the conan-center and replacing the package list with the one shown in this issue fixes it.