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

Cristian Le <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |fedora-review?



--- Comment #9 from Cristian Le <[email protected]> ---
Overall looks ok

- samples/smm/acc_libsmm.h is still licensed under GPL-2.0-or-later. I see that
it got relicensed, but that commit [1] but that had no visible discussion. Also
all of the copyright is attributed to DBCSR, is that intended? The license has
only Intel as copyright holder

> - The `libxstream_(cp2k|dbcsr)` being part of this project and not vice-versa 
> is weird. Is there a story behind them? Mainly concerned if this is trying to 
> do some symbol collisions shenanigans

Any context for this?

- `INTERFACE_COMPILE_DEFINITIONS "__OPENCL;__ACC;__LIBXS"` in the Targets.cmake
is worth reporting to upstream. This can lead to defines collisions. They
should check if the `INTERFACE` is intended and if so should they not prefix
the usage in the header files?
- Should the pre-tuned samples not be in the main library? Also what is the
search pattern for this? Does the user have a writable path in this search?
- Why the ExclusiveArch here?
- Devel scripts should be executable (see rpmlint part)
- No ctests were run

[1]:
https://github.com/hfp/libxstream/commit/11ed0417e8cf46321fb12c5d3af17fb65aa71721

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

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



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

C/C++:
[x]: Package does not contain kernel modules.
     (afaiu this refers to linux kernels, not the gpu kernels or whatever the
terminology is here)
[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]: Package contains no static executables.
[x]: Rpath absent or only used for internal libs.
[x]: Development (unversioned) .so files in -devel subpackage, if present.

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.
[!]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "BSD 3-Clause License", "GNU General
     Public License, Version 2", "*No copyright* BSD 3-Clause License". 85
     files have unknown license. Detailed output of licensecheck in
     /home/lecris/FedoraRPMs/2539896-libxstream/licensecheck.txt
     (GPL issue pointed above)
