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#6446 - makepkg shouldn't allow '=' in dependencies
Attached to Project:
Pacman
Opened by Scott H (stonecrest) - Sunday, 18 February 2007, 02:58 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 18 February 2007, 12:39 GMT
Opened by Scott H (stonecrest) - Sunday, 18 February 2007, 02:58 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 18 February 2007, 12:39 GMT
|
DetailsSomeone built a package with 'flac=1.1.2' as a dependency. This means that it doesn't work with my current version of flac, which is 1.1.2-3. Why would you ever use 'foo=X.X'? That would require you to know that the package doesn't work with future versions of foo, because otherwise you would have used '>='.
In my opinion, makepkg shouldn't ever allow '=' in dependencies, only '>=' or '<='. If there is a situation I haven't thought of, maybe a warning stressing how bad '=' is would suffice. But really, '=' should rarely, if ever, be used in a PKGBUILD. |
This task depends upon
Closed by Dan McGee (toofishes)
Sunday, 18 February 2007, 21:22 GMT
Reason for closing: Won't implement
Additional comments about closing: The bug is fixed where pkgrel is no longer read. However, the = operator is useful as JGC stated, so we do not want to remove it.
Sunday, 18 February 2007, 21:22 GMT
Reason for closing: Won't implement
Additional comments about closing: The bug is fixed where pkgrel is no longer read. However, the = operator is useful as JGC stated, so we do not want to remove it.
pacman2 can do -Su correctly in that case, while pacman3 cannot.
I think = can be used, but $pkgrel should not matter, only $pkgver.
In this case = is exactly what is needed.
But nevertheless this is a bug in pacman3 that doesn't allow update while there _is_ flac-1.1.2 already.
So I suggest to change this feature request to bug report.
As per JGC's comment, this FR should be closed as "Won't Implement" IMO, because = is needed too.