[Bug 1040517] Review Request: julia - High-level, high-performance dynamic language for technical computing

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

 



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



--- Comment #59 from Milan Bouchet-Valat <nalimilan@xxxxxxx> ---
OK, here's the review, which looks mostly OK to me. A few remarks:
- the only Fail is about a dist tag which must be due to my box's setup.
- I can fix the Issue about unversioned .so files, but that would mean putting
runtime libraries back into -devel (see end of Comment #57).
- rpmlint warnings are addressed in Comment #54.
- "Note: Directories without known owners: /usr/share/julia" I cannot explain
why this appears since I have explicitly added "%dir %{_datadir}/julia/".


Package Review
==============

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


Issues:
=======
- Development (unversioned) .so files in -devel subpackage, if present.
  Note: Unversioned so-files directly in %_libdir.
  See: http://fedoraproject.org/wiki/Packaging/Guidelines#DevelPackages


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

C/C++:
[ ]: Package does not contain kernel modules.
[ ]: Package contains no static executables.
[ ]: Rpath absent or only used for internal libs.
     Note: See rpmlint output
[x]: Header files in -devel subpackage, if present.
[x]: Package does not contain any libtool archives (.la)

Generic:
[ ]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[ ]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "GPL (v2 or later)", "Unknown or generated", "MIT/X11 (BSD like)", "BSD
     (3 clause)", "GPL (v2 or later) (with incorrect FSF address)", "ISC",
     "BSD (2 clause)", "LGPL (v2.1 or later)". 134 files have unknown license.
     Detailed output of licensecheck in
     /home/milan/Dev/rpmbuild/1040517-julia/licensecheck.txt
[ ]: License file installed when any subpackage combination is installed.
[ ]: If the package is under multiple licenses, the licensing breakdown must
     be documented in the spec.
[ ]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/share/julia
[ ]: %build honors applicable compiler flags or justifies otherwise.
[ ]: Package contains no bundled libraries without FPC exception.
[ ]: Changelog in prescribed format.
[ ]: 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
[ ]: 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.
[ ]: Package does not generate any conflict.
[ ]: Package obeys FHS, except libexecdir and /usr/target.
[ ]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[ ]: Requires correct, justified where necessary.
[ ]: Spec file is legible and written in American English.
[ ]: Package contains systemd file(s) if in need.
[ ]: Useful -debuginfo package or justification otherwise.
[ ]: Package is not known to require an ExcludeArch tag.
[ ]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 81920 bytes in 4 files.
[ ]: 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 %doc.
[x]: Package requires other packages for directories it uses.
[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
[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]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[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]: Packages must not store files under /srv, /opt or /usr/local

Perl:
[ ]: Package contains the mandatory BuildRequires and Requires:.
     Note: Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
     $version)) missing?

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

Generic:
[!]: Dist tag is present (not strictly required in GL).
[ ]: If the source package does not include license text(s) as a separate file
     from upstream, the packager SHOULD query upstream to include it.
[ ]: Final provides and requires are sane (see attachments).
[ ]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in julia-doc
[ ]: Package functions as described.
[ ]: Latest version is packaged.
[ ]: Package does not include license text files separate from upstream.
[ ]: Scriptlets must be sane, if used.
[ ]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[ ]: %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]: Sources can be downloaded from URI in Source: tag
[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]: Uses parallel make %{?_smp_mflags} macro.
[x]: SourceX is a working URL.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: Spec use %global instead of %define unless justified.

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

Generic:
[ ]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.
     Note: Arch-ed rpms have a total of 6195200 bytes in /usr/share
