pip install ethtool-0.15 failed

Open
#61 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
c, python

Research direction

Start by reproducing the pip build for ethtool-0.15 and inspect the pyproject.toml build configuration around the C extension. Compare the failing libnl-3.0 pkg-config query with the reported output, then verify that the package can build a wheel successfully with the required configuration.

Written by the indexing model from the issue text.

Description

Processing ./ethtool-0.15.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: ethtool
Building wheel for ethtool (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for ethtool (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
running build
running build_ext
building 'ethtool' extension
Failed to query pkg-config --cflags-only-I libnl-3.0
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ethtool
Failed to build ethtool
ERROR: Could not build wheels for ethtool, which is required to install pyproject.toml-based projects
[root@0d3f20bef923 home]# pkg-config --cflags-only-I libnl-3.0
-I/usr/include/libnl3

Dominant language
C
Stars
16
Forks
11
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fedora-python/python-ethtool

All issues in fedora-python/python-ethtool

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.