Bug 2566940 - Review Request: venus-protocol - Required to build mesa 26.3.0
Summary: Review Request: venus-protocol - Required to build mesa 26.3.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anusha Srivatsa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-04 14:05 UTC by José Expósito
Modified: 2026-11-15 02:04 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-11-06 16:31:09 UTC
Type: ---
Embargoed:
asrivats: fedora-review+


Attachments (Terms of Use)

Description José Expósito 2026-11-04 14:05:32 UTC
Spec URL: https://jexposit.fedorapeople.org/new-packages/venus-protocol/venus-protocol.spec
SRPM URL: https://jexposit.fedorapeople.org/new-packages/venus-protocol/venus-protocol-1.1.3-1.fc44.src.rpm
rpmlintrc: https://jexposit.fedorapeople.org/new-packages/venus-protocol/venus-protocol.rpmlintrc
Description: Venus protocol defines the Vulkan protocol used by the Venus Vulkan driver for VirtIO GPU.
Fedora Account System Username:jexposit

Comment 1 José Expósito 2026-11-04 15:18:21 UTC
Hey @asrivats, can you have a look to this package? 

https://docs.fedoraproject.org/en-US/packaging-guidelines/ReviewGuidelines/

At some point, the "Fedora Review Service" bot should post additional information :)

Comment 2 Anusha Srivatsa 2026-11-04 21:03:01 UTC
@jexpo(In reply to José Expósito from comment #1)
> Hey @asrivats, can you have a look to this package? 
> 
> https://docs.fedoraproject.org/en-US/packaging-guidelines/ReviewGuidelines/
> 
> At some point, the "Fedora Review Service" bot should post additional
> information :)

Hey! yes took a look at this.

- Built the source RPM in mock (mock -r fedora-44-x86_64 venus-protocol-1.1.3-1.fc44.src.rpm) — builds successfully
- Ran rpmlint on source and binary RPMs
- Verified source tarball matches upstream Source0 URL
- Inspected the spec file
- Checked installed file list from the built RPM
- Verified license headers in source files against the License field in the spec
- Checked for bundled libraries
- Inspected the pkgconfig file contents

What looks good (MUST items — all pass)

- Naming: Package name and spec filename follow guidelines
- License: MIT AND (Apache-2.0 OR MIT) is accurate. The project's own files (meson.build, generated protocol headers) are MIT. Bundled Vulkan headers used at build time carry Apache-2.0 OR MIT SPDX identifiers
- No bundling issue: Source includes Vulkan headers under include/vulkan/ and include/vk_video/, but these are only used at build time for code generation. The built RPM only installs venus-protocol-specific headers under /usr/include/venus-protocol/ — no overlap with vulkan-headers
- Builds successfully: Compiles and produces binary RPMs on x86_64
- BuildRequires: All build dependencies are listed (gcc, git-core, meson >= 0.54.0, python3-mako). meson.build has no external dependency() or find_program() calls beyond these
- No ExcludeArch: No architectures excluded, none needed
- File ownership: All files under /usr/include/venus-protocol/ (owned by this package), pkgconfig file under /usr/lib64/pkgconfig/
- No .la files, no duplicate files
- debug_package %{nil}: Correctly set since no compiled binaries are produced
- %check: Runs %meson_test
- Spec legibility: Clean, uses macros consistently (%autorelease, %autochangelog, %meson, %autosetup)
- Summary and description: Written in American English, clear and useful
- pkgconfig file in -devel: Correct placement
- Provides %{name}-static: Appropriate for a headers-only package

One minor issue I noticed is the spelling error for rpmlint output

venus-protocol.src: E: spelling-error ('virglrenderer', '%description -l en_US virglrenderer -> philanderer')
venus-protocol-devel.x86_64: E: spelling-error ('virglrenderer', '%description -l en_US virglrenderer -> philanderer')
2 packages and 0 specfiles checked; 2 errors, 0 warnings

These are false positives — "virglrenderer" is the name of an upstream project.

Can this can be suppressed? 


What needs to change

SHOULD — Add BuildArch: noarch

The package only installs header files and a pkgconfig file. The .pc file contains no arch-specific paths:

prefix=/usr
includedir=${prefix}/include
Name: venus-protocol
Description: Venus Vulkan protocol
Version: 1.1.3
Cflags: -I${includedir}/venus-protocol

The package can have BuildArch: noarch and install the .pc file under %{_datadir}/pkgconfig/ instead of %{_libdir}/pkgconfig/.

SHOULD — Add a LICENSE file

From the Review list: "MUST: 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 must be included in %license" 

The source does not include a standalone license text file. License information is only present as SPDX headers in individual source files. Per the guidelines, the %license directive is only required when such a file exists, so this is not a blocker, however, the review doc says:

"SHOULD: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. See Licensing Guidelines: :https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text

Comment 3 José Expósito 2026-11-05 10:09:22 UTC
Hi Anusha, 

Thanks a lot for your review!

