============================ 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: 8 java-21-openjdk-headless.aarch64: W: unstripped-binary-or-object /usr/lib64/jvm/java-21-openjdk-21/lib/server/libjvm.so This executable should be stripped from debugging symbols, in order to take less space and be loaded faster. This is usually done automatically at buildtime by rpm. java-21-openjdk.spec:206: W: suse-update-desktop-file-deprecated %suse_update_desktop_file is deprecated The usage of %suse_update_desktop_file is deprecated and should not be used. java-21-openjdk.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libawt_xawt.so java-21-openjdk.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libjawt.so java-21-openjdk.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libsplashscreen.so java-21-openjdk-devel.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libattach.so java-21-openjdk-devel.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libsaproc.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libawt.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libawt_headless.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libdt_socket.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libextnet.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libfontmanager.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libinstrument.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libj2gss.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libj2pcsc.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libj2pkcs11.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libjaas.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libjava.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libjavajpeg.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libjdwp.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libjimage.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libjli.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libjsound.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/liblcms.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/lible.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libmanagement.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libmanagement_agent.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libmanagement_ext.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libmlib_image.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libnet.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libnio.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libprefs.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/librmi.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libsctp.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libsyslookup.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libsystemconf.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libverify.so java-21-openjdk-headless.aarch64: E: shared-library-not-executable /usr/lib64/jvm/java-21-openjdk-21/lib/libzip.so This library doesn't have the executable bit set. Without this bit set, rpm for instance won't be able identify the file as a library and not generate dependencies or strip debug symbols from it. java-21-openjdk-javadoc.noarch: W: package-with-huge-docs 100% More than half the size of your package is documentation. Consider splitting it into a -doc subpackage. java-21-openjdk-devel.aarch64: I: package-supports-update-alternatives java-21-openjdk-headless.aarch64: I: package-supports-update-alternatives java-21-openjdk-javadoc.noarch: I: package-supports-update-alternatives java-21-openjdk-headless.aarch64: W: obsolete-not-provided java-21-openjdk-accessibility 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. java-21-openjdk-headless.aarch64: W: non-etc-or-var-file-marked-as-conffile /usr/lib64/jvm/java-21-openjdk-21/conf/security/nss.fips.cfg java-21-openjdk-headless.aarch64: W: non-etc-or-var-file-marked-as-conffile /usr/lib64/jvm/java-21-openjdk-21/lib/security/blocked.certs A file not in /etc or /var is marked as being a configuration file (%config). Please put your configuration files in /etc or /var. java-21-openjdk.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. java-21-openjdk.spec:815: W: macro-in-comment %{_javadocdir} java-21-openjdk.spec:815: W: macro-in-comment %{sdklnk} java-21-openjdk.spec:828: W: macro-in-comment %{_javadocdir} java-21-openjdk.spec:828: W: macro-in-comment %{sdklnk} There is a unescaped macro after a shell style comment in the specfile. Macros are expanded everywhere, so check if it can cause a problem in this case and escape the macro with another leading % if appropriate. java-21-openjdk-jmods.aarch64: E: devel-dependency java-21-openjdk-devel Your package has a dependency on a devel package but it's not a devel package itself. java-21-openjdk-devel.aarch64: W: description-shorter-than-summary The package description should be longer than the summary. java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/java java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jar java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jarsigner java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/javadoc java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/javap java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jcmd java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jconsole java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jdb java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jdeprscan java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jdeps java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jhsdb java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jimage java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jinfo java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jlink java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jmap java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jmod java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jps java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jrunscript java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jshell java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jstack java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jstat java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jstatd java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jwebserver java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/serialver java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jar.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jarsigner.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/javac.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/javadoc.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/javap.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jcmd.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jconsole.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jdb.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jdeprscan.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jdeps.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jhsdb.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jinfo.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jlink.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jmap.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jmod.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jpackage.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jps.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jrunscript.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jshell.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jstack.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jstat.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jstatd.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jwebserver.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/serialver.1$ext java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/jconsole.desktop java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/javac java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/java-openjdk java-21-openjdk-devel.aarch64: E: alternative-link-missing /etc/alternatives/java-21 java-21-openjdk-headless.aarch64: E: alternative-link-missing /etc/alternatives/jre java-21-openjdk-headless.aarch64: E: alternative-link-missing /etc/alternatives/keytool java-21-openjdk-headless.aarch64: E: alternative-link-missing /etc/alternatives/rmiregistry java-21-openjdk-headless.aarch64: E: alternative-link-missing /etc/alternatives/java.1$ext java-21-openjdk-headless.aarch64: E: alternative-link-missing /etc/alternatives/keytool.1$ext java-21-openjdk-headless.aarch64: E: alternative-link-missing /etc/alternatives/rmiregistry.1$ext java-21-openjdk-headless.aarch64: E: alternative-link-missing /etc/alternatives/java java-21-openjdk-headless.aarch64: E: alternative-link-missing /etc/alternatives/jre-openjdk java-21-openjdk-headless.aarch64: E: alternative-link-missing /etc/alternatives/jre-21 java-21-openjdk-javadoc.noarch: E: alternative-link-missing /etc/alternatives/java The file %{_sysconfdir}/alternatives/$(basename generic-name) is missing in the file list. Mark it as %ghost and add it to the file list. java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/lib64/jvm/java java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jar java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jarsigner java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/javadoc java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/javap java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jcmd java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jconsole java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jdb java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jdeprscan java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jdeps java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jhsdb java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jimage java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jinfo java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jlink java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jmap java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jmod java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jps java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jrunscript java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jshell java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jstack java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jstat java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jstatd java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/jwebserver java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/serialver java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jar.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jarsigner.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/javac.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/javadoc.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/javap.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jcmd.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jconsole.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jdb.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jdeprscan.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jdeps.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jhsdb.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jinfo.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jlink.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jmap.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jmod.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jpackage.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jps.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jrunscript.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jshell.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jstack.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jstat.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jstatd.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/jwebserver.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/serialver.1$ext java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/share/applications/jconsole.desktop java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/bin/javac java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/lib64/jvm/java-openjdk java-21-openjdk-devel.aarch64: E: alternative-generic-name-missing /usr/lib64/jvm/java-21 java-21-openjdk-headless.aarch64: E: alternative-generic-name-missing /usr/lib64/jvm/jre java-21-openjdk-headless.aarch64: E: alternative-generic-name-missing /usr/bin/keytool java-21-openjdk-headless.aarch64: E: alternative-generic-name-missing /usr/bin/rmiregistry java-21-openjdk-headless.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/java.1$ext java-21-openjdk-headless.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/keytool.1$ext java-21-openjdk-headless.aarch64: E: alternative-generic-name-missing /usr/share/man/man1/rmiregistry.1$ext java-21-openjdk-headless.aarch64: E: alternative-generic-name-missing /usr/bin/java java-21-openjdk-headless.aarch64: E: alternative-generic-name-missing /usr/lib64/jvm/jre-openjdk java-21-openjdk-headless.aarch64: E: alternative-generic-name-missing /usr/lib64/jvm/jre-21 java-21-openjdk-javadoc.noarch: E: alternative-generic-name-missing /usr/share/javadoc/java The update-alternatives generic name is not in the filelist. Create it as a symlink to %{_sysconfdir}/alternatives/$(basename generic-name) and add it to the file list. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 10.1 35.9 FilesCheck 6.9 24.4 SignatureCheck 2.3 8.2 SUIDPermissionsCheck 2.2 7.7 BinariesCheck 2.0 7.1 BuildRootAndDateCheck 1.7 6.1 ZipCheck 1.3 4.7 BashismsCheck 0.6 2.2 FilelistCheck 0.4 1.4 TOTAL 28.2 100.0 8 packages and 0 specfiles checked; 161 errors, 12 warnings, 86 filtered, 161 badness; has taken 28.8 s