Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#58768 - Makepkg packagelist reports PKGEXT

Attached to Project: Pacman
Opened by Bert Peters (bertptrs) - Tuesday, 29 May 2018, 07:21 GMT
Last edited by Allan McRae (Allan) - Tuesday, 19 June 2018, 10:32 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To Eli Schwartz (eschwartz)
Architecture All
Severity Low
Priority Normal
Reported Version 5.1.0
Due in Version 5.1.1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

makepkg --packagelist is docmented to not include PKGEXT, but starting pacman 5.1.0 it does.

Additional info:
* Affects pacman 5.1
* $XDG_CONFIG_HOME/.config/pacman/makepkg.conf is included, but as far as I can see not relevant. System wide config is vanilla.


Steps to reproduce:
* Check out any package. I noticed the bug with https://aur.archlinux.org/packages/selenium-server-standalone
* Run makepkg --packagelist. Expected output:

$(pwd)/selenium-server-standalone-3.12.0-1-any

Actual output:
$(pwd)/selenium-server-standalone-3.12.0-1-any.pkg.tar.xz
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 19 June 2018, 10:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit 3a66b93b
Comment by Allan McRae (Allan) - Tuesday, 29 May 2018, 08:11 GMT
Seems documented to include PKGEXT to me...

--packagelist
List the package filenames that would be produced without building.
Listed package filenames include PKGDEST and PKGEXT.
Comment by Bert Peters (bertptrs) - Tuesday, 29 May 2018, 08:43 GMT
The --help option shows it explicitly without PKGEXT. See below.

$ makepkg --help
makepkg (pacman) 5.1.0

Make packages compatible for use with pacman

Usage: /usr/bin/makepkg [options]

Options:
-A, --ignorearch Ignore incomplete arch field in PKGBUILD
-c, --clean Clean up work files after build
-C, --cleanbuild Remove $srcdir/ dir before building the package
-d, --nodeps Skip all dependency checks
-e, --noextract Do not extract source files (use existing $srcdir/ dir)
-f, --force Overwrite existing package
-g, --geninteg Generate integrity checks for source files
-h, --help Show this help message and exit
-i, --install Install package after successful build
-L, --log Log package build process
-m, --nocolor Disable colourised output messages
-o, --nobuild Download and extract files only
-p <file> Use an alternate build script (instead of 'PKGBUILD')
-r, --rmdeps Remove installed dependencies after a successful build
-R, --repackage Repackage contents of the package without rebuilding
-s, --syncdeps Install missing dependencies with pacman
-S, --source Generate a source-only tarball without downloaded sources
-V, --version Show version information and exit
--allsource Generate a source-only tarball including downloaded sources
--check Run the check() function in the PKGBUILD
--config <file> Use an alternate config file (instead of '/etc/makepkg.conf')
--holdver Do not update VCS sources
--key <key> Specify a key to use for gpg signing instead of the default
--noarchive Do not create package archive
--nocheck Do not run the check() function in the PKGBUILD
--noprepare Do not run the prepare() function in the PKGBUILD
--nosign Do not create a signature for the package
--packagelist Only list packages that would be produced, without PKGEXT
--printsrcinfo Print the generated SRCINFO and exit
--sign Sign the resulting package with gpg
--skipchecksums Do not verify checksums of the source files
--skipinteg Do not perform any verification checks on source files
--skippgpcheck Do not verify source files with PGP signatures
--verifysource Download source files (if needed) and perform integrity checks
Comment by Allan McRae (Allan) - Tuesday, 29 May 2018, 08:50 GMT
Ah - the man page was updated but not the --help output. Thanks.
Comment by Eli Schwartz (eschwartz) - Tuesday, 29 May 2018, 17:06 GMT

Loading...