makepkg: suffix `$SRCDEST` with `$pkgbase`
It would be nice to have some way to have the sources put into `$SRCDEST/<pkgbase>` instead of directly into `$SRCDEST`, so that possible clashes between the sources of multiple packages doesn't...
View ArticleSandboxed dirs seem to interfere with download resumption
Now that pacman downloads partial files into `download-*/` subdirectories, due to the subdirectory name being randomized it is no longer able to resume an interrupted download. For example, Ctrl-C'ing...
View ArticleFeature Request: Add an option to install package as dependency
Don't know if it's out of scope or not planned, but how about an option to install a package from the repos as a dependency of another package, instead of using `--asdeps` which would make it orphaned....
View ArticleFeature Request: Use copy-on-write when installing packages on btrfs filesystems
I build lots of Arch Linux images with [mkosi](https://github.com/mkosi/mkosi) and these images take longer to build and take up more space than I'd like them to. Both could be avoided if pacman was...
View ArticleMake dependency loop warning a --debug message
This message is of little use to the end-user. It is of interest to the packager only.
View Articlemakepkg: Support verifying SSH signatures
SSH signatures seem to be becoming more popular; I've seen them on Git tags. However, makepkg cannot verify them yet. This should be orthogonal to https://gitlab.archlinux.org/pacman/pacman/-/issues/67.
View Articlepacman: DownloadUser config value makes --cachedir argument unusable.
``` [slawomir@HP-archlinux-slawomir ~]$ LC_ALL=C sudo pacman -Syw linux --noconfirm --cachedir $(pwd)/airootfs/root/package :: Synchronizing package databases... core is up to date extra is up to date...
View Article_alpm_temporary_download_dir_setup does not log errors.
While finally updating some personal software utilizing libalpm to a current version of the library, I just got bitten by the fact that `_alpm_temporary_download_dir_setup` does check errors of...
View ArticleRecord exact commit for VCS sources in .SRCINFO
I wanted to discuss a feature request that I thought could be a small but possibly useful addition: With the previously merged feature of VCS checksumming one can now nicely use tags and checksums in...
View ArticleSRCINFO: Architecture overwrites in split packages may be less a superset of...
Hi! While investigating the possible valid input of PKGBUILD files, I stumbled over a missing lint in the SRCINFO generation. Right now, it's possible to have an `arch=(x86_64)` in a pkgbuild and an...
View Articlemakepkg: `tidy/purge.sh` should be sourced before `tidy/emptydirs.sh`
`tidy.sh` sources the tidy scripts in alphabetic order, in particular `emptydirs.sh` is sourced before `purge.sh`. This makes `options=(!emptydirs)` not work for dirs that become empty after purging....
View ArticleSandbox breaks libfakeroot
Running pacman with `libfakeroot.so` loaded into the environment via `LD_PRELOAD` now causes package add, but not remove, transactions to fail. An invocation with --disable-sandbox does not rectify...
View Articlepacman -Rs should not remove still “required” optional dependencies
Summary and Info: If two packages A and B are installed (whichever way) and package C is installed `--asdeps`, where package A `depends` on package C and package B `optdepends` on package C. If package...
View ArticleMake provides=(pkg) mean provides=(pkg=$pkgver) by default
Versioned dependencies are useless if the package providing them doesn't declare itself as `provides=(PKG=VERSION)` -- `pacman` doesn't know what version to read `provides=(PKG)` as implying and gives...
View ArticleFeature Request: Alternatives system à la Debian
It's been talked about many times in the past. We currently don't have a ticket to keep track of related issues/progress/comments, etc. The closest I can find is:...
View Articlemakepkg fails if makepkg.conf.d is empty
https://gitlab.archlinux.org/pacman/pacman/-/commit/71764b6d4cdee1f74cfc603050ced59009950169 introduced the /etc/makepkg.conf.d directory and the rust.conf and fortran.conf drop-in files. These files...
View Articlemakepkg.conf: Man pages not compressed under /opt due to non expanded pathname
# Description: When installing a package containing man pages under `/opt`, these pages are not compressed even though the `zipman` option is enabled. This is because the `opt/*/man` "path" in...
View Articlemakepkg should allow running syncdeps only as root
Essentially, it's not possible to run `sudo -u nobody makepkg --syncdeps` because `nobody` (should not) have access to `sudo`, but it's also not possible to run `makepkg --syncdeps` directly as root...
View ArticleLint OPTIONS and BUILDENV from makepkg.conf
We currently lint the `options` array within the PKGBUILD, but the corresponding arrays in makepkg.conf can contain gibberish.
View Articlepacman -S --clean should clean these too /var/cache/pacman/pkg/download-6zOQbOr
* pacman 7.0.0 When doing `pacman -Scc` there's often these remnants: ``` error: could not remove /var/cache/pacman/pkg/download-6zOQbO: Is a directory error: could not remove...
View Article