[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
-------
Checking: julia-0.3.0-2.x86_64.rpm
          julia-doc-0.3.0-2.x86_64.rpm
          julia-devel-0.3.0-2.x86_64.rpm
          julia-0.3.0-2.src.rpm
julia.x86_64: E: devel-dependency dSFMT-devel
julia.x86_64: E: binary-or-shlib-defines-rpath /usr/lib64/julia/libjulia.so
['$ORIGIN']
julia-doc.x86_64: W: devel-file-in-non-devel-package
/usr/share/julia/examples/embedding.c
julia-devel.x86_64: E: binary-or-shlib-defines-rpath
/usr/lib64/julia/libjulia-debug.so ['$ORIGIN']
julia-devel.x86_64: W: dangling-relative-symlink
/usr/share/man/man1/julia-debug.1.gz julia.1.gz
4 packages and 0 specfiles checked; 3 errors, 2 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint julia-devel julia julia-doc
julia-devel.x86_64: E: binary-or-shlib-defines-rpath
/usr/lib64/julia/libjulia-debug.so ['$ORIGIN']
julia-devel.x86_64: W: dangling-relative-symlink
/usr/share/man/man1/julia-debug.1.gz julia.1.gz
julia.x86_64: E: devel-dependency dSFMT-devel
julia.x86_64: E: binary-or-shlib-defines-rpath /usr/lib64/julia/libjulia.so
['$ORIGIN']
julia-doc.x86_64: W: devel-file-in-non-devel-package
/usr/share/julia/examples/embedding.c
3 packages and 0 specfiles checked; 3 errors, 2 warnings.
# echo 'rpmlint-done:'



Requires
--------
julia-devel (rpmlib, GLIBC filtered):
    /bin/bash
    /usr/bin/env
    julia(x86-64)
    libLLVM-3.4.so()(64bit)
    libc.so.6()(64bit)
    libdl.so.2()(64bit)
    libffi.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libjulia-debug.so()(64bit)
    libm.so.6()(64bit)
    libpthread.so.0()(64bit)
    librt.so.1()(64bit)
    libstdc++.so.6()(64bit)
    libtinfo.so.5()(64bit)
    libunwind-x86_64.so.8()(64bit)
    libunwind.so.8()(64bit)
    libutf8proc.so.0.1()(64bit)
    libz.so.1()(64bit)
    perl(strict)
    perl(warnings)
    rtld(GNU_HASH)

julia (rpmlib, GLIBC filtered):
    /sbin/ldconfig
    arpack
    config(julia)
    dSFMT
    dSFMT-devel
    fftw
    gmp
    lapack
    libLLVM-3.4.so()(64bit)
    libamd.so.2()(64bit)
    libc.so.6()(64bit)
    libcamd.so.2()(64bit)
    libcholmod.so.2()(64bit)
    libcolamd.so.2()(64bit)
    libdl.so.2()(64bit)
    libdouble-conversion.so.1()(64bit)
    libffi.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libjulia.so()(64bit)
    libm.so.6()(64bit)
    libpthread.so.0()(64bit)
    librt.so.1()(64bit)
    libspqr.so.1()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    libtinfo.so.5()(64bit)
    libumfpack.so.5()(64bit)
    libunwind-x86_64.so.8()(64bit)
    libunwind.so.8()(64bit)
    libutf8proc.so.0.1()(64bit)
    libz.so.1()(64bit)
    mpfr
    openblas
    openlibm
    openlibm-devel
    openspecfun
    openspecfun-devel
    pcre
    rtld(GNU_HASH)

julia-doc (rpmlib, GLIBC filtered):



Provides
--------
julia-devel:
    julia-devel
    julia-devel(x86-64)
    libjulia-debug.so()(64bit)

julia:
    bundled(Rmath)
    bundled(libuv)
    config(julia)
    julia
    julia(x86-64)
    libRmath-julia.so()(64bit)
    libgrisu.so()(64bit)
    libjulia.so()(64bit)
    libsuitesparse_wrapper.so()(64bit)

julia-doc:
    julia-doc
    julia-doc(x86-64)



Unversioned so-files
--------------------
julia: /usr/lib64/julia/libRmath-julia.so
julia: /usr/lib64/julia/libgrisu.so
julia: /usr/lib64/julia/libjulia.so
julia: /usr/lib64/julia/libsuitesparse_wrapper.so
julia: /usr/lib64/julia/sys.so
julia: /usr/lib64/libjulia.so

Source checksums
----------------
https://github.com/JuliaLang/Rmath/archive/e432b0c4b01c560353412b3f097d179eef5c0ba2/archive/Rmath.tar.gz#/Rmath-e432b0c4b01c560353412b3f097d179eef5c0ba2.tar.gz
:
  CHECKSUM(SHA256) this package     :
d06d9b8a532c77280ec7d89ee63f42b98565659bc34ec0250d6d3dedfdcf58ba
  CHECKSUM(SHA256) upstream package :
d06d9b8a532c77280ec7d89ee63f42b98565659bc34ec0250d6d3dedfdcf58ba
https://github.com/JuliaLang/julia/archive/v0.3.0.tar.gz#/julia-0.3.0.tar.gz :
  CHECKSUM(SHA256) this package     :
1e9778129231aeff4e5f6100b0b71d2dbc4306cfc92cf533e527907d4a7a9aa1
  CHECKSUM(SHA256) upstream package :
1e9778129231aeff4e5f6100b0b71d2dbc4306cfc92cf533e527907d4a7a9aa1
https://github.com/JuliaLang/libuv/archive/5d608abc3c2e9dc37da04030a0e07ba0af5ae57d/archive/libuv.tar.gz#/libuv-5d608abc3c2e9dc37da04030a0e07ba0af5ae57d.tar.gz
:
  CHECKSUM(SHA256) this package     :
7ffc341ccaf95199305d3d4deb14b42a311dde53aa3257877f5613a9f332ec51
  CHECKSUM(SHA256) upstream package :
7ffc341ccaf95199305d3d4deb14b42a311dde53aa3257877f5613a9f332ec51


Generated by fedora-review 0.5.2 (63c24cb) last change: 2014-07-14
Command line :/usr/bin/fedora-review -b 1040517 -L mock-rpms/
Buildroot used: fedora-20-x86_64
Active plugins: Generic, Shell-api, C/C++, Perl
Disabled plugins: Java, Python, fonts, SugarActivity, Ocaml, Haskell, R, PHP,
Ruby
Disabled flags: EXARCH, EPEL5, BATCH, DISTTAG

Built with local dependencies:
    /home/milan/Dev/rpmbuild/mock-rpms/dSFMT-2.2.3-4.fc20.x86_64.rpm
    /home/milan/Dev/rpmbuild/mock-rpms/dSFMT-debuginfo-2.2.3-4.fc20.x86_64.rpm
    /home/milan/Dev/rpmbuild/mock-rpms/dSFMT-devel-2.2.3-4.fc20.x86_64.rpm
    /home/milan/Dev/rpmbuild/mock-rpms/dSFMT-devel-doc-2.2.3-4.fc20.x86_64.rpm
    /home/milan/Dev/rpmbuild/mock-rpms/openlibm-0.3-5.fc20.x86_64.rpm
    /home/milan/Dev/rpmbuild/mock-rpms/openlibm-debuginfo-0.3-5.fc20.x86_64.rpm
    /home/milan/Dev/rpmbuild/mock-rpms/openlibm-devel-0.3-5.fc20.x86_64.rpm
    /home/milan/Dev/rpmbuild/mock-rpms/openspecfun-0.4-1.fc20.x86_64.rpm
    /home/milan/Dev/rpmbuild/mock-rpms/openspecfun-devel-0.4-1.fc20.x86_64.rpm

-- 
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]