zbentley opened a new issue #11833: URL: https://github.com/apache/pulsar/issues/11833
Some shellscripts required to build Pulsar are executable in `master`, but are not marked as executable in the source tarballs available on apache.org. One such example is `src/rename-netty-native-libs.sh`, which is executable [in master](https://github.com/apache/pulsar/blob/master/src/rename-netty-native-libs.sh). However, if I download a source tarball from https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-2.8.0/apache-pulsar-2.8.0-src.tar.gz or https://archive.apache.org/dist/pulsar/pulsar-2.8.0/apache-pulsar-2.8.0-src.tar.gz, I get: ``` ∴ ll src total 60K drwxr-xr-x 15 zac.bentley staff 480 Jan 22 2020 . drwxr-xr-x 64 zac.bentley staff 2.0K Jan 22 2020 .. -rw-r--r-- 1 zac.bentley staff 4.3K Jan 22 2020 check-binary-license -rw-r--r-- 1 zac.bentley staff 1.5K Jan 22 2020 findbugs-exclude.xml -rw-r--r-- 1 zac.bentley staff 1.2K Jan 22 2020 gen-swagger.sh -rw-r--r-- 1 zac.bentley staff 1.2K Jan 22 2020 get-project-version.py -rw-r--r-- 1 zac.bentley staff 3.0K Jan 22 2020 idea-code-style.xml -rw-r--r-- 1 zac.bentley staff 755 Jan 22 2020 license-header.txt -rw-r--r-- 1 zac.bentley staff 4.3K Jan 22 2020 pulsar-io-gen -rw-r--r-- 1 zac.bentley staff 2.2K Jan 22 2020 rename-netty-native-libs.cmd -rw-r--r-- 1 zac.bentley staff 1.9K Jan 22 2020 rename-netty-native-libs.sh -rw-r--r-- 1 zac.bentley staff 1.4K Jan 22 2020 set-project-version.sh -rw-r--r-- 1 zac.bentley staff 1.6K Jan 22 2020 settings.xml -rw-r--r-- 1 zac.bentley staff 994 Jan 22 2020 sign-release.sh -rw-r--r-- 1 zac.bentley staff 1.7K Jan 22 2020 stage-release.sh ``` As a result, `mvn package` fails until I run `chmod +x src/rename-netty-native-libs.sh`. This is complicating attempts to package Pulsar for Homebrew on OSX (see discussion [here](https://github.com/Homebrew/homebrew-core/pull/83238#discussion_r697825272)). -- 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]
