FS#64749 - Incorrect PKGEXT suffix list in makepkg.conf.5

Attached to Project: Pacman
Opened by Johannes Ernst (jernst) - Friday, 06 December 2019, 01:45 GMT
Last edited by Allan McRae (Allan) - Sunday, 18 December 2022, 23:57 GMT
Task Type Bug Report
Category Documentation
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 5.2.1
Due in Version 6.1.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

It says:

PKGEXT=".pkg.tar.gz", SRCEXT=".src.tar.gz"

Sets the compression used when making compiled or source packages. Valid suffixes are .tar.gz, .tar.bz2, .tar.xz, .tar.zst, .tar.lzo, .tar.lrz, .tar.lz4, .tar.lz and .tar.Z, or simply .tar to disable compression entirely.

However, .tar is not valid. .pkg.tar would be valid. So it appears that all of those listed here need to be prefixed by .pkg
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 18 December 2022, 23:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit a19419736916932f8d0017bb661892442a09158d
Comment by Eli Schwartz (eschwartz) - Friday, 06 December 2019, 01:54 GMT
  • Field changed: Attached to Project (Arch Linux → Pacman)
  • Field changed: Category (Packages: Extra → Documentation)
Not really an issue with the packaging, we have a separate project for this.
Comment by Eli Schwartz (eschwartz) - Friday, 06 December 2019, 01:57 GMT
IMO the documentation is correct as is:

Note that the suffix applies to both bases: .pkg and .src

And the suffix can be: .tar.gz, .tar.bz2, .tar.xz, .tar.zst, .tar.lzo, .tar.lrz, .tar.lz4, .tar.lz, .tar.Z, .tar
Comment by Eli Schwartz (eschwartz) - Friday, 06 December 2019, 01:58 GMT
e.g., this would not be valid as a SRCEXT:

.src.pkg.tar.gz
Comment by Allan McRae (Allan) - Friday, 06 December 2019, 02:02 GMT
Would this clarify?

Valid suffixes are {pkg,src}.tar.gz, .tar.bz2, .tar.xz, ...

Loading...