iwasakims opened a new pull request, #1392: URL: https://github.com/apache/bigtop/pull/1392
https://issues.apache.org/jira/browse/BIGTOP-4531 Building Airflow fails on rockylinux-9 and openeuler-22.03. The cause is version conflict between google-re2 and Python. ``` Collecting google-re2>=1.0 (from apache-airflow==2.10.5) Using cached google_re2-1.1.20251105.tar.gz (11 kB) ...(snip) building '_re2' extension ...(snip) g++ -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-ta\ bles -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstac\ k-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-pro\ tection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/bigtop-home/build/airflow/rpm/BUILD/apache_airflow-2.10.5/build/include -I/usr/include/python3.9 -c _re2.cc -o build/temp.linux-x86_64-cpython-39/_re2.o -fvisibility=hidden _re2.cc:15:10: fatal error: absl/strings/string_view.h: No such file or directory 15 | #include "absl/strings/string_view.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. error: command '/usr/bin/g++' failed with exit code 1 ``` Adding upper bound to constraints for google-re2 on distro using Python < 3.12 should fix this. -- 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]
