Navigation Menu

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

Compile error on Python/ceval.c without threads #75037

Closed
ma8ma mannequin opened this issue Jul 5, 2017 · 5 comments
Closed

Compile error on Python/ceval.c without threads #75037

ma8ma mannequin opened this issue Jul 5, 2017 · 5 comments
Labels
3.7 (EOL) end of life build The build process and cross-build

Comments

@ma8ma
Copy link
Mannequin

ma8ma mannequin commented Jul 5, 2017

BPO 30854
Nosy @pitrou, @vstinner, @ma8ma
PRs
  • bpo-30854: Fix compile error when --without-threads #2581
  • [3.6] bpo-30854: Fix compile error when --without-threads (GH-2581) #2583
  • 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 2017-07-05.09:25:12.100>
    created_at = <Date 2017-07-05.07:53:20.494>
    labels = ['build', '3.7']
    title = 'Compile error on Python/ceval.c without threads'
    updated_at = <Date 2017-07-05.13:44:55.781>
    user = 'https://github.com/ma8ma'

    bugs.python.org fields:

    activity = <Date 2017-07-05.13:44:55.781>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-07-05.09:25:12.100>
    closer = 'vstinner'
    components = ['Build']
    creation = <Date 2017-07-05.07:53:20.494>
    creator = 'masamoto'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30854
    keywords = []
    message_count = 5.0
    messages = ['297711', '297716', '297723', '297724', '297742']
    nosy_count = 3.0
    nosy_names = ['pitrou', 'vstinner', 'masamoto']
    pr_nums = ['2581', '2583']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue30854'
    versions = ['Python 3.6', 'Python 3.7']

    @ma8ma
    Copy link
    Mannequin Author

    ma8ma mannequin commented Jul 5, 2017

    I found a syntax error when compiling without threads.
    In that place, the colon has been used instead of semicolon at end of statement.

    build commands and error log:
    $ uname -a
    Linux masayuki-P35-DS3 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:25 UTC 2017 i686 i686 i686 GNU/Linux
    $ git checkout master
    $ ./configure --without-threads && LC_ALL=C make -j2
    (snip)
    gcc -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -I. -I./Include -DPy_BUILD_CORE -o Python/ceval.o Python/ceval.c
    Python/ceval.c: In function 'Py_MakePendingCalls':
    Python/ceval.c:551:23: error: expected ';' before ':' token
    goto error:
    ^
    Makefile:1551: recipe for target 'Python/ceval.o' failed
    make: *** [Python/ceval.o] Error 1

    related changeset:
    3024c05 [3.6] bpo-30703: Improve signal delivery (GH-2415) (bpo-2527)
    c08177a bpo-30703: Improve signal delivery (bpo-2415)

    I open one line change PR that replaces colon with semicolon for master branch right away.

    @ma8ma ma8ma mannequin added 3.7 (EOL) end of life build The build process and cross-build labels Jul 5, 2017
    @vstinner
    Copy link
    Member

    vstinner commented Jul 5, 2017

    New changeset 0c31163 by Victor Stinner (Masayuki Yamamoto) in branch 'master':
    bpo-30854: Fix compile error when --without-threads (bpo-2581)
    0c31163

    @vstinner vstinner changed the title Compile error on Python/ceval.c Compile error on Python/ceval.c without threads Jul 5, 2017
    @vstinner
    Copy link
    Member

    vstinner commented Jul 5, 2017

    New changeset e3a0ff0 by Victor Stinner (Masayuki Yamamoto) in branch '3.6':
    [3.6] bpo-30854: Fix compile error when --without-threads (GH-2581) (bpo-2583)
    e3a0ff0

    @vstinner
    Copy link
    Member

    vstinner commented Jul 5, 2017

    Thanks Masayuki Yamamoto for your fixes!

    @vstinner vstinner closed this as completed Jul 5, 2017
    @vstinner
    Copy link
    Member

    vstinner commented Jul 5, 2017

    New changeset 8207c17 by Victor Stinner in branch 'master':
    Revert "bpo-30822: Fix testing of datetime module." (bpo-2588)
    8207c17

    @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
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant