kafka-source.aarch64: W: files-duplicate /usr/src/kafka/tests/docker/ssh/config /usr/src/kafka/tests/docker/ssh-config kafka-source.aarch64: W: files-duplicate /usr/src/kafka/tests/kafkatest/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/services/__init__.py:/usr/src/kafka/tests/kafkatest/services/monitor/__init__.py:/usr/src/kafka/tests/kafkatest/services/trogdor/__init__.py:/usr/src/kafka/tests/kafkatest/tests/__init__.py:/usr/src/kafka/tests/kafkatest/tests/client/__init__.py:/usr/src/kafka/tests/kafkatest/tests/connect/__init__.py:/usr/src/kafka/tests/kafkatest/tests/core/__init__.py:/usr/src/kafka/tests/kafkatest/tests/streams/__init__.py:/usr/src/kafka/tests/kafkatest/tests/tools/__init__.py:/usr/src/kafka/tests/unit/__init__.py:/usr/src/kafka/tests/unit/directory_layout/__init__.py kafka-source.aarch64: W: files-duplicate /usr/src/kafka/tests/unit/version/__init__.py /usr/src/kafka/tests/kafkatest/services/security/__init__.py kafka-source.aarch64: 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.src: W: name-repeated-in-summary C Kafka The name of the package is repeated in its summary. This is often redundant information and looks silly in various programs' output. Make the summary brief and to the point without including redundant information in it. kafka-source.aarch64: W: no-version-in-last-changelog kafka.src: W: no-version-in-last-changelog The latest changelog entry doesn't contain a version. Please insert the version that is coherent with the version of the package and rebuild it. kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/bin/windows/kafka-run-class.bat kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/clients/src/main/java/org/apache/kafka/common/utils/Utils.java kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/clients/src/test/java/org/apache/kafka/common/utils/UtilsTest.java kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/Kafka.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/admin/PreferredReplicaLeaderElectionCommand.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/admin/ReassignPartitionsCommand.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/admin/TopicCommand.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/cluster/Broker.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/cluster/Partition.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/controller/ControllerChannelManager.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/controller/PartitionStateMachine.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/controller/TopicDeletionManager.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/log/LogCleanerManager.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/log/LogConfig.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/log/LogManager.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/log/LogSegment.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/log/OffsetIndex.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/log/OffsetMap.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/metrics/KafkaCSVMetricsReporter.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/metrics/KafkaMetricsConfig.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/metrics/KafkaMetricsReporter.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/AbstractFetcherManager.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/AbstractFetcherThread.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/BrokerMetadataCheckpoint.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/DynamicBrokerConfig.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/KafkaConfig.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/KafkaRequestHandler.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/KafkaServer.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/server/MetadataCache.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/tools/ConsoleConsumer.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/tools/DumpLogSegments.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/tools/EndToEndLatency.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/tools/MirrorMaker.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/tools/StateChangeLogMerger.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/utils/CoreUtils.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/utils/KafkaScheduler.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/utils/Log4jController.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/utils/Logging.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/utils/VerifiableProperties.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/main/scala/kafka/zookeeper/ZooKeeperClient.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/integration/kafka/api/ProducerCompressionTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/kafka/tools/LogCompactionTester.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/other/kafka/StressTestLog.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/other/kafka/TestLinearWriteSpeed.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/admin/AddPartitionsTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/admin/AdminTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/integration/KafkaServerTestHarness.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/integration/UncleanLeaderElectionTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/log/BrokerCompressionTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/log/LogCleanerParameterizedIntegrationTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/log/LogCleanerTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/log/LogManagerTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/log/LogTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/AdvertiseBrokerTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/DynamicBrokerConfigTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/EdgeCaseRequestTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/FetchSessionTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/HighwatermarkPersistenceTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/KafkaConfigTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/KafkaMetricReporterClusterIdTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/KafkaServerTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/LeaderElectionTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/LogRecoveryTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/ServerGenerateBrokerIdTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/ServerGenerateClusterIdTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/ServerMetricsTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/ServerShutdownTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/server/ServerStartupTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/utils/CoreUtilsTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/utils/PasswordEncoderTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/utils/TestUtils.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/utils/ThrottlerTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/utils/ZkUtilsTest.scala kafka-source.aarch64: W: script-without-shebang /usr/src/kafka/core/src/test/scala/unit/kafka/zk/EmbeddedZookeeper.scala kafka-source.aarch64: W: 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.aarch64: W: suse-filelist-forbidden-fhs23 /usr/src/kafka is not allowed in FHS 2.3 see http://www.pathname.com/fhs/ for a better location kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/bin/trogdor.sh /usr/bin/env bash kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/jmh-benchmarks/jmh.sh /usr/bin/env bash kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/kafka-merge-pr.py /usr/bin/env python kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/release.py /usr/bin/env python kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/release_notes.py /usr/bin/env python kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/tests/bin/trogdor-run-consume-bench.sh /usr/bin/env bash kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/tests/bin/trogdor-run-produce-bench.sh /usr/bin/env bash kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/tests/bin/trogdor-run-round-trip.sh /usr/bin/env bash kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/tests/bootstrap-test-env.sh /usr/bin/env bash kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/tests/docker/ducker-ak /usr/bin/env bash kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/tests/docker/run_tests.sh /usr/bin/env bash kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/vagrant/aws/aws-init.sh /usr/bin/env bash kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/vagrant/base.sh /usr/bin/env bash kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/vagrant/broker.sh /usr/bin/env bash kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/vagrant/package-base-box.sh /usr/bin/env bash kafka-source.aarch64: E: env-script-interpreter (Badness: 9) /usr/src/kafka/vagrant/vagrant-up.sh /usr/bin/env bash kafka-source.aarch64: 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 python needs to be patched into #!/usr/bin/python otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/python. 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. 2 packages and 0 specfiles checked; 17 errors, 86 warnings.