[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 or specifies bundled libraries
     with Provides: bundled(<libname>) if unbundling is not possible.
[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.
[x]: Useful -debuginfo package or justification otherwise.
[!]: 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]: The License field must be a valid SPDX expression.
[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 does not use a name that already exists.
[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

===== 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).
[?]: Package functions as described.
[x]: Latest version is packaged.
[!]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[!]: %check is present and all tests pass.
     (there are no ctests?)
[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]: Fully versioned dependency in subpackages if applicable.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: The placement of pkgconfig(.pc) files are correct.
[x]: Sources can be downloaded from URI in Source: tag
[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:
[-]: Spec file according to URL is the same as in SRPM.
     Note: Spec file as given by url is not the same as in SRPM (see
     attached diff).
     See: (this test has no URL)
     (ignore, known failure, should be resolved at some point)
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
     Note: Arch-ed rpms have a total of 3143680 bytes in /usr/share
     (not worth it imo)
[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).


Rpmlint
-------
Checking: libxstream-1.0.0-1.fc46.x86_64.rpm
          libxstream-devel-1.0.0-1.fc46.x86_64.rpm
          libxstream-doc-1.0.0-1.fc46.noarch.rpm
          libxstream-1.0.0-1.fc46.src.rpm
============================ rpmlint session starts
============================
rpmlint: 2.8.0
configuration:
    /usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpe67k2ofs')]
checks: 32, packages: 4

libxstream.src: E: spelling-error ('numerics', '%description -l en_US numerics
-> numeric, numerical, numerous')
libxstream.x86_64: E: spelling-error ('numerics', '%description -l en_US
numerics -> numeric, numerical, numerous')
libxstream-devel.x86_64: E: non-executable-script
/usr/share/libxstream/samples/smm/tune_multiply.py 644 /usr/bin/env python3
libxstream-devel.x86_64: E: non-executable-script
/usr/share/libxstream/samples/smm/tune_multiply.sh 644 /usr/bin/env bash
 4 packages and 0 specfiles checked; 4 errors, 0 warnings, 28 filtered, 4
badness; has taken 0.4 s 




Rpmlint (debuginfo)
-------------------
Checking: libxstream-debuginfo-1.0.0-1.fc46.x86_64.rpm
============================ rpmlint session starts
============================
rpmlint: 2.8.0
configuration:
    /usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpfaputrb6')]
checks: 32, packages: 1

 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 4 filtered, 0
badness; has taken 0.1 s 





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

libxstream.x86_64: E: spelling-error ('numerics', '%description -l en_US
numerics -> numeric, numeric s')
libxstream-devel.x86_64: E: non-executable-script
/usr/share/libxstream/samples/smm/tune_multiply.py 644 /usr/bin/env python3
libxstream-devel.x86_64: E: non-executable-script
/usr/share/libxstream/samples/smm/tune_multiply.sh 644 /usr/bin/env bash
 4 packages and 0 specfiles checked; 3 errors, 0 warnings, 28 filtered, 3
badness; has taken 0.4 s 



Source checksums
----------------
https://github.com/hfp/libxstream/releases/download/1.0.0/libxstream-1.0.0.tar.gz
:
  CHECKSUM(SHA256) this package     :
44a2823b12eb58b5eaf97649244b93dcf921597ceabc718053cd28e5f59260e3
  CHECKSUM(SHA256) upstream package :
44a2823b12eb58b5eaf97649244b93dcf921597ceabc718053cd28e5f59260e3


Requires
--------
libxstream (rpmlib, GLIBC filtered):
    libOpenCL.so.1()(64bit)
    libOpenCL.so.1(OPENCL_1.0)(64bit)
    libOpenCL.so.1(OPENCL_1.1)(64bit)
    libOpenCL.so.1(OPENCL_1.2)(64bit)
    libOpenCL.so.1(OPENCL_2.0)(64bit)
    libOpenCL.so.1(OPENCL_2.1)(64bit)
    libc.so.6()(64bit)
    libgomp.so.1()(64bit)
    libgomp.so.1(OMP_1.0)(64bit)
    libxs.so.1()(64bit)
    rtld(GNU_HASH)

libxstream-devel (rpmlib, GLIBC filtered):
    /usr/bin/bash
    /usr/bin/pkg-config
    cmake-filesystem(x86-64)
    libxs-devel(x86-64)
    libxstream(x86-64)
    libxstream.so.1()(64bit)
    ocl-icd-devel(x86-64)
    pkgconfig(libxs)

libxstream-doc (rpmlib, GLIBC filtered):
    libxstream



Provides
--------
libxstream:
    libxstream
    libxstream(x86-64)
    libxstream.so.1()(64bit)

libxstream-devel:
    cmake(libxstream)
    libxstream-devel
    libxstream-devel(x86-64)
    pkgconfig(libxstream)

libxstream-doc:
    libxstream-doc



Diff spec file in url and in SRPM
---------------------------------
--- /home/lecris/FedoraRPMs/2539896-libxstream/srpm/libxstream.spec    
2026-09-29 10:28:32.697637541 +0200
+++ /home/lecris/FedoraRPMs/2539896-libxstream/srpm-unpacked/libxstream.spec   
2026-09-24 02:00:00.000000000 +0200
@@ -1,2 +1,12 @@
+## START: Set by rpmautospec
+## (rpmautospec version 0.8.4)
+## RPMAUTOSPEC: autorelease, autochangelog
+%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
+    release_number = 1;
+    base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
+    print(release_number + base_release_number - 1);
+}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
+## END: Set by rpmautospec
+
 %bcond tests 1

@@ -83,3 +93,6 @@

 %changelog
-%autochangelog
+## START: Generated by rpmautospec
+* Thu Sep 24 2026 John Doe <[email protected]> - 1.0.0-1
+- Uncommitted changes
+## END: Generated by rpmautospec


Generated by fedora-review 0.12.0 (a08f0fc) last change: 2026-09-18
Command line :/usr/bin/fedora-review -b 2539896
Buildroot used: fedora-rawhide-x86_64
Active plugins: C/C++, Generic, Shell-api
Disabled plugins: PHP, Haskell, Perl, Python, R, fonts, Java, SugarActivity,
Ocaml
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH, UNRETIREMENT


-- 
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=2539896

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202539896%23c9

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to