============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib/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 kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/bin/windows/kafka-run-class.bat kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/clients/src/main/java/org/apache/kafka/common/utils/Utils.java kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/clients/src/test/java/org/apache/kafka/common/utils/UtilsTest.java kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/Kafka.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/admin/PreferredReplicaLeaderElectionCommand.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/admin/ReassignPartitionsCommand.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/admin/TopicCommand.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/cluster/Broker.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/cluster/Partition.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/controller/ControllerChannelManager.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/controller/PartitionStateMachine.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/controller/TopicDeletionManager.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/log/LogCleanerManager.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/log/LogConfig.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/log/LogManager.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/log/LogSegment.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/log/OffsetIndex.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/log/OffsetMap.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/metrics/KafkaCSVMetricsReporter.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/metrics/KafkaMetricsConfig.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/metrics/KafkaMetricsReporter.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/AbstractFetcherManager.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/AbstractFetcherThread.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/BrokerMetadataCheckpoint.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/DynamicBrokerConfig.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/KafkaConfig.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/KafkaRequestHandler.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/KafkaServer.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/MetadataCache.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/tools/ConsoleConsumer.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/tools/DumpLogSegments.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/tools/EndToEndLatency.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/tools/MirrorMaker.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/tools/StateChangeLogMerger.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/utils/CoreUtils.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/utils/KafkaScheduler.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/utils/Log4jController.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/utils/Logging.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/utils/VerifiableProperties.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/zookeeper/ZooKeeperClient.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/integration/kafka/api/ProducerCompressionTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/kafka/tools/LogCompactionTester.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/other/kafka/StressTestLog.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/other/kafka/TestLinearWriteSpeed.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/admin/AddPartitionsTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/admin/AdminTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/integration/KafkaServerTestHarness.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/integration/UncleanLeaderElectionTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/log/BrokerCompressionTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/log/LogCleanerParameterizedIntegrationTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/log/LogCleanerTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/log/LogManagerTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/log/LogTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/AdvertiseBrokerTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/DynamicBrokerConfigTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/EdgeCaseRequestTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/FetchSessionTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/HighwatermarkPersistenceTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/KafkaConfigTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/KafkaMetricReporterClusterIdTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/KafkaServerTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/LeaderElectionTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/LogRecoveryTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/ServerGenerateBrokerIdTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/ServerGenerateClusterIdTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/ServerMetricsTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/ServerShutdownTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/ServerStartupTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/utils/CoreUtilsTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/utils/PasswordEncoderTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/utils/TestUtils.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/utils/ThrottlerTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/utils/ZkUtilsTest.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/zk/EmbeddedZookeeper.scala kafka-source.armv7hl: E: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/zk/ZooKeeperTestHarness.scala 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. kafka-source.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. kafka.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. kafka.src: W: name-repeated-in-summary Kafka The name of the package is repeated in its summary. Make the summary brief and to the point without including redundant information in it. kafka-source.armv7hl: W: hidden-file-or-dir /usr/src/kafka/checkstyle/.scalafmt.conf The file or directory is hidden. You should see if this is normal, and delete it from the package if not. kafka-source.armv7hl: W: files-duplicate /usr/src/kafka/tests/docker/ssh/config /usr/src/kafka/tests/docker/ssh-config kafka-source.armv7hl: W: files-duplicate /usr/src/kafka/tests/unit/directory_layout/__init__.py /usr/src/kafka/tests/kafkatest/benchmarks/__init__.py:/usr/src/kafka/tests/kafkatest/benchmarks/core/__init__.py:/usr/src/kafka/tests/kafkatest/benchmarks/streams/__init__.py:/usr/src/kafka/tests/kafkatest/directory_layout/__init__.py:/usr/src/kafka/tests/kafkatest/services/__init__.py:(and 9 more) kafka-source.armv7hl: W: files-duplicate /usr/src/kafka/tests/unit/version/__init__.py /usr/src/kafka/tests/kafkatest/services/security/__init__.py Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. kafka-source.armv7hl: E: filelist-forbidden-fhs23 /usr/src/kafka File violates FHS 2.3. kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/bin/trogdor.sh /usr/bin/env bash kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/jmh-benchmarks/jmh.sh /usr/bin/env bash kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/kafka-merge-pr.py /usr/bin/env python kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/release.py /usr/bin/env python kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/release_notes.py /usr/bin/env python kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/tests/bin/trogdor-run-consume-bench.sh /usr/bin/env bash kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/tests/bin/trogdor-run-produce-bench.sh /usr/bin/env bash kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/tests/bin/trogdor-run-round-trip.sh /usr/bin/env bash kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/tests/bootstrap-test-env.sh /usr/bin/env bash kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/tests/docker/ducker-ak /usr/bin/env bash kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/tests/docker/run_tests.sh /usr/bin/env bash kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/vagrant/aws/aws-init.sh /usr/bin/env bash kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/vagrant/base.sh /usr/bin/env bash kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/vagrant/broker.sh /usr/bin/env bash kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/vagrant/package-base-box.sh /usr/bin/env bash kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/vagrant/vagrant-up.sh /usr/bin/env bash kafka-source.armv7hl: E: env-script-interpreter (Badness: 9) /usr/src/kafka/vagrant/zk.sh /usr/bin/env bash 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. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 1.2 47.6 FilesCheck 0.5 17.9 BashismsCheck 0.3 12.1 BuildRootAndDateCheck 0.2 8.4 FilelistCheck 0.1 4.3 TOTAL 2.6 100.0 2 packages and 0 specfiles checked; 97 errors, 6 warnings, 3 filtered, 233 badness; has taken 2.8 s