-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fedora 28: Fix "file is executable, but no shebang" warnings #7359
Labels
Type: Building
Indicates an issue related to building binaries
Comments
tonyhutter
added
the
Type: Building
Indicates an issue related to building binaries
label
Mar 28, 2018
tonyhutter
changed the title
Fedora 28: Fix "file is executable, but not shebang" warnings
Fedora 28: Fix "file is executable, but no shebang" warnings
Mar 28, 2018
tonyhutter
added a commit
to tonyhutter/zfs
that referenced
this issue
Apr 5, 2018
Fedora 28's RPM build checks warn when executable files don't have a shebang line. These warnings are caused when we (incorrectly) include data & config files in the_SCRIPTS automake lines. Files in _SCRIPTS are marked executable by automake. This patch fixes the issue by including non-executable scripts in a _DATA line instead. Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes: openzfs#7359
tonyhutter
added a commit
to tonyhutter/zfs
that referenced
this issue
Apr 5, 2018
Fedora 28's RPM build checks warn when executable files don't have a shebang line. These warnings are caused when we (incorrectly) include data & config files in the_SCRIPTS automake lines. Files in _SCRIPTS are marked executable by automake. This patch fixes the issue by including non-executable scripts in a _DATA line instead. Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes: openzfs#7359
13 tasks
behlendorf
pushed a commit
that referenced
this issue
Apr 6, 2018
Fedora 28's RPM build checks warn when executable files don't have a shebang line. These warnings are caused when we (incorrectly) include data & config files in the_SCRIPTS automake lines. Files in _SCRIPTS are marked executable by automake. This patch fixes the issue by including non-executable scripts in a _DATA line instead. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes #7359 Closes #7395
tonyhutter
added a commit
to tonyhutter/zfs
that referenced
this issue
Apr 16, 2018
Fedora 28's RPM build checks warn when executable files don't have a shebang line. These warnings are caused when we (incorrectly) include data & config files in the_SCRIPTS automake lines. Files in _SCRIPTS are marked executable by automake. This patch fixes the issue by including non-executable scripts in a _DATA line instead. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes openzfs#7359 Closes openzfs#7395
tonyhutter
added a commit
to tonyhutter/zfs
that referenced
this issue
May 4, 2018
Fedora 28's RPM build checks warn when executable files don't have a shebang line. These warnings are caused when we (incorrectly) include data & config files in the_SCRIPTS automake lines. Files in _SCRIPTS are marked executable by automake. This patch fixes the issue by including non-executable scripts in a _DATA line instead. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes openzfs#7359 Closes openzfs#7395
tonyhutter
added a commit
that referenced
this issue
May 10, 2018
Fedora 28's RPM build checks warn when executable files don't have a shebang line. These warnings are caused when we (incorrectly) include data & config files in the_SCRIPTS automake lines. Files in _SCRIPTS are marked executable by automake. This patch fixes the issue by including non-executable scripts in a _DATA line instead. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes #7359 Closes #7395
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System information
Describe the problem you're observing
Fedora 28's RPM build checks are stricter, and complain when executable files don't have a shebang line:
These warnings are caused by us wrongly including data & config files in the
_SCRIPTS
automake lines. Files in_SCRIPTS
are marked executable by automake. The fix is to just include them in a_DATA
line instead:Describe how to reproduce the problem
make pkg-utils
on Fedora 28Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: