ManageIQ / manageiq-rpm_build

Code to build RPMs for ManageIQ appliances and container images
Apache License 2.0
10 stars 25 forks source link

Reducing warnings in rpm build #200

Open kbrock opened 3 years ago

kbrock commented 3 years ago

building rpms are generating quite a few warnings

*** WARNING: ./opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline/style.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline/system_extensions.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline/question.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-openstack-0.3.10/examples/image/upload-test-image.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/models/addresses.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/models/network.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/models/region.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/models/regions.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/models/address.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/models/subnetwork.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/requests/get_region.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java is executable but has no shebang, removing executable bit

as far as I can tell, gems are used/referenced in one place

*** WARNING: ./opt/manageiq/manageiq-gemset/gems/escape_utils-1.2.1/script/bootstrap is executable but has no shebang, removing executable bit

to categorize:

*** WARNING: ./opt/manageiq/manageiq-gemset/gems/googleauth-0.11.0/Gemfile is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/googleauth-0.11.0/googleauth.gemspec is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/googleauth-0.11.0/Rakefile is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/dry-configurable-0.12.1/lib/dry/configurable/version.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/transaction-simple-1.4.0.2/research/special-dumpable-string.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/httpclient-2.8.3/lib/jsonclient.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/pg-1.2.3/ext/extconf.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/pg-1.2.3/ext/errorcodes.rb is executable but has no shebang, removing executable bit
kbrock commented 2 years ago

ping @bdunne looks like you just put in the highline PR for this. So just letting you know what other work has been done

(I have not looked at this in a while)

bdunne commented 2 years ago

From master build today:

*** WARNING: ./opt/manageiq/manageiq-gemset/gems/transaction-simple-1.4.0.2/research/special-dumpable-string.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/models/address.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/models/addresses.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/models/network.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/models/region.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/models/regions.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/models/subnetwork.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-google-1.15.0/lib/fog/compute/google/requests/get_region.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/CHANGELOG.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/CODE_OF_CONDUCT.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/CONTRIBUTING.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/LICENSE is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/README.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/SECURITY.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/TODO is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/cli.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/client.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/consumer.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/errors.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/helper.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/oauth.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/oauth_test_helper.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/request_proxy.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/server.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/signature.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/token.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/version.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/cli/authorize_command.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/cli/base_command.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/cli/help_command.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/cli/query_command.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/cli/sign_command.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/cli/version_command.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/client/action_controller_request.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/client/em_http.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/client/helper.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/client/net_http.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/errors/error.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/errors/problem.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/errors/unauthorized.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/request_proxy/action_controller_request.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/request_proxy/action_dispatch_request.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/request_proxy/base.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/request_proxy/curb_request.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/request_proxy/em_http_request.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/request_proxy/jabber_request.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/request_proxy/mock_request.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/request_proxy/net_http.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/request_proxy/rack_request.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/request_proxy/rest_client_request.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/request_proxy/typhoeus_request.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/signature/base.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/signature/hmac/sha1.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/signature/hmac/sha256.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/signature/plaintext.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/signature/rsa/sha1.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/tokens/access_token.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/tokens/consumer_token.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/tokens/request_token.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/tokens/server_token.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/oauth-0.5.8/lib/oauth/tokens/token.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/httpclient-2.8.3/lib/jsonclient.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-openstack-0.3.10/examples/image/upload-test-image.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/History.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/LICENSE is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/README.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/PumaHttp11Service.java is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/ext_help.h is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/extconf.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/http11_parser.c is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/http11_parser.h is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/http11_parser.java.rl is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/http11_parser.rl is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/http11_parser_common.rl is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/io_buffer.c is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/mini_ssl.c is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/puma_http11.c is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/org/jruby/puma/Http11.java is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/org/jruby/puma/Http11Parser.java is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/org/jruby/puma/IOBuffer.java is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/org/jruby/puma/MiniSSL.java is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/accept_nonblock.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/binder.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/cli.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/client.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/cluster.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/commonlogger.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/configuration.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/const.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/control_cli.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/detect.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/dsl.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/events.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/io_buffer.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/jruby_restart.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/launcher.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/minissl.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/null_io.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/plugin.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/rack_default.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/reactor.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/runner.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/server.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/single.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/state_file.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/tcp_logger.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/thread_pool.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/util.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/app/status.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/minissl/context_builder.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/plugin/tmp_restart.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/rack/builder.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/rack/urlmap.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/rack/handler/puma.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/trickletest.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/docker/Dockerfile is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/README.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/init.d/README.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/rc.d/README.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/rc.d/puma.conf is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/upstart/README.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/upstart/puma-manager.conf is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/upstart/puma.conf is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline/question.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline/style.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline/system_extensions.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/googleauth-0.11.0/Gemfile is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/googleauth-0.11.0/Rakefile is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/googleauth-0.11.0/googleauth.gemspec is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/escape_utils-1.2.1/script/bootstrap is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/dry-configurable-0.14.0/lib/dry/configurable/version.rb is executable but has no shebang, removing executable bit
bdunne commented 2 years ago

Oauth gem requires some investigation. Those files are not executable in git, so it must be happening during gem build or something.

Fryguy commented 2 years ago

Oauth gem requires some investigation. Those files are not executable in git, so it must be happening during gem build or something.

Check the version number maybe? It's possibly already fixed in master.

bdunne commented 2 years ago

Yeah, I checked that tag

abinoam commented 1 year ago

HighLine has a new release https://rubygems.org/gems/highline/versions/2.1.0 and it includes @bdunne 's PR (https://github.com/JEG2/highline/pull/250) that fixes file permissions.

miq-bot commented 1 year ago

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

