byunks opened a new issue, #32849:
URL: https://github.com/apache/airflow/issues/32849

   ### Apache Airflow version
   
   2.6.3
   
   ### What happened
   
   Airflow 2.6.3 Installation Environment
   mac M1 Ventura 13.5
   Python : 3.7.2
   conda(miniconda3) : 4.12.0
   
   Error log when installed in the above environment
   ```
   Collecting google-re2==1.0
     Using cached google-re2-1.0.tar.gz (9.8 kB)
     Preparing metadata (setup.py) ... done
   Building wheels for collected packages: google-re2
     Building wheel for google-re2 (setup.py) ... error
     error: subprocess-exited-with-error
     
     × python setup.py bdist_wheel did not run successfully.
     │ exit code: 1
     ╰─> [16 lines of output]
         running bdist_wheel
         running build
         running build_py
         creating build
         creating build/lib.macosx-10.7-x86_64-cpython-37
         copying re2.py -> build/lib.macosx-10.7-x86_64-cpython-37
         running build_ext
         building '_re2' extension
         creating build/temp.macosx-10.7-x86_64-cpython-37
         gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g 
-fwrapv -O3 -Wall -Wstrict-prototypes 
-I/Users/user/miniconda3/envs/airflow.kr.c3s-pan/include -arch x86_64 
-I/Users/user/miniconda3/envs/airflow.kr.c3s-pan/include -arch x86_64 
-I/opt/homebrew/opt/krb5/include 
-I/Users/user/miniconda3/envs/airflow.kr.c3s-pan/include/python3.7m -c _re2.cc 
-o build/temp.macosx-10.7-x86_64-cpython-37/_re2.o -fvisibility=hidden
         clang: warning: include path for libstdc++ headers not found; pass 
'-stdlib=libc++' on the command line to use the libc++ standard library instead 
[-Wstdlibcxx-not-found]
         _re2.cc:5:10: fatal error: 'memory' file not found
         #include <memory>
                  ^~~~~~~~
         1 error generated.
         error: command '/usr/bin/gcc' failed with exit code 1
         [end of output]
     
     note: This error originates from a subprocess, and is likely not a problem 
with pip.
     ERROR: Failed building wheel for google-re2
     Running setup.py clean for google-re2
   Failed to build google-re2
   Installing collected packages: google-re2
     Running setup.py install for google-re2 ... error
     error: subprocess-exited-with-error
     
     × Running setup.py install for google-re2 did not run successfully.
     │ exit code: 1
     ╰─> [18 lines of output]
         running install
         
/Users/user/miniconda3/envs/airflow.kr.c3s-pan/lib/python3.7/site-packages/setuptools/command/install.py:37:
 SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and 
pip and other standards-based tools.
           setuptools.SetuptoolsDeprecationWarning,
         running build
         running build_py
         creating build
         creating build/lib.macosx-10.7-x86_64-cpython-37
         copying re2.py -> build/lib.macosx-10.7-x86_64-cpython-37
         running build_ext
         building '_re2' extension
         creating build/temp.macosx-10.7-x86_64-cpython-37
         gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g 
-fwrapv -O3 -Wall -Wstrict-prototypes 
-I/Users/user/miniconda3/envs/airflow.kr.c3s-pan/include -arch x86_64 
-I/Users/user/miniconda3/envs/airflow.kr.c3s-pan/include -arch x86_64 
-I/opt/homebrew/opt/krb5/include 
-I/Users/user/miniconda3/envs/airflow.kr.c3s-pan/include/python3.7m -c _re2.cc 
-o build/temp.macosx-10.7-x86_64-cpython-37/_re2.o -fvisibility=hidden
         clang: warning: include path for libstdc++ headers not found; pass 
'-stdlib=libc++' on the command line to use the libc++ standard library instead 
[-Wstdlibcxx-not-found]
         _re2.cc:5:10: fatal error: 'memory' file not found
         #include <memory>
                  ^~~~~~~~
         1 error generated.
         error: command '/usr/bin/gcc' failed with exit code 1
         [end of output]
     
     note: This error originates from a subprocess, and is likely not a problem 
with pip.
   error: legacy-install-failure
   
   × Encountered error while trying to install package.
   ╰─> google-re2
   
   note: This is an issue with the package mentioned above, not pip.
   hint: See above for output from the failure.
   ```
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   Installation will fail.
   
   ### Operating System
   
   mac M1 Ventura 13.5
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to