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

macOS cannot compute sizeof (long double) #87890

Closed
allenlili mannequin opened this issue Apr 4, 2021 · 2 comments
Closed

macOS cannot compute sizeof (long double) #87890

allenlili mannequin opened this issue Apr 4, 2021 · 2 comments
Labels
3.9 only security fixes build The build process and cross-build

Comments

@allenlili
Copy link
Mannequin

allenlili mannequin commented Apr 4, 2021

BPO 43724
Nosy @ned-deily, @allenlili
Files
  • config.log
  • 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 = <Date 2021-04-04.16:14:02.306>
    created_at = <Date 2021-04-04.02:51:14.038>
    labels = ['build', '3.9']
    title = 'macOS cannot compute sizeof (long double)'
    updated_at = <Date 2021-04-04.16:30:33.077>
    user = 'https://github.com/allenlili'

    bugs.python.org fields:

    activity = <Date 2021-04-04.16:30:33.077>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-04-04.16:14:02.306>
    closer = 'ned.deily'
    components = []
    creation = <Date 2021-04-04.02:51:14.038>
    creator = 'allenlili'
    dependencies = []
    files = ['49933']
    hgrepos = []
    issue_num = 43724
    keywords = []
    message_count = 2.0
    messages = ['390199', '390200']
    nosy_count = 2.0
    nosy_names = ['ned.deily', 'allenlili']
    pr_nums = []
    priority = 'normal'
    resolution = 'works for me'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue43724'
    versions = ['Python 3.9']

    @allenlili allenlili mannequin added 3.9 only security fixes build The build process and cross-build labels Apr 4, 2021
    @allenlili allenlili mannequin changed the title cannot compute sizeof (long double) macOS cannot compute sizeof (long double) Apr 4, 2021
    @allenlili allenlili mannequin changed the title cannot compute sizeof (long double) macOS cannot compute sizeof (long double) Apr 4, 2021
    @ned-deily
    Copy link
    Member

    From the config.log you supplied, it looks the macOS system you are running on was upgraded to the current latest version, 11.2.3, but the Command Line Tools were not. It seems that with recent macOS releases, you often need to do that manually for each bugfix release. Try:

    xcode-select --install

    If successful, you should see currently:

    cc --version
    Apple clang version 12.0.0 (clang-1200.0.32.29)

    @ned-deily
    Copy link
    Member

    P.S. Also check System Preferences -> Software Update for any updates to the Command Line Tools.

    @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.9 only security fixes build The build process and cross-build
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant