[Bug 2036341] Review Request: janino - Super-small, super-fast Java compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2036341



--- Comment #4 from Jerry James <loganjerry@xxxxxxxxx> ---
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated

Issues:
=======
These are automatically generated issues:

- Packages have proper BuildRequires/Requires on javapackages-tools
  (jpackage-utils)
  Note: Maven packages do not need to (Build)Require jpackage-utils. It is
  pulled in by maven-local
  See: https://fedoraproject.org/wiki/Packaging:Java

  It is complaining about "Requires: javapackages-tools".  I'm not sure that is
  correct, though.  You need javapackages-tools for %{_bindir}/janinoc to work,
  right?  So this is probably a false positive.

- Bundled jar/class files should be removed before build
  Note: Jar files in source (see attachment)
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/Java/#_pre_built_dependencies

  The file it is complaining about is janino/lib/ant-1.7.1.jar.

These are my comments:

- The main package Requires mvn(org.codehaus.janino:commons-compiler), so the
  main package should have "Requires: commons-compiler =
%{version}-%{release}".

===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "BSD 3-Clause License", "Unknown or generated". 92 files have
     unknown license.
[x]: License file installed when any subpackage combination is installed.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Java:
[x]: Javadoc documentation files are generated and included in -javadoc
     subpackage
[x]: Javadoc subpackages should not have Requires: javapackages-tools
     (jpackage-utils)
[x]: Javadocs are placed in %{_javadocdir}/%{name} (no -%{version} symlink)

Maven:
[x]: If package contains pom.xml files install it (including metadata) even
     when building with ant
[x]: POM files have correct Maven mapping
[x]: Maven packages should use new style packaging
[x]: Old add_to_maven_depmap macro is not being used
[x]: Packages DO NOT have Requires(post) and Requires(postun) on jpackage-
     utils for %update_maven_depmap macro
[x]: Package DOES NOT use %update_maven_depmap in %post/%postun
[x]: Packages use .mfiles file list instead of %{_datadir}/maven2/poms

===== SHOULD items =====

Generic:
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[!]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in commons-
     compiler , commons-compiler-jdk
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.

     Tests are run as part of the maven build.

[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

Java:
[x]: Package uses upstream build method (ant/maven/etc.)
[x]: Packages are noarch unless they use JNI

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
================================================ rpmlint session starts
================================================
rpmlint: 2.2.0
configuration:
    /usr/lib/python3.10/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/licenses.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 5

janino-javadoc.noarch: W: package-with-huge-docs:  99%
janino.noarch: W: no-manual-page-for-binary janinoc
commons-compiler.noarch: W: no-documentation
commons-compiler-jdk.noarch: W: no-documentation
janino.noarch: W: no-documentation
janino-javadoc.noarch: E: files-duplicated-waste 287630
janino-javadoc.noarch: W: files-duplicate
/usr/share/javadoc/janino/jquery/jquery-3.5.1.js
/usr/share/javadoc/janino/jquery/external/jquery/jquery.js
janino-javadoc.noarch: W: file-not-utf8
/usr/share/javadoc/janino/member-search-index.zip
janino-javadoc.noarch: W: file-not-utf8
/usr/share/javadoc/janino/package-search-index.zip
janino-javadoc.noarch: W: file-not-utf8
/usr/share/javadoc/janino/type-search-index.zip
================= 4 packages and 1 specfiles checked; 1 errors, 9 warnings, 1
badness; has taken 0.8 s =================



Rpmlint (installed packages)
----------------------------
================================================ rpmlint session starts
================================================
rpmlint: 2.2.0
configuration:
    /usr/lib/python3.10/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/licenses.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 4

janino-javadoc.noarch: W: package-with-huge-docs:  99%
janino.noarch: W: no-manual-page-for-binary janinoc
commons-compiler.noarch: W: no-documentation
commons-compiler-jdk.noarch: W: no-documentation
janino.noarch: W: no-documentation
janino-javadoc.noarch: E: files-duplicated-waste 287630
janino-javadoc.noarch: W: files-duplicate
/usr/share/javadoc/janino/jquery/jquery-3.5.1.js
/usr/share/javadoc/janino/jquery/external/jquery/jquery.js
janino-javadoc.noarch: W: file-not-utf8
/usr/share/javadoc/janino/member-search-index.zip
janino-javadoc.noarch: W: file-not-utf8
/usr/share/javadoc/janino/package-search-index.zip
janino-javadoc.noarch: W: file-not-utf8
/usr/share/javadoc/janino/type-search-index.zip
================= 4 packages and 0 specfiles checked; 1 errors, 9 warnings, 1
badness; has taken 0.7 s =================



Source checksums
----------------
https://github.com/janino-compiler/janino/archive/v3.1.6/janino-3.1.6.tar.gz :
  CHECKSUM(SHA256) this package     :
292ad4b4540e5607393baaac42f422f0d54dc8b54ec0d37ae288a58fd5a59363
  CHECKSUM(SHA256) upstream package :
292ad4b4540e5607393baaac42f422f0d54dc8b54ec0d37ae288a58fd5a59363


Requires
--------
janino (rpmlib, GLIBC filtered):
    (java-headless or java-11-headless)
    /usr/bin/bash
    javapackages-filesystem
    javapackages-tools
    mvn(org.codehaus.janino:commons-compiler)
    osgi(org.codehaus.janino.commons-compiler)

commons-compiler (rpmlib, GLIBC filtered):
    (java-headless or java-11-headless)
    javapackages-filesystem

commons-compiler-jdk (rpmlib, GLIBC filtered):
    (java-headless or java-11-headless)
    javapackages-filesystem
    mvn(org.codehaus.janino:commons-compiler)
    osgi(org.codehaus.janino.commons-compiler)

janino-javadoc (rpmlib, GLIBC filtered):
    javapackages-filesystem



Provides
--------
janino:
    janino
    mvn(org.codehaus.janino:janino)
    mvn(org.codehaus.janino:janino:pom:)
    osgi(org.codehaus.janino.janino)

commons-compiler:
    commons-compiler
    mvn(org.codehaus.janino:commons-compiler)
    mvn(org.codehaus.janino:commons-compiler:pom:)
    osgi(org.codehaus.janino.commons-compiler)

commons-compiler-jdk:
    commons-compiler-jdk
    mvn(org.codehaus.janino:commons-compiler-jdk)
    mvn(org.codehaus.janino:commons-compiler-jdk:pom:)
    osgi(org.codehaus.janino.commons-compiler-jdk)

janino-javadoc:
    janino-javadoc



Jar and class files in source
-----------------------------
./janino-3.1.6/janino/lib/ant-1.7.1.jar


Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10
Command line :/usr/bin/fedora-review -b 2036341 -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Java, Shell-api, Generic
Disabled plugins: Ocaml, fonts, PHP, SugarActivity, R, Perl, C/C++, Ruby,
Haskell, Python
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2036341
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux