Quanlong Huang has posted comments on this change. ( http://gerrit.cloudera.org:8080/18939 )
Change subject: IMPALA-10262: RPM/DEB Packaging Support ...................................................................... Patch Set 8: (1 comment) Found another issue when building RPM on Redhat 8: + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs *** ERROR: ambiguous python shebang in /opt/impala/shell/lib/option_parser.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /opt/impala/shell/lib/impala_client.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /opt/impala/shell/lib/TSSLSocketWithWildcardSAN.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /opt/impala/shell/gen-py/StatestoreService/StatestoreService-remote: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /opt/impala/shell/gen-py/StatestoreService/StatestoreSubscriber-remote: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /opt/impala/shell/gen-py/beeswaxd/BeeswaxService-remote: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /opt/impala/shell/gen-py/ImpalaService/ImpalaService-remote: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /opt/impala/shell/gen-py/ImpalaService/ImpalaHiveServer2Service-remote: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /opt/impala/shell/gen-py/TCLIService/TCLIService-remote: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /opt/impala/shell/gen-py/fb303/FacebookService-remote: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /opt/impala/shell/gen-py/hive_metastore/ThriftHiveMetastore-remote: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /opt/impala/shell/gen-py/CatalogService/CatalogService-remote: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /opt/impala/shell/gen-py/NetworkTest/NetworkTestService-remote: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /opt/impala/shell/impala_shell.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. http://gerrit.cloudera.org:8080/#/c/18939/7/bin/bootstrap_system.sh File bin/bootstrap_system.sh: http://gerrit.cloudera.org:8080/#/c/18939/7/bin/bootstrap_system.sh@246 PS7, Line 246: postgresql postgresql-server rpm-build \ > It would be interesting to see which exact version, release form factor (Do Finally found it's an issue of the image I used. When I tried an EC2 image, it works.. -- To view, visit http://gerrit.cloudera.org:8080/18939 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I64419fd400fe8d233dac016b6306157fe9461d82 Gerrit-Change-Number: 18939 Gerrit-PatchSet: 8 Gerrit-Owner: Quanlong Huang <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Laszlo Gaal <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: Xiang Yang <[email protected]> Gerrit-Comment-Date: Wed, 07 Jun 2023 02:34:52 +0000 Gerrit-HasComments: Yes
