[Bug 1318988] Review Request: java-1.8.0-openjdk-aarch32 - OpenJDK AArch32 porting project preview release

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

 



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



--- Comment #9 from Severin Gehwolf <sgehwolf@xxxxxxxxxx> ---
Here is the first round of review feedback:

Package Review
==============
[!] URL in spec should be:
    http://openjdk.java.net/projects/aarch32-port/
[!] spec file name does not match package name. java-1.8.0-openjdk.spec vs
    java-1.8.0-openjdk-aarch32.spec
[!] Some patches are not applied (commented out). They should get removed.
------
java-1.8.0-openjdk.spec: W: patch-not-applied Patch601:
java-1.8.0-openjdk-rh1191652-root.patch
java-1.8.0-openjdk.spec: W: patch-not-applied Patch602:
java-1.8.0-openjdk-rh1191652-jdk.patch
java-1.8.0-openjdk.spec: W: patch-not-applied Patch603:
java-1.8.0-openjdk-rh1191652-hotspot-aarch64.patch
java-1.8.0-openjdk.spec: W: patch-not-applied Patch106:
remove_aarch64_template_for_gcc6.patch
java-1.8.0-openjdk.spec: W: patch-not-applied Patch107:
make_reservedcodecachesize_changes_aarch64_only.patch
java-1.8.0-openjdk.spec: W: patch-not-applied Patch403:
rhbz1206656_fix_current_stack_pointer.patch
java-1.8.0-openjdk.spec: W: patch-not-applied Patch505: 8143855.patch
------
[!] Source0, aarch32-port-jdk8u-tip.tar.xz has a comment about how it's
    been generated, which does not seem to work. Please use some form of
    reproducible sources. File with hg revisions corresponding to "tip" at
    the time of source tarball generation should be fine.
[!] Source8, systemtap-tapset.tar.gz, has no info as to how to generate it,
    nor is it a valid source URL.
[!] Some "Provides" are commented out. They should get removed and re-added
    once deemed appropriate for the package to provide it.
[!] Please remove FIXME comment:
----
#FIXME
#    --with-jvm-variants=core \
----
[!] Licence contains illegal license name LGPL+. It should be LGPLv2+
    See
https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Software_License_List
[!] The build that you've linked in the bug seems to update alternatives
    and prefer aarch32 over java-1.8.0-openjdk. This seems unexpected. The
other version
    I had installed was java-1.8.0-openjdk-1.8.0.65-12.b17.fc24.armv7hl
[!] The java -version string of this aarch32 build seems to suggest it's
actually building
    a Zero JVM rather than a aarch32 version with the template interpreter. See
line 1254 of the spec file.
    "java -version" was:
---
$ java -version
openjdk version "1.8.0_tip"
OpenJDK Runtime Environment (build 1.8.0_tip-tip)
OpenJDK Zero VM (build 25.tip-btip, interpreted mode)
---
[!] Summary is too long. See rpmlint output.
    "OpenJDK Runtime Environment in a preview release of the upstream OpenJDK
AArch32 porting project" is
    the offending summary.

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



===== 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.
[!]: 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.
[?]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses.
     It mentions GPL v2 + Classpath Exception. I did not check if others are
     still relevant.
[?]: License file installed when any subpackage combination is installed.
[?]: Package requires other packages for directories it uses.
[?]: Package must own all directories that it creates.
[!]: Package contains no bundled libraries without FPC exception.
     Bundled LCMS libs are being used. Comment mentions temporary work-around.
     Is this correct?
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[x]: Package contains desktop file if it is a GUI application.
[x]: Development files must be in a -devel package
[?]: Package uses nothing in %doc for runtime.
[-]: Package consistently uses macros (instead of hard-coded directory
     names).
[!]: Package is named according to the Package Naming Guidelines.
     Since this is a pre-release built from a source tree snapshot, it
     should use appropriate snapshot release. See:
    
https://fedoraproject.org/wiki/Packaging:NamingGuidelines?rd=Packaging/NamingGuidelines#SnapshotPackages
[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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
     Note: Builds fine on armv7hl (only arch this targets).
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     I've run rpmlint on the spec. It would be good to run them on rpms too.
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[!]: 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.
[-]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[!]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[!]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

Java:
[x]: Bundled jar/class files should be removed before build
[-]: Packages have proper BuildRequires/Requires on jpackage-utils
     Note: Maven packages do not need to (Build)Require jpackage-utils. It
     is pulled in by maven-local
[x]: Javadoc documentation files are generated and included in -javadoc
     subpackage
[x]: Javadoc subpackages should not have Requires: jpackage-utils
[!]: Javadocs are placed in %{_javadocdir}/%{name} (no -%{version} symlink)

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

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

Generic:
[x]: 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
[x]: Fully versioned dependency in subpackages if applicable.
[ ]: Package functions as described.
[x]: Latest version is packaged.
     Note: Packager promises to update as appropriate from latest HEAD
           upstream.
[x]: Package does not include license text files separate from upstream.
[!]: SourceX tarball generation or download is documented.
     Note: Package contains tarball without URL, check comments
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[-]: Package should compile and build into binary rpms on all supported
     architectures.
     Note: ExclusiveArch: %{arm}
[-]: %check is present and all tests pass.
[-]: Packages should try to preserve timestamps of original installed
     files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[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)
[?]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[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.)
[-]: Packages are noarch unless they use JNI
     Note: This package is a full JDK specifically for ARM 32.

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

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: Ran it on most packages, not all.
[x]: Spec file according to URL is the same as in SRPM.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]