Closed zbentley closed 2 years ago
There may be other shell scripts affected by being not executable; however, rename-netty-native-libs.sh
is the only one that needs a chmod
for mvn -X clean package -DskipTests -Pcore-modules
(my minimal build) to succeed. It might be worth auditing the pom.xml files in this repo to make sure that either a) all shellscripts invoked are executable or b) all of them are invoked with an explicit interpreter, e.g. /bin/sh
.
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. 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:As a result,
mvn package
fails until I runchmod +x src/rename-netty-native-libs.sh
.This is complicating attempts to package Pulsar for Homebrew on OSX (see discussion here).