--libs is inconsistent for python-config --libs and pkgconfig python --libs

Open
#59,795 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

Compare the behavior of python-config --libs with pkgconfig python --libs, then review the proposed 32143cda4d80.diff file referenced in the issue. Check the existing build-related tests or validation for these commands and confirm that both interfaces produce consistent library flags without carrying over the separate issue #21660 changes.

Written by the indexing model from the issue text.

Description

build type-bug
BPO 15590
Nosy @doko42, @vstinner, @ned-deily, @haubi, @tdsmith
PRs
  • python/cpython#737
  • Files
  • 32143cda4d80.diff: proposed fix, although also containing diff for issue#21660
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2012-08-08.10:43:17.763>
    labels = ['type-bug', 'build']
    title = '--libs is inconsistent for python-config --libs and pkgconfig python --libs'
    updated_at = <Date 2019-05-31.17:06:59.316>
    user = 'https://github.com/doko42'
    

    bugs.python.org fields:

    activity = <Date 2019-05-31.17:06:59.316>
    actor = 'ned.deily'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Build']
    creation = <Date 2012-08-08.10:43:17.763>
    creator = 'doko'
    dependencies = []
    files = ['35485']
    hgrepos = ['250']
    issue_num = 15590
    keywords = ['patch', 'needs review']
    message_count = 11.0
    messages = ['167683', '167686', '219665', '219679', '219680', '219764', '219774', '219821', '219823', '219825', '235875']
    nosy_count = 6.0
    nosy_names = ['doko', 'vstinner', 'ned.deily', 'Arfrever', 'haubi', 'tdsmith']
    pr_nums = ['737']
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue15590'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    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 python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.