Closed
Bug 1966411
Opened 1 year ago
Closed 1 year ago
Flatpak repacking failing due to `KeyError: 'PKG_NAME'`
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(firefox-esr128 unaffected, firefox138 unaffected, firefox139 unaffected, firefox140 fixed)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox-esr128 | --- | unaffected |
| firefox138 | --- | unaffected |
| firefox139 | --- | unaffected |
| firefox140 | --- | fixed |
People
(Reporter: eijebong, Assigned: eijebong)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
1950511 renamed all DEB_PKG_NAME to PKG_NAME, dropping the DEB_ prefix but forgot one in python/mozbuild/mozbuild/repackaging/flatpak.py
[task 2025-05-14T14:09:52.051Z] 14:09:52 INFO - KeyError: 'PKG_NAME'
[task 2025-05-14T14:09:52.052Z] 14:09:52 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/mach_commands.py", line 3743, in repackage_flatpak
[task 2025-05-14T14:09:52.052Z] 14:09:52 INFO - repackage_flatpak(
[task 2025-05-14T14:09:52.052Z] 14:09:52 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/repackaging/flatpak.py", line 166, in repackage_flatpak
[task 2025-05-14T14:09:52.052Z] 14:09:52 INFO - desktop = generate_browser_desktop_entry(
[task 2025-05-14T14:09:52.052Z] 14:09:52 INFO - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2025-05-14T14:09:52.052Z] 14:09:52 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/repackaging/desktop_file.py", line 53, in generate_browser_desktop_entry
[task 2025-05-14T14:09:52.052Z] 14:09:52 INFO - return _generate_browser_desktop_entry(build_variables, localizations)
[task 2025-05-14T14:09:52.052Z] 14:09:52 INFO - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2025-05-14T14:09:52.052Z] 14:09:52 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/repackaging/desktop_file.py", line 213, in _generate_browser_desktop_entry
[task 2025-05-14T14:09:52.052Z] 14:09:52 INFO - "command": f"{build_variables['PKG_NAME']} --new-window %u",
[task 2025-05-14T14:09:52.052Z] 14:09:52 INFO - ~~~~~~~~~~~~~~~^^^^^^^^^^^^
[task 2025-05-14T14:09:52.100Z] 14:09:52 INFO - Return code: 1
| Assignee | ||
Comment 1•1 year ago
|
||
This fixes a regression from 1950511 which dropped the DEB_ prefix
everywhere except for this instance.
Updated•1 year ago
|
Assignee: nobody → borivel
Status: NEW → ASSIGNED
Comment 2•1 year ago
|
||
Set release status flags based on info from the regressing bug 1950511
status-firefox138:
--- → unaffected
status-firefox139:
--- → unaffected
status-firefox140:
--- → affected
status-firefox-esr128:
--- → unaffected
Pushed by borivel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/23bfe41d12f0
Drop the `DEB_` prefix in flatpak repackaging variables. r=releng-reviewers,jcristau DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•