miq-bot commented 1 year ago

This issue has been automatically closed because it has not been updated for at least 3 months.

Feel free to reopen this issue if this issue is still valid.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

kbrock commented 1 year ago

we probably need to add a new list of warnings and tackle those. (warning seem to creep into scripts over time)

bdunne commented 1 year ago

Update from https://github.com/ManageIQ/manageiq-rpm_build/actions/runs/5502656459/jobs/10027151178

*** WARNING: ./opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline/style.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline/question.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline/system_extensions.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/escape_utils-1.3.0/script/bootstrap is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/History.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/docker/Dockerfile is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/init.d/README.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/README.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/rc.d/puma.conf is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/rc.d/README.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/upstart/puma.conf is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/upstart/puma-manager.conf is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/jungle/upstart/README.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/tools/trickletest.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/LICENSE is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/README.md is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/io_buffer.c is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/puma_http11.c is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/mini_ssl.c is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/PumaHttp11Service.java is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/org/jruby/puma/IOBuffer.java is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/org/jruby/puma/MiniSSL.java is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/org/jruby/puma/Http11.java is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/org/jruby/puma/Http11Parser.java is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/http11_parser.h is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/extconf.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/http11_parser.c is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/http11_parser.rl is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/http11_parser.java.rl is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/http11_parser_common.rl is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/ext/puma_http11/ext_help.h is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/dsl.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/runner.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/null_io.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/plugin.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/minissl/context_builder.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/util.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/thread_pool.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/plugin/tmp_restart.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/accept_nonblock.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/rack_default.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/launcher.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/binder.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/cluster.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/jruby_restart.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/configuration.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/detect.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/reactor.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/rack/builder.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/rack/urlmap.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/client.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/single.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/const.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/commonlogger.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/events.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/control_cli.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/state_file.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/server.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/minissl.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/io_buffer.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/tcp_logger.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/cli.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma/app/status.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/rack/handler/puma.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/puma-4.3.12/lib/puma.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/version_gem-1.1.3/lib/version_gem/api.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/version_gem-1.1.3/lib/version_gem.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/httpclient-2.8.3/lib/jsonclient.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/ttfunk-1.7.0/lib/ttfunk/table/cmap/format10.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/ttfunk-1.7.0/lib/ttfunk/table/cmap/format06.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/ttfunk-1.7.0/lib/ttfunk/table/cmap/format12.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-openstack-1.1.0/examples/image/upload-test-image.rb is executable but has no shebang, removing executable bit
*** WARNING: ./var/lib/manageiq/venv/lib/python3.8/site-packages/libcloud/test/loadbalancer/fixtures/nttcis/denis.crt is executable but has no shebang, removing executable bit
*** WARNING: ./var/lib/manageiq/venv/lib/python3.8/site-packages/libcloud/test/loadbalancer/fixtures/nttcis/alice.key is executable but has no shebang, removing executable bit
*** WARNING: ./var/lib/manageiq/venv/lib/python3.8/site-packages/libcloud/test/loadbalancer/fixtures/nttcis/denis.key is executable but has no shebang, removing executable bit
*** WARNING: ./var/lib/manageiq/venv/lib/python3.8/site-packages/libcloud/test/loadbalancer/fixtures/nttcis/alice.crt is executable but has no shebang, removing executable bit
kbrock commented 1 year ago

Hopefully we can have this changed a bit

miq-bot commented 10 months ago

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

bdunne commented 9 months ago

Update from a local build oc master today:

*** WARNING: ./var/lib/manageiq/venv/lib/python3.8/site-packages/libcloud/test/loadbalancer/fixtures/nttcis/alice.key is executable but has no shebang, removing executable bit
*** WARNING: ./var/lib/manageiq/venv/lib/python3.8/site-packages/libcloud/test/loadbalancer/fixtures/nttcis/alice.crt is executable but has no shebang, removing executable bit
*** WARNING: ./var/lib/manageiq/venv/lib/python3.8/site-packages/libcloud/test/loadbalancer/fixtures/nttcis/denis.key is executable but has no shebang, removing executable bit
*** WARNING: ./var/lib/manageiq/venv/lib/python3.8/site-packages/libcloud/test/loadbalancer/fixtures/nttcis/denis.crt is executable but has no shebang, removing executable bit
*** WARNING: ./var/lib/manageiq/venv/lib/python3.8/site-packages/pygments/lexers/gsql.py is executable but has no shebang, removing executable bit
*** WARNING: ./var/lib/manageiq/venv/lib/python3.8/site-packages/pygments/formatters/_mapping.py is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/httpclient-2.8.3/lib/jsonclient.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/fog-openstack-1.1.0/examples/image/upload-test-image.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/ttfunk-1.7.0/lib/ttfunk/table/cmap/format12.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/ttfunk-1.7.0/lib/ttfunk/table/cmap/format10.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/ttfunk-1.7.0/lib/ttfunk/table/cmap/format06.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/escape_utils-1.3.0/script/bootstrap is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/version_gem-1.1.3/lib/version_gem.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/version_gem-1.1.3/lib/version_gem/api.rb is executable but has no shebang, removing executable bit
*** WARNING: ./opt/manageiq/manageiq-gemset/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc is executable but has no shebang, removing executable bit
kbrock commented 9 months ago
Fryguy commented 9 months ago

I pulled down version_gem itself from rubygems.org and they are defiinitely executable 😕

EDIT: I figured it out - sending up a PR

Fryguy commented 9 months ago

https://gitlab.com/oauth-xx/version_gem/-/merge_requests/2

Fryguy commented 8 months ago

https://gitlab.com/oauth-xx/version_gem/-/merge_requests/2 was merged and released as 1.1.4