You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Leonard Xu (Jira)" <ji...@apache.org> on 2022/11/21 04:31:00 UTC

[jira] [Created] (FLINK-30106) Build python wheels on macs failed due to install for crcmod error

Leonard Xu created FLINK-30106:
----------------------------------

             Summary: Build python wheels on macs failed due to install for crcmod error
                 Key: FLINK-30106
                 URL: https://issues.apache.org/jira/browse/FLINK-30106
             Project: Flink
          Issue Type: Bug
          Components: API / Python, Build System / CI
    Affects Versions: 1.16.0
            Reporter: Leonard Xu




{noformat}
        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for crcmod
        Running setup.py clean for crcmod
        error: subprocess-exited-with-error
      
        × python setup.py clean did not run successfully.
        │ exit code: 1
        ╰─> [14 lines of output]
            error: Multiple top-level packages discovered in a flat-layout: ['python3', 'python2'].
      
            To avoid accidental inclusion of unwanted files or directories,
            setuptools will not proceed with this build.
      
            If you are trying to create a single distribution with multiple packages
            on purpose, you should not rely on automatic discovery.
            Instead, consider the following options:
      
            1. set up custom discovery (`find` directive with `include` or `exclude`)
            2. use a `src-layout`
            3. explicitly set `py_modules` or `packages` with a list of names
      
            To find more information, look for "package discovery" on setuptools docs.
            [end of output]
      
        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed cleaning build dir for crcmod
        Building wheel for dill (setup.py): started
        Building wheel for dill (setup.py): finished with status 'done'
        Created wheel for dill: filename=dill-0.3.1.1-py3-none-any.whl size=78544 sha256=9ce160b3c3e2e1dcd24e136c59fb84ef9bd072b4715c6b34536d3ff9c39a5962
{noformat}




https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=43279&view=logs&j=f73b5736-8355-5390-ec71-4dfdec0ce6c5&t=90f7230e-bf5a-531b-8566-ad48d3e03bbb



--
This message was sent by Atlassian Jira
(v8.20.10#820010)