Project

Profile

Help

Issue #9161

closed

Failed to install pulp_rpm using guide

Added by daviddavis over 1 year ago. Updated 12 months ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Quarter:
Q4-2021

Description

Ticket moved to GitHub: "pulp/pulp_rpm/2289":https://github.com/pulp/pulp_rpm/issues/2289


I have a Fedora 34 dev and attempted to use this guide to install pulp_rpm:

https://docs.pulpproject.org/pulp_rpm/installation.html#pip-install

And it didn't work. I received this error:

  Collecting pycairo
    Using cached pycairo-1.20.1.tar.gz (344 kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
      Preparing wheel metadata: started
      Preparing wheel metadata: finished with status 'done'
  Building wheels for collected packages: pycairo
    Building wheel for pycairo (PEP 517): started
    Building wheel for pycairo (PEP 517): finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /usr/local/lib/pulp/bin/python3 /tmp/tmpfubrvjp7_in_process.py build_wheel /tmp/tmpid7xark8
         cwd: /tmp/pip-install-tb3afgvo/pycairo_3f34975a189d4698b271667114eff756
    Complete output (15 lines):
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.9
    creating build/lib.linux-x86_64-3.9/cairo
    copying cairo/__init__.py -> build/lib.linux-x86_64-3.9/cairo
    copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.9/cairo
    copying cairo/py.typed -> build/lib.linux-x86_64-3.9/cairo
    running build_ext
    Package cairo was not found in the pkg-config search path.
    Perhaps you should add the directory containing `cairo.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'cairo', required by 'virtual:world', not found
    Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.15.10']' returned non-zero exit status 1.
    ----------------------------------------
    ERROR: Failed building wheel for pycairo
  Failed to build pycairo
  ERROR: Could not build wheels for pycairo which use PEP 517 and cannot be installed directly
Actions #1

Updated by daviddavis over 1 year ago

I was able to work around this error by installing cairo-devel but then I just ended up hitting another similar error with a different package.

Actions #2

Updated by dalley over 1 year ago

  • Triaged changed from No to Yes
  • Tags Documentation added
Actions #3

Updated by ipanova@redhat.com about 1 year ago

  • Quarter set to Q4-2021
Actions #4

Updated by fao89 12 months ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF