Skip to content

Make error for Python3.6 on Cygwin #72492

Closed

Description

@ronbarak
mannequin
BPO 28305
Nosy @tiran, @bitdancer
Superseder
  • bpo-21085: Cygwin does not provide siginfo_t.si_band
  • Files
  • python3.6Make.err.txt: All output from make profile-opt
  • 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 2016-09-28.19:04:52.957>
    created_at = <Date 2016-09-28.18:31:22.652>
    labels = ['build']
    title = 'Make error for Python3.6 on Cygwin'
    updated_at = <Date 2016-09-28.19:31:13.913>
    user = 'https://bugs.python.org/ronbarak'

    bugs.python.org fields:

    activity = <Date 2016-09-28.19:31:13.913>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-09-28.19:04:52.957>
    closer = 'r.david.murray'
    components = ['Build']
    creation = <Date 2016-09-28.18:31:22.652>
    creator = 'ronbarak'
    dependencies = []
    files = ['44872']
    hgrepos = []
    issue_num = 28305
    keywords = []
    message_count = 6.0
    messages = ['277650', '277651', '277653', '277654', '277655', '277656']
    nosy_count = 3.0
    nosy_names = ['christian.heimes', 'r.david.murray', 'ronbarak']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '21085'
    type = 'compile error'
    url = 'https://bugs.python.org/issue28305'
    versions = ['Python 3.6']

    Activity

    1. ronbarak commented on Sep 28, 2016

      ronbarakmannequin
      MannequinAuthor

      Successfully did:

      $ gunzip Python-3.6.0b1.tgz
      $ tar xvf Python-3.6.0b1.tar
      $ pushd Python-3.6.0b1
      $ ./configure --disable-ipv6 --with-optimizations

      However, when trying to do:

      $ make profile-opt

      I get:

      ...

      gcc -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 -fprofile-generate   -I. -IInclude -I./Include    -DPy_BUILD_CORE  -c ./Modules/signalmodule.c -o Modules/signalmodule.o
      In file included from Include/Python.h:85:0,
                       from ./Modules/signalmodule.c:6:
      ./Modules/signalmodule.c: In function 'fill_siginfo':
      ./Modules/signalmodule.c:960:60: error: 'siginfo_t {aka struct <anonymous>}' has no member named 'si_band'
           PyStructSequence_SET_ITEM(result, 6, PyLong_FromLong(si->si_band));
                                                                  ^
      Include/tupleobject.h:62:75: note: in definition of macro 'PyTuple_SET_ITEM'
       #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v)
                                                                                 ^
      ./Modules/signalmodule.c:960:5: note: in expansion of macro 'PyStructSequence_SET_ITEM'
           PyStructSequence_SET_ITEM(result, 6, PyLong_FromLong(si->si_band));
           ^
      make[2]: *** [Makefile:1731: Modules/signalmodule.o] Error 1
      make[2]: Leaving directory '/home/Administrator/python/3.6/Python-3.6.0b1'
      make[1]: *** [Makefile:511: build_all_generate_profile] Error 2
      make[1]: Leaving directory '/home/Administrator/python/3.6/Python-3.6.0b1'
      make: *** [Makefile:496: profile-opt] Error 2
    2. tiran commented on Sep 28, 2016

      @tiran
      Member

      Cygwin is an unsupported platform. It seems like Cygwin broke siginfo_t. The struct must have a si_band member, see http://man7.org/linux/man-pages/man2/rt_sigaction.2.html .

    3. ronbarak commented on Sep 28, 2016

      ronbarakmannequin
      MannequinAuthor

      Re: Cygwin is an unsupported platform.

      Currently, from the contents of Python-3.6.0b1, one may be led to believe that Cygwin _is_ supported, e.g. - see the references to Cygwin in the README file:

      $ grep -i cygwin README
      On Unix, Linux, BSD, OSX, and Cygwin:
      find out more.  On OSX and Cygwin, the executable is called python.exe;
    4. bitdancer commented on Sep 28, 2016

      @bitdancer
      Member

      cygwin used to be fully supported, but support broke because there was no one around that was maintaining it. There has been renewed interest, and some progress toward fixing cygwin support (more help is appreciated), but it cannot be called a supported platform at the moment because there is no maintainer on our team and there is no buildbot. There are hopes that both of these deficiencies will be remedied.

      This issue is a duplicate of bpo-21085, and there is a patch in that issue that has not been applied yet.

    5. ronbarak commented on Sep 28, 2016

      ronbarakmannequin
      MannequinAuthor
    6. bitdancer commented on Sep 28, 2016

      @bitdancer
      Member

      If you can't please report it on that issue.

    7. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      buildThe build process and cross-build

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions