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#43470 - [makepkg] --source removes valid additional .install files

Attached to Project: Pacman
Opened by (Det) - Friday, 16 January 2015, 11:18 GMT
Task Type Bug Report
Category makepkg
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.2.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Summary and Info:

When running "makepkg --source" on a split package with two or more .install files, the source package leaves just one.

Steps to Reproduce:

1. Download nvidia-full-beta: https://aur.archlinux.org/packages/nvidia-full-beta/
2. Run "makepkg --source"
3. Observe how the .src.tar.gz has removed 'nvidia-utils-full-beta.install'.
This task depends upon

Comment by Allan McRae (Allan) - Friday, 16 January 2015, 11:26 GMT
Using install=$pkgname.install has never worked in a split package.
Comment by (Det) - Friday, 16 January 2015, 11:36 GMT
Apparently, you already opened a bug about that over two years ago (FS#31553), but the .install is actually added to the .pkg.tar.xz just fine.

Only with --source it doesn't work.
Comment by Eli Schwartz (eschwartz) - Monday, 25 September 2017, 15:51 GMT
This is not feasible to fix for --source as there is no way to evaluate install=$var in the context of the split package, without actually running the package_*() function. During normal packaging, this is a complete and utter hack due to the fact that the pkgname variable itself is set as part of run_split_packaging() before `cp "$startdir/$install" "$pkgdir/.INSTALL"` (see https://git.archlinux.org/pacman.git/tree/scripts/makepkg.sh.in?h=v5.0.2#n1211 ) but it should not be relied upon.

This bug should be closed as wontfix.
Comment by (Det) - Monday, 25 September 2017, 15:57 GMT
This almost 3 years old bug is super secondary now that AUR has moved to Git. At this point, not sure why --source is needed at all.

Loading...