============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib64/python3.11/rpmlint/configdefaults.toml /opt/testing/share/rpmlint/cron-whitelist.toml /opt/testing/share/rpmlint/dbus-services.toml /opt/testing/share/rpmlint/device-files-whitelist.toml /opt/testing/share/rpmlint/licenses.toml /opt/testing/share/rpmlint/opensuse.toml /opt/testing/share/rpmlint/pam-modules.toml /opt/testing/share/rpmlint/permissions-whitelist.toml /opt/testing/share/rpmlint/pie-executables.toml /opt/testing/share/rpmlint/polkit-rules-whitelist.toml /opt/testing/share/rpmlint/scoring.toml /opt/testing/share/rpmlint/security.toml /opt/testing/share/rpmlint/sudoers-whitelist.toml /opt/testing/share/rpmlint/sysctl-whitelist.toml /opt/testing/share/rpmlint/systemd-tmpfiles.toml /opt/testing/share/rpmlint/users-groups.toml /opt/testing/share/rpmlint/world-writable-whitelist.toml /opt/testing/share/rpmlint/zypper-plugins.toml /etc/xdg/rpmlint/scoring-strict.override.toml checks: 41, packages: 2 drush.noarch: E: zero-length /usr/share/drush/vendor/psy/psysh/test/fixtures/default/.config/psysh/psysh_history drush.noarch: E: zero-length /usr/share/drush/vendor/psy/psysh/test/fixtures/default/.local/share/psysh/php_manual.sqlite drush.noarch: E: zero-length /usr/share/drush/vendor/psy/psysh/test/fixtures/legacy/.psysh/history drush.noarch: E: zero-length /usr/share/drush/vendor/psy/psysh/test/fixtures/legacy/.psysh/php_manual.sqlite drush.noarch: E: zero-length /usr/share/drush/vendor/psy/psysh/test/fixtures/mixed/.psysh/psysh_history drush.noarch: E: zero-length /usr/share/drush/vendor/symfony/console/Tests/Fixtures/input_definition_1.md drush.noarch: E: zero-length /usr/share/drush/vendor/symfony/console/Tests/Fixtures/input_definition_1.txt drush.noarch: E: zero-length /usr/share/drush/vendor/symfony/finder/Tests/Fixtures/A/B/C/abc.dat drush.noarch: E: zero-length /usr/share/drush/vendor/symfony/finder/Tests/Fixtures/A/B/ab.dat drush.noarch: E: zero-length /usr/share/drush/vendor/symfony/finder/Tests/Fixtures/A/a.dat drush.noarch: E: zero-length /usr/share/drush/vendor/symfony/finder/Tests/Fixtures/copy/A/B/C/abc.dat.copy drush.noarch: E: zero-length /usr/share/drush/vendor/symfony/finder/Tests/Fixtures/copy/A/B/ab.dat.copy drush.noarch: E: zero-length /usr/share/drush/vendor/symfony/finder/Tests/Fixtures/copy/A/a.dat.copy drush.noarch: E: zero-length /usr/share/drush/vendor/symfony/finder/Tests/Fixtures/one/a drush.noarch: E: zero-length /usr/share/drush/vendor/symfony/finder/Tests/Fixtures/one/b/c.neon drush.noarch: E: zero-length /usr/share/drush/vendor/symfony/finder/Tests/Fixtures/one/b/d.neon drush.noarch: E: zero-length /usr/share/drush/vendor/symfony/finder/Tests/Fixtures/r+e.gex[c]a(r)s/dir/bar.dat drush.noarch: E: zero-length /usr/share/drush/vendor/symfony/finder/Tests/Fixtures/with space/foo.txt drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/consolidation/annotated-command/.scenarios.lock/phpunit4/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/consolidation/annotated-command/.scenarios.lock/symfony2/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/consolidation/annotated-command/.scenarios.lock/symfony4/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/dflydev/dot-access-data/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/dnoegel/php-xdg-base-dir/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/jakub-onderka/php-console-color/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/jakub-onderka/php-console-highlighter/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/nikic/php-parser/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/psr/log/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/psy/psysh/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/symfony/console/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/symfony/debug/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/symfony/event-dispatcher/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/symfony/finder/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/symfony/var-dumper/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/symfony/yaml/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/webflo/drupal-finder/.gitignore drush.noarch: E: version-control-internal-file /usr/share/drush/vendor/webmozart/path-util/.gitignore You have included file(s) internally used by a version control system in the package. Move these files out of the package and rebuild it. drush.noarch: E: script-without-shebang /usr/share/drush/drush.complete.sh drush.noarch: E: script-without-shebang /usr/share/drush/unish.sh drush.noarch: E: script-without-shebang /usr/share/drush/vendor/nikic/php-parser/test_old/run-php-src.sh drush.noarch: E: script-without-shebang /usr/share/drush/vendor/pear/console_table/Table.php drush.noarch: E: script-without-shebang /usr/share/drush/vendor/psy/psysh/test/tools/vis.py This text file has executable bits set or is located in a path dedicated for executables, but lacks a shebang and cannot thus be executed. If the file is meant to be an executable script, add the shebang, otherwise remove the executable bits or move the file elsewhere. drush.spec: W: no-%check-section The spec file does not contain an %check section. Please check if the package has a testsuite and what it takes to enable the testsuite as part of the package build. If it is not possible to run it in the build environment (OBS/koji) or no testsuite exists, then please ignore this warning. You should not insert an empty %check section. drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/consolidation/annotated-command/.editorconfig drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/consolidation/annotated-command/.scenarios.lock drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/consolidation/annotated-command/.scenarios.lock drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/consolidation/annotated-command/.scenarios.lock/phpunit4/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/consolidation/annotated-command/.scenarios.lock/symfony2/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/consolidation/annotated-command/.scenarios.lock/symfony4/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/consolidation/output-formatters/.editorconfig drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/dflydev/dot-access-data/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/dnoegel/php-xdg-base-dir/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/jakub-onderka/php-console-color/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/jakub-onderka/php-console-highlighter/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/nikic/php-parser/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psr/log/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/.editorconfig drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/.github drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/.github drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/.phan drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/.phan drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/.php_cs drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/.styleci.yml drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/test/fixtures/default/.config drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/test/fixtures/default/.config drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/test/fixtures/default/.local drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/test/fixtures/default/.local drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/test/fixtures/legacy/.psysh drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/test/fixtures/legacy/.psysh drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/test/fixtures/mixed/.psysh drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/test/fixtures/mixed/.psysh drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/psy/psysh/test/fixtures/project/.psysh.php drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/symfony/console/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/symfony/debug/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/symfony/event-dispatcher/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/symfony/finder/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/symfony/var-dumper/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/symfony/yaml/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/webflo/drupal-finder/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/webflo/drupal-finder/.styleci.yml drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/webmozart/path-util/.gitignore drush.noarch: W: hidden-file-or-dir /usr/share/drush/vendor/webmozart/path-util/.styleci.yml The file or directory is hidden. You should see if this is normal, and delete it from the package if not. drush.noarch: W: files-duplicate /usr/share/drush/licenses.txt /usr/share/doc/packages/drush/licenses.txt drush.noarch: W: files-duplicate /usr/share/drush/commands/core/drupal/cache_9.inc /usr/share/drush/commands/core/drupal/cache_8.inc drush.noarch: W: files-duplicate /usr/share/drush/vendor/symfony/yaml/CHANGELOG.md /usr/share/drush/src/Internal/Symfony/Yaml/CHANGELOG.md drush.noarch: W: files-duplicate /usr/share/drush/vendor/symfony/yaml/LICENSE /usr/share/drush/src/Internal/Symfony/Yaml/LICENSE:/usr/share/drush/vendor/symfony/console/LICENSE:/usr/share/drush/vendor/symfony/debug/LICENSE:/usr/share/drush/vendor/symfony/event-dispatcher/LICENSE:/usr/share/drush/vendor/symfony/finder/LICENSE drush.noarch: W: files-duplicate /usr/share/drush/tests/resources/modules/d8/woot/src/Commands/WootCommands.php /usr/share/drush/tests/resources/modules/d6/woot/Commands/WootCommands.php:/usr/share/drush/tests/resources/modules/d7/woot/Commands/WootCommands.php drush.noarch: W: files-duplicate /usr/share/drush/tests/resources/modules/d7/woot/woot.module /usr/share/drush/tests/resources/modules/d6/woot/woot.module drush.noarch: W: files-duplicate /usr/share/drush/tests/resources/queue_script-D9.php /usr/share/drush/tests/resources/queue_script-D8.php drush.noarch: W: files-duplicate /usr/share/drush/tests/resources/user_fields-D9.php /usr/share/drush/tests/resources/user_fields-D8.php drush.noarch: W: files-duplicate /usr/share/drush/vendor/consolidation/output-formatters/.editorconfig /usr/share/drush/vendor/consolidation/annotated-command/.editorconfig drush.noarch: W: files-duplicate /usr/share/drush/vendor/consolidation/annotated-command/.scenarios.lock/symfony4/.gitignore /usr/share/drush/vendor/consolidation/annotated-command/.scenarios.lock/phpunit4/.gitignore drush.noarch: W: files-duplicate /usr/share/drush/vendor/psy/psysh/test/fixtures/mixed/.psysh/rc.php /usr/share/drush/vendor/psy/psysh/test/fixtures/default/.config/psysh/config.php:/usr/share/drush/vendor/psy/psysh/test/fixtures/legacy/.psysh/rc.php:/usr/share/drush/vendor/psy/psysh/test/fixtures/mixed/.psysh/config.php drush.noarch: W: files-duplicate /usr/share/drush/vendor/symfony/yaml/.gitignore /usr/share/drush/vendor/symfony/console/.gitignore:/usr/share/drush/vendor/symfony/debug/.gitignore:/usr/share/drush/vendor/symfony/event-dispatcher/.gitignore:/usr/share/drush/vendor/symfony/finder/.gitignore drush.noarch: W: files-duplicate /usr/share/drush/vendor/webmozart/path-util/LICENSE /usr/share/drush/vendor/webmozart/assert/LICENSE Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. drush.noarch: E: filelist-forbidden-bashcomp-userdirs /etc/bash_completion.d/drush.complete.sh This directory is for user files, use /usr/share/bash-completion/completions/. drush.noarch: E: env-script-interpreter (Badness: 9) /usr/share/drush/drush /usr/bin/env php drush.noarch: E: env-script-interpreter (Badness: 9) /usr/share/drush/drush.launcher /usr/bin/env sh drush.noarch: E: env-script-interpreter (Badness: 9) /usr/share/drush/drush.php /usr/bin/env php drush.noarch: E: env-script-interpreter (Badness: 9) /usr/share/drush/examples/drush.wrapper /usr/bin/env sh drush.noarch: E: env-script-interpreter (Badness: 9) /usr/share/drush/examples/git-bisect.example.sh /usr/bin/env sh drush.noarch: E: env-script-interpreter (Badness: 9) /usr/share/drush/examples/helloworld.script /usr/bin/env drush drush.noarch: E: env-script-interpreter (Badness: 9) /usr/share/drush/vendor/nikic/php-parser/bin/php-parse /usr/bin/env php drush.noarch: E: env-script-interpreter (Badness: 9) /usr/share/drush/vendor/psy/psysh/bin/build-stub /usr/bin/env php drush.noarch: E: env-script-interpreter (Badness: 9) /usr/share/drush/vendor/psy/psysh/bin/psysh /usr/bin/env php drush.noarch: E: env-script-interpreter (Badness: 9) /usr/share/drush/vendor/psy/psysh/test/tools/gen_unvis_fixtures.py /usr/bin/env python3 This script uses 'env' as an interpreter. For the rpm runtime dependency detection to work, the shebang #!/usr/bin/env needs to be patched into #!/usr/bin/ otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/. Alternatively, if the file should not be executed, then ensure that it is not marked as executable or don't install it in a path that is reserved for executables. drush.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/share/drush/vendor/symfony/debug/Resources/ext/php_symfony_debug.h drush.noarch: E: devel-file-in-non-devel-package (Badness: 50) /usr/share/drush/vendor/symfony/debug/Resources/ext/symfony_debug.c A file that is needed only e.g. when developing or building software is included in a non-devel package. These files should go in devel packages. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 0.2 30.3 FilesCheck 0.2 27.6 TOTAL 0.8 100.0 2 packages and 0 specfiles checked; 54 errors, 54 warnings, 3 filtered, 232 badness; has taken 0.9 s