Bug 2560496

Summary: Review Request: projectm-eval - Expression parser library
Product: [Fedora] Fedora Reporter: Owen Zimmerman <owen>
Component: Package ReviewAssignee: Neal Gompa <ngompa13>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: ngompa13, package-review, ypsvlq
Target Milestone: ---Flags: ngompa13: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-20 03:57:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Owen Zimmerman 2026-10-26 00:26:10 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/owensz/projectm-eval/srpm-builds/11203637/projectm-eval.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/owensz/projectm-eval/srpm-builds/11203637/projectm-eval-1.0.8-1.fc44.src.rpm
Description:

Cross-platform and cross-architecture reimplementation of
Milkdrop's pendant, the NullSoft Expression
Evaluation Library 2, or short "ns-eel2" for use in
Milkdrop, projectM and other applications.

This library aims at being as portable as possible, sacrificing some
performance over portability. The original ns-eel2 library directly
assembles machine code from compiled assembler fragments.
While this is super performant, the assembler code needs
to be rewritten manually for every target platform and
CPU architecture and is really hard to read or edit.
Fedora Account System Username: owensz

Comment 1 Neal Gompa 2026-10-26 00:30:28 UTC
Taking this review.

Comment 2 Neal Gompa 2026-10-26 03:18:57 UTC
Initial spec review:

> Source0:    https://github.com/projectM-visualizer/projectm-eval/archive/refs/tags/v%{version}.tar.gz

This should have a named tarball, and the SourceURL can be simplified, like so: "%{url}/archive/v%{version}/%{name}-%{version}.tar.gz"

Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_git_tags

> %files
> %doc ReadMe.md
> %license LICENSE.md
> %{_includedir}/projectm-eval/projectm-eval.h
> %{_libdir}/cmake/projectM-Eval/projectM-EvalConfig.cmake
> %{_libdir}/cmake/projectM-Eval/projectM-EvalConfigVersion.cmake
> %{_libdir}/cmake/projectM-Eval/projectM-EvalTargets-noconfig.cmake
> %{_libdir}/cmake/projectM-Eval/projectM-EvalTargets.cmake
> %{_libdir}/libprojectM_eval.a
> %{_libdir}/pkgconfig/projectm-eval.pc

This needs be in a devel binary package that also provides a static package name, since there's no base library package since it's only a static link library.

Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries

Comment 3 Neal Gompa 2026-11-04 21:10:52 UTC
*** Bug 2565785 has been marked as a duplicate of this bug. ***

Comment 4 Elaine Gibson 2026-11-07 12:05:00 UTC
> %{_libdir}/cmake/projectM-Eval/projectM-EvalConfig.cmake
> %{_libdir}/cmake/projectM-Eval/projectM-EvalConfigVersion.cmake
> %{_libdir}/cmake/projectM-Eval/projectM-EvalTargets-noconfig.cmake
> %{_libdir}/cmake/projectM-Eval/projectM-EvalTargets.cmake

I think the subdirectory needs including as well, otherwise it will be unowned: https://docs.fedoraproject.org/en-US/packaging-guidelines/UnownedDirectories/

Either by adding %dir %{_libdir}/cmake/projectM-Eval/ to the files list, or replacing those to just %{_libdir}/cmake/projectM-Eval/

Comment 5 Elaine Gibson 2026-11-07 12:21:36 UTC
In the build log https://download.copr.fedorainfracloud.org/results/owensz/projectm-eval/fedora-rawhide-x86_64/11203637-projectm-eval/builder-live.log.gz it doesn't look like the test suite is running. I'm not sure how this works with the BuildSystem tag, but without it you can pass -DBUILD_TESTING=ON to cmake and run %ctest in %check.

