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.
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.
FS#9190 - gensync in new pacman 3.1 expects wrong names for packages
Attached to Project:
Pacman
Opened by (N/A) (wantilles) - Sunday, 13 January 2008, 12:02 GMT
Last edited by Dan McGee (toofishes) - Sunday, 13 January 2008, 18:36 GMT
Opened by (N/A) (wantilles) - Sunday, 13 January 2008, 12:02 GMT
Last edited by Dan McGee (toofishes) - Sunday, 13 January 2008, 18:36 GMT
|
DetailsSummary and Info:
gensync in new pacman 3.1 expects wrong names for packages Steps to Reproduce: Do a gensync in any directory with packages. For the same package you get: - with old gensync (pacman 3.0): :: adding package '../comix-3.6.4-1-i686.pkg.tar.gz' - with new gensync (pacman 3.1) ==> ERROR: could not find comix-3.6.4-1-i686..pkg.tar.gz - skipping Notice the TWO DOTS (instead of one) after the ARCH flag in the package name that the new gensync expects. Of course this is wrong. |
This task depends upon
Closed by Dan McGee (toofishes)
Sunday, 13 January 2008, 18:36 GMT
Reason for closing: Fixed
Additional comments about closing: http://bugs.archlinux.org/task/9194#comm ent23453
Sunday, 13 January 2008, 18:36 GMT
Reason for closing: Fixed
Additional comments about closing: http://bugs.archlinux.org/task/9194#comm ent23453
In makepkg.conf
Change:
[code]PKGEXT='.pkg.tar.gz'
SRCEXT='.src.tar.gz'[/code]
To:
[code]PKGEXT='pkg.tar.gz'
SRCEXT='src.tar.gz'[/code]
Remove the first dot.
Because there is a second dot added in gensync here:
[code] if [ "$pkgdir" != "" ]; then
pkgfile="$pkgdir/$pkgname-$pkgver-$pkgrel-$CARCH.$PKGEXT"
else
pkgfile="$destdir/$pkgname-$pkgver-$pkgrel-$CARCH.$PKGEXT"
fi[/code]
I've also emailed this to the pacman-dev ML
That is not the fix. Now that you've removed the leading period, every other script that sources makepkg.conf is broken - just try running makepkg, for instance.
The real fix (against the pacman source) is in my attached patch above - basically remove the extra dot from gensync, NOT from makepkg.conf.
Dan - patch attached. Go nuts.
We'll get this in 3.1.1.