FS#43228 - [namcap] namcap complain about the depend_i386 and + things

Attached to Project: Arch Linux
Opened by Pablo Lezaeta (Jristz) - Friday, 26 December 2014, 01:46 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 11 July 2016, 17:53 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
New pacman add the option to append and add $CARCH specific arrays, but this make in some cases namcap complain, but that is not supposed to happend.


Additional info:
* namcap 3.2.5-2
* pacman 4.2


Steps to reproduce:
Use a PKGBUILD with
«
if [ “${CARCH}” = ‘i686′ ]; then
depends+=(‘libxi’ ‘libxft’ ‘libpng12′ ‘libxinerama’ ‘libjpeg6′ ‘xerces-c’)
elif [ “${CARCH}” = ‘x86_64′ ]; then
depends+=(‘lib32-libxi’ ‘lib32-libxft’ ‘lib32-libpng12′ ‘lib32-libxinerama’ ‘lib32-libjpeg6′ ‘lib32-xerces-c’)
fi
»
or make_i686 for example and run namcap in it.

Maybe is time to remaintain namcap or merge it into pacman/makepkg????
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 11 July 2016, 17:53 GMT
Reason for closing:  Fixed
Comment by Kyle Keen (keenerd) - Friday, 26 December 2014, 02:18 GMT
I'd also like to have the ability to detect and warn when someone could be using carch arrays. (And I'd still like to maintain namcap.)
Comment by Kyle Keen (keenerd) - Thursday, 25 June 2015, 19:13 GMT
This was two bugs. Fixed in commit 00e3c4b72f and 723753105

Loading...