Comment 6 Neal Gompa 2026-11-07 16:09:41 UTC
(In reply to Elaine Gibson from comment #4)
> > %{_libdir}/cmake/projectM-Eval/projectM-EvalConfig.cmake
> > %{_libdir}/cmake/projectM-Eval/projectM-EvalConfigVersion.cmake
> > %{_libdir}/cmake/projectM-Eval/projectM-EvalTargets-noconfig.cmake
> > %{_libdir}/cmake/projectM-Eval/projectM-EvalTargets.cmake
> 
> I think the subdirectory needs including as well, otherwise it will be
> unowned:
> https://docs.fedoraproject.org/en-US/packaging-guidelines/UnownedDirectories/
> 
> Either by adding %dir %{_libdir}/cmake/projectM-Eval/ to the files list, or
> replacing those to just %{_libdir}/cmake/projectM-Eval/

Yes, I'd just recommend replacing it with "%{_libdir}/cmake/projectM-Eval/" instead of enumerating each file individually.

Comment 7 Owen Zimmerman 2026-11-07 20:39:08 UTC
Thanks for the reviews! I’m currently on a vacation, but as soon as I’m back I will address these comments and look into the directories, and test issue. I believe I have a fix I just need to test.

Comment 8 Elaine Gibson 2026-11-07 22:13:26 UTC
Oh, the other difference from my spec is that there was a test issue on x86:

> /builddir/build/BUILD/projectm-eval-1.0.8-build/projectm-eval-1.0.8/tests/SyntaxTest.cpp:93: Failure
> Expected equality of these values:
>   projectm_eval_code_execute(code)
>     Which is: 2.1474836e+09
>   (-2147483647-1)
>     Which is: -2.1474836e+09
> [  FAILED  ] SyntaxTest.ParseIntOverflow (0 ms)

I just added ExcludeArch: %{ix86} but should maybe be reported upstream.

Comment 10 Neal Gompa 2026-11-20 02:15:45 UTC
Package Review
==============

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



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

C/C++:
[x]: Package does not contain kernel modules.
[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]: Package does not contain any libtool archives (.la)
[x]: Package contains no static executables.
[x]: Rpath absent or only used for internal libs.

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: "Unknown or generated", "*No copyright* MIT License", "GNU
     General Public License v3.0 or later". 54 files have unknown license.
     Detailed output of licensecheck in /home/ngompa/2560496-projectm-
     eval/licensecheck.txt
[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.
[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.
     Note: Documentation size is 11519 bytes in 1 files.
[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]: Static libraries in -static or -devel subpackage, providing -devel if
     present.
     Note: Package has .a files: projectm-eval-devel.
[x]: File names are valid UTF-8.
[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).
[x]: Package functions as described.
[x]: 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.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[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]: 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]: Spec use %global instead of %define unless justified.

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

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: projectm-eval-devel-1.0.8-1.fc46.x86_64.rpm
          projectm-eval-1.0.8-1.fc46.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.9.0
configuration:
    /usr/lib/python3.15/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/tmp2i9t_9gs')]
checks: 32, packages: 2

projectm-eval.src: E: spelling-error ('reimplementation', '%description -l en_US reimplementation -> re implementation, re-implementation, implementation')
projectm-eval.src: E: spelling-error ('ns', "%description -l en_US ns -> NS, N's, NSA")
projectm-eval.src: E: spelling-error ('performant', '%description -l en_US performant -> perform ant, perform-ant, performance')
 2 packages and 0 specfiles checked; 3 errors, 0 warnings, 7 filtered, 3 badness; has taken 0.2 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: 1

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



Source checksums
----------------
https://github.com/projectM-visualizer/projectm-eval/archive/v1.0.8/projectm-eval-1.0.8.tar.gz :
  CHECKSUM(SHA256) this package     : f47e0a8b12f19c5399e47b03f50e03d9b7ae43d7b390166a786000016f407a3b
  CHECKSUM(SHA256) upstream package : f47e0a8b12f19c5399e47b03f50e03d9b7ae43d7b390166a786000016f407a3b


Requires
--------
projectm-eval-devel (rpmlib, GLIBC filtered):
    /usr/bin/pkg-config
    cmake-filesystem(x86-64)



Provides
--------
projectm-eval-devel:
    cmake(projectM-Eval)
    cmake(projectm-eval)
    pkgconfig(projectm-eval)
    projectm-eval-devel
    projectm-eval-devel(x86-64)
    projectm-eval-static



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

Comment 11 Neal Gompa 2026-11-20 02:16:05 UTC
Well, this looks good, so...

PACKAGE APPROVED.

Comment 12 Neal Gompa 2026-11-20 02:17:29 UTC
I have sponsored you to become a packager in Fedora.

Welcome, good luck, and have fun! :)

Comment 13 Owen Zimmerman 2026-11-20 02:17:39 UTC
Thank you!

Comment 14 Fedora Admin user for bugzilla script actions 2026-11-20 03:37:53 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/projectm-eval
Monitoring:
Anitya project is accessible by this link 
`https://release-monitoring.org/project/385973`
 you can modify it manually.
Package wasn't created in Anitya, reason: `Bad Request, some necessary arguments were not provided.`.

Comment 15 Owen Zimmerman 2026-11-20 03:57:10 UTC
This is now in rawhide.