FS#34252 - makepkg should ignore "empty" dependeny

Attached to Project: Arch Linux
Opened by Maria (c0debreak) - Monday, 11 March 2013, 02:36 GMT
Last edited by Allan McRae (Allan) - Monday, 11 March 2013, 03:50 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Today I recompiled qtcreator with qt4 to strip out qt5 dependency, but I made a mistake,

I made a line like this,

depends=('')

And pacman later report this error,

warning: cannot resolve "", a dependency of "qtcreator"
:: The following package cannot be upgraded due to unresolvable dependencies:
qtcreator

So I guess makepkg is not that robust, it should check for empty stuff
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 11 March 2013, 03:50 GMT
Reason for closing:  Won't fix
Additional comments about closing:  User error
Comment by Daniel Wallace (gtmanfred) - Monday, 11 March 2013, 02:48 GMT
According to the packaging guidelines,
https://wiki.archlinux.org/index.php/Arch_Packaging_Standards

Where possible, remove empty lines from the PKGBUILD (provides, replaces, etc.)
Comment by Allan McRae (Allan) - Monday, 11 March 2013, 03:49 GMT
It is not the empty dep line, but rather the '' value. Anyway, I'd say user error on this one.

Loading...