Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16864 - [namcap] check arch array

Attached to Project: Arch Linux
Opened by Sergej Pupykin (sergej) - Tuesday, 27 October 2009, 12:01 GMT
Last edited by Dan McGee (toofishes) - Thursday, 07 October 2010, 19:57 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Hugo Doria (hdoria)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

It would be nice if namcap can tell maintainer about wrong arch=().

For example, it runs file command on every packaged file and prints error
- if arch = (any) but elf files present
- if arch != (any) but no machine dependent files detected

Also namcaps message like:
"Arch as namcap sees them: arch=(any)"
would be usefull
This task depends upon

Closed by  Dan McGee (toofishes)
Thursday, 07 October 2010, 19:57 GMT
Reason for closing:  Implemented
Additional comments about closing:  namcap 2.7
Comment by Dan McGee (toofishes) - Tuesday, 08 June 2010, 03:30 GMT
The more critical half of this was implemented here: http://projects.archlinux.org/namcap.git/commit/?id=a121258fc2be1df8f970e09cbff889241462e491

This commit makes sure ELF files don't show up when the arch is set to 'any'.
Comment by Dan McGee (toofishes) - Thursday, 07 October 2010, 19:56 GMT
This commit solved the other half of this; to be released in 2.7.

commit ee5f798f6687fa6610c9520fdc0fc98485c1da46
Author: David Campbell <davekong@archlinux.us>
Date: Sun Aug 1 20:47:51 2010 -0400

Check for packages that should be 'any'

If a package has no elf files but is not 'any', throw a warning saying that
the package could be 'any'.

Loading...