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#44472 - 'makepkg -i' can't deal with PKGBUILD includes both arch type packages

Attached to Project: Pacman
Opened by Ceridoca (Cravix) - Sunday, 05 April 2015, 11:23 GMT
Last edited by Andrew Gregory (andrewgregory) - Sunday, 05 April 2015, 16:41 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.2.1
Due in Version 4.2.2
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When PKGBUILD includes both 'i686'/'x86_64' and 'any' architecture pacakges, it builds just fine,
but when run makepkg with -i option, makepkg will assume all packages included have the same arch type as pkgbase at install time,
and thus can't call pacman correctly,

e.g. my aur package renpy-allinone includes 3 packages, where arch type of python-renpy-aio is 'any', and for others is ('i686' 'x86_64').
When run makepkg -i, it generates renpy-allinone-6.99.1-1-any.pkg.tar.xz, python-renpy-aio-6.99.1-1-x86_64.pkg.tar.xz, renpy-aio-6.99.1-1-any.pkg.tar.xz correctly at build time,
but at install time, I get following error:
==> Installing renpy-allinone package group with pacman -U...
loading packages...
error: '/tmp/aur-renpy-allinone/renpy-aio-6.99.1-1-x86_64.pkg.tar.xz': could not find or read package
error: '/tmp/aur-renpy-allinone/renpy-allinone-6.99.1-1-x86_64.pkg.tar.xz': could not find or read package
This task depends upon

Closed by  Andrew Gregory (andrewgregory)
Sunday, 05 April 2015, 16:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  https://projects.archlinux.org/pacman.gi t/commit/?id=b543c055b9607161e6bd47b9d37 09243057c8771

Loading...