Bug 2081113 - Review Request: rdkit - Chemical informatics and machine learning toolkit
Summary: Review Request: rdkit - Chemical informatics and machine learning toolkit
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1862143 1927163
TreeView+ depends on / blocked
 
Reported: 2022-05-02 19:25 UTC by Antonio T. sagitter
Modified: 2023-08-05 00:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Comment 1 Mark E. Fuller 2022-05-03 19:17:27 UTC
Taking this review - thanks for getting this building again!

Comment 2 Mark E. Fuller 2022-05-05 09:35:21 UTC
Two initial comments:
1) The SPEC/SRPM here didn't build with fedora-review as the source URL in the spec is https://github.com/rdkit/rdkit/archive/refs/tags/rdkit-%{pkgname}.tar.gz, but the tarball should just be %{pkgname}.tar.gz (no leading "rdkit-")
2) Test builds only succeeded for rawhide/x86_64 - everything else failed: https://copr.fedorainfracloud.org/coprs/fuller/test-builds/build/4361857/
Pre-rawhide, this is due to maeparser-devel not being available; otherwise there's failing tests
(@sagitter: do you want to be a co-maintainer for maeparser?)


Here's a preliminary review since there likely needs to be another iteration to look at the other Fedora versions and architectures

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

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


Issues:
=======
- Package does not use a name that already exists.
  Note: A package with this name already exists. Please check
  https://src.fedoraproject.org/rpms/rdkit
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/Naming/#_conflicting_package_names


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

C/C++:
[?]: Provides: bundled(gnulib) in place as required.
     Note: Sources not installed
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[?]: Development (unversioned) .so files in -devel subpackage, if present.
     Note: Unversioned so-files in private %_libdir subdirectory (see
     attachment). Verify they are not in ld path.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Header files in -devel subpackage, if present.
[x]: ldconfig not called in %post and %postun for Fedora 28 and later.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

Generic:
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
     Note: Using prebuilt packages
[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: "Unknown or generated". 1 files have unknown license. Detailed
     output of licensecheck in /var/lib/copr-
     rpmbuild/results/rdkit/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: %build honors applicable compiler flags or justifies otherwise.
[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.
[x]: 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.
[?]: Useful -debuginfo package or justification otherwise.
[!]: 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.
     Note: Documentation size is 317440 bytes in 2 files.
[x]: Package complies to the Packaging Guidelines
[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]: Packages must not store files under /srv, /opt or /usr/local

Python:
[?]: Binary eggs must be removed in %prep
     Note: Cannot find any build in BUILD directory (--prebuilt option?)
[?]: Python eggs must not download any dependencies during the build
     process.
[?]: A package which is used by another package via an egg interface should
     provide egg info.
[?]: Package meets the Packaging Guidelines::Python
[x]: Package contains BR: python2-devel or python3-devel
[x]: Packages MUST NOT have dependencies (either build-time or runtime) on
     packages named with the unversioned python- prefix unless no properly
     versioned package exists. Dependencies on Python packages instead MUST
     use names beginning with python2- or python3- as appropriate.
[x]: Python packages must not contain %{pythonX_site(lib|arch)}/* in %files

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

Generic:
[!]: Reviewer should test that the package builds in mock.
[ ]: Avoid bundling fonts in non-fonts packages.
     Note: Package contains font files
[ ]: 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).
[ ]: Package functions as described.
[ ]: Latest version is packaged.
[ ]: 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.
[ ]: Package should compile and build into binary rpms on all supported
     architectures.
[ ]: %check is present and all tests pass.
[ ]: Packages should try to preserve timestamps of original installed
     files.
[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]: Fully versioned dependency in subpackages if applicable.
[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.

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

Generic:
[x]: Rpmlint is run on debuginfo package(s).
     Note: There are rpmlint messages (see attachment).
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.


Rpmlint
-------
Nothing flagged

Unversioned so-files
--------------------
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/Draw/rdMolDraw2D.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/MolStandardize/rdMolStandardize.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/Scaffolds/rdScaffoldNetwork.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdAbbreviations.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdCIPLabeler.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdChemReactions.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdChemicalFeatures.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdDepictor.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdDeprotect.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdDistGeom.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdFMCS.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdFingerprintGenerator.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdForceFieldHelpers.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdMHFPFingerprint.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdMMPA.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdMolAlign.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdMolCatalog.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdMolChemicalFeatures.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdMolDescriptors.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdMolEnumerator.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdMolHash.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdMolTransforms.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdPartialCharges.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdRGroupDecomposition.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdReducedGraphs.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdSLNParse.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdShapeHelpers.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdSubstructLibrary.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdTautomerQuery.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdchem.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdfiltercatalog.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdfragcatalog.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdinchi.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdmolfiles.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdmolops.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdqueries.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Chem/rdtrajectory.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/DataManip/Metric/rdMetricMatrixCalc.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/DataStructs/cDataStructs.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/DistanceGeometry/DistGeom.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/ForceField/rdForceField.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Geometry/rdGeometry.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/ML/Cluster/Clustering.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/ML/Data/cQuantize.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/ML/InfoTheory/rdInfoTheory.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/Numerics/rdAlignment.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/SimDivFilters/rdSimDivPickers.so
python3-rdkit: /usr/lib64/python3.10/site-packages/rdkit/rdBase.so
rdkit-postgresql: /usr/lib64/pgsql/rdkit.so

Comment 3 Antonio T. sagitter 2022-05-05 17:04:13 UTC
(In reply to Mark E. Fuller from comment #2)
> Two initial comments:
> 1) The SPEC/SRPM here didn't build with fedora-review as the source URL in
> the spec is
> https://github.com/rdkit/rdkit/archive/refs/tags/rdkit-%{pkgname}.tar.gz,
> but the tarball should just be %{pkgname}.tar.gz (no leading "rdkit-")
> 2) Test builds only succeeded for rawhide/x86_64 - everything else failed:
> https://copr.fedorainfracloud.org/coprs/fuller/test-builds/build/4361857/
> Pre-rawhide, this is due to maeparser-devel not being available; otherwise
> there's failing tests

Yes, i know; probably due to to swig-4: https://github.com/rdkit/rdkit/issues/5252

> (@sagitter: do you want to be a co-maintainer for maeparser?)
> 

Yes.

Comment 4 Mark E. Fuller 2022-06-21 21:33:34 UTC
I updated the SPEC: https://fuller.fedorapeople.org/rdkit.spec
and the SRPM: https://fuller.fedorapeople.org/rdkit-2022.03.3-1.fc35.src.rpm
but there are still failing tests (https://copr.fedorainfracloud.org/coprs/fuller/review-june-2022/build/4548207/)
despite issue #5252 being closed in the new release

Comment 5 Package Review 2023-06-22 00:45:24 UTC
This is an automatic check from review-stats script.

This review request ticket hasn't been updated for some time, but it seems
that the review is still being working out by you. If this is right, please
respond to this comment clearing the NEEDINFO flag and try to reach out the
submitter to proceed with the review.

If you're not interested in reviewing this ticket anymore, please clear the
fedora-review flag and reset the assignee, so that a new reviewer can take
this ticket.

Without any reply, this request will shortly be resetted.

Comment 6 Antonio T. sagitter 2023-06-24 09:48:57 UTC
I'm testing latest release

Comment 8 Package Review 2023-08-05 00:45:24 UTC
This is an automatic action taken by review-stats script.

The ticket reviewer failed to clear the NEEDINFO flag in a month.
As per https://fedoraproject.org/wiki/Policy_for_stalled_package_reviews
we reset the status and the assignee of this ticket.


Note You need to log in before you can comment on or make changes to this bug.