Bug 2558317

Summary: Review Request: stdexec - std::execution reference implementation
Product: [Fedora] Fedora Reporter: Christoph Junghans <junghans>
Component: Package ReviewAssignee: Cristian Le <fedora>
Status: RELEASE_PENDING --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora, package-review
Target Milestone: ---Flags: fedora: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2542708    

Description Christoph Junghans 2026-10-21 15:15:40 UTC
Spec URL: https://junghans.fedorapeople.org/stdexec.spec
SRPM URL: https://junghans.fedorapeople.org/stdexec-0.11.0~git20261016-1.fc46.src.rpm
Description: std::execution, the standard C++ framework for asynchronous and parallel programming. A reference implementation of std::execution, the C++26 model for asynchronous and parallel programming.
Fedora Account System Username: junghans
taskID: https://koji.fedoraproject.org/koji/taskinfo?taskID=151524647

Comment 1 Christoph Junghans 2026-10-21 15:26:07 UTC
@fedora, can you take this?

Comment 2 Cristian Le 2026-10-21 16:40:39 UTC
Fail enough I did do a bit of investigation on that. Just a few quick comments before diving deep into this
- shouldn't the devel package be noarch in this case?
- ctest ran with no tests, so instead of "turn off tests to avoid pulling in bundled deps" we should actually try to work with `rapids-cmake` to get those (even if we go with the quick route of bundling) and have at least something that is tested
- please try to reduce the usage of `%{name}` especially when the name link is not guaranteed like in the `%files`. It does create friction when used in `URL` because it takes extra steps to get the source url to navigate just from the spec file
- `FetchContent` is used to fetch `rapids-cmake`, in that case please use the normal standard `FETCHCONTETN_SOURCE_DIR_...` [1] variable to set the path. It is also worth asking upstream to include a `FIND_PACKAGE_ARGS` in there so downstream can try to use a packaged version of `rapids-cmake` eventually

[1]: https://cmake.org/cmake/help/latest/module/FetchContent.html#variable:FETCHCONTENT_SOURCE_DIR_%3CuppercaseName%3E

