Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distutils doesn't search ".dll.a" as library on cygwin #48282

Closed
ocean-city mannequin opened this issue Oct 3, 2008 · 9 comments
Closed

distutils doesn't search ".dll.a" as library on cygwin #48282

ocean-city mannequin opened this issue Oct 3, 2008 · 9 comments
Assignees
Labels
3.7 (EOL) end of life build The build process and cross-build stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@ocean-city
Copy link
Mannequin

ocean-city mannequin commented Oct 3, 2008

BPO 4032
Nosy @amauryfa, @tarekziade, @merwok, @zooba, @dstufft, @ma8ma
PRs
  • bpo-2445: Allow the UnixCCompiler.find_library_file to correctly find DLL import libs (.dll.a) on Cygwin #4136
  • bpo-4032: Cygwin: Add .dll.a to UnixCCompiler for searching libraries #4153
  • Dependencies
  • bpo-2445: Use The CygwinCCompiler Under Cygwin
  • Files
  • unixccompiler-implib.patch
  • 2.7-unixccompiler-implib.patch
  • 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 = 'https://github.com/tarekziade'
    closed_at = <Date 2021-02-03.18:19:19.242>
    created_at = <Date 2008-10-03.17:38:53.780>
    labels = ['3.7', 'type-bug', 'library', 'build']
    title = 'distutils doesn\'t search ".dll.a" as library on cygwin'
    updated_at = <Date 2021-02-03.18:19:19.241>
    user = 'https://bugs.python.org/ocean-city'

    bugs.python.org fields:

    activity = <Date 2021-02-03.18:19:19.241>
    actor = 'steve.dower'
    assignee = 'tarek'
    closed = True
    closed_date = <Date 2021-02-03.18:19:19.242>
    closer = 'steve.dower'
    components = ['Build', 'Distutils']
    creation = <Date 2008-10-03.17:38:53.780>
    creator = 'ocean-city'
    dependencies = ['2445']
    files = ['45261', '45262']
    hgrepos = []
    issue_num = 4032
    keywords = ['patch']
    message_count = 9.0
    messages = ['74265', '119371', '119378', '119379', '119843', '279661', '279662', '305125', '386326']
    nosy_count = 11.0
    nosy_names = ['jlt63', 'amaury.forgeotdarc', 'ocean-city', 'vitalyy2000', 'tarek', 'tan2', 'eric.araujo', 'rpetrov', 'steve.dower', 'dstufft', 'masamoto']
    pr_nums = ['4136', '4153']
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue4032'
    versions = ['Python 2.7', 'Python 3.7']

    @ocean-city
    Copy link
    Mannequin Author

    ocean-city mannequin commented Oct 3, 2008

    This issue is derived from bpo-1706863.

    @ocean-city ocean-city mannequin added the stdlib Python modules in the Lib dir label Oct 3, 2008
    @ocean-city ocean-city mannequin changed the title disutils cannot recognize ".dll.a" as library on cygwin distutils cannot recognize ".dll.a" as library on cygwin Oct 11, 2008
    @tarekziade tarekziade mannequin self-assigned this Feb 6, 2009
    @florentx florentx mannequin added the OS-windows label Aug 10, 2010
    @merwok
    Copy link
    Member

    merwok commented Oct 22, 2010

    Can you produce a patch?

    (Removing Terry from nosy at his request)

    @ocean-city
    Copy link
    Mannequin Author

    ocean-city mannequin commented Oct 22, 2010

    I used to create the patch
    http://bugs.python.org/file11597/experimental_distutils.patch
    in bpo-1706863, but cygwin guys wanted this code implemented
    in CCygwinCompiler class (See bpo-2445).

    I think bpo-2445 should be resolved before.

    @ocean-city
    Copy link
    Mannequin Author

    ocean-city mannequin commented Oct 22, 2010

    Can you port that patch? I don't have cygwin installed now.

    @merwok
    Copy link
    Member

    merwok commented Oct 29, 2010

    Okay, let’s reach a conclusion on the other bug before getting back to this one.

    @ma8ma
    Copy link
    Mannequin

    ma8ma mannequin commented Oct 29, 2016

    Move version to 3.7 and 2.7, and I updated two patches adding import library type for file searching.

    Current Cygwin is used UnixCCompiler, and the compiler has be able to build extension module that doesn't need to library link at build time (e.g. array). And CygwinCCompiler has supported old version compilers, but its haven't maintained on Current Cygwin any longer. Therefore I think there is no necessary that waits solution to bpo-2445 and bpo-18654.

    So would you be able to free dependence to bpo-2445, and start to review the patches?
    Many thanks.

    @ma8ma ma8ma mannequin added build The build process and cross-build 3.7 (EOL) end of life and removed OS-windows labels Oct 29, 2016
    @ma8ma ma8ma mannequin changed the title distutils cannot recognize ".dll.a" as library on cygwin distutils doesn't search ".dll.a" as library on cygwin Oct 29, 2016
    @ma8ma ma8ma mannequin added the type-bug An unexpected behavior, bug, or error label Oct 29, 2016
    @ma8ma
    Copy link
    Mannequin

    ma8ma mannequin commented Oct 29, 2016

    And updated patch for 2.7

    @ma8ma
    Copy link
    Mannequin

    ma8ma mannequin commented Oct 27, 2017

    I opened PR 4153 that is an alternative for PR 4136 (bpo-2445).

    @zooba
    Copy link
    Member

    zooba commented Feb 3, 2021

    Distutils is now deprecated (see PEP-632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils.

    If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools

    @zooba zooba closed this as completed Feb 3, 2021
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life build The build process and cross-build stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants