Lintian::Architecture - Online Linux Manual PageSection : 3
Updated : 2020-11-27
Source : Lintian v2.104.0
Note : Debian Package Checker
NAMELintian::Architecture −− Lintian API for handling architectures and wildcards
SYNOPSIS use Lintian::Architecture qw(:all);
print "arch\n" if is_arch ('i386');
print "wildcard\n" if is_arch_wildcard ('any');
print "either arch or wc\n" if is_arch_or_wildcard ('linux−any');
foreach my $arch (expand_arch_wildcard ('any')) {
print "any expands to $arch\n";
}
DESCRIPTIONLintian API for checking and expanding architectures and architecture wildcards. The functions are backed by a data file, so it may be out of date (use private/refresh−archs to update it). Generally all architecture names are in the format ‟$os−$arch” and wildcards are ‟$os−any” or ‟any−$cpu”, though there are exceptions: • ‟all” is the ‟architecture independent” architecture. Source: Policy X5.6.8 (v3.9.3) • ‟any” is a wildcard matching any architecture except ‟all”. Source: Policy X5.6.8 (v3.9.3) • All other cases of ‟$arch” are short for ‟linux−$arch” Source: Policy X11.1 (v3.9.3) Note that the architecture and cpu name are not always identical (example architecture ‟armhf” has cpu name ‟arm”).
FUNCTIONSThe following methods are exportable: is_arch_wildcard ($wc) Returns a truth value if $wc is a known architecture wildcard. Note: 'any' is considered a wildcard and not an architecture. is_arch ($arch) Returns a truth value if $arch is (an alias of) a Debian machine architecture OR the special value ‟all”. It returns a false value for architecture wildcards (including ‟any”) and unknown architectures. is_arch_or_wildcard ($arch) Returns a truth value if $arch is either an architecture or an architecture wildcard. Shorthand for: is_arch ($arch) || is_arch_wildcard ($arch)
expand_arch_wildcard ($wc) Returns a list of architectures that this wildcard expands to. No order is guaranteed (even between calls). Returned values must not be modified. Note: This list is based on the architectures in Lintian's data file. However, many of these are not supported or used in Debian or any of its derivatives. The returned values matches the list generated by dpkg-architecture −L, so the returned list may use (e.g.) ‟amd64” for ‟linux−amd64”. wildcard_includes_arch ($wc, $arch) Returns a truth value if $arch is included in the list of architectures that $wc expands to. This is generally faster than grep { $_ eq $arch } expand_arch_wildcard ($wc)
It also properly handles cases like ‟linux−amd64” and ‟amd64” being aliases. valid_wildcard wildcard_matches 0
Johanes Gumabo
Data Size : 10,427 byte
man-Lintian::Architecture.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 200,650
Visitor ID : :
Visitor IP : 52.15.191.241 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|Lintian::Architecture.3|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Lintian::Architecture.3|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|Lintian::Architecture.3|43|br══─}─══|'br══─}─══
) (htmlprn|149|Lintian::Architecture.3|43|'br══─}─══ |'br══─}─══
)