Comment 3 Christoph Junghans 2026-10-21 18:22:05 UTC
(In reply to Cristian Le from comment #2)
> Fail enough I did do a bit of investigation on that. Just a few quick
> comments before diving deep into this
> - shouldn't the devel package be noarch in this case?
The cmake files get installed in %{_libdir}, which leads to different locations for x86_64 and i686. I didn't see a way to configure the install location via cmake and with cmake target files it is always tricky to predict if they will be the same for all archs.

> - ctest ran with no tests, so instead of "turn off tests to avoid pulling in
> bundled deps" we should actually try to work with `rapids-cmake` to get
> those (even if we go with the quick route of bundling) and have at least
> something that is tested
Right now, at least some examples get build and maybe we could run those instead of the full test suite.
Either ways, I will have a look at that or bundling the other 3 test deps.

> - please try to reduce the usage of `%{name}` especially when the name link
> is not guaranteed like in the `%files`. It does create friction when used in
> `URL` because it takes extra steps to get the source url to navigate just
> from the spec file
Done: https://junghans.fedorapeople.org/stdexec.spec

> - `FetchContent` is used to fetch `rapids-cmake`, in that case please use
> the normal standard `FETCHCONTETN_SOURCE_DIR_...` [1] variable to set the
> path. It is also worth asking upstream to include a `FIND_PACKAGE_ARGS` in
> there so downstream can try to use a packaged version of `rapids-cmake`
> eventually
`rapids-cmake` is bundled right now and cmake find it via `-Drapids-cmake-url=file://%{S:1}` as Source1 is rapid-cmake's branch-24.02.zip. We could unpack it and use FETCHCONTETN_SOURCE_DIR_...` if preferred.

Comment 4 Christoph Junghans 2026-10-22 03:44:32 UTC
Here is a version that bundled everything (still need to confirm License:)

Spec URL: https://junghans.fedorapeople.org/stdexec.spec
SRPM URL: https://junghans.fedorapeople.org/stdexec-0.11.0~git20261016-2.fc46.src.rpm
taskID: https://koji.fedoraproject.org/koji/taskinfo?taskID=151537935

Comment 5 Cristian Le 2026-10-22 08:32:31 UTC
Looks quite promissing. Another quick comments:

> The cmake files get installed in %{_libdir}, which leads to different locations for x86_64 and i686. I didn't see a way to configure the install location via cmake and with cmake target files it is always tricky to predict if they will be the same for all archs.

Hmm that seems to be an issue on rapids-cmake that it doesn't allow changing the installation to `CMAKE_INSTALL_DATADIR`. The move of the CMake files is a bit risky since the files have relative path calculations backed in them. It should work just because `${_libdir}` and `%{_datadir}` are siblings, but would be better to request a more proper support with upstream

> `rapids-cmake` is bundled right now and cmake find it via `-Drapids-cmake-url=file://%{S:1}` as Source1 is rapid-cmake's branch-24.02.zip. We could unpack it and use FETCHCONTETN_SOURCE_DIR_...` if preferred.

Mostly for consistency and finding these across all specs if there is a relevant CMake change

- I think you can use something like `%{_builddir}/%{topdir1}` to locate the sources more independently. Saw that during openmw review [1]
- Bundled parts should still be marked with the `Provides`
- The GIT_EXECUTABLE=/usr/bin/true is funky. Hope upstream is aware
- Splitting the CMake configure into %conf is generally recommended (we also have declarative build-system for CMake)
- Have you checked if STDEXEC_BUILD_MODULES would be possible? At the very least it does not seem to conflict with the traditional header installation
- Any plans for `STDEXEC_ENABLE_(ASIO|TASKFLOW|CUDA|TBB)`. Some of them are of course a no like CUDA, but don't have enough context for the others.
- Could you drop a hint to upstream about FeatureSummary [2]. It would make navigating the options much easier
- `STDEXEC_ENABLE_EXTRA_TYPE_CHECKING` would that be useful for the downstream consumer? They could have made that a genex so that it is easier to opt-in/out
- Various options that are disabled by default: `STDEXEC_ENABLE_NUMA`, `STDEXEC_BUILD_PARALLEL_SCHEDULER`, `STDEXEC_ENABLE_IO_URING` may be useful to consider. At least NUMA would be injected in the main target if enabled

Still need to do the license review after this

[1]: https://src.fedoraproject.org/rpms/openmw/blob/rawhide/f/openmw.spec
[2]: https://cmake.org/cmake/help/latest/module/FeatureSummary.html

Comment 6 Christoph Junghans 2026-10-22 13:41:25 UTC
(In reply to Cristian Le from comment #5)
> Looks quite promissing. Another quick comments:
> 
> > The cmake files get installed in %{_libdir}, which leads to different locations for x86_64 and i686. I didn't see a way to configure the install location via cmake and with cmake target files it is always tricky to predict if they will be the same for all archs.
> 
> Hmm that seems to be an issue on rapids-cmake that it doesn't allow changing
> the installation to `CMAKE_INSTALL_DATADIR`. The move of the CMake files is
> a bit risky since the files have relative path calculations backed in them.
> It should work just because `${_libdir}` and `%{_datadir}` are siblings, but
> would be better to request a more proper support with upstream
Reported upstream here: https://github.com/rapidsai/rapids-cmake/issues/1105

> 
> > `rapids-cmake` is bundled right now and cmake find it via `-Drapids-cmake-url=file://%{S:1}` as Source1 is rapid-cmake's branch-24.02.zip. We could unpack it and use FETCHCONTETN_SOURCE_DIR_...` if preferred.
> 
> Mostly for consistency and finding these across all specs if there is a
> relevant CMake change
> 
> - I think you can use something like `%{_builddir}/%{topdir1}` to locate the
> sources more independently. Saw that during openmw review [1]
Oh I didn't know feature, will use that.

> - Bundled parts should still be marked with the `Provides`
Even if do not install them at all? E.g. stdexec doesn't not install any Catch2 files.

> - The GIT_EXECUTABLE=/usr/bin/true is funky. Hope upstream is aware
This is mostly as I wanted to make sure git isn't called accidently somewhere.
We could use add git as a BuildRequirement.

> - Splitting the CMake configure into %conf is generally recommended (we also
> have declarative build-system for CMake)
Again, I just didn't know of that feature, so let me test that.

> - Have you checked if STDEXEC_BUILD_MODULES would be possible? At the very
> least it does not seem to conflict with the traditional header installation
> - Any plans for `STDEXEC_ENABLE_(ASIO|TASKFLOW|CUDA|TBB)`. Some of them are
> of course a no like CUDA, but don't have enough context for the others.
> - Could you drop a hint to upstream about FeatureSummary [2]. It would make
> navigating the options much easier
> - `STDEXEC_ENABLE_EXTRA_TYPE_CHECKING` would that be useful for the
> downstream consumer? They could have made that a genex so that it is easier
> to opt-in/out
> - Various options that are disabled by default: `STDEXEC_ENABLE_NUMA`,
> `STDEXEC_BUILD_PARALLEL_SCHEDULER`, `STDEXEC_ENABLE_IO_URING` may be useful
> to consider. At least NUMA would be injected in the main target if enabled
I didn't look into those as hpx doesn't require them. As the point of the package is to ultimately being merged into the compiler, I would rather wait to enable them until a consumer actually needs any of those features.

Comment 7 Cristian Le 2026-10-22 14:05:53 UTC
> > - Bundled parts should still be marked with the `Provides`
> Even if do not install them at all? E.g. stdexec doesn't not install any Catch2 files.

Yes, here is an example of catch2 even [1].

> > - The GIT_EXECUTABLE=/usr/bin/true is funky. Hope upstream is aware
> This is mostly as I wanted to make sure git isn't called accidently somewhere.
> We could use add git as a BuildRequirement.

Fair enough, but I don't expect git to be available in there without the BuildRequires. My main concern there is if upstream has accounted for git not being available during the build.

> I didn't look into those as hpx doesn't require them. As the point of the package is to ultimately being merged into the compiler, I would rather wait to enable them until a consumer actually needs any of those features.

Sure, just worth considering from what I could read on those options.

As for the license review, there is only `include/exec/detail/xorshift.hpp` which seems to be `Apache-2.0 AND MIT` to my reading.

And I forgot to add last time that the general snapshot versioning format starts with the snapshot date. The `~git...` is a bit weird because it can read like the latter part is the short sha. There is not a very strict guideline for this [2], but the snapshot date first is the most common. 

[1]: https://src.fedoraproject.org/rpms/mfem/blob/rawhide/f/mfem.spec
[2]: https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_snapshots

Comment 9 Fedora Review Service 2026-10-23 19:19:17 UTC
There seems to be some problem with the following file.
SRPM URL: https://junghans.fedorapeople.org/stdexec-0.11.0~git20261016-1.fc46.src.rpm
Fetching it results in a 404 Not Found error.
Please make sure the URL is correct and publicly available.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 10 Fedora Review Service 2026-10-24 00:44:47 UTC
There seems to be some problem with the following file.
SRPM URL: https://junghans.fedorapeople.org/stdexec-0.11.0~git20261016-2.fc46.src.rpm
Fetching it results in a 404 Not Found error.
Please make sure the URL is correct and publicly available.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 11 Christoph Junghans 2026-10-27 15:19:59 UTC
ping @fedora , I also changed the version to the format <scm><date>.<revision> .

Comment 12 Cristian Le 2026-10-27 15:34:05 UTC
Thanks for the ping, as usual it slipped my attention. It all lgtm last I checked, but I want to at least run it through fedora-review one more time. But the SRPM is 404-ing. Can you re-upload these?

Comment 14 Cristian Le 2026-10-29 15:31:13 UTC
Just a few small issues, but you can fix them on import:
- Can you add a more descriptive summary?
- Isn't the license of the `devel` much more reduced? You can also use the `SourceLicense/License` format
- Should the version be pre or post suffix? Will there be a definite stdexec-0.11 version that matches https://raw.githubusercontent.com/cplusplus/sender-receiver/main/execution.bs? Just make sure you pick an appropriate one to avoid future surprises if any

---

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

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



===== 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]: 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", "MIT License", "*No copyright* Boost
     Software License 1.0", "Boost Software License 1.0", "BSD 3-Clause
     License", "*No copyright* Apache License 2.0", "*No copyright* Boost
     Software License", "Apache License 2.0", "*No copyright* GNU General
     Public License, Version 3", "Apache License 2.0 and/or MIT License".
     576 files have unknown license. Detailed output of licensecheck in
     /home/lecris/FedoraRPMs/2558317-stdexec/licensecheck.txt
[x]: If the package is under multiple licenses, the licensing breakdown
     must be documented in the spec.
[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
[-]: 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.
[?]: 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.
[-]: 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.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 11309 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]: 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).
[?]: Package functions as described.
[!]: Latest version is packaged. (upstream does not do clear releases)
[x]: 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]: 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]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: stdexec-devel-0.11.0~git20261016.34fa9471-3.fc46.noarch.rpm
          stdexec-0.11.0~git20261016.34fa9471-3.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/tmpsf9vblqt')]
checks: 32, packages: 2

stdexec.spec:43: W: unversioned-explicit-provides %{commit5}
stdexec.spec:43: W: unversioned-explicit-provides 1
stdexec.spec:43: W: unversioned-explicit-provides 8}
stdexec.src: W: summary-not-capitalized std::execution
 2 packages and 0 specfiles checked; 0 errors, 4 warnings, 7 filtered, 0 badness; has taken 0.3 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.0 s 



Source checksums
----------------
https://github.com/NVIDIA/stdexec/archive/34fa94719f97f49a553811423fa1200172f22a0e/stdexec-34fa94719f97f49a553811423fa1200172f22a0e.tar.gz :
  CHECKSUM(SHA256) this package     : 4aa212c32c351b1e6cf9e14e5632134c8ae6f5c370654eea309bf80adbe41893
  CHECKSUM(SHA256) upstream package : 4aa212c32c351b1e6cf9e14e5632134c8ae6f5c370654eea309bf80adbe41893
https://github.com/rapidsai/rapids-cmake/archive/v24.02.00/rapids-cmake-24.02.00.tar.gz :
  CHECKSUM(SHA256) this package     : 5cd5570b07e36727e19a02cd01f08cb1aef46faa96bef17a2d69556b7c2483fd
  CHECKSUM(SHA256) upstream package : 5cd5570b07e36727e19a02cd01f08cb1aef46faa96bef17a2d69556b7c2483fd
