FS#45455 - [namcap] warning when architecture specfic dependencies

Attached to Project: Arch Linux
Opened by Lone_Wolf (Lone_Wolf) - Wednesday, 24 June 2015, 17:01 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 01 February 2016, 00:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

namcap 3.2.5-2

The architecture specific dependency array is not understood by namcap :

PKGBUILD (cndrvcups-common-lb) W: Non standard variable 'depends_i686' doesn't start with an underscore
PKGBUILD (cndrvcups-common-lb) W: Non standard variable 'depends_x86_64' doesn't start with an underscore



Steps to reproduce:

run namcap on any PKGBUILD with depends_x86_64= or depends_i686=
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 01 February 2016, 00:26 GMT
Reason for closing:  Fixed
Comment by Kyle Keen (keenerd) - Thursday, 25 June 2015, 14:21 GMT
Fixed in git, commit 4987254843
Comment by Dave Reisner (falconindy) - Thursday, 25 June 2015, 14:28 GMT
Seems like a poor fix... this is going to reoccur with makedepends_x86_64, provides_x86_64, replaces_x86_64, source_x86_64, etc... and consider what happens for the case of other architectures, as well.
Comment by Daniel Micay (thestinger) - Thursday, 25 June 2015, 14:50 GMT
It should probably only permit foo_$ARCH if $ARCH is in the architectures array.
Comment by Kyle Keen (keenerd) - Thursday, 25 June 2015, 16:26 GMT
How about 72375310 ?
Comment by Kyle Keen (keenerd) - Thursday, 25 June 2015, 19:14 GMT
Also, dupe of  FS#43228 

Loading...