Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#66124 - [pacman] --packagelist option outputs wrong file extension

Attached to Project: Arch Linux
Opened by Vincent D (wahrwolf) - Sunday, 05 April 2020, 08:49 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 11 April 2020, 15:11 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


makepkg has an option (--packagelist) that should get the final filename when building packages.
Currently it does output a filename with the old extension (.pkg.tar.xz) instead of the new one (.pkg.tar.zst)

Steps to reproduce:
- use any valid PKGBUILD
- package=$(makepkg --packagelist)
- makepkg
- file $package: cannot open '....'
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 11 April 2020, 15:11 GMT
Reason for closing:  No response
Comment by Dave Reisner (falconindy) - Sunday, 05 April 2020, 12:40 GMT
There's no "old" and "new" extension -- it's taken from whatever you have in /etc/makepkg.conf.

Can you post actual errors instead of paraphrasing? I can't see how this would fail given the above.
Comment by Eli Schwartz (eschwartz) - Monday, 06 April 2020, 15:54 GMT
Maybe if you run makechrootpkg, rather than the "makepkg" claimed in the description... the core/pacman config differs from the extra/devtools config. That point was previously raised in  FS#64995 , in fact.