Bug 2452918 - %__R_name btoken on EPEL 10
Summary: %__R_name btoken on EPEL 10
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: R-rpm-macros
Version: epel10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-03-29 23:22 UTC by Mattias Ellert
Modified: 2026-04-01 00:49 UTC (History)
3 users (show)

Fixed In Version: R-rpm-macros-1.3.7-1.el10_3 R-rpm-macros-1.3.7-1.el10_2 R-rpm-macros-1.3.7-1.el10_1
Clone Of:
Environment:
Last Closed: 2026-04-01 00:25:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rpm-software-management R-rpm-macros pull 23 0 None open Fix broken %__R_name on EPEL 10 2026-03-29 23:22:03 UTC

Description Mattias Ellert 2026-03-29 23:22:04 UTC
Description of problem:

$ rpm -D "name R-abc" -E "%__R_name"
abc

But on EPEL 10 it fails:

$ rpm -D "name R-abc" -E "%__R_name"
error: lua script failed: [string "gsub"]:1: bad argument #3 to 'gsub' (string/function/table expected, got no value)

This leads to build failures like:

Start: build phase for R-littler-0.3.21-4.el10_3.src.rpm Start: build setup for R-littler-0.3.21-4.el10_3.src.rpm error: lua script failed: [string "gsub"]:1: bad argument #3 to 'gsub' (string/function/table expected, got no value)
6< (%gsub)
5< (%gsub)
4< (%r_gsub)
3< (%__R_name)
error: lua script failed: [string "__R_urls"]:4: error expanding macro
2< (%lua)
1< (%__R_urls)
0< (%cran_url)
URL:

Version-Release number of selected component (if applicable):

R-rpm-macros-1.3.6-1.el10_1
R-rpm-macros-1.3.6-1.el10_2
R-rpm-macros-1.3.6-1.el10_3

How reproducible:

Always

Steps to Reproduce:
1. See above

Actual results:

Errors

Expected results:

No errors

Additional info:

Comment 1 Fedora Update System 2026-03-30 15:16:16 UTC
FEDORA-EPEL-2026-9a7a61ed12 (R-rpm-macros-1.3.7-1.el10_3) has been submitted as an update to Fedora EPEL 10.3.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-9a7a61ed12

Comment 2 Fedora Update System 2026-03-30 15:16:22 UTC
FEDORA-EPEL-2026-1d0e382b4e (R-rpm-macros-1.3.7-1.el10_1) has been submitted as an update to Fedora EPEL 10.1.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-1d0e382b4e

Comment 3 Fedora Update System 2026-03-30 15:16:27 UTC
FEDORA-EPEL-2026-a76f9f932f (R-rpm-macros-1.3.7-1.el10_2) has been submitted as an update to Fedora EPEL 10.2.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-a76f9f932f

Comment 4 Fedora Update System 2026-03-31 02:04:38 UTC
FEDORA-EPEL-2026-a76f9f932f has been pushed to the Fedora EPEL 10.2 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-a76f9f932f

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

Comment 5 Fedora Update System 2026-03-31 02:08:25 UTC
FEDORA-EPEL-2026-9a7a61ed12 has been pushed to the Fedora EPEL 10.3 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-9a7a61ed12

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

Comment 6 Fedora Update System 2026-03-31 02:10:26 UTC
FEDORA-EPEL-2026-1d0e382b4e has been pushed to the Fedora EPEL 10.1 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-1d0e382b4e

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

Comment 7 Fedora Update System 2026-04-01 00:25:59 UTC
FEDORA-EPEL-2026-9a7a61ed12 (R-rpm-macros-1.3.7-1.el10_3) has been pushed to the Fedora EPEL 10.3 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-04-01 00:36:17 UTC
FEDORA-EPEL-2026-a76f9f932f (R-rpm-macros-1.3.7-1.el10_2) has been pushed to the Fedora EPEL 10.2 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2026-04-01 00:49:37 UTC
FEDORA-EPEL-2026-1d0e382b4e (R-rpm-macros-1.3.7-1.el10_1) has been pushed to the Fedora EPEL 10.1 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.