============================ rpmlint session starts ============================ rpmlint: 2.8.0 configuration: /opt/testing/lib/python3.13/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 rpmlintrc: /home/abuild/rpmbuild/SOURCES/mono-core.rpmlintrc checks: 41, packages: 23 mono-core.armv7hl: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/VBCSCompiler.exe.config mono-core.armv7hl: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/csc.exe.config mono-core.armv7hl: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/csc.rsp mono-core.armv7hl: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/csi.exe.config mono-core.armv7hl: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/csi.rsp mono-core.armv7hl: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/vbc.exe.config mono-core.armv7hl: E: wrong-script-end-of-line-encoding /usr/lib/mono/4.5/vbc.rsp mono-devel.armv7hl: E: wrong-script-end-of-line-encoding /usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.CSharp.Core.targets mono-devel.armv7hl: E: wrong-script-end-of-line-encoding /usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.Managed.Core.targets mono-devel.armv7hl: E: wrong-script-end-of-line-encoding /usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.VisualBasic.Core.targets This script has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It will prevent its execution. mono-core.src: E: unused-rpmlintrc-filter "useless-provides mono" libmono-2_0-devel.armv7hl: E: script-without-shebang /usr/bin/mono-gdb.py libmonosgen-2_0-devel.armv7hl: E: script-without-shebang /usr/bin/mono-sgen-gdb.py mono-core.armv7hl: E: script-without-shebang /usr/lib/mono/4.5/VBCSCompiler.exe.config mono-core.armv7hl: E: script-without-shebang /usr/lib/mono/4.5/csc.exe.config mono-core.armv7hl: E: script-without-shebang /usr/lib/mono/4.5/csc.rsp mono-core.armv7hl: E: script-without-shebang /usr/lib/mono/4.5/csi.exe.config mono-core.armv7hl: E: script-without-shebang /usr/lib/mono/4.5/csi.rsp mono-core.armv7hl: E: script-without-shebang /usr/lib/mono/4.5/vbc.exe.config mono-core.armv7hl: E: script-without-shebang /usr/lib/mono/4.5/vbc.rsp mono-devel.armv7hl: E: script-without-shebang /usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.CSharp.Core.targets mono-devel.armv7hl: E: script-without-shebang /usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.Managed.Core.targets mono-devel.armv7hl: E: script-without-shebang /usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.VisualBasic.Core.targets mono-devel.armv7hl: E: script-without-shebang /usr/lib/rpm/fileattrs/mono.attr 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. mono-core.armv7hl: E: postin-without-ldconfig /usr/lib/libmono-native.so.0.0.0 This package contains a library and its %post scriptlet doesn't call ldconfig. mono-complete.armv7hl: W: obsolete-not-provided mono-data-postgresql mono-complete.armv7hl: W: obsolete-not-provided mono-entityframework If a package is obsoleted by a compatible replacement, the obsoleted package should also be provided in order to not cause unnecessary dependency breakage. If the obsoleting package is not a compatible replacement for the old one, leave out the Provides. mono-devel.armv7hl: E: non-devel-file-in-devel-package /usr/lib/libmono-profiler-aot.so.0.0.0 mono-devel.armv7hl: E: non-devel-file-in-devel-package /usr/lib/libmono-profiler-coverage.so.0.0.0 mono-devel.armv7hl: E: non-devel-file-in-devel-package /usr/lib/libmono-profiler-log.so.0.0.0 A non-development file is located in a devel package. ibm-data-db2.armv7hl: E: no-binary libmono-2_0-1.armv7hl: E: no-binary libmono-2_0-devel.armv7hl: E: no-binary libmonoboehm-2_0-devel.armv7hl: E: no-binary libmonosgen-2_0-devel.armv7hl: E: no-binary mono-complete.armv7hl: E: no-binary mono-data.armv7hl: E: no-binary mono-data-oracle.armv7hl: E: no-binary mono-data-sqlite.armv7hl: E: no-binary mono-extras.armv7hl: E: no-binary mono-locale-extras.armv7hl: E: no-binary mono-mvc.armv7hl: E: no-binary mono-reactive.armv7hl: E: no-binary mono-wcf.armv7hl: E: no-binary mono-web.armv7hl: E: no-binary mono-winforms.armv7hl: E: no-binary mono-winfxcore.armv7hl: E: no-binary monodoc-core.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. mono-core.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. mono-core.armv7hl: E: library-without-ldconfig-postun /usr/lib/libmono-native.so.0.0.0 This package contains a library and provides no %postun scriptlet containing a call to ldconfig. mono-devel.armv7hl: W: hidden-file-or-dir /usr/lib/mono/xbuild-frameworks/.NETPortable mono-devel.armv7hl: W: hidden-file-or-dir /usr/lib/mono/xbuild-frameworks/.NETPortable mono-devel.armv7hl: W: hidden-file-or-dir /usr/lib/mono/xbuild-frameworks/.NETPortable/v5.0/SupportedFrameworks/.NET Framework 4.6.xml The file or directory is hidden. You should see if this is normal, and delete it from the package if not. mono-web.armv7hl: E: files-duplicated-waste (Badness: 100) 124360 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. mono-core.armv7hl: W: files-duplicate /etc/mono/4.5/settings.map /etc/mono/4.0/settings.map mono-extras.armv7hl: W: files-duplicate /usr/lib/mono/gac/mono-service/4.0.0.0__0738eb9f132ed756/mono-service.exe /usr/lib/mono/4.5/mono-service.exe mono-extras.armv7hl: W: files-duplicate /usr/lib/mono/gac/mono-service/4.0.0.0__0738eb9f132ed756/mono-service.pdb /usr/lib/mono/4.5/mono-service.pdb mono-web.armv7hl: W: files-duplicate /etc/mono/4.5/Browsers/Compat.browser /etc/mono/2.0/Browsers/Compat.browser:/etc/mono/4.0/Browsers/Compat.browser mono-web.armv7hl: W: files-duplicate /etc/mono/4.5/DefaultWsdlHelpGenerator.aspx /etc/mono/2.0/DefaultWsdlHelpGenerator.aspx:/etc/mono/4.0/DefaultWsdlHelpGenerator.aspx Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. libmono-2_0-1.armv7hl: E: explicit-lib-dependency libmonosgen-2_0-1 You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. mono-core.armv7hl: E: env-script-interpreter (Badness: 9) /usr/bin/mono-test-install /usr/bin/env bash mono-devel.armv7hl: E: env-script-interpreter (Badness: 9) /usr/bin/mono-heapviz /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. mono-core.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/libmono-native.so mono-mvc.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/pkgconfig/system.web.extensions.design_1.0.pc mono-mvc.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/pkgconfig/system.web.extensions_1.0.pc mono-mvc.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/pkgconfig/system.web.mvc.pc mono-mvc.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/pkgconfig/system.web.mvc2.pc mono-mvc.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/pkgconfig/system.web.mvc3.pc mono-reactive.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/pkgconfig/reactive.pc mono-wcf.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/pkgconfig/wcf.pc mono-web.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/pkgconfig/aspnetwebstack.pc 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. mono-complete.armv7hl: E: devel-dependency libmono-2_0-devel Your package has a dependency on a devel package but it's not a devel package itself. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 35.7 78.8 BashismsCheck 2.9 6.4 SignatureCheck 1.7 3.7 ZipCheck 1.2 2.6 BinariesCheck 1.0 2.2 BuildRootAndDateCheck 0.7 1.6 FilesCheck 0.7 1.6 TOTAL 45.3 100.0 23 packages and 0 specfiles checked; 61 errors, 11 warnings, 5490 filtered, 617 badness; has taken 45.6 s