https://github.com/cpm-cmake/CPM.cmake/archive/v0.38.5/CPM.cmake-0.38.5.tar.gz :
  CHECKSUM(SHA256) this package     : 2928670f7642db75961340284599f0d960abe268672e5cee2ba46912588df5d9
  CHECKSUM(SHA256) upstream package : 2928670f7642db75961340284599f0d960abe268672e5cee2ba46912588df5d9
https://github.com/catchorg/Catch2/archive/v3.14.0/Catch2-3.14.0.tar.gz :
  CHECKSUM(SHA256) this package     : ba2a939efead3c833c499cf487e185762f419a71d30158cd1b43c6079c586490
  CHECKSUM(SHA256) upstream package : ba2a939efead3c833c499cf487e185762f419a71d30158cd1b43c6079c586490
https://github.com/iboB/icm/archive/v1.5.0/icm-1.5.0.tar.gz :
  CHECKSUM(SHA256) this package     : fcfbc97ddccafb8d8367d3fb25270baef157ea84f60cedf293eada905f614eef
  CHECKSUM(SHA256) upstream package : fcfbc97ddccafb8d8367d3fb25270baef157ea84f60cedf293eada905f614eef
https://github.com/dvyukov/relacy/archive/2c87447b56b90cbccb5129c93a4e82eda5e7868e/relacy-2c87447b56b90cbccb5129c93a4e82eda5e7868e.tar.gz :
  CHECKSUM(SHA256) this package     : 79470cc4fc8edd7a551f38d3be171bc40cf3e6e98dd7fafaab1f22c646bf8fa9
  CHECKSUM(SHA256) upstream package : 79470cc4fc8edd7a551f38d3be171bc40cf3e6e98dd7fafaab1f22c646bf8fa9


Requires
--------
stdexec-devel (rpmlib, GLIBC filtered):
    cmake-filesystem



Provides
--------
stdexec-devel:
    cmake(stdexec)
    stdexec-devel
    stdexec-static



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

Comment 15 Christoph Junghans 2026-10-29 20:34:24 UTC
(In reply to Cristian Le from comment #14)
> Just a few small issues, but you can fix them on import:
> - Can you add a more descriptive summary?
Done

> - Isn't the license of the `devel` much more reduced? You can also use the
> `SourceLicense/License` format
I didn't know about SourceLicense, but done.

> - Should the version be pre or post suffix? Will there be a definite
> stdexec-0.11 version that matches
> https://raw.githubusercontent.com/cplusplus/sender-receiver/main/execution.
> bs? Just make sure you pick an appropriate one to avoid future surprises if
> any
I took 0.11.0 from their cmake and it is used in the spack package manager as well. It is also used in `stdexec_version_config.hpp`.

Spec URL: https://junghans.fedorapeople.org/stdexec.spec
SRPM URL: https://junghans.fedorapeople.org/stdexec-0.11.0~git20261016.34fa9471-4.fc46.src.rpm
taskID: https://koji.fedoraproject.org/koji/taskinfo?taskID=151789553

Comment 16 Fedora Admin user for bugzilla script actions 2026-10-29 20:39:10 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/stdexec
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`