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
Opened by Ceridoca (Cravix) - Sunday, 05 April 2015, 11:23 GMT
Last edited by Andrew Gregory (andrewgregory) - Sunday, 05 April 2015, 16:41 GMT
|
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
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