> These are false positives — "virglrenderer" is the name of an upstream project.
>
> Can this can be suppressed? 

Yes, I added a `venus-protocol.rpmlintrc` file suppressing this warning:
https://jexposit.fedorapeople.org/new-packages/venus-protocol/venus-protocol.rpmlintrc

To test it, I ran:

```
$ rpmbuild -bs --define "_sourcedir $(pwd)" --define "_srcrpmdir $(pwd)" venus-protocol.spec
$ mock -r fedora-44-x86_64 --rebuild venus-protocol-*.src.rpm
$ rpmlint -r venus-protocol.rpmlintrc venus-protocol.spec venus-protocol-*.src.rpm /var/lib/mock/fedora-44-x86_64/result/*.rpm
```

And it build/lints cleanly.

> SHOULD — Add BuildArch: noarch

True! I changed the package to be noarch.

> The package can have BuildArch: noarch and install the .pc file under %{_datadir}/pkgconfig/ instead of %{_libdir}/pkgconfig/.

Also moved the .pc file to `%{_datadir}`:

```
%install
%meson_install

# Move the .pc file to /usr/share/pkgconfig/, which is arch-independent and the
# correct path for a header-only package
mkdir -p %{buildroot}%{_datadir}/pkgconfig
mv %{buildroot}%{_libdir}/pkgconfig/%{name}.pc %{buildroot}%{_datadir}/pkgconfig/
```

> From the Review list: "MUST: 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 must be included in %license" 

I opened a ticket here:
https://gitlab.freedesktop.org/virgl/venus-protocol/-/work_items/16

This is not a blocker, but once the license is available upstream we can add it.

Comment 4 Anusha Srivatsa 2026-11-05 21:49:26 UTC
(In reply to José Expósito from comment #3)
> Hi Anusha, 
> 
> Thanks a lot for your review!
> 
> > These are false positives — "virglrenderer" is the name of an upstream project.
> >
> > Can this can be suppressed? 
> 
> Yes, I added a `venus-protocol.rpmlintrc` file suppressing this warning:
> https://jexposit.fedorapeople.org/new-packages/venus-protocol/venus-protocol.
> rpmlintrc
> 
> To test it, I ran:
> 
> ```
> $ rpmbuild -bs --define "_sourcedir $(pwd)" --define "_srcrpmdir $(pwd)"
> venus-protocol.spec
> $ mock -r fedora-44-x86_64 --rebuild venus-protocol-*.src.rpm
> $ rpmlint -r venus-protocol.rpmlintrc venus-protocol.spec
> venus-protocol-*.src.rpm /var/lib/mock/fedora-44-x86_64/result/*.rpm
> ```
> 
> And it build/lints cleanly.
> 
> > SHOULD — Add BuildArch: noarch
> 
> True! I changed the package to be noarch.
> 
> > The package can have BuildArch: noarch and install the .pc file under %{_datadir}/pkgconfig/ instead of %{_libdir}/pkgconfig/.
> 
> Also moved the .pc file to `%{_datadir}`:
> 
> ```
> %install
> %meson_install
> 
> # Move the .pc file to /usr/share/pkgconfig/, which is arch-independent and
> the
> # correct path for a header-only package
> mkdir -p %{buildroot}%{_datadir}/pkgconfig
> mv %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
> %{buildroot}%{_datadir}/pkgconfig/
> ```
> 
> > From the Review list: "MUST: 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 must be included in %license" 
> 
> I opened a ticket here:
> https://gitlab.freedesktop.org/virgl/venus-protocol/-/work_items/16
> 
> This is not a blocker, but once the license is available upstream we can add
> it.

Perfect. Thanks for the updates.
With the changes above, everything looks good.


Approved!

Comment 5 José Expósito 2026-11-06 08:48:35 UTC
Thanks Anusha! Adding the "fedora-review +" myself, as the review process is completed

Comment 6 José Expósito 2026-11-06 08:59:30 UTC
Repository requested:
https://forge.fedoraproject.org/releng/fedora-scm-requests/issues/1761

Comment 7 Fedora Admin user for bugzilla script actions 2026-11-06 15:53:39 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/venus-protocol
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`

Comment 8 Fedora Update System 2026-11-06 16:29:05 UTC
FEDORA-2026-891281c13f (venus-protocol-1.1.3-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-891281c13f

Comment 9 José Expósito 2026-11-06 16:31:09 UTC
Closing, the package is available on Rawhide.

Comment 10 Fedora Update System 2026-11-07 02:32:11 UTC
FEDORA-2026-6f0ca87de7 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-6f0ca87de7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-6f0ca87de7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2026-11-07 02:53:32 UTC
FEDORA-2026-891281c13f has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-891281c13f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-891281c13f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2026-11-15 01:00:17 UTC
FEDORA-2026-6f0ca87de7 (venus-protocol-1.1.3-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2026-11-15 02:04:28 UTC
FEDORA-2026-891281c13f (venus-protocol-1.1.3-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.


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