Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#16181 - [devtools] makechrootpkg fails copying packages with splitting
Attached to Project:
Arch Linux
Opened by Allan McRae (Allan) - Monday, 14 September 2009, 11:55 GMT
Last edited by Allan McRae (Allan) - Saturday, 19 September 2009, 04:03 GMT
Opened by Allan McRae (Allan) - Monday, 14 September 2009, 11:55 GMT
Last edited by Allan McRae (Allan) - Saturday, 19 September 2009, 04:03 GMT
|
DetailsDescription:
When you have something like pkgname=('foo' 'foo-bar') where one package name is a substring of the other, makechrootpkg fails to copy the substring package out of the chroot. e.g. the current ruby package: /home/allan/bin/makechrootpkg64: line 245: [: /home/stable-x86_64/union/pkgdest/ruby-1.9.1_p243-1-x86_64.pkg.tar.gz: binary operator expected The line number might be wrong but close... but here is the error lines: for _pkgname in ${pkgname[@]}; do pkgfile="${chrootdir}"/union/pkgdest/${_pkgname}-*${PKGEXT} ... if [ -e $pkgfile ]; then if [ -n "$PKGDEST" ]; then |
This task depends upon
Closed by Allan McRae (Allan)
Saturday, 19 September 2009, 04:03 GMT
Reason for closing: Fixed
Additional comments about closing: in git commit 06b02906
Saturday, 19 September 2009, 04:03 GMT
Reason for closing: Fixed
Additional comments about closing: in git commit 06b02906
/usr/sbin/makechrootpkg: line 240: [: /home/ioni/arch/arch/union/pkgdest/virtualbox-ose-3.0.6-1-i686.pkg.tar.gz: binary operator expected
How about some sort of regex like "${_pkgname}-[0-9]*-[0-9]*-*${PKGEXT}". That is a really bad example... but works for ruby.
It would also fix the adding package to the union repo part when pkgrels can vary in split packages.