Created
August 14, 2018 19:14
-
-
Save raku-cat/35101c34b89e8440f5b800a3c5146d15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ export TEXTDOMAIN=pacman-scripts | |
+ TEXTDOMAIN=pacman-scripts | |
+ export TEXTDOMAINDIR=/usr/share/locale | |
+ TEXTDOMAINDIR=/usr/share/locale | |
+ export COMMAND_MODE=legacy | |
+ COMMAND_MODE=legacy | |
+ unset CDPATH | |
+ unset GREP_OPTIONS | |
+ declare -r makepkg_version=5.1.1 | |
+ declare -r confdir=/etc | |
+ declare -r BUILDSCRIPT=PKGBUILD | |
++ pwd -P | |
+ declare -r startdir=/home/josh/aur/gcc7/trunk | |
+ LIBRARY=/usr/share/makepkg | |
+ build_options=('ccache' 'distcc' 'buildflags' 'makeflags') | |
+ splitpkg_overrides=('pkgdesc' 'arch' 'url' 'license' 'groups' 'depends' 'optdepends' 'provides' 'conflicts' 'replaces' 'backup' 'options' 'install' 'changelog') | |
+ readonly -a build_options splitpkg_overrides | |
+ known_hash_algos=('md5' 'sha1' 'sha224' 'sha256' 'sha384' 'sha512' 'whirlpool') | |
+ ASDEPS=0 | |
+ BUILDFUNC=0 | |
+ CHECKFUNC=0 | |
+ CLEANBUILD=0 | |
+ CLEANUP=0 | |
+ DEP_BIN=0 | |
+ FORCE=0 | |
+ GENINTEG=0 | |
+ HOLDVER=0 | |
+ IGNOREARCH=0 | |
+ INFAKEROOT=0 | |
+ INSTALL=0 | |
+ LOGGING=0 | |
+ NEEDED=0 | |
+ NOARCHIVE=0 | |
+ NOBUILD=0 | |
+ NODEPS=0 | |
+ NOEXTRACT=0 | |
+ PKGFUNC=0 | |
+ PKGVERFUNC=0 | |
+ PREPAREFUNC=0 | |
+ REPKG=0 | |
+ REPRODUCIBLE=0 | |
+ RMDEPS=0 | |
+ SKIPCHECKSUMS=0 | |
+ SKIPPGPCHECK=0 | |
+ SIGNPKG= | |
+ SPLITPKG=0 | |
+ SOURCEONLY=0 | |
+ VERIFYSOURCE=0 | |
+ [[ -n '' ]] | |
++ date +%s | |
+ SOURCE_DATE_EPOCH=1534271573 | |
+ export SOURCE_DATE_EPOCH | |
+ PACMAN_OPTS=() | |
+ shopt -s extglob | |
+ for lib in "$LIBRARY"/*.sh | |
+ source /usr/share/makepkg/integrity.sh | |
++ [[ -n '' ]] | |
++ LIBMAKEPKG_INTEGRITY_SH=1 | |
++ LIBRARY=/usr/share/makepkg | |
++ source /usr/share/makepkg/util/message.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_UTIL_MESSAGE_SH=1 | |
++ for lib in "$LIBRARY/integrity/"*.sh | |
++ source /usr/share/makepkg/integrity/generate_checksum.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_INTEGRITY_GENERATE_CHECKSUM_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n '' ]] | |
++++ LIBMAKEPKG_UTIL_PKGBUILD_SH=1 | |
++ for lib in "$LIBRARY/integrity/"*.sh | |
++ source /usr/share/makepkg/integrity/generate_signature.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_INTEGRITY_GENERATE_SIGNATURE_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
++ for lib in "$LIBRARY/integrity/"*.sh | |
++ source /usr/share/makepkg/integrity/verify_checksum.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_INTEGRITY_CHECKSUM_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
++ for lib in "$LIBRARY/integrity/"*.sh | |
++ source /usr/share/makepkg/integrity/verify_signature.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_INTEGRITY_VERIFY_SIGNATURE_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+ for lib in "$LIBRARY"/*.sh | |
+ source /usr/share/makepkg/lint_config.sh | |
++ [[ -n '' ]] | |
++ LIBMAKEPKG_LINT_CONFIG_SH=1 | |
++ LIBRARY=/usr/share/makepkg | |
++ source /usr/share/makepkg/util/message.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ source /usr/share/makepkg/util/util.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_UTIL_UTIL_SH=1 | |
++ declare -a lint_config_functions | |
++ for lib in "$LIBRARY/lint_config/"*.sh | |
++ source /usr/share/makepkg/lint_config/paths.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_CONFIG_PATHS_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_config_functions+=('lint_paths') | |
++ for lib in "$LIBRARY/lint_config/"*.sh | |
++ source /usr/share/makepkg/lint_config/variable.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_CONFIG_VARIABLE_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_config_functions+=('lint_variable') | |
++ readonly -a lint_config_functions | |
+ for lib in "$LIBRARY"/*.sh | |
+ source /usr/share/makepkg/lint_package.sh | |
++ [[ -n '' ]] | |
++ LIBMAKEPKG_LINT_PACKAGE_SH=1 | |
++ LIBRARY=/usr/share/makepkg | |
++ source /usr/share/makepkg/util/message.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ source /usr/share/makepkg/util/util.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ declare -a lint_package_functions | |
++ for lib in "$LIBRARY/lint_package/"*.sh | |
++ source /usr/share/makepkg/lint_package/build_references.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PACKAGE_BUILD_REFERENCES_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_package_functions+=('warn_build_references') | |
++ for lib in "$LIBRARY/lint_package/"*.sh | |
++ source /usr/share/makepkg/lint_package/dotfiles.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PACKAGE_DOTFILES_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_package_functions+=('check_dotfiles') | |
++ for lib in "$LIBRARY/lint_package/"*.sh | |
++ source /usr/share/makepkg/lint_package/file_names.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PACKAGE_FILE_NAMES_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_package_functions+=('lint_file_names') | |
++ for lib in "$LIBRARY/lint_package/"*.sh | |
++ source /usr/share/makepkg/lint_package/missing_backup.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PACKAGE_MISSING_BACKUP_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_package_functions+=('warn_missing_backup') | |
++ readonly -a lint_package_functions | |
+ for lib in "$LIBRARY"/*.sh | |
+ source /usr/share/makepkg/lint_pkgbuild.sh | |
++ [[ -n '' ]] | |
++ LIBMAKEPKG_LINT_PKGBUILD_SH=1 | |
++ LIBRARY=/usr/share/makepkg | |
++ source /usr/share/makepkg/util/message.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ declare -a lint_pkgbuild_functions | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/arch.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_ARCH_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_arch') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/backup.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_BACKUP_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_backup') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/changelog.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_CHANGELOG_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/lint_pkgbuild/util.sh | |
++++ [[ -n '' ]] | |
++++ LIBMAKEPKG_LINT_PKGBUILD_UTIL_SH=1 | |
++++ LIBRARY=/usr/share/makepkg | |
++++ source /usr/share/makepkg/util/message.sh | |
+++++ [[ -n 1 ]] | |
+++++ return | |
+++ lint_pkgbuild_functions+=('lint_changelog') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/checkdepends.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_CHECKDEPENDS_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh | |
++++ [[ -n '' ]] | |
++++ LIBMAKEPKG_LINT_PKGBUILD_PKGNAME_SH=1 | |
++++ LIBRARY=/usr/share/makepkg | |
++++ source /usr/share/makepkg/util/message.sh | |
+++++ [[ -n 1 ]] | |
+++++ return | |
++++ lint_pkgbuild_functions+=('lint_pkgname') | |
+++ source /usr/share/makepkg/lint_pkgbuild/pkgver.sh | |
++++ [[ -n '' ]] | |
++++ LIBMAKEPKG_LINT_PKGBUILD_PKGVER_SH=1 | |
++++ LIBRARY=/usr/share/makepkg | |
++++ source /usr/share/makepkg/util/message.sh | |
+++++ [[ -n 1 ]] | |
+++++ return | |
++++ lint_pkgbuild_functions+=('lint_pkgver') | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_checkdepends') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/conflicts.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_CONFLICTS_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/lint_pkgbuild/pkgver.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_conflicts') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/depends.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_DEPENDS_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/lint_pkgbuild/pkgver.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_depends') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/epoch.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_EPOCH_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_epoch') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/install.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_INSTALL_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/lint_pkgbuild/util.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_install') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/makedepends.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_MAKEDEPENDS_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/lint_pkgbuild/pkgver.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_makedepends') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/optdepends.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_OPTDEPENDS_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_optdepends') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/options.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_OPTIONS_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_options') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/package_function.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_PACKAGE_FUNCTION_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_package_function') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/pkgbase.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_PKGBASE_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_pkgbase') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/pkglist.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_PKGLIST_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/util.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_pkglist') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/pkgrel.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_PKGREL_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_pkgrel') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/pkgver.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/provides.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_PROVIDES_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/lint_pkgbuild/pkgver.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_provides') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/source.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_SOURCE_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_source') | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/util.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh | |
++ source /usr/share/makepkg/lint_pkgbuild/variable.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_LINT_PKGBUILD_VARIABLE_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ lint_pkgbuild_functions+=('lint_variable') | |
++ readonly -a lint_pkgbuild_functions | |
+ for lib in "$LIBRARY"/*.sh | |
+ source /usr/share/makepkg/source.sh | |
++ [[ -n '' ]] | |
++ LIBMAKEPKG_SOURCE_SH=1 | |
++ LIBRARY=/usr/share/makepkg | |
++ source /usr/share/makepkg/util/message.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ source /usr/share/makepkg/util/pkgbuild.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ source /usr/share/makepkg/util/source.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_UTIL_SOURCE_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
++ for lib in "$LIBRARY/source/"*.sh | |
++ source /usr/share/makepkg/source/bzr.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_SOURCE_BZR_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
++ for lib in "$LIBRARY/source/"*.sh | |
++ source /usr/share/makepkg/source/file.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_SOURCE_FILE_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
++ for lib in "$LIBRARY/source/"*.sh | |
++ source /usr/share/makepkg/source/git.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_SOURCE_GIT_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
++ for lib in "$LIBRARY/source/"*.sh | |
++ source /usr/share/makepkg/source/hg.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_SOURCE_HG_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
++ for lib in "$LIBRARY/source/"*.sh | |
++ source /usr/share/makepkg/source/local.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_SOURCE_LOCAL_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
++ for lib in "$LIBRARY/source/"*.sh | |
++ source /usr/share/makepkg/source/svn.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_SOURCE_SVN_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/pkgbuild.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+ for lib in "$LIBRARY"/*.sh | |
+ source /usr/share/makepkg/srcinfo.sh | |
++ [[ -n '' ]] | |
++ LIBMAKEPKG_SRCINFO_SH=1 | |
++ LIBRARY=/usr/share/makepkg | |
++ source /usr/share/makepkg/util/pkgbuild.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
+ for lib in "$LIBRARY"/*.sh | |
+ source /usr/share/makepkg/tidy.sh | |
++ [[ -n '' ]] | |
++ LIBMAKEPKG_TIDY_SH=1 | |
++ LIBRARY=/usr/share/makepkg | |
++ source /usr/share/makepkg/util/message.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ declare -a packaging_options tidy_remove tidy_modify | |
++ for lib in "$LIBRARY/tidy/"*.sh | |
++ source /usr/share/makepkg/tidy/docs.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_TIDY_DOCS_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/option.sh | |
++++ [[ -n '' ]] | |
++++ LIBMAKEPKG_UTIL_OPTION_SH=1 | |
+++ packaging_options+=('docs') | |
+++ tidy_remove+=('tidy_docs') | |
++ for lib in "$LIBRARY/tidy/"*.sh | |
++ source /usr/share/makepkg/tidy/emptydirs.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_TIDY_EMPTYDIRS_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/option.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ packaging_options+=('emptydirs') | |
+++ tidy_remove+=('tidy_emptydirs') | |
++ for lib in "$LIBRARY/tidy/"*.sh | |
++ source /usr/share/makepkg/tidy/libtool.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_TIDY_LIBTOOL_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/option.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ packaging_options+=('libtool') | |
+++ tidy_remove+=('tidy_libtool') | |
++ for lib in "$LIBRARY/tidy/"*.sh | |
++ source /usr/share/makepkg/tidy/purge.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_TIDY_PURGE_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/option.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ packaging_options+=('purge') | |
+++ tidy_remove+=('tidy_purge') | |
++ for lib in "$LIBRARY/tidy/"*.sh | |
++ source /usr/share/makepkg/tidy/staticlibs.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_TIDY_STATICLIBS_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/option.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ packaging_options+=('staticlibs') | |
+++ tidy_remove+=('tidy_staticlibs') | |
++ for lib in "$LIBRARY/tidy/"*.sh | |
++ source /usr/share/makepkg/tidy/strip.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_TIDY_STRIP_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/option.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ packaging_options+=('strip' 'debug') | |
+++ tidy_modify+=('tidy_strip') | |
++ for lib in "$LIBRARY/tidy/"*.sh | |
++ source /usr/share/makepkg/tidy/zipman.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_TIDY_ZIPMAN_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ source /usr/share/makepkg/util/option.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
+++ packaging_options+=('zipman') | |
+++ tidy_modify+=('tidy_zipman') | |
++ readonly -a packaging_options tidy_remove tidy_modify | |
+ for lib in "$LIBRARY"/*.sh | |
+ source /usr/share/makepkg/util.sh | |
++ [[ -n '' ]] | |
++ LIBMAKEPKG_UTIL_SH=1 | |
++ LIBRARY=/usr/share/makepkg | |
++ for lib in "$LIBRARY/util/"*.sh | |
++ source /usr/share/makepkg/util/compress.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_UTIL_COMPRESS_SH=1 | |
+++ LIBRARY=/usr/share/makepkg | |
+++ source /usr/share/makepkg/util/message.sh | |
++++ [[ -n 1 ]] | |
++++ return | |
++ for lib in "$LIBRARY/util/"*.sh | |
++ source /usr/share/makepkg/util/error.sh | |
+++ [[ -n '' ]] | |
+++ LIBMAKEPKG_UTIL_ERROR_SH=1 | |
+++ E_OK=0 | |
+++ E_FAIL=1 | |
+++ E_CONFIG_ERROR=2 | |
+++ E_INVALID_OPTION=3 | |
+++ E_USER_FUNCTION_FAILED=4 | |
+++ E_PACKAGE_FAILED=5 | |
+++ E_MISSING_FILE=6 | |
+++ E_MISSING_PKGDIR=7 | |
+++ E_INSTALL_DEPS_FAILED=8 | |
+++ E_REMOVE_DEPS_FAILED=9 | |
+++ E_ROOT=10 | |
+++ E_FS_PERMISSIONS=11 | |
+++ E_PKGBUILD_ERROR=12 | |
+++ E_ALREADY_BUILT=13 | |
+++ E_INSTALL_FAILED=14 | |
+++ E_MISSING_MAKEPKG_DEPS=15 | |
+++ E_PRETTY_BAD_PRIVACY=16 | |
++ for lib in "$LIBRARY/util/"*.sh | |
++ source /usr/share/makepkg/util/message.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ for lib in "$LIBRARY/util/"*.sh | |
++ source /usr/share/makepkg/util/option.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ for lib in "$LIBRARY/util/"*.sh | |
++ source /usr/share/makepkg/util/parseopts.sh | |
++ for lib in "$LIBRARY/util/"*.sh | |
++ source /usr/share/makepkg/util/pkgbuild.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ for lib in "$LIBRARY/util/"*.sh | |
++ source /usr/share/makepkg/util/source.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
++ for lib in "$LIBRARY/util/"*.sh | |
++ source /usr/share/makepkg/util/util.sh | |
+++ [[ -n 1 ]] | |
+++ return | |
+ umask 0022 | |
+ type -p gettext | |
+ ARGLIST=("$@") | |
+ OPT_SHORT=AcCdefFghiLmop:rRsSV | |
+ OPT_LONG=('allsource' 'check' 'clean' 'cleanbuild' 'config:' 'force' 'geninteg' 'help' 'holdver' 'ignorearch' 'install' 'key:' 'log' 'noarchive' 'nobuild' 'nocolor' 'nocheck' 'nodeps' 'noextract' 'noprepare' 'nosign' 'packagelist' 'printsrcinfo' 'repackage' 'rmdeps' 'sign' 'skipchecksums' 'skipinteg' 'skippgpcheck' 'source' 'syncdeps' 'verifysource' 'version') | |
+ OPT_LONG+=('asdeps' 'noconfirm' 'needed' 'noprogressbar') | |
+ parseopts AcCdefFghiLmop:rRsSV allsource check clean cleanbuild config: force geninteg help holdver ignorearch install key: log noarchive nobuild nocolor nocheck nodeps noextract noprepare nosign packagelist printsrcinfo repackage rmdeps sign skipchecksums skipinteg skippgpcheck source syncdeps verifysource version asdeps noconfirm needed noprogressbar -- | |
+ local opt= optarg= i= shortopts=AcCdefFghiLmop:rRsSV | |
+ longopts=() | |
+ unused_argv=() | |
+ local -a longopts unused_argv | |
+ shift | |
+ [[ -n allsource ]] | |
+ [[ allsource != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n check ]] | |
+ [[ check != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n clean ]] | |
+ [[ clean != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n cleanbuild ]] | |
+ [[ cleanbuild != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n config: ]] | |
+ [[ config: != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n force ]] | |
+ [[ force != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n geninteg ]] | |
+ [[ geninteg != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n help ]] | |
+ [[ help != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n holdver ]] | |
+ [[ holdver != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n ignorearch ]] | |
+ [[ ignorearch != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n install ]] | |
+ [[ install != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n key: ]] | |
+ [[ key: != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n log ]] | |
+ [[ log != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n noarchive ]] | |
+ [[ noarchive != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n nobuild ]] | |
+ [[ nobuild != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n nocolor ]] | |
+ [[ nocolor != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n nocheck ]] | |
+ [[ nocheck != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n nodeps ]] | |
+ [[ nodeps != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n noextract ]] | |
+ [[ noextract != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n noprepare ]] | |
+ [[ noprepare != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n nosign ]] | |
+ [[ nosign != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n packagelist ]] | |
+ [[ packagelist != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n printsrcinfo ]] | |
+ [[ printsrcinfo != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n repackage ]] | |
+ [[ repackage != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n rmdeps ]] | |
+ [[ rmdeps != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n sign ]] | |
+ [[ sign != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n skipchecksums ]] | |
+ [[ skipchecksums != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n skipinteg ]] | |
+ [[ skipinteg != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n skippgpcheck ]] | |
+ [[ skippgpcheck != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n source ]] | |
+ [[ source != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n syncdeps ]] | |
+ [[ syncdeps != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n verifysource ]] | |
+ [[ verifysource != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n version ]] | |
+ [[ version != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n asdeps ]] | |
+ [[ asdeps != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n noconfirm ]] | |
+ [[ noconfirm != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n needed ]] | |
+ [[ needed != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n noprogressbar ]] | |
+ [[ noprogressbar != \-\- ]] | |
+ longopts+=("$1") | |
+ shift | |
+ [[ -n -- ]] | |
+ [[ -- != \-\- ]] | |
+ shift | |
+ (( 0 )) | |
+ OPTRET+=('--' "${unused_argv[@]}" "$@") | |
+ unset longoptmatch | |
+ return 0 | |
+ set -- -- | |
+ unset OPT_SHORT OPT_LONG OPTRET | |
+ true | |
+ case "$1" in | |
+ shift | |
+ break | |
+ extra_environment=() | |
+ [[ -n '' ]] | |
+ trap clean_up 0 | |
+ for signal in TERM HUP QUIT | |
++ gettext '%s signal caught. Exiting...' | |
+ trap 'trap_exit TERM "%s signal caught. Exiting..." "TERM"' TERM | |
+ for signal in TERM HUP QUIT | |
++ gettext '%s signal caught. Exiting...' | |
+ trap 'trap_exit HUP "%s signal caught. Exiting..." "HUP"' HUP | |
+ for signal in TERM HUP QUIT | |
++ gettext '%s signal caught. Exiting...' | |
+ trap 'trap_exit QUIT "%s signal caught. Exiting..." "QUIT"' QUIT | |
+ trap 'trap_exit INT "$(gettext "Aborted by user! Exiting...")"' INT | |
+ trap 'trap_exit USR1 "$(gettext "An unknown error has occurred. Exiting...")"' ERR | |
++ declare -p PKGDEST SRCDEST SRCPKGDEST LOGDEST BUILDDIR PKGEXT SRCEXT GPGKEY PACKAGER CARCH | |
++ true | |
+ restore_envvars= | |
+ MAKEPKG_CONF=/etc/makepkg.conf | |
+ [[ -r /etc/makepkg.conf ]] | |
+ source_safe /etc/makepkg.conf | |
+ shopt -u extglob | |
+ source /etc/makepkg.conf | |
++ DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' 'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'rsync::/usr/bin/rsync --no-motd -z %u %o' 'scp::/usr/bin/scp -C %u %o') | |
++ VCSCLIENTS=('bzr::bzr' 'git::git' 'hg::mercurial' 'svn::subversion') | |
++ CARCH=x86_64 | |
++ CHOST=x86_64-pc-linux-gnu | |
++ CPPFLAGS=-D_FORTIFY_SOURCE=2 | |
++ CFLAGS='-march=native -O2 -pipe -fstack-protector-strong -fno-plt' | |
++ CXXFLAGS='-march=native -O2 -pipe -fstack-protector-strong -fno-plt' | |
++ LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now | |
+++ nproc --all | |
++ MAKEFLAGS=-j7 | |
++ DEBUG_CFLAGS='-g -fvar-tracking-assignments' | |
++ DEBUG_CXXFLAGS='-g -fvar-tracking-assignments' | |
++ BUILDENV=(!distcc color ccache check !sign) | |
++ BUILDDIR=/tmp/makepkg | |
++ OPTIONS=(docs !libtool !staticlibs emptydirs zipman purge !optipng !upx !debug) | |
++ INTEGRITY_CHECK=(md5) | |
++ STRIP_BINARIES=--strip-all | |
++ STRIP_SHARED=--strip-unneeded | |
++ STRIP_STATIC=--strip-debug | |
++ MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info}) | |
++ DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc}) | |
++ PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod) | |
++ COMPRESSGZ=(pigz -c -f -n) | |
++ COMPRESSBZ2=(bzip2 -c -f) | |
++ COMPRESSXZ=(xz -c -z - --threads=0) | |
++ COMPRESSLRZ=(lrzip -q) | |
++ COMPRESSLZO=(lzop -q) | |
++ COMPRESSZ=(compress -c -f) | |
++ PKGEXT=.pkg.tar.lzo | |
++ SRCEXT=.src.tar.gz | |
+ shopt -s extglob | |
+ XDG_PACMAN_DIR=/home/josh/.config/pacman | |
+ [[ /etc/makepkg.conf = \/\e\t\c\/\m\a\k\e\p\k\g\.\c\o\n\f ]] | |
+ [[ -r /home/josh/.config/pacman/makepkg.conf ]] | |
+ [[ -r /home/josh/.makepkg.conf ]] | |
+ eval '' | |
+ (( 0 )) | |
+ for var in PKGDEST SRCDEST SRCPKGDEST LOGDEST BUILDDIR | |
++ canonicalize_path /home/josh/aur/gcc7/trunk | |
++ local path=/home/josh/aur/gcc7/trunk | |
++ [[ -d /home/josh/aur/gcc7/trunk ]] | |
++ cd_safe /home/josh/aur/gcc7/trunk | |
++ cd /home/josh/aur/gcc7/trunk | |
++ pwd -P | |
+ printf -v PKGDEST /home/josh/aur/gcc7/trunk | |
+ for var in PKGDEST SRCDEST SRCPKGDEST LOGDEST BUILDDIR | |
++ canonicalize_path /home/josh/aur/gcc7/trunk | |
++ local path=/home/josh/aur/gcc7/trunk | |
++ [[ -d /home/josh/aur/gcc7/trunk ]] | |
++ cd_safe /home/josh/aur/gcc7/trunk | |
++ cd /home/josh/aur/gcc7/trunk | |
++ pwd -P | |
+ printf -v SRCDEST /home/josh/aur/gcc7/trunk | |
+ for var in PKGDEST SRCDEST SRCPKGDEST LOGDEST BUILDDIR | |
++ canonicalize_path /home/josh/aur/gcc7/trunk | |
++ local path=/home/josh/aur/gcc7/trunk | |
++ [[ -d /home/josh/aur/gcc7/trunk ]] | |
++ cd_safe /home/josh/aur/gcc7/trunk | |
++ cd /home/josh/aur/gcc7/trunk | |
++ pwd -P | |
+ printf -v SRCPKGDEST /home/josh/aur/gcc7/trunk | |
+ for var in PKGDEST SRCDEST SRCPKGDEST LOGDEST BUILDDIR | |
++ canonicalize_path /home/josh/aur/gcc7/trunk | |
++ local path=/home/josh/aur/gcc7/trunk | |
++ [[ -d /home/josh/aur/gcc7/trunk ]] | |
++ cd_safe /home/josh/aur/gcc7/trunk | |
++ cd /home/josh/aur/gcc7/trunk | |
++ pwd -P | |
+ printf -v LOGDEST /home/josh/aur/gcc7/trunk | |
+ for var in PKGDEST SRCDEST SRCPKGDEST LOGDEST BUILDDIR | |
++ canonicalize_path /tmp/makepkg | |
++ local path=/tmp/makepkg | |
++ [[ -d /tmp/makepkg ]] | |
++ cd_safe /tmp/makepkg | |
++ cd /tmp/makepkg | |
++ pwd -P | |
+ printf -v BUILDDIR /tmp/makepkg | |
+ unset var | |
+ PACKAGER='Unknown Packager' | |
+ PACMAN=pacman | |
++ type -P pacman | |
+ PACMAN_PATH=/usr/bin/pacman | |
+ [[ -t 2 ]] | |
+ unset ALL_OFF BOLD BLUE GREEN RED YELLOW | |
+ lint_config | |
+ local ret=0 | |
+ for func in ${lint_config_functions[@]} | |
+ lint_paths | |
+ pathvars=(BUILDDIR PKGDEST SRCDEST SRCPKGDEST LOGDEST PKGEXT SRCEXT) | |
+ local pathvars | |
+ local i ret=0 | |
+ for i in ${pathvars[@]} | |
+ [[ /tmp/makepkg = *\ | |
* ]] | |
+ for i in ${pathvars[@]} | |
+ [[ /home/josh/aur/gcc7/trunk = *\ | |
* ]] | |
+ for i in ${pathvars[@]} | |
+ [[ /home/josh/aur/gcc7/trunk = *\ | |
* ]] | |
+ for i in ${pathvars[@]} | |
+ [[ /home/josh/aur/gcc7/trunk = *\ | |
* ]] | |
+ for i in ${pathvars[@]} | |
+ [[ /home/josh/aur/gcc7/trunk = *\ | |
* ]] | |
+ for i in ${pathvars[@]} | |
+ [[ .pkg.tar.lzo = *\ | |
* ]] | |
+ for i in ${pathvars[@]} | |
+ [[ .src.tar.gz = *\ | |
* ]] | |
+ return 0 | |
+ for func in ${lint_config_functions[@]} | |
+ lint_variable | |
+ array=(arch backup checkdepends groups license noextract options validpgpkeys) | |
+ local array | |
+ arch_array=(conflicts depends makedepends md5sums optdepends provides replaces sha1sums sha224sums sha256sums sha384sums sha512sums source) | |
+ local arch_array | |
+ string=(changelog epoch install pkgdesc pkgrel pkgver url) | |
+ local string | |
+ local i a v pkg keys out bad ret=0 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!arch[@]}")' | |
++ keys=("${!arch[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!backup[@]}")' | |
++ keys=("${!backup[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!checkdepends[@]}")' | |
++ keys=("${!checkdepends[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!groups[@]}")' | |
++ keys=("${!groups[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!license[@]}")' | |
++ keys=("${!license[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!noextract[@]}")' | |
++ keys=("${!noextract[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!options[@]}")' | |
++ keys=("${!options[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!validpgpkeys[@]}")' | |
++ keys=("${!validpgpkeys[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!conflicts[@]}")' | |
++ keys=("${!conflicts[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!depends[@]}")' | |
++ keys=("${!depends[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!makedepends[@]}")' | |
++ keys=("${!makedepends[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!md5sums[@]}")' | |
++ keys=("${!md5sums[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!optdepends[@]}")' | |
++ keys=("${!optdepends[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!provides[@]}")' | |
++ keys=("${!provides[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!replaces[@]}")' | |
++ keys=("${!replaces[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!sha1sums[@]}")' | |
++ keys=("${!sha1sums[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!sha224sums[@]}")' | |
++ keys=("${!sha224sums[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!sha256sums[@]}")' | |
++ keys=("${!sha256sums[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!sha384sums[@]}")' | |
++ keys=("${!sha384sums[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!sha512sums[@]}")' | |
++ keys=("${!sha512sums[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!changelog[@]}")' | |
++ keys=("${!changelog[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!epoch[@]}")' | |
++ keys=("${!epoch[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!install[@]}")' | |
++ keys=("${!install[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!pkgdesc[@]}")' | |
++ keys=("${!pkgdesc[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!pkgrel[@]}")' | |
++ keys=("${!pkgrel[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!pkgver[@]}")' | |
++ keys=("${!pkgver[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!url[@]}")' | |
++ keys=("${!url[@]}") | |
+ (( 0 > 0 )) | |
+ return 0 | |
+ return 0 | |
+ ensure_writable_dir BUILDDIR /tmp/makepkg | |
+ local dirtype=BUILDDIR dirpath=/tmp/makepkg | |
+ mkdir -p /tmp/makepkg | |
+ [[ ! -w /tmp/makepkg ]] | |
+ return 0 | |
+ (( ! (NOBUILD || GENINTEG) )) | |
+ ensure_writable_dir PKGDEST /home/josh/aur/gcc7/trunk | |
+ local dirtype=PKGDEST dirpath=/home/josh/aur/gcc7/trunk | |
+ mkdir -p /home/josh/aur/gcc7/trunk | |
+ [[ ! -w /home/josh/aur/gcc7/trunk ]] | |
+ return 0 | |
+ ensure_writable_dir SRCDEST /home/josh/aur/gcc7/trunk | |
+ local dirtype=SRCDEST dirpath=/home/josh/aur/gcc7/trunk | |
+ mkdir -p /home/josh/aur/gcc7/trunk | |
+ [[ ! -w /home/josh/aur/gcc7/trunk ]] | |
+ return 0 | |
+ (( SOURCEONLY )) | |
+ (( LOGGING )) | |
+ (( ! INFAKEROOT )) | |
+ (( EUID == 0 )) | |
+ unset pkgname pkgbase pkgver pkgrel epoch pkgdesc url license groups provides | |
+ unset md5sums replaces depends conflicts backup source install changelog build | |
+ unset sha1sums sha224sums sha256sums sha384sums sha512sums makedepends optdepends options noextract validpgpkeys | |
+ unset | |
+ unset | |
+ unset | |
+ unset | |
+ BUILDFILE=PKGBUILD | |
+ [[ ! -f PKGBUILD ]] | |
+ [[ # $Id$ | |
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> | |
# Contributor: Allan McRae <allan@archlinux.org> | |
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc | |
# NOTE: libtool requires rebuilt with each new gcc version | |
pkgname=(gcc7 gcc7-libs) | |
pkgver=7.3.1+20180406 | |
_majorver=${pkgver:0:1} | |
_islver=0.18 | |
pkgrel=1 | |
pkgdesc='The GNU Compiler Collection' | |
arch=(x86_64) | |
license=(GPL LGPL FDL custom) | |
url='http://gcc.gnu.org' | |
makedepends=(binutils libmpc doxygen lib32-glibc lib32-gcc-libs python) | |
checkdepends=(dejagnu inetutils) | |
options=(!emptydirs) | |
#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig} | |
source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig} | |
http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2 | |
c89 c99 | |
bz84080.patch) | |
validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9 # bpiotrowski@archlinux.org | |
13975A70E63C361C73AE69EF6EEB81F8981C74C7) # richard.guenther@gmail.com | |
sha256sums=('41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00' | |
'SKIP' | |
'6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b' | |
'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931' | |
'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a' | |
'bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7') | |
_svnrev=259195 | |
_svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch | |
_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*} | |
snapshot() { | |
svn export -r${_svnrev} ${_svnurl} gcc-r${_svnrev} | |
local datestamp basever _pkgver | |
basever=$(< gcc-r${_svnrev}/gcc/BASE-VER) | |
datestamp=$(< gcc-r${_svnrev}/gcc/DATESTAMP) | |
_pkgver=${basever}-${datestamp} | |
mv gcc-r${_svnrev} gcc-${_pkgver} | |
tar cf - gcc-${_pkgver} | xz > gcc-${_pkgver}.tar.xz | |
rm -rf gcc-${_pkgver} | |
gpg -b gcc-${_pkgver}.tar.xz | |
scp gcc-${_pkgver}.tar.xz{,.sig} sources.archlinux.org:/srv/ftp/other/gcc/ | |
echo | |
echo "pkgver=${_pkgver/-/+}" | |
} | |
prepare() { | |
[[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc | |
cd gcc | |
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84080 | |
patch -p0 -i "$srcdir/bz84080.patch" | |
# link isl for in-tree build | |
ln -s ../isl-${_islver} isl | |
# Do not run fixincludes | |
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in | |
# Arch Linux installs x86_64 libraries /lib | |
sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64 | |
# hack! - some configure tests for header files using "$CPP $CPPFLAGS" | |
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure | |
mkdir -p "$srcdir/gcc-build" | |
} | |
build() { | |
cd gcc-build | |
# using -pipe causes spurious test-suite failures | |
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565 | |
CFLAGS=${CFLAGS/-pipe/} | |
CXXFLAGS=${CXXFLAGS/-pipe/} | |
"$srcdir/gcc/configure" --prefix=/usr \ | |
--libdir=/usr/lib \ | |
--libexecdir=/usr/lib \ | |
--mandir=/usr/share/man \ | |
--infodir=/usr/share/info \ | |
--with-bugurl=https://bugs.archlinux.org/ \ | |
--enable-languages=c,c++,lto \ | |
--enable-shared \ | |
--enable-threads=posix \ | |
--enable-libmpx \ | |
--with-system-zlib \ | |
--with-isl \ | |
--enable-__cxa_atexit \ | |
--disable-libunwind-exceptions \ | |
--enable-clocale=gnu \ | |
--disable-libstdcxx-pch \ | |
--disable-libssp \ | |
--enable-gnu-unique-object \ | |
--enable-linker-build-id \ | |
--enable-lto \ | |
--enable-plugin \ | |
--enable-install-libiberty \ | |
--with-linker-hash-style=gnu \ | |
--enable-gnu-indirect-function \ | |
--enable-multilib \ | |
--disable-werror \ | |
--enable-checking=release \ | |
--enable-default-pie \ | |
--enable-default-ssp | |
make | |
# make documentation | |
make -C $CHOST/libstdc++-v3/doc doc-man-doxygen | |
} | |
check() { | |
cd gcc-build | |
# do not abort on error as some are "expected" | |
make -k check || true | |
"$srcdir/gcc/contrib/test_summary" | |
} | |
package_gcc7-libs() { | |
pkgdesc='Runtime libraries shipped by GCC' | |
groups=(base) | |
depends=('glibc>=2.27') | |
options+=(!strip) | |
provides=($pkgname-multilib libgo.so libgfortran.so) | |
replaces=($pkgname-multilib) | |
cd gcc-build | |
make -C $CHOST/libgcc DESTDIR="$pkgdir" install-shared | |
rm -f "$pkgdir/$_libdir/libgcc_eh.a" | |
for lib in libatomic \ | |
libcilkrts \ | |
libgfortran \ | |
libgo \ | |
libgomp \ | |
libitm \ | |
libquadmath \ | |
libsanitizer/{a,l,ub,t}san \ | |
libstdc++-v3/src \ | |
libvtv; do | |
make -C $CHOST/$lib DESTDIR="$pkgdir" install-toolexeclibLTLIBRARIES | |
done | |
make -C $CHOST/libobjc DESTDIR="$pkgdir" install-libs | |
make -C $CHOST/libstdc++-v3/po DESTDIR="$pkgdir" install | |
make -C $CHOST/libmpx DESTDIR="$pkgdir" install | |
rm -f "$pkgdir/usr/lib/libmpx.spec" | |
for lib in libgomp \ | |
libitm \ | |
libquadmath; do | |
make -C $CHOST/$lib DESTDIR="$pkgdir" install-info | |
done | |
# remove files provided by lib32-gcc-libs | |
rm -rf "$pkgdir"/usr/lib32/ | |
# Install Runtime Library Exception | |
install -Dm644 "$srcdir/gcc/COPYING.RUNTIME" \ | |
"$pkgdir/usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION" | |
} | |
package_gcc7() { | |
pkgdesc="The GNU Compiler Collection - C and C++ frontends" | |
depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.28' libmpc) | |
groups=('base-devel') | |
optdepends=('lib32-gcc-libs: for generating code for 32-bit ABI') | |
provides=($pkgname-multilib) | |
replaces=($pkgname-multilib) | |
options+=(staticlibs) | |
cd gcc-build | |
make -C gcc DESTDIR="$pkgdir" install-driver install-cpp install-gcc-ar \ | |
c++.install-common install-headers install-plugin install-lto-wrapper | |
install -m755 -t "$pkgdir/usr/bin/" gcc/gcov{,-tool} | |
install -m755 -t "$pkgdir/${_libdir}/" gcc/{cc1,cc1plus,collect2,lto1} | |
make -C $CHOST/libgcc DESTDIR="$pkgdir" install | |
make -C $CHOST/32/libgcc DESTDIR="$pkgdir" install | |
rm -f "$pkgdir"/usr/lib{,32}/libgcc_s.so* | |
make -C $CHOST/libstdc++-v3/src DESTDIR="$pkgdir" install | |
make -C $CHOST/libstdc++-v3/include DESTDIR="$pkgdir" install | |
make -C $CHOST/libstdc++-v3/libsupc++ DESTDIR="$pkgdir" install | |
make -C $CHOST/libstdc++-v3/python DESTDIR="$pkgdir" install | |
make -C $CHOST/32/libstdc++-v3/src DESTDIR="$pkgdir" install | |
make -C $CHOST/32/libstdc++-v3/include DESTDIR="$pkgdir" install | |
make -C $CHOST/32/libstdc++-v3/libsupc++ DESTDIR="$pkgdir" install | |
make DESTDIR="$pkgdir" install-libcc1 | |
install -d "$pkgdir/usr/share/gdb/auto-load/usr/lib" | |
mv "$pkgdir"/usr/lib/libstdc++.so.6.*-gdb.py \ | |
"$pkgdir/usr/share/gdb/auto-load/usr/lib/" | |
rm "$pkgdir"/usr/lib{,32}/libstdc++.so* | |
make DESTDIR="$pkgdir" install-fixincludes | |
make -C gcc DESTDIR="$pkgdir" install-mkheaders | |
make -C lto-plugin DESTDIR="$pkgdir" install | |
install -dm755 "$pkgdir"/usr/lib/bfd-plugins/ | |
ln -s /${_libdir}/liblto_plugin.so \ | |
"$pkgdir/usr/lib/bfd-plugins/" | |
make -C $CHOST/libcilkrts DESTDIR="$pkgdir" install-nodist_{toolexeclib,cilkinclude}HEADERS | |
make -C $CHOST/libgomp DESTDIR="$pkgdir" install-nodist_{libsubinclude,toolexeclib}HEADERS | |
make -C $CHOST/libitm DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS | |
make -C $CHOST/libquadmath DESTDIR="$pkgdir" install-nodist_libsubincludeHEADERS | |
make -C $CHOST/libsanitizer DESTDIR="$pkgdir" install-nodist_{saninclude,toolexeclib}HEADERS | |
make -C $CHOST/libsanitizer/asan DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS | |
make -C $CHOST/libmpx DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS | |
make -C $CHOST/32/libcilkrts DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS | |
make -C $CHOST/32/libgomp DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS | |
make -C $CHOST/32/libitm DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS | |
make -C $CHOST/32/libsanitizer DESTDIR="$pkgdir" install-nodist_{saninclude,toolexeclib}HEADERS | |
make -C $CHOST/32/libsanitizer/asan DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS | |
make -C $CHOST/32/libmpx DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS | |
make -C libiberty DESTDIR="$pkgdir" install | |
install -m644 libiberty/pic/libiberty.a "$pkgdir/usr/lib" | |
make -C gcc DESTDIR="$pkgdir" install-man install-info | |
rm "$pkgdir"/usr/share/man/man1/{gccgo,gfortran}.1 | |
rm "$pkgdir"/usr/share/info/{gccgo,gfortran,gnat-style,gnat_rm,gnat_ugn}.info | |
make -C libcpp DESTDIR="$pkgdir" install | |
make -C gcc DESTDIR="$pkgdir" install-po | |
# many packages expect this symlink | |
ln -s gcc "$pkgdir"/usr/bin/cc | |
# POSIX conformance launcher scripts for c89 and c99 | |
install -Dm755 "$srcdir/c89" "$pkgdir/usr/bin/c89" | |
install -Dm755 "$srcdir/c99" "$pkgdir/usr/bin/c99" | |
# install the libstdc++ man pages | |
make -C $CHOST/libstdc++-v3/doc DESTDIR="$pkgdir" doc-install-man | |
# remove files provided by lib32-gcc-libs | |
rm -f "$pkgdir"/usr/lib32/lib{stdc++,gcc_s}.so | |
# byte-compile python libraries | |
python -m compileall "$pkgdir/usr/share/gcc-${pkgver%%+*}/" | |
python -O -m compileall "$pkgdir/usr/share/gcc-${pkgver%%+*}/" | |
# Install Runtime Library Exception | |
install -d "$pkgdir/usr/share/licenses/$pkgname/" | |
ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \ | |
"$pkgdir/usr/share/licenses/$pkgname/" | |
} = *\ * ]] | |
+ [[ ! PKGBUILD -ef /home/josh/aur/gcc7/trunk/PKGBUILD ]] | |
+ [[ P != \/ ]] | |
+ BUILDFILE=/home/josh/aur/gcc7/trunk/PKGBUILD | |
+ source_buildfile /home/josh/aur/gcc7/trunk/PKGBUILD | |
+ source_safe /home/josh/aur/gcc7/trunk/PKGBUILD | |
+ shopt -u extglob | |
+ source /home/josh/aur/gcc7/trunk/PKGBUILD | |
++ pkgname=(gcc7 gcc7-libs) | |
++ pkgver=7.3.1+20180406 | |
++ _majorver=7 | |
++ _islver=0.18 | |
++ pkgrel=1 | |
++ pkgdesc='The GNU Compiler Collection' | |
++ arch=(x86_64) | |
++ license=(GPL LGPL FDL custom) | |
++ url=http://gcc.gnu.org | |
++ makedepends=(binutils libmpc doxygen lib32-glibc lib32-gcc-libs python) | |
++ checkdepends=(dejagnu inetutils) | |
++ options=(!emptydirs) | |
++ source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig} http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2 c89 c99 bz84080.patch) | |
++ validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9 13975A70E63C361C73AE69EF6EEB81F8981C74C7) | |
++ sha256sums=('41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00' 'SKIP' '6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b' 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931' '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a' 'bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7') | |
++ _svnrev=259195 | |
++ _svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-7-branch | |
++ _libdir=usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1 | |
+ shopt -s extglob | |
+ pkgbase=gcc7 | |
+ lint_pkgbuild | |
+ local ret=0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_arch | |
+ local a name list ret=0 | |
+ [[ x86_64 == \a\n\y ]] | |
+ for a in "${arch[@]}" | |
+ [[ x86_64 = *[![:alnum:]_]* ]] | |
+ (( ! IGNOREARCH )) | |
+ in_array x86_64 x86_64 | |
+ local needle=x86_64 | |
+ shift | |
+ local item | |
+ for item in "$@" | |
+ [[ x86_64 = \x\8\6\_\6\4 ]] | |
+ return 0 | |
+ for name in "${pkgname[@]}" | |
+ get_pkgbuild_attribute gcc7 arch 1 list | |
+ local pkgname=gcc7 attrname=arch isarray=1 outputvar=list | |
+ (( isarray )) | |
+ eval 'list=()' | |
++ list=() | |
+ [[ -n gcc7 ]] | |
+ extract_global_variable arch 1 list | |
+ local attr=arch isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref arch | |
+ local dest=ref src=arch i keys values | |
+ declare -p arch | |
+ eval 'keys=("${!arch[@]}")' | |
++ keys=("${!arch[@]}") | |
+ eval 'ref=()' | |
++ ref=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''ref[0]'\'' %s "${arch[0]}";' | |
++ printf -v 'ref[0]' %s x86_64 | |
+ [[ -n x86_64 ]] | |
+ array_build list arch | |
+ local dest=list src=arch i keys values | |
+ declare -p arch | |
+ eval 'keys=("${!arch[@]}")' | |
++ keys=("${!arch[@]}") | |
+ eval 'list=()' | |
++ list=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''list[0]'\'' %s "${arch[0]}";' | |
++ printf -v 'list[0]' %s x86_64 | |
+ extract_function_variable package_gcc7 arch 1 list | |
+ local funcname=package_gcc7 attr=arch isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' arch | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* arch\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* arch\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ [[ -n x86_64 ]] | |
+ [[ x86_64 != \a\n\y ]] | |
+ in_array x86_64 x86_64 | |
+ local needle=x86_64 | |
+ shift | |
+ local item | |
+ for item in "$@" | |
+ [[ x86_64 = \x\8\6\_\6\4 ]] | |
+ return 0 | |
+ for name in "${pkgname[@]}" | |
+ get_pkgbuild_attribute gcc7-libs arch 1 list | |
+ local pkgname=gcc7-libs attrname=arch isarray=1 outputvar=list | |
+ (( isarray )) | |
+ eval 'list=()' | |
++ list=() | |
+ [[ -n gcc7-libs ]] | |
+ extract_global_variable arch 1 list | |
+ local attr=arch isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref arch | |
+ local dest=ref src=arch i keys values | |
+ declare -p arch | |
+ eval 'keys=("${!arch[@]}")' | |
++ keys=("${!arch[@]}") | |
+ eval 'ref=()' | |
++ ref=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''ref[0]'\'' %s "${arch[0]}";' | |
++ printf -v 'ref[0]' %s x86_64 | |
+ [[ -n x86_64 ]] | |
+ array_build list arch | |
+ local dest=list src=arch i keys values | |
+ declare -p arch | |
+ eval 'keys=("${!arch[@]}")' | |
++ keys=("${!arch[@]}") | |
+ eval 'list=()' | |
++ list=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''list[0]'\'' %s "${arch[0]}";' | |
++ printf -v 'list[0]' %s x86_64 | |
+ extract_function_variable package_gcc7-libs arch 1 list | |
+ local funcname=package_gcc7-libs attr=arch isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' arch | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* arch\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* arch\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ [[ -n x86_64 ]] | |
+ [[ x86_64 != \a\n\y ]] | |
+ in_array x86_64 x86_64 | |
+ local needle=x86_64 | |
+ shift | |
+ local item | |
+ for item in "$@" | |
+ [[ x86_64 = \x\8\6\_\6\4 ]] | |
+ return 0 | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_backup | |
+ local list name backup_list ret=0 | |
+ backup_list=("${backup[@]}") | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7 backup 1 list | |
+ local funcname=package_gcc7 attr=backup isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' backup | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* backup\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* backup\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7-libs backup 1 list | |
+ local funcname=package_gcc7-libs attr=backup isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' backup | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* backup\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* backup\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_changelog | |
+ local name file changelog_list | |
+ changelog_list=("${changelog[@]}") | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7 changelog 0 file | |
+ local funcname=package_gcc7 attr=changelog isarray=0 outputvar=file attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' changelog | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* changelog\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* changelog\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7-libs changelog 0 file | |
+ local funcname=package_gcc7-libs attr=changelog isarray=0 outputvar=file attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' changelog | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* changelog\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* changelog\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ check_files_exist changelog | |
+ files=("${@:2}") | |
+ local kind=changelog files file ret=0 | |
+ return 0 | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_pkgname | |
+ local ret=0 i | |
+ [[ -z gcc7 gcc7-libs ]] | |
+ for i in "${pkgname[@]}" | |
+ lint_one_pkgname pkgname gcc7 | |
+ local type=pkgname name=gcc7 ret=0 | |
+ [[ -z gcc7 ]] | |
+ [[ g = \- ]] | |
+ [[ g = \. ]] | |
+ [[ gcc7 = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ for i in "${pkgname[@]}" | |
+ lint_one_pkgname pkgname gcc7-libs | |
+ local type=pkgname name=gcc7-libs ret=0 | |
+ [[ -z gcc7-libs ]] | |
+ [[ g = \- ]] | |
+ [[ g = \. ]] | |
+ [[ gcc7-libs = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_pkgver | |
+ (( PKGVERFUNC )) | |
+ check_pkgver 7.3.1+20180406 | |
+ local ver=7.3.1+20180406 type= | |
+ [[ -z 7.3.1+20180406 ]] | |
+ [[ 7.3.1+20180406 = *[[:space:]/:-]* ]] | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_checkdepends | |
+ local checkdepends_list checkdepend name ver ret=0 | |
+ get_pkgbuild_all_split_attributes checkdepends checkdepends_list | |
+ local attrname=checkdepends outputvar=checkdepends_list all_list list | |
+ extract_global_variable checkdepends 1 list | |
+ local attr=checkdepends isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref checkdepends | |
+ local dest=ref src=checkdepends i keys values | |
+ declare -p checkdepends | |
+ eval 'keys=("${!checkdepends[@]}")' | |
++ keys=("${!checkdepends[@]}") | |
+ eval 'ref=()' | |
++ ref=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''ref[0]'\'' %s "${checkdepends[0]}"; printf -v '\''ref[1]'\'' %s "${checkdepends[1]}";' | |
++ printf -v 'ref[0]' %s dejagnu | |
++ printf -v 'ref[1]' %s inetutils | |
+ [[ -n dejagnu inetutils ]] | |
+ array_build list checkdepends | |
+ local dest=list src=checkdepends i keys values | |
+ declare -p checkdepends | |
+ eval 'keys=("${!checkdepends[@]}")' | |
++ keys=("${!checkdepends[@]}") | |
+ eval 'list=()' | |
++ list=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''list[0]'\'' %s "${checkdepends[0]}"; printf -v '\''list[1]'\'' %s "${checkdepends[1]}";' | |
++ printf -v 'list[0]' %s dejagnu | |
++ printf -v 'list[1]' %s inetutils | |
+ all_list+=("${list[@]}") | |
+ for a in "${arch[@]}" | |
+ extract_global_variable checkdepends_x86_64 1 list | |
+ local attr=checkdepends_x86_64 isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref checkdepends_x86_64 | |
+ local dest=ref src=checkdepends_x86_64 i keys values | |
+ declare -p checkdepends_x86_64 | |
+ return 1 | |
+ [[ -n '' ]] | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7 checkdepends 1 list | |
+ local funcname=package_gcc7 attr=checkdepends isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' checkdepends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* checkdepends\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* checkdepends\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for a in "${arch[@]}" | |
+ extract_function_variable package_gcc7 checkdepends_x86_64 1 list | |
+ local funcname=package_gcc7 attr=checkdepends_x86_64 isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' checkdepends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* checkdepends_x86_64\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* checkdepends_x86_64\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7-libs checkdepends 1 list | |
+ local funcname=package_gcc7-libs attr=checkdepends isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' checkdepends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* checkdepends\+?=\(' | |
++ grep -E '^[[:space:]]* checkdepends\+?=\(' | |
++ declare -f package_gcc7-libs | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for a in "${arch[@]}" | |
+ extract_function_variable package_gcc7-libs checkdepends_x86_64 1 list | |
+ local funcname=package_gcc7-libs attr=checkdepends_x86_64 isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' checkdepends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* checkdepends_x86_64\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* checkdepends_x86_64\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ [[ -n dejagnu inetutils ]] | |
+ array_build checkdepends_list all_list | |
+ local dest=checkdepends_list src=all_list i keys values | |
+ declare -p all_list | |
+ eval 'keys=("${!all_list[@]}")' | |
++ keys=("${!all_list[@]}") | |
+ eval 'checkdepends_list=()' | |
++ checkdepends_list=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''checkdepends_list[0]'\'' %s "${all_list[0]}"; printf -v '\''checkdepends_list[1]'\'' %s "${all_list[1]}";' | |
++ printf -v 'checkdepends_list[0]' %s dejagnu | |
++ printf -v 'checkdepends_list[1]' %s inetutils | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ for checkdepend in "${checkdepends_list[@]}" | |
+ name=dejagnu | |
+ ver=dejagnu | |
+ lint_one_pkgname checkdepends dejagnu | |
+ local type=checkdepends name=dejagnu ret=0 | |
+ [[ -z dejagnu ]] | |
+ [[ d = \- ]] | |
+ [[ d = \. ]] | |
+ [[ dejagnu = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ dejagnu != dejagnu ]] | |
+ for checkdepend in "${checkdepends_list[@]}" | |
+ name=inetutils | |
+ ver=inetutils | |
+ lint_one_pkgname checkdepends inetutils | |
+ local type=checkdepends name=inetutils ret=0 | |
+ [[ -z inetutils ]] | |
+ [[ i = \- ]] | |
+ [[ i = \. ]] | |
+ [[ inetutils = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ inetutils != inetutils ]] | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_conflicts | |
+ local conflicts_list conflict name ver ret=0 | |
+ get_pkgbuild_all_split_attributes conflicts conflicts_list | |
+ local attrname=conflicts outputvar=conflicts_list all_list list | |
+ extract_global_variable conflicts 1 list | |
+ local attr=conflicts isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref conflicts | |
+ local dest=ref src=conflicts i keys values | |
+ declare -p conflicts | |
+ return 1 | |
+ [[ -n '' ]] | |
+ for a in "${arch[@]}" | |
+ extract_global_variable conflicts_x86_64 1 list | |
+ local attr=conflicts_x86_64 isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref conflicts_x86_64 | |
+ local dest=ref src=conflicts_x86_64 i keys values | |
+ declare -p conflicts_x86_64 | |
+ return 1 | |
+ [[ -n '' ]] | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7 conflicts 1 list | |
+ local funcname=package_gcc7 attr=conflicts isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' conflicts | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* conflicts\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* conflicts\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for a in "${arch[@]}" | |
+ extract_function_variable package_gcc7 conflicts_x86_64 1 list | |
+ local funcname=package_gcc7 attr=conflicts_x86_64 isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' conflicts_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* conflicts_x86_64\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* conflicts_x86_64\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7-libs conflicts 1 list | |
+ local funcname=package_gcc7-libs attr=conflicts isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' conflicts | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* conflicts\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* conflicts\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for a in "${arch[@]}" | |
+ extract_function_variable package_gcc7-libs conflicts_x86_64 1 list | |
+ local funcname=package_gcc7-libs attr=conflicts_x86_64 isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' conflicts_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* conflicts_x86_64\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* conflicts_x86_64\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ [[ -n '' ]] | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_depends | |
+ local depends_list depend name ver ret=0 | |
+ get_pkgbuild_all_split_attributes depends depends_list | |
+ local attrname=depends outputvar=depends_list all_list list | |
+ extract_global_variable depends 1 list | |
+ local attr=depends isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref depends | |
+ local dest=ref src=depends i keys values | |
+ declare -p depends | |
+ return 1 | |
+ [[ -n '' ]] | |
+ for a in "${arch[@]}" | |
+ extract_global_variable depends_x86_64 1 list | |
+ local attr=depends_x86_64 isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref depends_x86_64 | |
+ local dest=ref src=depends_x86_64 i keys values | |
+ declare -p depends_x86_64 | |
+ return 1 | |
+ [[ -n '' ]] | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7 depends 1 list | |
+ local funcname=package_gcc7 attr=depends isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' depends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* depends\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* depends\+?=\(' | |
+ decl='depends=("gcc-libs=$pkgver-$pkgrel" '\''binutils>=2.28'\'' libmpc);' | |
+ eval 'list=("gcc-libs=$pkgver-$pkgrel" '\''binutils>=2.28'\'' libmpc);' | |
++ list=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.28' libmpc) | |
+ r=0 | |
+ read -r | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 0 | |
+ all_list+=("${list[@]}") | |
+ for a in "${arch[@]}" | |
+ extract_function_variable package_gcc7 depends_x86_64 1 list | |
+ local funcname=package_gcc7 attr=depends_x86_64 isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' depends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* depends_x86_64\+?=\(' | |
++ grep -E '^[[:space:]]* depends_x86_64\+?=\(' | |
++ declare -f package_gcc7 | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7-libs depends 1 list | |
+ local funcname=package_gcc7-libs attr=depends isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' depends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* depends\+?=\(' | |
++ grep -E '^[[:space:]]* depends\+?=\(' | |
++ declare -f package_gcc7-libs | |
+ decl='depends=('\''glibc>=2.27'\'');' | |
+ eval 'list=('\''glibc>=2.27'\'');' | |
++ list=('glibc>=2.27') | |
+ r=0 | |
+ read -r | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 0 | |
+ all_list+=("${list[@]}") | |
+ for a in "${arch[@]}" | |
+ extract_function_variable package_gcc7-libs depends_x86_64 1 list | |
+ local funcname=package_gcc7-libs attr=depends_x86_64 isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' depends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* depends_x86_64\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* depends_x86_64\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ [[ -n gcc-libs=7.3.1+20180406-1 binutils>=2.28 libmpc glibc>=2.27 ]] | |
+ array_build depends_list all_list | |
+ local dest=depends_list src=all_list i keys values | |
+ declare -p all_list | |
+ eval 'keys=("${!all_list[@]}")' | |
++ keys=("${!all_list[@]}") | |
+ eval 'depends_list=()' | |
++ depends_list=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''depends_list[0]'\'' %s "${all_list[0]}"; printf -v '\''depends_list[1]'\'' %s "${all_list[1]}"; printf -v '\''depends_list[2]'\'' %s "${all_list[2]}"; printf -v '\''depends_list[3]'\'' %s "${all_list[3]}";' | |
++ printf -v 'depends_list[0]' %s gcc-libs=7.3.1+20180406-1 | |
++ printf -v 'depends_list[1]' %s 'binutils>=2.28' | |
++ printf -v 'depends_list[2]' %s libmpc | |
++ printf -v 'depends_list[3]' %s 'glibc>=2.27' | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ for depend in "${depends_list[@]}" | |
+ name=gcc-libs | |
+ ver=7.3.1+20180406-1 | |
+ lint_one_pkgname depends gcc-libs | |
+ local type=depends name=gcc-libs ret=0 | |
+ [[ -z gcc-libs ]] | |
+ [[ g = \- ]] | |
+ [[ g = \. ]] | |
+ [[ gcc-libs = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ 7.3.1+20180406-1 != gcc-libs=7.3.1+20180406-1 ]] | |
+ [[ -n 7.3.1+20180406-1 ]] | |
+ check_pkgver 7.3.1+20180406 depends | |
+ local ver=7.3.1+20180406 type=depends | |
+ [[ -z 7.3.1+20180406 ]] | |
+ [[ 7.3.1+20180406 = *[[:space:]/:-]* ]] | |
+ for depend in "${depends_list[@]}" | |
+ name=binutils | |
+ ver=2.28 | |
+ lint_one_pkgname depends binutils | |
+ local type=depends name=binutils ret=0 | |
+ [[ -z binutils ]] | |
+ [[ b = \- ]] | |
+ [[ b = \. ]] | |
+ [[ binutils = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ 2.28 != binutils>=2.28 ]] | |
+ [[ -n 2.28 ]] | |
+ check_pkgver 2.28 depends | |
+ local ver=2.28 type=depends | |
+ [[ -z 2.28 ]] | |
+ [[ 2.28 = *[[:space:]/:-]* ]] | |
+ for depend in "${depends_list[@]}" | |
+ name=libmpc | |
+ ver=libmpc | |
+ lint_one_pkgname depends libmpc | |
+ local type=depends name=libmpc ret=0 | |
+ [[ -z libmpc ]] | |
+ [[ l = \- ]] | |
+ [[ l = \. ]] | |
+ [[ libmpc = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ libmpc != libmpc ]] | |
+ for depend in "${depends_list[@]}" | |
+ name=glibc | |
+ ver=2.27 | |
+ lint_one_pkgname depends glibc | |
+ local type=depends name=glibc ret=0 | |
+ [[ -z glibc ]] | |
+ [[ g = \- ]] | |
+ [[ g = \. ]] | |
+ [[ glibc = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ 2.27 != glibc>=2.27 ]] | |
+ [[ -n 2.27 ]] | |
+ check_pkgver 2.27 depends | |
+ local ver=2.27 type=depends | |
+ [[ -z 2.27 ]] | |
+ [[ 2.27 = *[[:space:]/:-]* ]] | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_epoch | |
+ [[ '' != *([[:digit:]]) ]] | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_install | |
+ local list file name install_list ret=0 | |
+ install_list=("${install[@]}") | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7 install 0 file | |
+ local funcname=package_gcc7 attr=install isarray=0 outputvar=file attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' install | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* install\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* install\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ install_list+=("$file") | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7-libs install 0 file | |
+ local funcname=package_gcc7-libs attr=install isarray=0 outputvar=file attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' install | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* install\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* install\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ install_list+=("$file") | |
+ check_files_exist install '' '' | |
+ files=("${@:2}") | |
+ local kind=install files file ret=0 | |
+ for file in "${files[@]}" | |
+ [[ -n '' ]] | |
+ for file in "${files[@]}" | |
+ [[ -n '' ]] | |
+ return 0 | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_makedepends | |
+ local makedepends_list makedepend name ver ret=0 | |
+ get_pkgbuild_all_split_attributes makedepends makedepends_list | |
+ local attrname=makedepends outputvar=makedepends_list all_list list | |
+ extract_global_variable makedepends 1 list | |
+ local attr=makedepends isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref makedepends | |
+ local dest=ref src=makedepends i keys values | |
+ declare -p makedepends | |
+ eval 'keys=("${!makedepends[@]}")' | |
++ keys=("${!makedepends[@]}") | |
+ eval 'ref=()' | |
++ ref=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''ref[0]'\'' %s "${makedepends[0]}"; printf -v '\''ref[1]'\'' %s "${makedepends[1]}"; printf -v '\''ref[2]'\'' %s "${makedepends[2]}"; printf -v '\''ref[3]'\'' %s "${makedepends[3]}"; printf -v '\''ref[4]'\'' %s "${makedepends[4]}"; printf -v '\''ref[5]'\'' %s "${makedepends[5]}";' | |
++ printf -v 'ref[0]' %s binutils | |
++ printf -v 'ref[1]' %s libmpc | |
++ printf -v 'ref[2]' %s doxygen | |
++ printf -v 'ref[3]' %s lib32-glibc | |
++ printf -v 'ref[4]' %s lib32-gcc-libs | |
++ printf -v 'ref[5]' %s python | |
+ [[ -n binutils libmpc doxygen lib32-glibc lib32-gcc-libs python ]] | |
+ array_build list makedepends | |
+ local dest=list src=makedepends i keys values | |
+ declare -p makedepends | |
+ eval 'keys=("${!makedepends[@]}")' | |
++ keys=("${!makedepends[@]}") | |
+ eval 'list=()' | |
++ list=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''list[0]'\'' %s "${makedepends[0]}"; printf -v '\''list[1]'\'' %s "${makedepends[1]}"; printf -v '\''list[2]'\'' %s "${makedepends[2]}"; printf -v '\''list[3]'\'' %s "${makedepends[3]}"; printf -v '\''list[4]'\'' %s "${makedepends[4]}"; printf -v '\''list[5]'\'' %s "${makedepends[5]}";' | |
++ printf -v 'list[0]' %s binutils | |
++ printf -v 'list[1]' %s libmpc | |
++ printf -v 'list[2]' %s doxygen | |
++ printf -v 'list[3]' %s lib32-glibc | |
++ printf -v 'list[4]' %s lib32-gcc-libs | |
++ printf -v 'list[5]' %s python | |
+ all_list+=("${list[@]}") | |
+ for a in "${arch[@]}" | |
+ extract_global_variable makedepends_x86_64 1 list | |
+ local attr=makedepends_x86_64 isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref makedepends_x86_64 | |
+ local dest=ref src=makedepends_x86_64 i keys values | |
+ declare -p makedepends_x86_64 | |
+ return 1 | |
+ [[ -n '' ]] | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7 makedepends 1 list | |
+ local funcname=package_gcc7 attr=makedepends isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' makedepends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* makedepends\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* makedepends\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for a in "${arch[@]}" | |
+ extract_function_variable package_gcc7 makedepends_x86_64 1 list | |
+ local funcname=package_gcc7 attr=makedepends_x86_64 isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' makedepends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* makedepends_x86_64\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* makedepends_x86_64\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7-libs makedepends 1 list | |
+ local funcname=package_gcc7-libs attr=makedepends isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' makedepends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* makedepends\+?=\(' | |
++ grep -E '^[[:space:]]* makedepends\+?=\(' | |
++ declare -f package_gcc7-libs | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for a in "${arch[@]}" | |
+ extract_function_variable package_gcc7-libs makedepends_x86_64 1 list | |
+ local funcname=package_gcc7-libs attr=makedepends_x86_64 isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' makedepends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* makedepends_x86_64\+?=\(' | |
++ grep -E '^[[:space:]]* makedepends_x86_64\+?=\(' | |
++ declare -f package_gcc7-libs | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ [[ -n binutils libmpc doxygen lib32-glibc lib32-gcc-libs python ]] | |
+ array_build makedepends_list all_list | |
+ local dest=makedepends_list src=all_list i keys values | |
+ declare -p all_list | |
+ eval 'keys=("${!all_list[@]}")' | |
++ keys=("${!all_list[@]}") | |
+ eval 'makedepends_list=()' | |
++ makedepends_list=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''makedepends_list[0]'\'' %s "${all_list[0]}"; printf -v '\''makedepends_list[1]'\'' %s "${all_list[1]}"; printf -v '\''makedepends_list[2]'\'' %s "${all_list[2]}"; printf -v '\''makedepends_list[3]'\'' %s "${all_list[3]}"; printf -v '\''makedepends_list[4]'\'' %s "${all_list[4]}"; printf -v '\''makedepends_list[5]'\'' %s "${all_list[5]}";' | |
++ printf -v 'makedepends_list[0]' %s binutils | |
++ printf -v 'makedepends_list[1]' %s libmpc | |
++ printf -v 'makedepends_list[2]' %s doxygen | |
++ printf -v 'makedepends_list[3]' %s lib32-glibc | |
++ printf -v 'makedepends_list[4]' %s lib32-gcc-libs | |
++ printf -v 'makedepends_list[5]' %s python | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ for makedepend in "${makedepends_list[@]}" | |
+ name=binutils | |
+ ver=binutils | |
+ lint_one_pkgname makedepends binutils | |
+ local type=makedepends name=binutils ret=0 | |
+ [[ -z binutils ]] | |
+ [[ b = \- ]] | |
+ [[ b = \. ]] | |
+ [[ binutils = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ binutils != binutils ]] | |
+ for makedepend in "${makedepends_list[@]}" | |
+ name=libmpc | |
+ ver=libmpc | |
+ lint_one_pkgname makedepends libmpc | |
+ local type=makedepends name=libmpc ret=0 | |
+ [[ -z libmpc ]] | |
+ [[ l = \- ]] | |
+ [[ l = \. ]] | |
+ [[ libmpc = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ libmpc != libmpc ]] | |
+ for makedepend in "${makedepends_list[@]}" | |
+ name=doxygen | |
+ ver=doxygen | |
+ lint_one_pkgname makedepends doxygen | |
+ local type=makedepends name=doxygen ret=0 | |
+ [[ -z doxygen ]] | |
+ [[ d = \- ]] | |
+ [[ d = \. ]] | |
+ [[ doxygen = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ doxygen != doxygen ]] | |
+ for makedepend in "${makedepends_list[@]}" | |
+ name=lib32-glibc | |
+ ver=lib32-glibc | |
+ lint_one_pkgname makedepends lib32-glibc | |
+ local type=makedepends name=lib32-glibc ret=0 | |
+ [[ -z lib32-glibc ]] | |
+ [[ l = \- ]] | |
+ [[ l = \. ]] | |
+ [[ lib32-glibc = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ lib32-glibc != lib32-glibc ]] | |
+ for makedepend in "${makedepends_list[@]}" | |
+ name=lib32-gcc-libs | |
+ ver=lib32-gcc-libs | |
+ lint_one_pkgname makedepends lib32-gcc-libs | |
+ local type=makedepends name=lib32-gcc-libs ret=0 | |
+ [[ -z lib32-gcc-libs ]] | |
+ [[ l = \- ]] | |
+ [[ l = \. ]] | |
+ [[ lib32-gcc-libs = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ lib32-gcc-libs != lib32-gcc-libs ]] | |
+ for makedepend in "${makedepends_list[@]}" | |
+ name=python | |
+ ver=python | |
+ lint_one_pkgname makedepends python | |
+ local type=makedepends name=python ret=0 | |
+ [[ -z python ]] | |
+ [[ p = \- ]] | |
+ [[ p = \. ]] | |
+ [[ python = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ python != python ]] | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_optdepends | |
+ local optdepends_list optdepend name ver ret=0 | |
+ get_pkgbuild_all_split_attributes optdepends optdepends_list | |
+ local attrname=optdepends outputvar=optdepends_list all_list list | |
+ extract_global_variable optdepends 1 list | |
+ local attr=optdepends isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref optdepends | |
+ local dest=ref src=optdepends i keys values | |
+ declare -p optdepends | |
+ return 1 | |
+ [[ -n '' ]] | |
+ for a in "${arch[@]}" | |
+ extract_global_variable optdepends_x86_64 1 list | |
+ local attr=optdepends_x86_64 isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref optdepends_x86_64 | |
+ local dest=ref src=optdepends_x86_64 i keys values | |
+ declare -p optdepends_x86_64 | |
+ return 1 | |
+ [[ -n '' ]] | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7 optdepends 1 list | |
+ local funcname=package_gcc7 attr=optdepends isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' optdepends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* optdepends\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* optdepends\+?=\(' | |
+ decl='optdepends=('\''lib32-gcc-libs: for generating code for 32-bit ABI'\'');' | |
+ eval 'list=('\''lib32-gcc-libs: for generating code for 32-bit ABI'\'');' | |
++ list=('lib32-gcc-libs: for generating code for 32-bit ABI') | |
+ r=0 | |
+ read -r | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 0 | |
+ all_list+=("${list[@]}") | |
+ for a in "${arch[@]}" | |
+ extract_function_variable package_gcc7 optdepends_x86_64 1 list | |
+ local funcname=package_gcc7 attr=optdepends_x86_64 isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' optdepends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* optdepends_x86_64\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* optdepends_x86_64\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7-libs optdepends 1 list | |
+ local funcname=package_gcc7-libs attr=optdepends isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' optdepends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* optdepends\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* optdepends\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for a in "${arch[@]}" | |
+ extract_function_variable package_gcc7-libs optdepends_x86_64 1 list | |
+ local funcname=package_gcc7-libs attr=optdepends_x86_64 isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' optdepends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* optdepends_x86_64\+?=\(' | |
++ grep -E '^[[:space:]]* optdepends_x86_64\+?=\(' | |
++ declare -f package_gcc7-libs | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ [[ -n lib32-gcc-libs: for generating code for 32-bit ABI ]] | |
+ array_build optdepends_list all_list | |
+ local dest=optdepends_list src=all_list i keys values | |
+ declare -p all_list | |
+ eval 'keys=("${!all_list[@]}")' | |
++ keys=("${!all_list[@]}") | |
+ eval 'optdepends_list=()' | |
++ optdepends_list=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''optdepends_list[0]'\'' %s "${all_list[0]}";' | |
++ printf -v 'optdepends_list[0]' %s 'lib32-gcc-libs: for generating code for 32-bit ABI' | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ for optdepend in "${optdepends_list[@]%%:[[:space:]]*}" | |
+ name=lib32-gcc-libs | |
+ ver=lib32-gcc-libs | |
+ lint_one_pkgname optdepends lib32-gcc-libs | |
+ local type=optdepends name=lib32-gcc-libs ret=0 | |
+ [[ -z lib32-gcc-libs ]] | |
+ [[ l = \- ]] | |
+ [[ l = \. ]] | |
+ [[ lib32-gcc-libs = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ lib32-gcc-libs != lib32-gcc-libs ]] | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_options | |
+ local ret=0 list name kopt options_list | |
+ options_list=("${options[@]}") | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7 options 1 list | |
+ local funcname=package_gcc7 attr=options isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' options | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* options\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* options\+?=\(' | |
+ decl='options+=(staticlibs);' | |
+ eval 'list+=(staticlibs);' | |
++ list+=(staticlibs) | |
+ r=0 | |
+ read -r | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 0 | |
+ options_list+=("${list[@]}") | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7-libs options 1 list | |
+ local funcname=package_gcc7-libs attr=options isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' options | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* options\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* options\+?=\(' | |
+ decl='options+=(!strip);' | |
+ eval 'list+=(!strip);' | |
++ list+=(!strip) | |
+ r=0 | |
+ read -r | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 0 | |
+ options_list+=("${list[@]}") | |
+ for i in "${options_list[@]}" | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ !emptydirs = \d\o\c\s ]] | |
+ [[ !emptydirs = \!\d\o\c\s ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ !emptydirs = \e\m\p\t\y\d\i\r\s ]] | |
+ [[ !emptydirs = \!\e\m\p\t\y\d\i\r\s ]] | |
+ continue 2 | |
+ for i in "${options_list[@]}" | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ staticlibs = \d\o\c\s ]] | |
+ [[ staticlibs = \!\d\o\c\s ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ staticlibs = \e\m\p\t\y\d\i\r\s ]] | |
+ [[ staticlibs = \!\e\m\p\t\y\d\i\r\s ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ staticlibs = \l\i\b\t\o\o\l ]] | |
+ [[ staticlibs = \!\l\i\b\t\o\o\l ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ staticlibs = \p\u\r\g\e ]] | |
+ [[ staticlibs = \!\p\u\r\g\e ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ staticlibs = \s\t\a\t\i\c\l\i\b\s ]] | |
+ continue 2 | |
+ for i in "${options_list[@]}" | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ staticlibs = \d\o\c\s ]] | |
+ [[ staticlibs = \!\d\o\c\s ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ staticlibs = \e\m\p\t\y\d\i\r\s ]] | |
+ [[ staticlibs = \!\e\m\p\t\y\d\i\r\s ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ staticlibs = \l\i\b\t\o\o\l ]] | |
+ [[ staticlibs = \!\l\i\b\t\o\o\l ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ staticlibs = \p\u\r\g\e ]] | |
+ [[ staticlibs = \!\p\u\r\g\e ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ staticlibs = \s\t\a\t\i\c\l\i\b\s ]] | |
+ continue 2 | |
+ for i in "${options_list[@]}" | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ !strip = \d\o\c\s ]] | |
+ [[ !strip = \!\d\o\c\s ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ !strip = \e\m\p\t\y\d\i\r\s ]] | |
+ [[ !strip = \!\e\m\p\t\y\d\i\r\s ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ !strip = \l\i\b\t\o\o\l ]] | |
+ [[ !strip = \!\l\i\b\t\o\o\l ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ !strip = \p\u\r\g\e ]] | |
+ [[ !strip = \!\p\u\r\g\e ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ !strip = \s\t\a\t\i\c\l\i\b\s ]] | |
+ [[ !strip = \!\s\t\a\t\i\c\l\i\b\s ]] | |
+ for kopt in "${packaging_options[@]}" "${build_options[@]}" | |
+ [[ !strip = \s\t\r\i\p ]] | |
+ [[ !strip = \!\s\t\r\i\p ]] | |
+ continue 2 | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_package_function | |
+ local i ret=0 | |
+ (( 2 == 1 )) | |
+ for i in "${pkgname[@]}" | |
+ have_function package_gcc7 | |
+ declare -f package_gcc7 | |
+ for i in "${pkgname[@]}" | |
+ have_function package_gcc7-libs | |
+ declare -f package_gcc7-libs | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_pkgbase | |
+ [[ -z gcc7 ]] | |
+ lint_one_pkgname pkgbase gcc7 | |
+ local type=pkgbase name=gcc7 ret=0 | |
+ [[ -z gcc7 ]] | |
+ [[ g = \- ]] | |
+ [[ g = \. ]] | |
+ [[ gcc7 = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_pkglist | |
+ local i ret=0 | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_pkgrel | |
+ [[ -z 1 ]] | |
+ [[ 1 != +([0-9])?(.+([0-9])) ]] | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_provides | |
+ local provides_list provide name ver ret=0 | |
+ get_pkgbuild_all_split_attributes provides provides_list | |
+ local attrname=provides outputvar=provides_list all_list list | |
+ extract_global_variable provides 1 list | |
+ local attr=provides isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref provides | |
+ local dest=ref src=provides i keys values | |
+ declare -p provides | |
+ return 1 | |
+ [[ -n '' ]] | |
+ for a in "${arch[@]}" | |
+ extract_global_variable provides_x86_64 1 list | |
+ local attr=provides_x86_64 isarray=1 outputvar=list ref | |
+ (( isarray )) | |
+ array_build ref provides_x86_64 | |
+ local dest=ref src=provides_x86_64 i keys values | |
+ declare -p provides_x86_64 | |
+ return 1 | |
+ [[ -n '' ]] | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7 provides 1 list | |
+ local funcname=package_gcc7 attr=provides isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' provides | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* provides\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* provides\+?=\(' | |
+ decl='provides=($pkgname-multilib);' | |
+ eval 'list=($pkgname-multilib);' | |
++ list=($pkgname-multilib) | |
+ r=0 | |
+ read -r | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 0 | |
+ all_list+=("${list[@]}") | |
+ for a in "${arch[@]}" | |
+ extract_function_variable package_gcc7 provides_x86_64 1 list | |
+ local funcname=package_gcc7 attr=provides_x86_64 isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' provides_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* provides_x86_64\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* provides_x86_64\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for name in "${pkgname[@]}" | |
+ extract_function_variable package_gcc7-libs provides 1 list | |
+ local funcname=package_gcc7-libs attr=provides isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' provides | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* provides\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* provides\+?=\(' | |
+ decl='provides=($pkgname-multilib libgo.so libgfortran.so);' | |
+ eval 'list=($pkgname-multilib libgo.so libgfortran.so);' | |
++ list=($pkgname-multilib libgo.so libgfortran.so) | |
+ r=0 | |
+ read -r | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 0 | |
+ all_list+=("${list[@]}") | |
+ for a in "${arch[@]}" | |
+ extract_function_variable package_gcc7-libs provides_x86_64 1 list | |
+ local funcname=package_gcc7-libs attr=provides_x86_64 isarray=1 outputvar=list attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' provides_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* provides_x86_64\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* provides_x86_64\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ [[ -n gcc7-multilib gcc7-multilib libgo.so libgfortran.so ]] | |
+ array_build provides_list all_list | |
+ local dest=provides_list src=all_list i keys values | |
+ declare -p all_list | |
+ eval 'keys=("${!all_list[@]}")' | |
++ keys=("${!all_list[@]}") | |
+ eval 'provides_list=()' | |
++ provides_list=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''provides_list[0]'\'' %s "${all_list[0]}"; printf -v '\''provides_list[1]'\'' %s "${all_list[1]}"; printf -v '\''provides_list[2]'\'' %s "${all_list[2]}"; printf -v '\''provides_list[3]'\'' %s "${all_list[3]}";' | |
++ printf -v 'provides_list[0]' %s gcc7-multilib | |
++ printf -v 'provides_list[1]' %s gcc7-multilib | |
++ printf -v 'provides_list[2]' %s libgo.so | |
++ printf -v 'provides_list[3]' %s libgfortran.so | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ for provide in "${provides_list[@]}" | |
+ [[ gcc7-multilib == *[\<\>]* ]] | |
+ name=gcc7-multilib | |
+ ver=gcc7-multilib | |
+ lint_one_pkgname provides gcc7-multilib | |
+ local type=provides name=gcc7-multilib ret=0 | |
+ [[ -z gcc7-multilib ]] | |
+ [[ g = \- ]] | |
+ [[ g = \. ]] | |
+ [[ gcc7-multilib = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ gcc7-multilib != gcc7-multilib ]] | |
+ for provide in "${provides_list[@]}" | |
+ [[ gcc7-multilib == *[\<\>]* ]] | |
+ name=gcc7-multilib | |
+ ver=gcc7-multilib | |
+ lint_one_pkgname provides gcc7-multilib | |
+ local type=provides name=gcc7-multilib ret=0 | |
+ [[ -z gcc7-multilib ]] | |
+ [[ g = \- ]] | |
+ [[ g = \. ]] | |
+ [[ gcc7-multilib = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ gcc7-multilib != gcc7-multilib ]] | |
+ for provide in "${provides_list[@]}" | |
+ [[ libgo.so == *[\<\>]* ]] | |
+ name=libgo.so | |
+ ver=libgo.so | |
+ lint_one_pkgname provides libgo.so | |
+ local type=provides name=libgo.so ret=0 | |
+ [[ -z libgo.so ]] | |
+ [[ l = \- ]] | |
+ [[ l = \. ]] | |
+ [[ libgo.so = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ libgo.so != libgo.so ]] | |
+ for provide in "${provides_list[@]}" | |
+ [[ libgfortran.so == *[\<\>]* ]] | |
+ name=libgfortran.so | |
+ ver=libgfortran.so | |
+ lint_one_pkgname provides libgfortran.so | |
+ local type=provides name=libgfortran.so ret=0 | |
+ [[ -z libgfortran.so ]] | |
+ [[ l = \- ]] | |
+ [[ l = \. ]] | |
+ [[ libgfortran.so = *[^[:alnum:]+_.@-]* ]] | |
+ return 0 | |
+ [[ libgfortran.so != libgfortran.so ]] | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 0 | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_source | |
+ idx=("${!source[@]}") | |
+ local idx | |
+ (( 6 > 0 && (5 + 1) != 6 )) | |
+ for func in ${lint_pkgbuild_functions[@]} | |
+ lint_variable | |
+ array=(arch backup checkdepends groups license noextract options validpgpkeys) | |
+ local array | |
+ arch_array=(conflicts depends makedepends md5sums optdepends provides replaces sha1sums sha224sums sha256sums sha384sums sha512sums source) | |
+ local arch_array | |
+ string=(changelog epoch install pkgdesc pkgrel pkgver url) | |
+ local string | |
+ local i a v pkg keys out bad ret=0 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!arch[@]}")' | |
++ keys=("${!arch[@]}") | |
+ (( 1 > 0 )) | |
+ is_array arch | |
+ local v=arch | |
+ local ret=1 | |
++ declare -p arch | |
+ [[ declare -a arch=([0]="x86_64") == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]] | |
+ ret=0 | |
+ return 0 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!backup[@]}")' | |
++ keys=("${!backup[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!checkdepends[@]}")' | |
++ keys=("${!checkdepends[@]}") | |
+ (( 2 > 0 )) | |
+ is_array checkdepends | |
+ local v=checkdepends | |
+ local ret=1 | |
++ declare -p checkdepends | |
+ [[ declare -a checkdepends=([0]="dejagnu" [1]="inetutils") == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]] | |
+ ret=0 | |
+ return 0 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!groups[@]}")' | |
++ keys=("${!groups[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!license[@]}")' | |
++ keys=("${!license[@]}") | |
+ (( 4 > 0 )) | |
+ is_array license | |
+ local v=license | |
+ local ret=1 | |
++ declare -p license | |
+ [[ declare -a license=([0]="GPL" [1]="LGPL" [2]="FDL" [3]="custom") == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]] | |
+ ret=0 | |
+ return 0 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!noextract[@]}")' | |
++ keys=("${!noextract[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!options[@]}")' | |
++ keys=("${!options[@]}") | |
+ (( 1 > 0 )) | |
+ is_array options | |
+ local v=options | |
+ local ret=1 | |
++ declare -p options | |
+ [[ declare -a options=([0]="!emptydirs") == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]] | |
+ ret=0 | |
+ return 0 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!validpgpkeys[@]}")' | |
++ keys=("${!validpgpkeys[@]}") | |
+ (( 2 > 0 )) | |
+ is_array validpgpkeys | |
+ local v=validpgpkeys | |
+ local ret=1 | |
++ declare -p validpgpkeys | |
+ [[ declare -a validpgpkeys=([0]="F3691687D867B81B51CE07D9BBE43771487328A9" [1]="13975A70E63C361C73AE69EF6EEB81F8981C74C7") == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]] | |
+ ret=0 | |
+ return 0 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!conflicts[@]}")' | |
++ keys=("${!conflicts[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!depends[@]}")' | |
++ keys=("${!depends[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!makedepends[@]}")' | |
++ keys=("${!makedepends[@]}") | |
+ (( 6 > 0 )) | |
+ is_array makedepends | |
+ local v=makedepends | |
+ local ret=1 | |
++ declare -p makedepends | |
+ [[ declare -a makedepends=([0]="binutils" [1]="libmpc" [2]="doxygen" [3]="lib32-glibc" [4]="lib32-gcc-libs" [5]="python") == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]] | |
+ ret=0 | |
+ return 0 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!md5sums[@]}")' | |
++ keys=("${!md5sums[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!optdepends[@]}")' | |
++ keys=("${!optdepends[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!provides[@]}")' | |
++ keys=("${!provides[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!replaces[@]}")' | |
++ keys=("${!replaces[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!sha1sums[@]}")' | |
++ keys=("${!sha1sums[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!sha224sums[@]}")' | |
++ keys=("${!sha224sums[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!sha256sums[@]}")' | |
++ keys=("${!sha256sums[@]}") | |
+ (( 6 > 0 )) | |
+ is_array sha256sums | |
+ local v=sha256sums | |
+ local ret=1 | |
++ declare -p sha256sums | |
+ [[ declare -a sha256sums=([0]="41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00" [1]="SKIP" [2]="6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b" [3]="de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931" [4]="2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a" [5]="bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7") == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]] | |
+ ret=0 | |
+ return 0 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!sha384sums[@]}")' | |
++ keys=("${!sha384sums[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!sha512sums[@]}")' | |
++ keys=("${!sha512sums[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ (( 6 > 0 )) | |
+ is_array source | |
+ local v=source | |
+ local ret=1 | |
++ declare -p source | |
+ [[ declare -a source=([0]="https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz" [1]="https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig" [2]="http://isl.gforge.inria.fr/isl-0.18.tar.bz2" [3]="c89" [4]="c99" [5]="bz84080.patch") == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]] | |
+ ret=0 | |
+ return 0 | |
+ for a in ${arch[@]} | |
+ [[ x86_64 == \a\n\y ]] | |
+ for i in ${arch_array[@]} | |
+ v=conflicts_x86_64 | |
+ eval 'keys=("${!conflicts_x86_64[@]}")' | |
++ keys=("${!conflicts_x86_64[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${arch_array[@]} | |
+ v=depends_x86_64 | |
+ eval 'keys=("${!depends_x86_64[@]}")' | |
++ keys=("${!depends_x86_64[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${arch_array[@]} | |
+ v=makedepends_x86_64 | |
+ eval 'keys=("${!makedepends_x86_64[@]}")' | |
++ keys=("${!makedepends_x86_64[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${arch_array[@]} | |
+ v=md5sums_x86_64 | |
+ eval 'keys=("${!md5sums_x86_64[@]}")' | |
++ keys=("${!md5sums_x86_64[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${arch_array[@]} | |
+ v=optdepends_x86_64 | |
+ eval 'keys=("${!optdepends_x86_64[@]}")' | |
++ keys=("${!optdepends_x86_64[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${arch_array[@]} | |
+ v=provides_x86_64 | |
+ eval 'keys=("${!provides_x86_64[@]}")' | |
++ keys=("${!provides_x86_64[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${arch_array[@]} | |
+ v=replaces_x86_64 | |
+ eval 'keys=("${!replaces_x86_64[@]}")' | |
++ keys=("${!replaces_x86_64[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${arch_array[@]} | |
+ v=sha1sums_x86_64 | |
+ eval 'keys=("${!sha1sums_x86_64[@]}")' | |
++ keys=("${!sha1sums_x86_64[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${arch_array[@]} | |
+ v=sha224sums_x86_64 | |
+ eval 'keys=("${!sha224sums_x86_64[@]}")' | |
++ keys=("${!sha224sums_x86_64[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${arch_array[@]} | |
+ v=sha256sums_x86_64 | |
+ eval 'keys=("${!sha256sums_x86_64[@]}")' | |
++ keys=("${!sha256sums_x86_64[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${arch_array[@]} | |
+ v=sha384sums_x86_64 | |
+ eval 'keys=("${!sha384sums_x86_64[@]}")' | |
++ keys=("${!sha384sums_x86_64[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${arch_array[@]} | |
+ v=sha512sums_x86_64 | |
+ eval 'keys=("${!sha512sums_x86_64[@]}")' | |
++ keys=("${!sha512sums_x86_64[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${arch_array[@]} | |
+ v=source_x86_64 | |
+ eval 'keys=("${!source_x86_64[@]}")' | |
++ keys=("${!source_x86_64[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!changelog[@]}")' | |
++ keys=("${!changelog[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!epoch[@]}")' | |
++ keys=("${!epoch[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!install[@]}")' | |
++ keys=("${!install[@]}") | |
+ (( 0 > 0 )) | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!pkgdesc[@]}")' | |
++ keys=("${!pkgdesc[@]}") | |
+ (( 1 > 0 )) | |
+ is_array pkgdesc | |
+ local v=pkgdesc | |
+ local ret=1 | |
++ declare -p pkgdesc | |
+ [[ declare -- pkgdesc="The GNU Compiler Collection" == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]] | |
+ return 1 | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!pkgrel[@]}")' | |
++ keys=("${!pkgrel[@]}") | |
+ (( 1 > 0 )) | |
+ is_array pkgrel | |
+ local v=pkgrel | |
+ local ret=1 | |
++ declare -p pkgrel | |
+ [[ declare -- pkgrel="1" == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]] | |
+ return 1 | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!pkgver[@]}")' | |
++ keys=("${!pkgver[@]}") | |
+ (( 1 > 0 )) | |
+ is_array pkgver | |
+ local v=pkgver | |
+ local ret=1 | |
++ declare -p pkgver | |
+ [[ declare -- pkgver="7.3.1+20180406" == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]] | |
+ return 1 | |
+ for i in ${string[@]} | |
+ eval 'keys=("${!url[@]}")' | |
++ keys=("${!url[@]}") | |
+ (( 1 > 0 )) | |
+ is_array url | |
+ local v=url | |
+ local ret=1 | |
++ declare -p url | |
+ [[ declare -- url="http://gcc.gnu.org" == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]] | |
+ return 1 | |
+ for pkg in ${pkgname[@]} | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 arch 0 out | |
+ local funcname=package_gcc7 attr=arch isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' arch | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* arch\+?=[^(]' | |
++ grep -E '^[[:space:]]* arch\+?=[^(]' | |
++ declare -f package_gcc7 | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 backup 0 out | |
+ local funcname=package_gcc7 attr=backup isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' backup | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* backup\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* backup\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 checkdepends 0 out | |
+ local funcname=package_gcc7 attr=checkdepends isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' checkdepends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* checkdepends\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* checkdepends\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 groups 0 out | |
+ local funcname=package_gcc7 attr=groups isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' groups | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* groups\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* groups\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 license 0 out | |
+ local funcname=package_gcc7 attr=license isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' license | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* license\+?=[^(]' | |
++ grep -E '^[[:space:]]* license\+?=[^(]' | |
++ declare -f package_gcc7 | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 noextract 0 out | |
+ local funcname=package_gcc7 attr=noextract isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' noextract | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* noextract\+?=[^(]' | |
++ grep -E '^[[:space:]]* noextract\+?=[^(]' | |
++ declare -f package_gcc7 | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 options 0 out | |
+ local funcname=package_gcc7 attr=options isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' options | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* options\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* options\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 validpgpkeys 0 out | |
+ local funcname=package_gcc7 attr=validpgpkeys isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' validpgpkeys | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* validpgpkeys\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* validpgpkeys\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 conflicts 0 out | |
+ local funcname=package_gcc7 attr=conflicts isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' conflicts | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* conflicts\+?=[^(]' | |
++ grep -E '^[[:space:]]* conflicts\+?=[^(]' | |
++ declare -f package_gcc7 | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 depends 0 out | |
+ local funcname=package_gcc7 attr=depends isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' depends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* depends\+?=[^(]' | |
++ grep -E '^[[:space:]]* depends\+?=[^(]' | |
++ declare -f package_gcc7 | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 makedepends 0 out | |
+ local funcname=package_gcc7 attr=makedepends isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' makedepends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* makedepends\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* makedepends\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 md5sums 0 out | |
+ local funcname=package_gcc7 attr=md5sums isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' md5sums | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* md5sums\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* md5sums\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 optdepends 0 out | |
+ local funcname=package_gcc7 attr=optdepends isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' optdepends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* optdepends\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* optdepends\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 provides 0 out | |
+ local funcname=package_gcc7 attr=provides isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' provides | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* provides\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* provides\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 replaces 0 out | |
+ local funcname=package_gcc7 attr=replaces isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' replaces | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* replaces\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* replaces\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 sha1sums 0 out | |
+ local funcname=package_gcc7 attr=sha1sums isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha1sums | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* sha1sums\+?=[^(]' | |
++ grep -E '^[[:space:]]* sha1sums\+?=[^(]' | |
++ declare -f package_gcc7 | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 sha224sums 0 out | |
+ local funcname=package_gcc7 attr=sha224sums isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha224sums | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* sha224sums\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* sha224sums\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 sha256sums 0 out | |
+ local funcname=package_gcc7 attr=sha256sums isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha256sums | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* sha256sums\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* sha256sums\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 sha384sums 0 out | |
+ local funcname=package_gcc7 attr=sha384sums isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha384sums | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* sha384sums\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* sha384sums\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 sha512sums 0 out | |
+ local funcname=package_gcc7 attr=sha512sums isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha512sums | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* sha512sums\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* sha512sums\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7 source 0 out | |
+ local funcname=package_gcc7 attr=source isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' source | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* source\+?=[^(]' | |
++ grep -E '^[[:space:]]* source\+?=[^(]' | |
++ declare -f package_gcc7 | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for a in ${arch[@]} | |
+ [[ x86_64 == \a\n\y ]] | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7 conflicts_x86_64 0 out | |
+ local funcname=package_gcc7 attr=conflicts_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' conflicts_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* conflicts_x86_64\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* conflicts_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7 depends_x86_64 0 out | |
+ local funcname=package_gcc7 attr=depends_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' depends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* depends_x86_64\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* depends_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7 makedepends_x86_64 0 out | |
+ local funcname=package_gcc7 attr=makedepends_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' makedepends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* makedepends_x86_64\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* makedepends_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7 md5sums_x86_64 0 out | |
+ local funcname=package_gcc7 attr=md5sums_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' md5sums_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* md5sums_x86_64\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* md5sums_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7 optdepends_x86_64 0 out | |
+ local funcname=package_gcc7 attr=optdepends_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' optdepends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* optdepends_x86_64\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* optdepends_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7 provides_x86_64 0 out | |
+ local funcname=package_gcc7 attr=provides_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' provides_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* provides_x86_64\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* provides_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7 replaces_x86_64 0 out | |
+ local funcname=package_gcc7 attr=replaces_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' replaces_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* replaces_x86_64\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* replaces_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7 sha1sums_x86_64 0 out | |
+ local funcname=package_gcc7 attr=sha1sums_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha1sums_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* sha1sums_x86_64\+?=[^(]' | |
++ grep -E '^[[:space:]]* sha1sums_x86_64\+?=[^(]' | |
++ declare -f package_gcc7 | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7 sha224sums_x86_64 0 out | |
+ local funcname=package_gcc7 attr=sha224sums_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha224sums_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* sha224sums_x86_64\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* sha224sums_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7 sha256sums_x86_64 0 out | |
+ local funcname=package_gcc7 attr=sha256sums_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha256sums_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* sha256sums_x86_64\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* sha256sums_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7 sha384sums_x86_64 0 out | |
+ local funcname=package_gcc7 attr=sha384sums_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha384sums_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* sha384sums_x86_64\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* sha384sums_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7 sha512sums_x86_64 0 out | |
+ local funcname=package_gcc7 attr=sha512sums_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha512sums_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* sha512sums_x86_64\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* sha512sums_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7 source_x86_64 0 out | |
+ local funcname=package_gcc7 attr=source_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' source_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* source_x86_64\+?=[^(]' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* source_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7 changelog 1 out | |
+ local funcname=package_gcc7 attr=changelog isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' changelog | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* changelog\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* changelog\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7 epoch 1 out | |
+ local funcname=package_gcc7 attr=epoch isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' epoch | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* epoch\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* epoch\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7 install 1 out | |
+ local funcname=package_gcc7 attr=install isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' install | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* install\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* install\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7 pkgdesc 1 out | |
+ local funcname=package_gcc7 attr=pkgdesc isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' pkgdesc | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* pkgdesc\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* pkgdesc\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7 pkgrel 1 out | |
+ local funcname=package_gcc7 attr=pkgrel isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' pkgrel | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* pkgrel\+?=\(' | |
++ grep -E '^[[:space:]]* pkgrel\+?=\(' | |
++ declare -f package_gcc7 | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7 pkgver 1 out | |
+ local funcname=package_gcc7 attr=pkgver isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' pkgver | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* pkgver\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* pkgver\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7 url 1 out | |
+ local funcname=package_gcc7 attr=url isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' url | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7 '^[[:space:]]* url\+?=\(' | |
++ declare -f package_gcc7 | |
++ grep -E '^[[:space:]]* url\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for pkg in ${pkgname[@]} | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs arch 0 out | |
+ local funcname=package_gcc7-libs attr=arch isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' arch | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* arch\+?=[^(]' | |
++ grep -E '^[[:space:]]* arch\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs backup 0 out | |
+ local funcname=package_gcc7-libs attr=backup isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' backup | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* backup\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* backup\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs checkdepends 0 out | |
+ local funcname=package_gcc7-libs attr=checkdepends isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' checkdepends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* checkdepends\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* checkdepends\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs groups 0 out | |
+ local funcname=package_gcc7-libs attr=groups isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' groups | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* groups\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* groups\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs license 0 out | |
+ local funcname=package_gcc7-libs attr=license isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' license | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* license\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* license\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs noextract 0 out | |
+ local funcname=package_gcc7-libs attr=noextract isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' noextract | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* noextract\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* noextract\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs options 0 out | |
+ local funcname=package_gcc7-libs attr=options isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' options | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* options\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* options\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs validpgpkeys 0 out | |
+ local funcname=package_gcc7-libs attr=validpgpkeys isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' validpgpkeys | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* validpgpkeys\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* validpgpkeys\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs conflicts 0 out | |
+ local funcname=package_gcc7-libs attr=conflicts isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' conflicts | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* conflicts\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* conflicts\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs depends 0 out | |
+ local funcname=package_gcc7-libs attr=depends isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' depends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* depends\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* depends\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs makedepends 0 out | |
+ local funcname=package_gcc7-libs attr=makedepends isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' makedepends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* makedepends\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* makedepends\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs md5sums 0 out | |
+ local funcname=package_gcc7-libs attr=md5sums isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' md5sums | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* md5sums\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* md5sums\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs optdepends 0 out | |
+ local funcname=package_gcc7-libs attr=optdepends isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' optdepends | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* optdepends\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* optdepends\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs provides 0 out | |
+ local funcname=package_gcc7-libs attr=provides isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' provides | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* provides\+?=[^(]' | |
++ grep -E '^[[:space:]]* provides\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs replaces 0 out | |
+ local funcname=package_gcc7-libs attr=replaces isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' replaces | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* replaces\+?=[^(]' | |
++ grep -E '^[[:space:]]* replaces\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs sha1sums 0 out | |
+ local funcname=package_gcc7-libs attr=sha1sums isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha1sums | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* sha1sums\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* sha1sums\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs sha224sums 0 out | |
+ local funcname=package_gcc7-libs attr=sha224sums isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha224sums | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* sha224sums\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* sha224sums\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs sha256sums 0 out | |
+ local funcname=package_gcc7-libs attr=sha256sums isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha256sums | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* sha256sums\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* sha256sums\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs sha384sums 0 out | |
+ local funcname=package_gcc7-libs attr=sha384sums isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha384sums | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* sha384sums\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* sha384sums\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs sha512sums 0 out | |
+ local funcname=package_gcc7-libs attr=sha512sums isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha512sums | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* sha512sums\+?=[^(]' | |
++ grep -E '^[[:space:]]* sha512sums\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${array[@]} ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs source 0 out | |
+ local funcname=package_gcc7-libs attr=source isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' source | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* source\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* source\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for a in ${arch[@]} | |
+ [[ x86_64 == \a\n\y ]] | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs conflicts_x86_64 0 out | |
+ local funcname=package_gcc7-libs attr=conflicts_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' conflicts_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* conflicts_x86_64\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* conflicts_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs depends_x86_64 0 out | |
+ local funcname=package_gcc7-libs attr=depends_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' depends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* depends_x86_64\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* depends_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs makedepends_x86_64 0 out | |
+ local funcname=package_gcc7-libs attr=makedepends_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' makedepends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* makedepends_x86_64\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* makedepends_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs md5sums_x86_64 0 out | |
+ local funcname=package_gcc7-libs attr=md5sums_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' md5sums_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* md5sums_x86_64\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* md5sums_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs optdepends_x86_64 0 out | |
+ local funcname=package_gcc7-libs attr=optdepends_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' optdepends_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* optdepends_x86_64\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* optdepends_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs provides_x86_64 0 out | |
+ local funcname=package_gcc7-libs attr=provides_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' provides_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* provides_x86_64\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* provides_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs replaces_x86_64 0 out | |
+ local funcname=package_gcc7-libs attr=replaces_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' replaces_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* replaces_x86_64\+?=[^(]' | |
++ grep -E '^[[:space:]]* replaces_x86_64\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs sha1sums_x86_64 0 out | |
+ local funcname=package_gcc7-libs attr=sha1sums_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha1sums_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* sha1sums_x86_64\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* sha1sums_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs sha224sums_x86_64 0 out | |
+ local funcname=package_gcc7-libs attr=sha224sums_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha224sums_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* sha224sums_x86_64\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* sha224sums_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs sha256sums_x86_64 0 out | |
+ local funcname=package_gcc7-libs attr=sha256sums_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha256sums_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* sha256sums_x86_64\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* sha256sums_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs sha384sums_x86_64 0 out | |
+ local funcname=package_gcc7-libs attr=sha384sums_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha384sums_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* sha384sums_x86_64\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* sha384sums_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs sha512sums_x86_64 0 out | |
+ local funcname=package_gcc7-libs attr=sha512sums_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' sha512sums_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* sha512sums_x86_64\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* sha512sums_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${arch_array[@]} | |
+ extract_function_variable package_gcc7-libs source_x86_64 0 out | |
+ local funcname=package_gcc7-libs attr=source_x86_64 isarray=0 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' source_x86_64 | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* source_x86_64\+?=[^(]' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* source_x86_64\+?=[^(]' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7-libs changelog 1 out | |
+ local funcname=package_gcc7-libs attr=changelog isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' changelog | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* changelog\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* changelog\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7-libs epoch 1 out | |
+ local funcname=package_gcc7-libs attr=epoch isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' epoch | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* epoch\+?=\(' | |
++ grep -E '^[[:space:]]* epoch\+?=\(' | |
++ declare -f package_gcc7-libs | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7-libs install 1 out | |
+ local funcname=package_gcc7-libs attr=install isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' install | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* install\+?=\(' | |
++ grep -E '^[[:space:]]* install\+?=\(' | |
++ declare -f package_gcc7-libs | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7-libs pkgdesc 1 out | |
+ local funcname=package_gcc7-libs attr=pkgdesc isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' pkgdesc | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* pkgdesc\+?=\(' | |
++ grep -E '^[[:space:]]* pkgdesc\+?=\(' | |
++ declare -f package_gcc7-libs | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7-libs pkgrel 1 out | |
+ local funcname=package_gcc7-libs attr=pkgrel isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' pkgrel | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* pkgrel\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* pkgrel\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7-libs pkgver 1 out | |
+ local funcname=package_gcc7-libs attr=pkgver isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' pkgver | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* pkgver\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* pkgver\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ for i in ${string[@]} | |
+ extract_function_variable package_gcc7-libs url 1 out | |
+ local funcname=package_gcc7-libs attr=url isarray=1 outputvar=out attr_regex= decl= r=1 | |
+ (( isarray )) | |
+ printf -v attr_regex '^[[:space:]]* %s\+?=\(' url | |
++ shopt -p extglob | |
+ local 'shellopts=shopt -s extglob' | |
+ shopt -s extglob | |
+ read -r | |
++ grep_function package_gcc7-libs '^[[:space:]]* url\+?=\(' | |
++ declare -f package_gcc7-libs | |
++ grep -E '^[[:space:]]* url\+?=\(' | |
+ eval 'shopt -s extglob' | |
++ shopt -s extglob | |
+ return 1 | |
+ return 0 | |
+ return 0 | |
+ (( !SOURCEONLY && !PRINTSRCINFO )) | |
+ merge_arch_attrs | |
+ supported_attrs=(provides conflicts depends replaces optdepends makedepends checkdepends) | |
+ local attr supported_attrs | |
+ for attr in "${supported_attrs[@]}" | |
+ eval 'provides+=("${provides_x86_64[@]}")' | |
++ provides+=("${provides_x86_64[@]}") | |
+ for attr in "${supported_attrs[@]}" | |
+ eval 'conflicts+=("${conflicts_x86_64[@]}")' | |
++ conflicts+=("${conflicts_x86_64[@]}") | |
+ for attr in "${supported_attrs[@]}" | |
+ eval 'depends+=("${depends_x86_64[@]}")' | |
++ depends+=("${depends_x86_64[@]}") | |
+ for attr in "${supported_attrs[@]}" | |
+ eval 'replaces+=("${replaces_x86_64[@]}")' | |
++ replaces+=("${replaces_x86_64[@]}") | |
+ for attr in "${supported_attrs[@]}" | |
+ eval 'optdepends+=("${optdepends_x86_64[@]}")' | |
++ optdepends+=("${optdepends_x86_64[@]}") | |
+ for attr in "${supported_attrs[@]}" | |
+ eval 'makedepends+=("${makedepends_x86_64[@]}")' | |
++ makedepends+=("${makedepends_x86_64[@]}") | |
+ for attr in "${supported_attrs[@]}" | |
+ eval 'checkdepends+=("${checkdepends_x86_64[@]}")' | |
++ checkdepends+=("${checkdepends_x86_64[@]}") | |
+ unset -v provides_x86_64 conflicts_x86_64 depends_x86_64 replaces_x86_64 optdepends_x86_64 makedepends_x86_64 checkdepends_x86_64 | |
++ get_full_version | |
++ (( epoch > 0 )) | |
++ printf '%s\n' 7.3.1+20180406-1 | |
+ basever=7.3.1+20180406-1 | |
+ [[ /tmp/makepkg -ef /home/josh/aur/gcc7/trunk ]] | |
+ srcdir=/tmp/makepkg/gcc7/src | |
+ pkgdirbase=/tmp/makepkg/gcc7/pkg | |
+ pkgdir=/tmp/makepkg/gcc7/pkg/gcc7 | |
+ (( GENINTEG )) | |
+ have_function pkgver | |
+ declare -f pkgver | |
+ check_software | |
+ local ret=0 | |
+ (( ! NODEPS || DEP_BIN || RMDEPS || INSTALL )) | |
+ [[ -z /usr/bin/pacman ]] | |
+ (( DEP_BIN || RMDEPS || INSTALL )) | |
+ check_buildenv fakeroot y | |
+ in_opt_array fakeroot '!distcc' color ccache check '!sign' | |
+ local needle=fakeroot | |
+ shift | |
+ local i opt | |
+ (( i = 5 )) | |
+ (( i > 0 )) | |
+ opt='!sign' | |
+ [[ !sign = \f\a\k\e\r\o\o\t ]] | |
+ [[ !sign = \!\f\a\k\e\r\o\o\t ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=check | |
+ [[ check = \f\a\k\e\r\o\o\t ]] | |
+ [[ check = \!\f\a\k\e\r\o\o\t ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=ccache | |
+ [[ ccache = \f\a\k\e\r\o\o\t ]] | |
+ [[ ccache = \!\f\a\k\e\r\o\o\t ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=color | |
+ [[ color = \f\a\k\e\r\o\o\t ]] | |
+ [[ color = \!\f\a\k\e\r\o\o\t ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!distcc' | |
+ [[ !distcc = \f\a\k\e\r\o\o\t ]] | |
+ [[ !distcc = \!\f\a\k\e\r\o\o\t ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ return 127 | |
+ case $? in | |
+ return 127 | |
+ [[ '' == \y ]] | |
+ [[ -z '' ]] | |
+ check_buildenv sign y | |
+ in_opt_array sign '!distcc' color ccache check '!sign' | |
+ local needle=sign | |
+ shift | |
+ local i opt | |
+ (( i = 5 )) | |
+ (( i > 0 )) | |
+ opt='!sign' | |
+ [[ !sign = \s\i\g\n ]] | |
+ [[ !sign = \!\s\i\g\n ]] | |
+ return 1 | |
+ case $? in | |
+ [[ y = \n ]] | |
+ return | |
+ (( ! SKIPPGPCHECK )) | |
+ source_has_signatures | |
+ local netfile all_sources proto | |
+ get_all_sources_for_arch all_sources | |
+ local aggregate l | |
+ array_build l source | |
+ local dest=l src=source i keys values | |
+ declare -p source | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ eval 'l=()' | |
++ l=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''l[0]'\'' %s "${source[0]}"; printf -v '\''l[1]'\'' %s "${source[1]}"; printf -v '\''l[2]'\'' %s "${source[2]}"; printf -v '\''l[3]'\'' %s "${source[3]}"; printf -v '\''l[4]'\'' %s "${source[4]}"; printf -v '\''l[5]'\'' %s "${source[5]}";' | |
++ printf -v 'l[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'l[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'l[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'l[3]' %s c89 | |
++ printf -v 'l[4]' %s c99 | |
++ printf -v 'l[5]' %s bz84080.patch | |
+ aggregate+=("${l[@]}") | |
+ array_build l source_x86_64 | |
+ local dest=l src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ array_build all_sources aggregate | |
+ local dest=all_sources src=aggregate i keys values | |
+ declare -p aggregate | |
+ eval 'keys=("${!aggregate[@]}")' | |
++ keys=("${!aggregate[@]}") | |
+ eval 'all_sources=()' | |
++ all_sources=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''all_sources[0]'\'' %s "${aggregate[0]}"; printf -v '\''all_sources[1]'\'' %s "${aggregate[1]}"; printf -v '\''all_sources[2]'\'' %s "${aggregate[2]}"; printf -v '\''all_sources[3]'\'' %s "${aggregate[3]}"; printf -v '\''all_sources[4]'\'' %s "${aggregate[4]}"; printf -v '\''all_sources[5]'\'' %s "${aggregate[5]}";' | |
++ printf -v 'all_sources[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'all_sources[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'all_sources[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'all_sources[3]' %s c89 | |
++ printf -v 'all_sources[4]' %s c99 | |
++ printf -v 'all_sources[5]' %s bz84080.patch | |
+ for netfile in "${all_sources[@]}" | |
++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *://* ]] | |
++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf '%s\n' https | |
+ proto=https | |
++ get_uri_query https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ local query=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = \h\t\t\p\s\:\/\/\s\o\u\r\c\e\s\.\a\r\c\h\l\i\n\u\x\.\o\r\g\/\o\t\h\e\r\/\g\c\c\/\g\c\c\-\7\.\3\.\1\-\2\0\1\8\0\4\0\6\.\t\a\r\.\x\z ]] | |
++ unset query | |
++ query= | |
++ printf '%s\n' '' | |
+ query= | |
+ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *.@(sig?(n)|asc) ]] | |
+ [[ https = git* ]] | |
+ for netfile in "${all_sources[@]}" | |
++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf '%s\n' https | |
+ proto=https | |
++ get_uri_query https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ local query=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = \h\t\t\p\s\:\/\/\s\o\u\r\c\e\s\.\a\r\c\h\l\i\n\u\x\.\o\r\g\/\o\t\h\e\r\/\g\c\c\/\g\c\c\-\7\.\3\.\1\-\2\0\1\8\0\4\0\6\.\t\a\r\.\x\z\.\s\i\g ]] | |
++ unset query | |
++ query= | |
++ printf '%s\n' '' | |
+ query= | |
+ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *.@(sig?(n)|asc) ]] | |
+ return 0 | |
+ type -p gpg | |
+ (( GENINTEG || ! SKIPCHECKSUMS )) | |
+ local integlist | |
+ IFS=' | |
' | |
+ read -rd '' -a integlist | |
++ get_integlist | |
++ local integ | |
++ integlist=() | |
++ local integlist | |
++ for integ in "${known_hash_algos[@]}" | |
++ local 'sumname=md5sums[@]' | |
++ [[ -n '' ]] | |
++ for a in "${arch[@]}" | |
++ local 'sumname=md5sums_x86_64[@]' | |
++ [[ -n '' ]] | |
++ for integ in "${known_hash_algos[@]}" | |
++ local 'sumname=sha1sums[@]' | |
++ [[ -n '' ]] | |
++ for a in "${arch[@]}" | |
++ local 'sumname=sha1sums_x86_64[@]' | |
++ [[ -n '' ]] | |
++ for integ in "${known_hash_algos[@]}" | |
++ local 'sumname=sha224sums[@]' | |
++ [[ -n '' ]] | |
++ for a in "${arch[@]}" | |
++ local 'sumname=sha224sums_x86_64[@]' | |
++ [[ -n '' ]] | |
++ for integ in "${known_hash_algos[@]}" | |
++ local 'sumname=sha256sums[@]' | |
++ [[ -n 41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00 SKIP 6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931 2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7 ]] | |
++ integlist+=("$integ") | |
++ continue | |
++ for integ in "${known_hash_algos[@]}" | |
++ local 'sumname=sha384sums[@]' | |
++ [[ -n '' ]] | |
++ for a in "${arch[@]}" | |
++ local 'sumname=sha384sums_x86_64[@]' | |
++ [[ -n '' ]] | |
++ for integ in "${known_hash_algos[@]}" | |
++ local 'sumname=sha512sums[@]' | |
++ [[ -n '' ]] | |
++ for a in "${arch[@]}" | |
++ local 'sumname=sha512sums_x86_64[@]' | |
++ [[ -n '' ]] | |
++ for integ in "${known_hash_algos[@]}" | |
++ local 'sumname=whirlpoolsums[@]' | |
++ [[ -n '' ]] | |
++ for a in "${arch[@]}" | |
++ local 'sumname=whirlpoolsums_x86_64[@]' | |
++ [[ -n '' ]] | |
++ (( 1 > 0 )) | |
++ printf '%s\n' sha256 | |
+ local integ | |
+ for integ in "${integlist[@]}" | |
+ type -p sha256sum | |
+ check_buildoption distcc y | |
+ in_opt_array distcc '!emptydirs' | |
+ local needle=distcc | |
+ shift | |
+ local i opt | |
+ (( i = 1 )) | |
+ (( i > 0 )) | |
+ opt='!emptydirs' | |
+ [[ !emptydirs = \d\i\s\t\c\c ]] | |
+ [[ !emptydirs = \!\d\i\s\t\c\c ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ return 127 | |
+ case $? in | |
+ in_opt_array distcc '!distcc' color ccache check '!sign' | |
+ local needle=distcc | |
+ shift | |
+ local i opt | |
+ (( i = 5 )) | |
+ (( i > 0 )) | |
+ opt='!sign' | |
+ [[ !sign = \d\i\s\t\c\c ]] | |
+ [[ !sign = \!\d\i\s\t\c\c ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=check | |
+ [[ check = \d\i\s\t\c\c ]] | |
+ [[ check = \!\d\i\s\t\c\c ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=ccache | |
+ [[ ccache = \d\i\s\t\c\c ]] | |
+ [[ ccache = \!\d\i\s\t\c\c ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=color | |
+ [[ color = \d\i\s\t\c\c ]] | |
+ [[ color = \!\d\i\s\t\c\c ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!distcc' | |
+ [[ !distcc = \d\i\s\t\c\c ]] | |
+ [[ !distcc = \!\d\i\s\t\c\c ]] | |
+ return 1 | |
+ case $? in | |
+ [[ y = n ]] | |
+ return | |
+ check_buildoption ccache y | |
+ in_opt_array ccache '!emptydirs' | |
+ local needle=ccache | |
+ shift | |
+ local i opt | |
+ (( i = 1 )) | |
+ (( i > 0 )) | |
+ opt='!emptydirs' | |
+ [[ !emptydirs = \c\c\a\c\h\e ]] | |
+ [[ !emptydirs = \!\c\c\a\c\h\e ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ return 127 | |
+ case $? in | |
+ in_opt_array ccache '!distcc' color ccache check '!sign' | |
+ local needle=ccache | |
+ shift | |
+ local i opt | |
+ (( i = 5 )) | |
+ (( i > 0 )) | |
+ opt='!sign' | |
+ [[ !sign = \c\c\a\c\h\e ]] | |
+ [[ !sign = \!\c\c\a\c\h\e ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=check | |
+ [[ check = \c\c\a\c\h\e ]] | |
+ [[ check = \!\c\c\a\c\h\e ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=ccache | |
+ [[ ccache = \c\c\a\c\h\e ]] | |
+ return 0 | |
+ case $? in | |
+ [[ y = y ]] | |
+ return | |
+ type -p ccache | |
+ check_option strip y | |
+ in_opt_array strip '!emptydirs' | |
+ local needle=strip | |
+ shift | |
+ local i opt | |
+ (( i = 1 )) | |
+ (( i > 0 )) | |
+ opt='!emptydirs' | |
+ [[ !emptydirs = \s\t\r\i\p ]] | |
+ [[ !emptydirs = \!\s\t\r\i\p ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ return 127 | |
+ case $? in | |
+ in_opt_array strip docs '!libtool' '!staticlibs' emptydirs zipman purge '!optipng' '!upx' '!debug' | |
+ local needle=strip | |
+ shift | |
+ local i opt | |
+ (( i = 9 )) | |
+ (( i > 0 )) | |
+ opt='!debug' | |
+ [[ !debug = \s\t\r\i\p ]] | |
+ [[ !debug = \!\s\t\r\i\p ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!upx' | |
+ [[ !upx = \s\t\r\i\p ]] | |
+ [[ !upx = \!\s\t\r\i\p ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!optipng' | |
+ [[ !optipng = \s\t\r\i\p ]] | |
+ [[ !optipng = \!\s\t\r\i\p ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=purge | |
+ [[ purge = \s\t\r\i\p ]] | |
+ [[ purge = \!\s\t\r\i\p ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=zipman | |
+ [[ zipman = \s\t\r\i\p ]] | |
+ [[ zipman = \!\s\t\r\i\p ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=emptydirs | |
+ [[ emptydirs = \s\t\r\i\p ]] | |
+ [[ emptydirs = \!\s\t\r\i\p ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!staticlibs' | |
+ [[ !staticlibs = \s\t\r\i\p ]] | |
+ [[ !staticlibs = \!\s\t\r\i\p ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!libtool' | |
+ [[ !libtool = \s\t\r\i\p ]] | |
+ [[ !libtool = \!\s\t\r\i\p ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=docs | |
+ [[ docs = \s\t\r\i\p ]] | |
+ [[ docs = \!\s\t\r\i\p ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ return 127 | |
+ case $? in | |
+ return 127 | |
+ check_option zipman y | |
+ in_opt_array zipman '!emptydirs' | |
+ local needle=zipman | |
+ shift | |
+ local i opt | |
+ (( i = 1 )) | |
+ (( i > 0 )) | |
+ opt='!emptydirs' | |
+ [[ !emptydirs = \z\i\p\m\a\n ]] | |
+ [[ !emptydirs = \!\z\i\p\m\a\n ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ return 127 | |
+ case $? in | |
+ in_opt_array zipman docs '!libtool' '!staticlibs' emptydirs zipman purge '!optipng' '!upx' '!debug' | |
+ local needle=zipman | |
+ shift | |
+ local i opt | |
+ (( i = 9 )) | |
+ (( i > 0 )) | |
+ opt='!debug' | |
+ [[ !debug = \z\i\p\m\a\n ]] | |
+ [[ !debug = \!\z\i\p\m\a\n ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!upx' | |
+ [[ !upx = \z\i\p\m\a\n ]] | |
+ [[ !upx = \!\z\i\p\m\a\n ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!optipng' | |
+ [[ !optipng = \z\i\p\m\a\n ]] | |
+ [[ !optipng = \!\z\i\p\m\a\n ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=purge | |
+ [[ purge = \z\i\p\m\a\n ]] | |
+ [[ purge = \!\z\i\p\m\a\n ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=zipman | |
+ [[ zipman = \z\i\p\m\a\n ]] | |
+ return 0 | |
+ case $? in | |
+ [[ y = y ]] | |
+ return | |
+ type -p gzip | |
+ check_vcs_software | |
+ local netfile all_sources all_deps deps ret=0 | |
+ (( SOURCEONLY == 1 )) | |
+ [[ -z /usr/bin/pacman ]] | |
+ for attr in depends makedepends | |
+ get_pkgbuild_attribute '' depends 1 deps | |
+ local pkgname= attrname=depends isarray=1 outputvar=deps | |
+ (( isarray )) | |
+ eval 'deps=()' | |
++ deps=() | |
+ [[ -n '' ]] | |
+ extract_global_variable depends 1 deps | |
+ local attr=depends isarray=1 outputvar=deps ref | |
+ (( isarray )) | |
+ array_build ref depends | |
+ local dest=ref src=depends i keys values | |
+ declare -p depends | |
+ eval 'keys=("${!depends[@]}")' | |
++ keys=("${!depends[@]}") | |
+ eval 'ref=()' | |
++ ref=() | |
+ eval '' | |
+ [[ -n '' ]] | |
+ all_deps+=("${deps[@]}") | |
+ get_pkgbuild_attribute '' depends_x86_64 1 deps | |
+ local pkgname= attrname=depends_x86_64 isarray=1 outputvar=deps | |
+ (( isarray )) | |
+ eval 'deps=()' | |
++ deps=() | |
+ [[ -n '' ]] | |
+ extract_global_variable depends_x86_64 1 deps | |
+ local attr=depends_x86_64 isarray=1 outputvar=deps ref | |
+ (( isarray )) | |
+ array_build ref depends_x86_64 | |
+ local dest=ref src=depends_x86_64 i keys values | |
+ declare -p depends_x86_64 | |
+ return 1 | |
+ [[ -n '' ]] | |
+ all_deps+=("${deps[@]}") | |
+ for attr in depends makedepends | |
+ get_pkgbuild_attribute '' makedepends 1 deps | |
+ local pkgname= attrname=makedepends isarray=1 outputvar=deps | |
+ (( isarray )) | |
+ eval 'deps=()' | |
++ deps=() | |
+ [[ -n '' ]] | |
+ extract_global_variable makedepends 1 deps | |
+ local attr=makedepends isarray=1 outputvar=deps ref | |
+ (( isarray )) | |
+ array_build ref makedepends | |
+ local dest=ref src=makedepends i keys values | |
+ declare -p makedepends | |
+ eval 'keys=("${!makedepends[@]}")' | |
++ keys=("${!makedepends[@]}") | |
+ eval 'ref=()' | |
++ ref=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''ref[0]'\'' %s "${makedepends[0]}"; printf -v '\''ref[1]'\'' %s "${makedepends[1]}"; printf -v '\''ref[2]'\'' %s "${makedepends[2]}"; printf -v '\''ref[3]'\'' %s "${makedepends[3]}"; printf -v '\''ref[4]'\'' %s "${makedepends[4]}"; printf -v '\''ref[5]'\'' %s "${makedepends[5]}";' | |
++ printf -v 'ref[0]' %s binutils | |
++ printf -v 'ref[1]' %s libmpc | |
++ printf -v 'ref[2]' %s doxygen | |
++ printf -v 'ref[3]' %s lib32-glibc | |
++ printf -v 'ref[4]' %s lib32-gcc-libs | |
++ printf -v 'ref[5]' %s python | |
+ [[ -n binutils libmpc doxygen lib32-glibc lib32-gcc-libs python ]] | |
+ array_build deps makedepends | |
+ local dest=deps src=makedepends i keys values | |
+ declare -p makedepends | |
+ eval 'keys=("${!makedepends[@]}")' | |
++ keys=("${!makedepends[@]}") | |
+ eval 'deps=()' | |
++ deps=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''deps[0]'\'' %s "${makedepends[0]}"; printf -v '\''deps[1]'\'' %s "${makedepends[1]}"; printf -v '\''deps[2]'\'' %s "${makedepends[2]}"; printf -v '\''deps[3]'\'' %s "${makedepends[3]}"; printf -v '\''deps[4]'\'' %s "${makedepends[4]}"; printf -v '\''deps[5]'\'' %s "${makedepends[5]}";' | |
++ printf -v 'deps[0]' %s binutils | |
++ printf -v 'deps[1]' %s libmpc | |
++ printf -v 'deps[2]' %s doxygen | |
++ printf -v 'deps[3]' %s lib32-glibc | |
++ printf -v 'deps[4]' %s lib32-gcc-libs | |
++ printf -v 'deps[5]' %s python | |
+ all_deps+=("${deps[@]}") | |
+ get_pkgbuild_attribute '' makedepends_x86_64 1 deps | |
+ local pkgname= attrname=makedepends_x86_64 isarray=1 outputvar=deps | |
+ (( isarray )) | |
+ eval 'deps=()' | |
++ deps=() | |
+ [[ -n '' ]] | |
+ extract_global_variable makedepends_x86_64 1 deps | |
+ local attr=makedepends_x86_64 isarray=1 outputvar=deps ref | |
+ (( isarray )) | |
+ array_build ref makedepends_x86_64 | |
+ local dest=ref src=makedepends_x86_64 i keys values | |
+ declare -p makedepends_x86_64 | |
+ return 1 | |
+ [[ -n '' ]] | |
+ all_deps+=("${deps[@]}") | |
+ get_all_sources_for_arch all_sources | |
+ local aggregate l | |
+ array_build l source | |
+ local dest=l src=source i keys values | |
+ declare -p source | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ eval 'l=()' | |
++ l=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''l[0]'\'' %s "${source[0]}"; printf -v '\''l[1]'\'' %s "${source[1]}"; printf -v '\''l[2]'\'' %s "${source[2]}"; printf -v '\''l[3]'\'' %s "${source[3]}"; printf -v '\''l[4]'\'' %s "${source[4]}"; printf -v '\''l[5]'\'' %s "${source[5]}";' | |
++ printf -v 'l[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'l[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'l[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'l[3]' %s c89 | |
++ printf -v 'l[4]' %s c99 | |
++ printf -v 'l[5]' %s bz84080.patch | |
+ aggregate+=("${l[@]}") | |
+ array_build l source_x86_64 | |
+ local dest=l src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ array_build all_sources aggregate | |
+ local dest=all_sources src=aggregate i keys values | |
+ declare -p aggregate | |
+ eval 'keys=("${!aggregate[@]}")' | |
++ keys=("${!aggregate[@]}") | |
+ eval 'all_sources=()' | |
++ all_sources=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''all_sources[0]'\'' %s "${aggregate[0]}"; printf -v '\''all_sources[1]'\'' %s "${aggregate[1]}"; printf -v '\''all_sources[2]'\'' %s "${aggregate[2]}"; printf -v '\''all_sources[3]'\'' %s "${aggregate[3]}"; printf -v '\''all_sources[4]'\'' %s "${aggregate[4]}"; printf -v '\''all_sources[5]'\'' %s "${aggregate[5]}";' | |
++ printf -v 'all_sources[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'all_sources[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'all_sources[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'all_sources[3]' %s c89 | |
++ printf -v 'all_sources[4]' %s c99 | |
++ printf -v 'all_sources[5]' %s bz84080.patch | |
+ for netfile in ${all_sources[@]} | |
++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *://* ]] | |
++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf '%s\n' https | |
+ local proto=https | |
+ case $proto in | |
+ for netfile in ${all_sources[@]} | |
++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf '%s\n' https | |
+ local proto=https | |
+ case $proto in | |
+ for netfile in ${all_sources[@]} | |
++ get_protocol http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ [[ http://isl.gforge.inria.fr/isl-0.18.tar.bz2 = *://* ]] | |
++ local proto=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf '%s\n' http | |
+ local proto=http | |
+ case $proto in | |
+ for netfile in ${all_sources[@]} | |
++ get_protocol c89 | |
++ [[ c89 = *://* ]] | |
++ [[ c89 = *lp:* ]] | |
++ printf '%s\n' local | |
+ local proto=local | |
+ case $proto in | |
+ for netfile in ${all_sources[@]} | |
++ get_protocol c99 | |
++ [[ c99 = *://* ]] | |
++ [[ c99 = *lp:* ]] | |
++ printf '%s\n' local | |
+ local proto=local | |
+ case $proto in | |
+ for netfile in ${all_sources[@]} | |
++ get_protocol bz84080.patch | |
++ [[ bz84080.patch = *://* ]] | |
++ [[ bz84080.patch = *lp:* ]] | |
++ printf '%s\n' local | |
+ local proto=local | |
+ case $proto in | |
+ return 0 | |
+ return 0 | |
+ (( 2 > 1 )) | |
+ SPLITPKG=1 | |
+ have_function prepare | |
+ declare -f prepare | |
+ [[ '' != \n ]] | |
+ PREPAREFUNC=1 | |
+ have_function build | |
+ declare -f build | |
+ BUILDFUNC=1 | |
+ have_function check | |
+ declare -f check | |
+ [[ '' = \y ]] | |
+ check_buildenv check n | |
+ in_opt_array check '!distcc' color ccache check '!sign' | |
+ local needle=check | |
+ shift | |
+ local i opt | |
+ (( i = 5 )) | |
+ (( i > 0 )) | |
+ opt='!sign' | |
+ [[ !sign = \c\h\e\c\k ]] | |
+ [[ !sign = \!\c\h\e\c\k ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=check | |
+ [[ check = \c\h\e\c\k ]] | |
+ return 0 | |
+ case $? in | |
+ [[ n = \y ]] | |
+ return | |
+ [[ '' != \n ]] | |
+ CHECKFUNC=1 | |
+ have_function package | |
+ declare -f package | |
+ [[ 1 -eq 0 ]] | |
+ [[ -z '' ]] | |
+ check_buildenv sign y | |
+ in_opt_array sign '!distcc' color ccache check '!sign' | |
+ local needle=sign | |
+ shift | |
+ local i opt | |
+ (( i = 5 )) | |
+ (( i > 0 )) | |
+ opt='!sign' | |
+ [[ !sign = \s\i\g\n ]] | |
+ [[ !sign = \!\s\i\g\n ]] | |
+ return 1 | |
+ case $? in | |
+ [[ y = \n ]] | |
+ return | |
+ [[ '' == \y ]] | |
+ (( PACKAGELIST )) | |
+ (( PRINTSRCINFO )) | |
+ (( ! PKGVERFUNC )) | |
+ check_build_status | |
+ (( ! SPLITPKG )) | |
+ allpkgbuilt=1 | |
+ somepkgbuilt=0 | |
+ for pkg in ${pkgname[@]} | |
++ get_full_version | |
++ (( epoch > 0 )) | |
++ printf '%s\n' 7.3.1+20180406-1 | |
+ fullver=7.3.1+20180406-1 | |
++ get_pkg_arch gcc7 | |
++ [[ -z gcc7 ]] | |
++ local arch_override | |
++ get_pkgbuild_attribute gcc7 arch 1 arch_override | |
++ local pkgname=gcc7 attrname=arch isarray=1 outputvar=arch_override | |
++ (( isarray )) | |
++ eval 'arch_override=()' | |
+++ arch_override=() | |
++ [[ -n gcc7 ]] | |
++ extract_global_variable arch 1 arch_override | |
++ local attr=arch isarray=1 outputvar=arch_override ref | |
++ (( isarray )) | |
++ array_build ref arch | |
++ local dest=ref src=arch i keys values | |
++ declare -p arch | |
++ eval 'keys=("${!arch[@]}")' | |
+++ keys=("${!arch[@]}") | |
++ eval 'ref=()' | |
+++ ref=() | |
++ for i in "${keys[@]}" | |
++ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
++ eval 'printf -v '\''ref[0]'\'' %s "${arch[0]}";' | |
+++ printf -v 'ref[0]' %s x86_64 | |
++ [[ -n x86_64 ]] | |
++ array_build arch_override arch | |
++ local dest=arch_override src=arch i keys values | |
++ declare -p arch | |
++ eval 'keys=("${!arch[@]}")' | |
+++ keys=("${!arch[@]}") | |
++ eval 'arch_override=()' | |
+++ arch_override=() | |
++ for i in "${keys[@]}" | |
++ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
++ eval 'printf -v '\''arch_override[0]'\'' %s "${arch[0]}";' | |
+++ printf -v 'arch_override[0]' %s x86_64 | |
++ extract_function_variable package_gcc7 arch 1 arch_override | |
++ local funcname=package_gcc7 attr=arch isarray=1 outputvar=arch_override attr_regex= decl= r=1 | |
++ (( isarray )) | |
++ printf -v attr_regex '^[[:space:]]* %s\+?=\(' arch | |
+++ shopt -p extglob | |
++ local 'shellopts=shopt -s extglob' | |
++ shopt -s extglob | |
++ read -r | |
+++ grep_function package_gcc7 '^[[:space:]]* arch\+?=\(' | |
+++ declare -f package_gcc7 | |
+++ grep -E '^[[:space:]]* arch\+?=\(' | |
++ eval 'shopt -s extglob' | |
+++ shopt -s extglob | |
++ return 1 | |
++ (( 1 == 0 )) | |
++ [[ x86_64 = \a\n\y ]] | |
++ printf '%s\n' x86_64 | |
+ pkgarch=x86_64 | |
+ [[ -f /home/josh/aur/gcc7/trunk/gcc7-7.3.1+20180406-1-x86_64.pkg.tar.lzo ]] | |
+ allpkgbuilt=0 | |
+ for pkg in ${pkgname[@]} | |
++ get_full_version | |
++ (( epoch > 0 )) | |
++ printf '%s\n' 7.3.1+20180406-1 | |
+ fullver=7.3.1+20180406-1 | |
++ get_pkg_arch gcc7-libs | |
++ [[ -z gcc7-libs ]] | |
++ local arch_override | |
++ get_pkgbuild_attribute gcc7-libs arch 1 arch_override | |
++ local pkgname=gcc7-libs attrname=arch isarray=1 outputvar=arch_override | |
++ (( isarray )) | |
++ eval 'arch_override=()' | |
+++ arch_override=() | |
++ [[ -n gcc7-libs ]] | |
++ extract_global_variable arch 1 arch_override | |
++ local attr=arch isarray=1 outputvar=arch_override ref | |
++ (( isarray )) | |
++ array_build ref arch | |
++ local dest=ref src=arch i keys values | |
++ declare -p arch | |
++ eval 'keys=("${!arch[@]}")' | |
+++ keys=("${!arch[@]}") | |
++ eval 'ref=()' | |
+++ ref=() | |
++ for i in "${keys[@]}" | |
++ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
++ eval 'printf -v '\''ref[0]'\'' %s "${arch[0]}";' | |
+++ printf -v 'ref[0]' %s x86_64 | |
++ [[ -n x86_64 ]] | |
++ array_build arch_override arch | |
++ local dest=arch_override src=arch i keys values | |
++ declare -p arch | |
++ eval 'keys=("${!arch[@]}")' | |
+++ keys=("${!arch[@]}") | |
++ eval 'arch_override=()' | |
+++ arch_override=() | |
++ for i in "${keys[@]}" | |
++ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
++ eval 'printf -v '\''arch_override[0]'\'' %s "${arch[0]}";' | |
+++ printf -v 'arch_override[0]' %s x86_64 | |
++ extract_function_variable package_gcc7-libs arch 1 arch_override | |
++ local funcname=package_gcc7-libs attr=arch isarray=1 outputvar=arch_override attr_regex= decl= r=1 | |
++ (( isarray )) | |
++ printf -v attr_regex '^[[:space:]]* %s\+?=\(' arch | |
+++ shopt -p extglob | |
++ local 'shellopts=shopt -s extglob' | |
++ shopt -s extglob | |
++ read -r | |
+++ grep_function package_gcc7-libs '^[[:space:]]* arch\+?=\(' | |
+++ declare -f package_gcc7-libs | |
+++ grep -E '^[[:space:]]* arch\+?=\(' | |
++ eval 'shopt -s extglob' | |
+++ shopt -s extglob | |
++ return 1 | |
++ (( 1 == 0 )) | |
++ [[ x86_64 = \a\n\y ]] | |
++ printf '%s\n' x86_64 | |
+ pkgarch=x86_64 | |
+ [[ -f /home/josh/aur/gcc7/trunk/gcc7-libs-7.3.1+20180406-1-x86_64.pkg.tar.lzo ]] | |
+ allpkgbuilt=0 | |
+ (( FORCE || SOURCEONLY || NOBUILD || NOARCHIVE )) | |
+ (( allpkgbuilt )) | |
+ (( somepkgbuilt && ! PKGVERFUNC )) | |
+ unset allpkgbuilt somepkgbuilt | |
+ (( INFAKEROOT )) | |
++ gettext 'Making package: %s' | |
++ date +%c | |
+ msg 'Making package: %s' 'gcc7 7.3.1+20180406-1 (Tue 14 Aug 2018 01:32:55 PM CDT)' | |
+ local 'mesg=Making package: %s' | |
+ shift | |
+ printf '==> Making package: %s\n' 'gcc7 7.3.1+20180406-1 (Tue 14 Aug 2018 01:32:55 PM CDT)' | |
+ (( SOURCEONLY )) | |
+ (( NODEPS || ( VERIFYSOURCE && !DEP_BIN ) )) | |
+ (( RMDEPS && ! INSTALL )) | |
+ deperr=0 | |
++ gettext 'Checking runtime dependencies...' | |
+ msg 'Checking runtime dependencies...' | |
+ local 'mesg=Checking runtime dependencies...' | |
+ shift | |
+ printf '==> Checking runtime dependencies...\n' | |
+ resolve_deps | |
+ local R_DEPS_SATISFIED=0 | |
+ local R_DEPS_MISSING=1 | |
+ local deplist | |
+ deplist=($(check_deps "$@")) | |
++ check_deps | |
++ (( 0 > 0 )) | |
++ return 0 | |
+ [[ -z '' ]] | |
+ return 0 | |
+ (( RMDEPS && INSTALL )) | |
++ gettext 'Checking buildtime dependencies...' | |
+ msg 'Checking buildtime dependencies...' | |
+ local 'mesg=Checking buildtime dependencies...' | |
+ shift | |
+ printf '==> Checking buildtime dependencies...\n' | |
+ (( CHECKFUNC )) | |
+ resolve_deps binutils libmpc doxygen lib32-glibc lib32-gcc-libs python dejagnu inetutils | |
+ local R_DEPS_SATISFIED=0 | |
+ local R_DEPS_MISSING=1 | |
+ local deplist | |
+ deplist=($(check_deps "$@")) | |
++ check_deps binutils libmpc doxygen lib32-glibc lib32-gcc-libs python dejagnu inetutils | |
++ (( 8 > 0 )) | |
++ local ret=0 | |
++ local pmout | |
+++ run_pacman -T binutils libmpc doxygen lib32-glibc lib32-gcc-libs python dejagnu inetutils | |
+++ local cmd | |
+++ [[ -T != -@(T|Q)*([[:alpha:]]) ]] | |
+++ cmd=("$PACMAN_PATH" "$@") | |
+++ [[ -T != -@(T|Q)*([[:alpha:]]) ]] | |
+++ /usr/bin/pacman -T binutils libmpc doxygen lib32-glibc lib32-gcc-libs python dejagnu inetutils | |
++ pmout= | |
++ ret=0 | |
++ (( ret == 127 )) | |
++ (( ret )) | |
+ [[ -z '' ]] | |
+ return 0 | |
+ (( RMDEPS )) | |
+ (( deperr )) | |
+ mkdir -p /tmp/makepkg/gcc7/src | |
+ chmod a-s /tmp/makepkg/gcc7/src | |
+ cd_safe /tmp/makepkg/gcc7/src | |
+ cd /tmp/makepkg/gcc7/src | |
+ (( !REPKG )) | |
+ (( NOEXTRACT && ! VERIFYSOURCE )) | |
+ download_sources | |
+ local netfile all_sources | |
+ local get_source_fn=get_all_sources_for_arch get_vcs=1 | |
++ gettext 'Retrieving sources...' | |
+ msg 'Retrieving sources...' | |
+ local 'mesg=Retrieving sources...' | |
+ shift | |
+ printf '==> Retrieving sources...\n' | |
+ true | |
+ case $1 in | |
+ break | |
+ get_all_sources_for_arch all_sources | |
+ local aggregate l | |
+ array_build l source | |
+ local dest=l src=source i keys values | |
+ declare -p source | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ eval 'l=()' | |
++ l=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''l[0]'\'' %s "${source[0]}"; printf -v '\''l[1]'\'' %s "${source[1]}"; printf -v '\''l[2]'\'' %s "${source[2]}"; printf -v '\''l[3]'\'' %s "${source[3]}"; printf -v '\''l[4]'\'' %s "${source[4]}"; printf -v '\''l[5]'\'' %s "${source[5]}";' | |
++ printf -v 'l[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'l[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'l[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'l[3]' %s c89 | |
++ printf -v 'l[4]' %s c99 | |
++ printf -v 'l[5]' %s bz84080.patch | |
+ aggregate+=("${l[@]}") | |
+ array_build l source_x86_64 | |
+ local dest=l src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ array_build all_sources aggregate | |
+ local dest=all_sources src=aggregate i keys values | |
+ declare -p aggregate | |
+ eval 'keys=("${!aggregate[@]}")' | |
++ keys=("${!aggregate[@]}") | |
+ eval 'all_sources=()' | |
++ all_sources=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''all_sources[0]'\'' %s "${aggregate[0]}"; printf -v '\''all_sources[1]'\'' %s "${aggregate[1]}"; printf -v '\''all_sources[2]'\'' %s "${aggregate[2]}"; printf -v '\''all_sources[3]'\'' %s "${aggregate[3]}"; printf -v '\''all_sources[4]'\'' %s "${aggregate[4]}"; printf -v '\''all_sources[5]'\'' %s "${aggregate[5]}";' | |
++ printf -v 'all_sources[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'all_sources[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'all_sources[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'all_sources[3]' %s c89 | |
++ printf -v 'all_sources[4]' %s c99 | |
++ printf -v 'all_sources[5]' %s bz84080.patch | |
+ for netfile in "${all_sources[@]}" | |
+ pushd /home/josh/aur/gcc7/trunk | |
++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *://* ]] | |
++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf '%s\n' https | |
+ local proto=https | |
+ case "$proto" in | |
+ download_file https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
+ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ get_filepath https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
+++ get_filename https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
+++ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
+++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *::* ]] | |
++++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *://* ]] | |
++++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++++ printf '%s\n' https | |
+++ local proto=https | |
+++ case $proto in | |
+++ filename=gcc-7.3.1-20180406.tar.xz | |
+++ printf '%s\n' gcc-7.3.1-20180406.tar.xz | |
++ local file=gcc-7.3.1-20180406.tar.xz | |
+++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
+++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *://* ]] | |
+++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
+++ printf '%s\n' https | |
++ local proto=https | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz ]] | |
++ file=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
+ local filepath=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
+ [[ -n /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz ]] | |
++ gettext 'Found %s' | |
+ msg2 'Found %s' gcc-7.3.1-20180406.tar.xz | |
+ local 'mesg=Found %s' | |
+ shift | |
+ printf ' -> Found %s\n' gcc-7.3.1-20180406.tar.xz | |
+ return | |
+ popd | |
+ for netfile in "${all_sources[@]}" | |
+ pushd /home/josh/aur/gcc7/trunk | |
++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf '%s\n' https | |
+ local proto=https | |
+ case "$proto" in | |
+ download_file https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ get_filepath https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ get_filename https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *::* ]] | |
++++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
++++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++++ printf '%s\n' https | |
+++ local proto=https | |
+++ case $proto in | |
+++ filename=gcc-7.3.1-20180406.tar.xz.sig | |
+++ printf '%s\n' gcc-7.3.1-20180406.tar.xz.sig | |
++ local file=gcc-7.3.1-20180406.tar.xz.sig | |
+++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
+++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ printf '%s\n' https | |
++ local proto=https | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig ]] | |
++ file=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig | |
+ local filepath=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig | |
+ [[ -n /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig ]] | |
++ gettext 'Found %s' | |
+ msg2 'Found %s' gcc-7.3.1-20180406.tar.xz.sig | |
+ local 'mesg=Found %s' | |
+ shift | |
+ printf ' -> Found %s\n' gcc-7.3.1-20180406.tar.xz.sig | |
+ return | |
+ popd | |
+ for netfile in "${all_sources[@]}" | |
+ pushd /home/josh/aur/gcc7/trunk | |
++ get_protocol http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ [[ http://isl.gforge.inria.fr/isl-0.18.tar.bz2 = *://* ]] | |
++ local proto=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf '%s\n' http | |
+ local proto=http | |
+ case "$proto" in | |
+ download_file http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
+ local netfile=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ get_filepath http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
+++ get_filename http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
+++ local netfile=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
+++ [[ http://isl.gforge.inria.fr/isl-0.18.tar.bz2 = *::* ]] | |
++++ get_protocol http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++++ [[ http://isl.gforge.inria.fr/isl-0.18.tar.bz2 = *://* ]] | |
++++ local proto=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++++ printf '%s\n' http | |
+++ local proto=http | |
+++ case $proto in | |
+++ filename=isl-0.18.tar.bz2 | |
+++ printf '%s\n' isl-0.18.tar.bz2 | |
++ local file=isl-0.18.tar.bz2 | |
+++ get_protocol http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
+++ [[ http://isl.gforge.inria.fr/isl-0.18.tar.bz2 = *://* ]] | |
+++ local proto=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
+++ printf '%s\n' http | |
++ local proto=http | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 ]] | |
++ file=/home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 | |
+ local filepath=/home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 | |
+ [[ -n /home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 ]] | |
++ gettext 'Found %s' | |
+ msg2 'Found %s' isl-0.18.tar.bz2 | |
+ local 'mesg=Found %s' | |
+ shift | |
+ printf ' -> Found %s\n' isl-0.18.tar.bz2 | |
+ return | |
+ popd | |
+ for netfile in "${all_sources[@]}" | |
+ pushd /home/josh/aur/gcc7/trunk | |
++ get_protocol c89 | |
++ [[ c89 = *://* ]] | |
++ [[ c89 = *lp:* ]] | |
++ printf '%s\n' local | |
+ local proto=local | |
+ case "$proto" in | |
+ download_local c89 | |
+ local netfile=c89 | |
++ get_filepath c89 | |
+++ get_filename c89 | |
+++ local netfile=c89 | |
+++ [[ c89 = *::* ]] | |
++++ get_protocol c89 | |
++++ [[ c89 = *://* ]] | |
++++ [[ c89 = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=c89 | |
+++ printf '%s\n' c89 | |
++ local file=c89 | |
+++ get_protocol c89 | |
+++ [[ c89 = *://* ]] | |
+++ [[ c89 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/c89 ]] | |
++ file=/home/josh/aur/gcc7/trunk/c89 | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/c89 | |
+ local filepath=/home/josh/aur/gcc7/trunk/c89 | |
+ [[ -n /home/josh/aur/gcc7/trunk/c89 ]] | |
++ gettext 'Found %s' | |
+ msg2 'Found %s' c89 | |
+ local 'mesg=Found %s' | |
+ shift | |
+ printf ' -> Found %s\n' c89 | |
+ popd | |
+ for netfile in "${all_sources[@]}" | |
+ pushd /home/josh/aur/gcc7/trunk | |
++ get_protocol c99 | |
++ [[ c99 = *://* ]] | |
++ [[ c99 = *lp:* ]] | |
++ printf '%s\n' local | |
+ local proto=local | |
+ case "$proto" in | |
+ download_local c99 | |
+ local netfile=c99 | |
++ get_filepath c99 | |
+++ get_filename c99 | |
+++ local netfile=c99 | |
+++ [[ c99 = *::* ]] | |
++++ get_protocol c99 | |
++++ [[ c99 = *://* ]] | |
++++ [[ c99 = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=c99 | |
+++ printf '%s\n' c99 | |
++ local file=c99 | |
+++ get_protocol c99 | |
+++ [[ c99 = *://* ]] | |
+++ [[ c99 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/c99 ]] | |
++ file=/home/josh/aur/gcc7/trunk/c99 | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/c99 | |
+ local filepath=/home/josh/aur/gcc7/trunk/c99 | |
+ [[ -n /home/josh/aur/gcc7/trunk/c99 ]] | |
++ gettext 'Found %s' | |
+ msg2 'Found %s' c99 | |
+ local 'mesg=Found %s' | |
+ shift | |
+ printf ' -> Found %s\n' c99 | |
+ popd | |
+ for netfile in "${all_sources[@]}" | |
+ pushd /home/josh/aur/gcc7/trunk | |
++ get_protocol bz84080.patch | |
++ [[ bz84080.patch = *://* ]] | |
++ [[ bz84080.patch = *lp:* ]] | |
++ printf '%s\n' local | |
+ local proto=local | |
+ case "$proto" in | |
+ download_local bz84080.patch | |
+ local netfile=bz84080.patch | |
++ get_filepath bz84080.patch | |
+++ get_filename bz84080.patch | |
+++ local netfile=bz84080.patch | |
+++ [[ bz84080.patch = *::* ]] | |
++++ get_protocol bz84080.patch | |
++++ [[ bz84080.patch = *://* ]] | |
++++ [[ bz84080.patch = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=bz84080.patch | |
+++ printf '%s\n' bz84080.patch | |
++ local file=bz84080.patch | |
+++ get_protocol bz84080.patch | |
+++ [[ bz84080.patch = *://* ]] | |
+++ [[ bz84080.patch = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/bz84080.patch ]] | |
++ file=/home/josh/aur/gcc7/trunk/bz84080.patch | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/bz84080.patch | |
+ local filepath=/home/josh/aur/gcc7/trunk/bz84080.patch | |
+ [[ -n /home/josh/aur/gcc7/trunk/bz84080.patch ]] | |
++ gettext 'Found %s' | |
+ msg2 'Found %s' bz84080.patch | |
+ local 'mesg=Found %s' | |
+ shift | |
+ printf ' -> Found %s\n' bz84080.patch | |
+ popd | |
+ check_source_integrity | |
+ (( SKIPCHECKSUMS && SKIPPGPCHECK )) | |
+ (( SKIPCHECKSUMS )) | |
+ (( SKIPPGPCHECK )) | |
+ check_checksums | |
+ local integ a | |
+ declare -A correlation | |
+ (( SKIPCHECKSUMS )) | |
+ (( 6 )) | |
+ correlation['source']=1 | |
+ case $1 in | |
+ array_build _ source_x86_64 | |
+ local dest=_ src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ for integ in "${known_hash_algos[@]}" | |
+ verify_integrity_sums md5 | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=md5 arch= integrity_sums sources srcname | |
+ [[ -n '' ]] | |
+ array_build integrity_sums md5sums | |
+ local dest=integrity_sums src=md5sums i keys values | |
+ declare -p md5sums | |
+ return 1 | |
+ srcname=source | |
+ array_build sources source | |
+ local dest=sources src=source i keys values | |
+ declare -p source | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ eval 'sources=()' | |
++ sources=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''sources[0]'\'' %s "${source[0]}"; printf -v '\''sources[1]'\'' %s "${source[1]}"; printf -v '\''sources[2]'\'' %s "${source[2]}"; printf -v '\''sources[3]'\'' %s "${source[3]}"; printf -v '\''sources[4]'\'' %s "${source[4]}"; printf -v '\''sources[5]'\'' %s "${source[5]}";' | |
++ printf -v 'sources[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'sources[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'sources[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'sources[3]' %s c89 | |
++ printf -v 'sources[4]' %s c99 | |
++ printf -v 'sources[5]' %s bz84080.patch | |
+ (( 0 == 0 && 6 == 0 )) | |
+ (( 0 == 6 )) | |
+ (( 0 )) | |
+ return 1 | |
+ case $1 in | |
+ verify_integrity_sums md5 x86_64 | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=md5 arch=x86_64 integrity_sums sources srcname | |
+ [[ -n x86_64 ]] | |
+ array_build integrity_sums md5sums_x86_64 | |
+ local dest=integrity_sums src=md5sums_x86_64 i keys values | |
+ declare -p md5sums_x86_64 | |
+ return 1 | |
+ srcname=source_x86_64 | |
+ array_build sources source_x86_64 | |
+ local dest=sources src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ (( 0 == 0 && 0 == 0 )) | |
+ return 1 | |
+ for integ in "${known_hash_algos[@]}" | |
+ verify_integrity_sums sha1 | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=sha1 arch= integrity_sums sources srcname | |
+ [[ -n '' ]] | |
+ array_build integrity_sums sha1sums | |
+ local dest=integrity_sums src=sha1sums i keys values | |
+ declare -p sha1sums | |
+ return 1 | |
+ srcname=source | |
+ array_build sources source | |
+ local dest=sources src=source i keys values | |
+ declare -p source | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ eval 'sources=()' | |
++ sources=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''sources[0]'\'' %s "${source[0]}"; printf -v '\''sources[1]'\'' %s "${source[1]}"; printf -v '\''sources[2]'\'' %s "${source[2]}"; printf -v '\''sources[3]'\'' %s "${source[3]}"; printf -v '\''sources[4]'\'' %s "${source[4]}"; printf -v '\''sources[5]'\'' %s "${source[5]}";' | |
++ printf -v 'sources[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'sources[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'sources[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'sources[3]' %s c89 | |
++ printf -v 'sources[4]' %s c99 | |
++ printf -v 'sources[5]' %s bz84080.patch | |
+ (( 0 == 0 && 6 == 0 )) | |
+ (( 0 == 6 )) | |
+ (( 0 )) | |
+ return 1 | |
+ case $1 in | |
+ verify_integrity_sums sha1 x86_64 | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=sha1 arch=x86_64 integrity_sums sources srcname | |
+ [[ -n x86_64 ]] | |
+ array_build integrity_sums sha1sums_x86_64 | |
+ local dest=integrity_sums src=sha1sums_x86_64 i keys values | |
+ declare -p sha1sums_x86_64 | |
+ return 1 | |
+ srcname=source_x86_64 | |
+ array_build sources source_x86_64 | |
+ local dest=sources src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ (( 0 == 0 && 0 == 0 )) | |
+ return 1 | |
+ for integ in "${known_hash_algos[@]}" | |
+ verify_integrity_sums sha224 | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=sha224 arch= integrity_sums sources srcname | |
+ [[ -n '' ]] | |
+ array_build integrity_sums sha224sums | |
+ local dest=integrity_sums src=sha224sums i keys values | |
+ declare -p sha224sums | |
+ return 1 | |
+ srcname=source | |
+ array_build sources source | |
+ local dest=sources src=source i keys values | |
+ declare -p source | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ eval 'sources=()' | |
++ sources=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''sources[0]'\'' %s "${source[0]}"; printf -v '\''sources[1]'\'' %s "${source[1]}"; printf -v '\''sources[2]'\'' %s "${source[2]}"; printf -v '\''sources[3]'\'' %s "${source[3]}"; printf -v '\''sources[4]'\'' %s "${source[4]}"; printf -v '\''sources[5]'\'' %s "${source[5]}";' | |
++ printf -v 'sources[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'sources[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'sources[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'sources[3]' %s c89 | |
++ printf -v 'sources[4]' %s c99 | |
++ printf -v 'sources[5]' %s bz84080.patch | |
+ (( 0 == 0 && 6 == 0 )) | |
+ (( 0 == 6 )) | |
+ (( 0 )) | |
+ return 1 | |
+ case $1 in | |
+ verify_integrity_sums sha224 x86_64 | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=sha224 arch=x86_64 integrity_sums sources srcname | |
+ [[ -n x86_64 ]] | |
+ array_build integrity_sums sha224sums_x86_64 | |
+ local dest=integrity_sums src=sha224sums_x86_64 i keys values | |
+ declare -p sha224sums_x86_64 | |
+ return 1 | |
+ srcname=source_x86_64 | |
+ array_build sources source_x86_64 | |
+ local dest=sources src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ (( 0 == 0 && 0 == 0 )) | |
+ return 1 | |
+ for integ in "${known_hash_algos[@]}" | |
+ verify_integrity_sums sha256 | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=sha256 arch= integrity_sums sources srcname | |
+ [[ -n '' ]] | |
+ array_build integrity_sums sha256sums | |
+ local dest=integrity_sums src=sha256sums i keys values | |
+ declare -p sha256sums | |
+ eval 'keys=("${!sha256sums[@]}")' | |
++ keys=("${!sha256sums[@]}") | |
+ eval 'integrity_sums=()' | |
++ integrity_sums=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''integrity_sums[0]'\'' %s "${sha256sums[0]}"; printf -v '\''integrity_sums[1]'\'' %s "${sha256sums[1]}"; printf -v '\''integrity_sums[2]'\'' %s "${sha256sums[2]}"; printf -v '\''integrity_sums[3]'\'' %s "${sha256sums[3]}"; printf -v '\''integrity_sums[4]'\'' %s "${sha256sums[4]}"; printf -v '\''integrity_sums[5]'\'' %s "${sha256sums[5]}";' | |
++ printf -v 'integrity_sums[0]' %s 41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00 | |
++ printf -v 'integrity_sums[1]' %s SKIP | |
++ printf -v 'integrity_sums[2]' %s 6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b | |
++ printf -v 'integrity_sums[3]' %s de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931 | |
++ printf -v 'integrity_sums[4]' %s 2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a | |
++ printf -v 'integrity_sums[5]' %s bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7 | |
+ srcname=source | |
+ array_build sources source | |
+ local dest=sources src=source i keys values | |
+ declare -p source | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ eval 'sources=()' | |
++ sources=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''sources[0]'\'' %s "${source[0]}"; printf -v '\''sources[1]'\'' %s "${source[1]}"; printf -v '\''sources[2]'\'' %s "${source[2]}"; printf -v '\''sources[3]'\'' %s "${source[3]}"; printf -v '\''sources[4]'\'' %s "${source[4]}"; printf -v '\''sources[5]'\'' %s "${source[5]}";' | |
++ printf -v 'sources[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'sources[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'sources[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'sources[3]' %s c89 | |
++ printf -v 'sources[4]' %s c99 | |
++ printf -v 'sources[5]' %s bz84080.patch | |
+ (( 6 == 0 && 6 == 0 )) | |
+ (( 6 == 6 )) | |
++ gettext 'Validating %s files with %s...' | |
+ msg 'Validating %s files with %s...' source sha256sums | |
+ local 'mesg=Validating %s files with %s...' | |
+ shift | |
+ printf '==> Validating %s files with %s...\n' source sha256sums | |
+ local idx errors=0 | |
+ (( idx = 0 )) | |
+ (( idx < 6 )) | |
+ verify_integrity_one https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz sha256 41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00 | |
+ local source_name=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz integ=sha256 expectedsum=41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00 | |
++ get_filename https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *::* ]] | |
+++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
+++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *://* ]] | |
+++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
+++ printf '%s\n' https | |
++ local proto=https | |
++ case $proto in | |
++ filename=gcc-7.3.1-20180406.tar.xz | |
++ printf '%s\n' gcc-7.3.1-20180406.tar.xz | |
+ local file=gcc-7.3.1-20180406.tar.xz | |
+ printf ' %s ... ' gcc-7.3.1-20180406.tar.xz | |
+ [[ 41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00 = \S\K\I\P ]] | |
++ get_filepath gcc-7.3.1-20180406.tar.xz | |
+++ get_filename gcc-7.3.1-20180406.tar.xz | |
+++ local netfile=gcc-7.3.1-20180406.tar.xz | |
+++ [[ gcc-7.3.1-20180406.tar.xz = *::* ]] | |
++++ get_protocol gcc-7.3.1-20180406.tar.xz | |
++++ [[ gcc-7.3.1-20180406.tar.xz = *://* ]] | |
++++ [[ gcc-7.3.1-20180406.tar.xz = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=gcc-7.3.1-20180406.tar.xz | |
+++ printf '%s\n' gcc-7.3.1-20180406.tar.xz | |
++ local file=gcc-7.3.1-20180406.tar.xz | |
+++ get_protocol gcc-7.3.1-20180406.tar.xz | |
+++ [[ gcc-7.3.1-20180406.tar.xz = *://* ]] | |
+++ [[ gcc-7.3.1-20180406.tar.xz = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz ]] | |
++ file=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
+ file=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
++ sha256sum /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
+ local 'realsum=41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00 /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz' | |
+ realsum=41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00 | |
+ [[ 41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00 = \4\1\6\7\5\8\6\1\b\7\f\d\b\4\e\b\f\b\5\c\b\b\e\1\b\c\e\4\5\6\d\4\e\4\0\6\1\c\e\4\d\f\9\5\0\9\6\0\7\5\7\5\6\e\a\a\e\3\2\6\3\e\0\0 ]] | |
++ gettext Passed | |
+ printf '%s\n' Passed | |
+ return 0 | |
+ (( idx++ )) | |
+ (( idx < 6 )) | |
+ verify_integrity_one https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig sha256 SKIP | |
+ local source_name=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig integ=sha256 expectedsum=SKIP | |
++ get_filename https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *::* ]] | |
+++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
+++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ printf '%s\n' https | |
++ local proto=https | |
++ case $proto in | |
++ filename=gcc-7.3.1-20180406.tar.xz.sig | |
++ printf '%s\n' gcc-7.3.1-20180406.tar.xz.sig | |
+ local file=gcc-7.3.1-20180406.tar.xz.sig | |
+ printf ' %s ... ' gcc-7.3.1-20180406.tar.xz.sig | |
+ [[ SKIP = \S\K\I\P ]] | |
++ gettext Skipped | |
+ printf '%s\n' Skipped | |
+ return | |
+ (( idx++ )) | |
+ (( idx < 6 )) | |
+ verify_integrity_one http://isl.gforge.inria.fr/isl-0.18.tar.bz2 sha256 6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b | |
+ local source_name=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 integ=sha256 expectedsum=6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b | |
++ get_filename http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ local netfile=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ [[ http://isl.gforge.inria.fr/isl-0.18.tar.bz2 = *::* ]] | |
+++ get_protocol http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
+++ [[ http://isl.gforge.inria.fr/isl-0.18.tar.bz2 = *://* ]] | |
+++ local proto=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
+++ printf '%s\n' http | |
++ local proto=http | |
++ case $proto in | |
++ filename=isl-0.18.tar.bz2 | |
++ printf '%s\n' isl-0.18.tar.bz2 | |
+ local file=isl-0.18.tar.bz2 | |
+ printf ' %s ... ' isl-0.18.tar.bz2 | |
+ [[ 6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b = \S\K\I\P ]] | |
++ get_filepath isl-0.18.tar.bz2 | |
+++ get_filename isl-0.18.tar.bz2 | |
+++ local netfile=isl-0.18.tar.bz2 | |
+++ [[ isl-0.18.tar.bz2 = *::* ]] | |
++++ get_protocol isl-0.18.tar.bz2 | |
++++ [[ isl-0.18.tar.bz2 = *://* ]] | |
++++ [[ isl-0.18.tar.bz2 = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=isl-0.18.tar.bz2 | |
+++ printf '%s\n' isl-0.18.tar.bz2 | |
++ local file=isl-0.18.tar.bz2 | |
+++ get_protocol isl-0.18.tar.bz2 | |
+++ [[ isl-0.18.tar.bz2 = *://* ]] | |
+++ [[ isl-0.18.tar.bz2 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 ]] | |
++ file=/home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 | |
+ file=/home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 | |
++ sha256sum /home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 | |
+ local 'realsum=6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b /home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2' | |
+ realsum=6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b | |
+ [[ 6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b = \6\b\8\b\0\f\d\7\f\8\1\d\0\a\9\5\7\b\e\b\3\6\7\9\c\8\1\b\b\b\3\4\c\c\c\7\5\6\8\d\5\6\8\2\8\4\4\d\8\9\2\4\4\2\4\a\0\d\a\d\c\b\1\b ]] | |
++ gettext Passed | |
+ printf '%s\n' Passed | |
+ return 0 | |
+ (( idx++ )) | |
+ (( idx < 6 )) | |
+ verify_integrity_one c89 sha256 de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931 | |
+ local source_name=c89 integ=sha256 expectedsum=de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931 | |
++ get_filename c89 | |
++ local netfile=c89 | |
++ [[ c89 = *::* ]] | |
+++ get_protocol c89 | |
+++ [[ c89 = *://* ]] | |
+++ [[ c89 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ filename=c89 | |
++ printf '%s\n' c89 | |
+ local file=c89 | |
+ printf ' %s ... ' c89 | |
+ [[ de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931 = \S\K\I\P ]] | |
++ get_filepath c89 | |
+++ get_filename c89 | |
+++ local netfile=c89 | |
+++ [[ c89 = *::* ]] | |
++++ get_protocol c89 | |
++++ [[ c89 = *://* ]] | |
++++ [[ c89 = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=c89 | |
+++ printf '%s\n' c89 | |
++ local file=c89 | |
+++ get_protocol c89 | |
+++ [[ c89 = *://* ]] | |
+++ [[ c89 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/c89 ]] | |
++ file=/home/josh/aur/gcc7/trunk/c89 | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/c89 | |
+ file=/home/josh/aur/gcc7/trunk/c89 | |
++ sha256sum /home/josh/aur/gcc7/trunk/c89 | |
+ local 'realsum=de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931 /home/josh/aur/gcc7/trunk/c89' | |
+ realsum=de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931 | |
+ [[ de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931 = \d\e\4\8\7\3\6\f\6\e\4\1\5\3\f\0\3\d\0\a\5\d\3\8\c\e\b\6\c\6\f\d\b\7\f\0\5\4\e\8\f\4\7\d\d\d\6\a\f\0\a\3\d\b\f\1\4\f\2\7\b\9\3\1 ]] | |
++ gettext Passed | |
+ printf '%s\n' Passed | |
+ return 0 | |
+ (( idx++ )) | |
+ (( idx < 6 )) | |
+ verify_integrity_one c99 sha256 2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a | |
+ local source_name=c99 integ=sha256 expectedsum=2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a | |
++ get_filename c99 | |
++ local netfile=c99 | |
++ [[ c99 = *::* ]] | |
+++ get_protocol c99 | |
+++ [[ c99 = *://* ]] | |
+++ [[ c99 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ filename=c99 | |
++ printf '%s\n' c99 | |
+ local file=c99 | |
+ printf ' %s ... ' c99 | |
+ [[ 2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a = \S\K\I\P ]] | |
++ get_filepath c99 | |
+++ get_filename c99 | |
+++ local netfile=c99 | |
+++ [[ c99 = *::* ]] | |
++++ get_protocol c99 | |
++++ [[ c99 = *://* ]] | |
++++ [[ c99 = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=c99 | |
+++ printf '%s\n' c99 | |
++ local file=c99 | |
+++ get_protocol c99 | |
+++ [[ c99 = *://* ]] | |
+++ [[ c99 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/c99 ]] | |
++ file=/home/josh/aur/gcc7/trunk/c99 | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/c99 | |
+ file=/home/josh/aur/gcc7/trunk/c99 | |
++ sha256sum /home/josh/aur/gcc7/trunk/c99 | |
+ local 'realsum=2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a /home/josh/aur/gcc7/trunk/c99' | |
+ realsum=2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a | |
+ [[ 2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a = \2\5\1\3\c\6\d\9\9\8\4\d\d\0\a\2\0\5\8\5\5\7\b\f\0\0\f\0\6\d\8\d\5\1\8\1\7\3\4\e\4\1\d\c\f\e\0\7\b\e\7\e\d\8\6\f\2\9\5\9\6\2\2\a ]] | |
++ gettext Passed | |
+ printf '%s\n' Passed | |
+ return 0 | |
+ (( idx++ )) | |
+ (( idx < 6 )) | |
+ verify_integrity_one bz84080.patch sha256 bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7 | |
+ local source_name=bz84080.patch integ=sha256 expectedsum=bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7 | |
++ get_filename bz84080.patch | |
++ local netfile=bz84080.patch | |
++ [[ bz84080.patch = *::* ]] | |
+++ get_protocol bz84080.patch | |
+++ [[ bz84080.patch = *://* ]] | |
+++ [[ bz84080.patch = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ filename=bz84080.patch | |
++ printf '%s\n' bz84080.patch | |
+ local file=bz84080.patch | |
+ printf ' %s ... ' bz84080.patch | |
+ [[ bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7 = \S\K\I\P ]] | |
++ get_filepath bz84080.patch | |
+++ get_filename bz84080.patch | |
+++ local netfile=bz84080.patch | |
+++ [[ bz84080.patch = *::* ]] | |
++++ get_protocol bz84080.patch | |
++++ [[ bz84080.patch = *://* ]] | |
++++ [[ bz84080.patch = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=bz84080.patch | |
+++ printf '%s\n' bz84080.patch | |
++ local file=bz84080.patch | |
+++ get_protocol bz84080.patch | |
+++ [[ bz84080.patch = *://* ]] | |
+++ [[ bz84080.patch = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/bz84080.patch ]] | |
++ file=/home/josh/aur/gcc7/trunk/bz84080.patch | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/bz84080.patch | |
+ file=/home/josh/aur/gcc7/trunk/bz84080.patch | |
++ sha256sum /home/josh/aur/gcc7/trunk/bz84080.patch | |
+ local 'realsum=bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7 /home/josh/aur/gcc7/trunk/bz84080.patch' | |
+ realsum=bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7 | |
+ [[ bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7 = \b\c\e\0\5\8\0\7\4\4\3\5\5\8\d\b\5\5\f\0\d\6\b\4\d\a\e\3\7\a\6\7\8\e\a\1\b\b\3\3\8\8\b\5\4\1\c\8\7\6\f\e\3\d\1\1\0\e\3\7\1\7\e\7 ]] | |
++ gettext Passed | |
+ printf '%s\n' Passed | |
+ return 0 | |
+ (( idx++ )) | |
+ (( idx < 6 )) | |
+ (( errors )) | |
+ unset 'correlation[source]' | |
+ case $1 in | |
+ verify_integrity_sums sha256 x86_64 | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=sha256 arch=x86_64 integrity_sums sources srcname | |
+ [[ -n x86_64 ]] | |
+ array_build integrity_sums sha256sums_x86_64 | |
+ local dest=integrity_sums src=sha256sums_x86_64 i keys values | |
+ declare -p sha256sums_x86_64 | |
+ return 1 | |
+ srcname=source_x86_64 | |
+ array_build sources source_x86_64 | |
+ local dest=sources src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ (( 0 == 0 && 0 == 0 )) | |
+ return 1 | |
+ for integ in "${known_hash_algos[@]}" | |
+ verify_integrity_sums sha384 | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=sha384 arch= integrity_sums sources srcname | |
+ [[ -n '' ]] | |
+ array_build integrity_sums sha384sums | |
+ local dest=integrity_sums src=sha384sums i keys values | |
+ declare -p sha384sums | |
+ return 1 | |
+ srcname=source | |
+ array_build sources source | |
+ local dest=sources src=source i keys values | |
+ declare -p source | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ eval 'sources=()' | |
++ sources=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''sources[0]'\'' %s "${source[0]}"; printf -v '\''sources[1]'\'' %s "${source[1]}"; printf -v '\''sources[2]'\'' %s "${source[2]}"; printf -v '\''sources[3]'\'' %s "${source[3]}"; printf -v '\''sources[4]'\'' %s "${source[4]}"; printf -v '\''sources[5]'\'' %s "${source[5]}";' | |
++ printf -v 'sources[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'sources[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'sources[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'sources[3]' %s c89 | |
++ printf -v 'sources[4]' %s c99 | |
++ printf -v 'sources[5]' %s bz84080.patch | |
+ (( 0 == 0 && 6 == 0 )) | |
+ (( 0 == 6 )) | |
+ (( 0 )) | |
+ return 1 | |
+ case $1 in | |
+ verify_integrity_sums sha384 x86_64 | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=sha384 arch=x86_64 integrity_sums sources srcname | |
+ [[ -n x86_64 ]] | |
+ array_build integrity_sums sha384sums_x86_64 | |
+ local dest=integrity_sums src=sha384sums_x86_64 i keys values | |
+ declare -p sha384sums_x86_64 | |
+ return 1 | |
+ srcname=source_x86_64 | |
+ array_build sources source_x86_64 | |
+ local dest=sources src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ (( 0 == 0 && 0 == 0 )) | |
+ return 1 | |
+ for integ in "${known_hash_algos[@]}" | |
+ verify_integrity_sums sha512 | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=sha512 arch= integrity_sums sources srcname | |
+ [[ -n '' ]] | |
+ array_build integrity_sums sha512sums | |
+ local dest=integrity_sums src=sha512sums i keys values | |
+ declare -p sha512sums | |
+ return 1 | |
+ srcname=source | |
+ array_build sources source | |
+ local dest=sources src=source i keys values | |
+ declare -p source | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ eval 'sources=()' | |
++ sources=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''sources[0]'\'' %s "${source[0]}"; printf -v '\''sources[1]'\'' %s "${source[1]}"; printf -v '\''sources[2]'\'' %s "${source[2]}"; printf -v '\''sources[3]'\'' %s "${source[3]}"; printf -v '\''sources[4]'\'' %s "${source[4]}"; printf -v '\''sources[5]'\'' %s "${source[5]}";' | |
++ printf -v 'sources[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'sources[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'sources[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'sources[3]' %s c89 | |
++ printf -v 'sources[4]' %s c99 | |
++ printf -v 'sources[5]' %s bz84080.patch | |
+ (( 0 == 0 && 6 == 0 )) | |
+ (( 0 == 6 )) | |
+ (( 0 )) | |
+ return 1 | |
+ case $1 in | |
+ verify_integrity_sums sha512 x86_64 | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=sha512 arch=x86_64 integrity_sums sources srcname | |
+ [[ -n x86_64 ]] | |
+ array_build integrity_sums sha512sums_x86_64 | |
+ local dest=integrity_sums src=sha512sums_x86_64 i keys values | |
+ declare -p sha512sums_x86_64 | |
+ return 1 | |
+ srcname=source_x86_64 | |
+ array_build sources source_x86_64 | |
+ local dest=sources src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ (( 0 == 0 && 0 == 0 )) | |
+ return 1 | |
+ for integ in "${known_hash_algos[@]}" | |
+ verify_integrity_sums whirlpool | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=whirlpool arch= integrity_sums sources srcname | |
+ [[ -n '' ]] | |
+ array_build integrity_sums whirlpoolsums | |
+ local dest=integrity_sums src=whirlpoolsums i keys values | |
+ declare -p whirlpoolsums | |
+ return 1 | |
+ srcname=source | |
+ array_build sources source | |
+ local dest=sources src=source i keys values | |
+ declare -p source | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ eval 'sources=()' | |
++ sources=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''sources[0]'\'' %s "${source[0]}"; printf -v '\''sources[1]'\'' %s "${source[1]}"; printf -v '\''sources[2]'\'' %s "${source[2]}"; printf -v '\''sources[3]'\'' %s "${source[3]}"; printf -v '\''sources[4]'\'' %s "${source[4]}"; printf -v '\''sources[5]'\'' %s "${source[5]}";' | |
++ printf -v 'sources[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'sources[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'sources[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'sources[3]' %s c89 | |
++ printf -v 'sources[4]' %s c99 | |
++ printf -v 'sources[5]' %s bz84080.patch | |
+ (( 0 == 0 && 6 == 0 )) | |
+ (( 0 == 6 )) | |
+ (( 0 )) | |
+ return 1 | |
+ case $1 in | |
+ verify_integrity_sums whirlpool x86_64 | |
+ integrity_sums=() | |
+ sources=() | |
+ local integ=whirlpool arch=x86_64 integrity_sums sources srcname | |
+ [[ -n x86_64 ]] | |
+ array_build integrity_sums whirlpoolsums_x86_64 | |
+ local dest=integrity_sums src=whirlpoolsums_x86_64 i keys values | |
+ declare -p whirlpoolsums_x86_64 | |
+ return 1 | |
+ srcname=source_x86_64 | |
+ array_build sources source_x86_64 | |
+ local dest=sources src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ (( 0 == 0 && 0 == 0 )) | |
+ return 1 | |
+ (( 0 )) | |
+ check_pgpsigs | |
+ (( SKIPPGPCHECK )) | |
+ source_has_signatures | |
+ local netfile all_sources proto | |
+ get_all_sources_for_arch all_sources | |
+ local aggregate l | |
+ array_build l source | |
+ local dest=l src=source i keys values | |
+ declare -p source | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ eval 'l=()' | |
++ l=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''l[0]'\'' %s "${source[0]}"; printf -v '\''l[1]'\'' %s "${source[1]}"; printf -v '\''l[2]'\'' %s "${source[2]}"; printf -v '\''l[3]'\'' %s "${source[3]}"; printf -v '\''l[4]'\'' %s "${source[4]}"; printf -v '\''l[5]'\'' %s "${source[5]}";' | |
++ printf -v 'l[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'l[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'l[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'l[3]' %s c89 | |
++ printf -v 'l[4]' %s c99 | |
++ printf -v 'l[5]' %s bz84080.patch | |
+ aggregate+=("${l[@]}") | |
+ array_build l source_x86_64 | |
+ local dest=l src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ array_build all_sources aggregate | |
+ local dest=all_sources src=aggregate i keys values | |
+ declare -p aggregate | |
+ eval 'keys=("${!aggregate[@]}")' | |
++ keys=("${!aggregate[@]}") | |
+ eval 'all_sources=()' | |
++ all_sources=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''all_sources[0]'\'' %s "${aggregate[0]}"; printf -v '\''all_sources[1]'\'' %s "${aggregate[1]}"; printf -v '\''all_sources[2]'\'' %s "${aggregate[2]}"; printf -v '\''all_sources[3]'\'' %s "${aggregate[3]}"; printf -v '\''all_sources[4]'\'' %s "${aggregate[4]}"; printf -v '\''all_sources[5]'\'' %s "${aggregate[5]}";' | |
++ printf -v 'all_sources[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'all_sources[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'all_sources[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'all_sources[3]' %s c89 | |
++ printf -v 'all_sources[4]' %s c99 | |
++ printf -v 'all_sources[5]' %s bz84080.patch | |
+ for netfile in "${all_sources[@]}" | |
++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *://* ]] | |
++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf '%s\n' https | |
+ proto=https | |
++ get_uri_query https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ local query=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = \h\t\t\p\s\:\/\/\s\o\u\r\c\e\s\.\a\r\c\h\l\i\n\u\x\.\o\r\g\/\o\t\h\e\r\/\g\c\c\/\g\c\c\-\7\.\3\.\1\-\2\0\1\8\0\4\0\6\.\t\a\r\.\x\z ]] | |
++ unset query | |
++ query= | |
++ printf '%s\n' '' | |
+ query= | |
+ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *.@(sig?(n)|asc) ]] | |
+ [[ https = git* ]] | |
+ for netfile in "${all_sources[@]}" | |
++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf '%s\n' https | |
+ proto=https | |
++ get_uri_query https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ local query=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = \h\t\t\p\s\:\/\/\s\o\u\r\c\e\s\.\a\r\c\h\l\i\n\u\x\.\o\r\g\/\o\t\h\e\r\/\g\c\c\/\g\c\c\-\7\.\3\.\1\-\2\0\1\8\0\4\0\6\.\t\a\r\.\x\z\.\s\i\g ]] | |
++ unset query | |
++ query= | |
++ printf '%s\n' '' | |
+ query= | |
+ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *.@(sig?(n)|asc) ]] | |
+ return 0 | |
++ gettext 'Verifying source file signatures with %s...' | |
+ msg 'Verifying source file signatures with %s...' gpg | |
+ local 'mesg=Verifying source file signatures with %s...' | |
+ shift | |
+ printf '==> Verifying source file signatures with %s...\n' gpg | |
+ local netfile proto pubkey success status fingerprint trusted | |
+ local warnings=0 | |
+ local errors=0 | |
++ mktemp | |
+ local statusfile=/tmp/tmp.sGhS0gxgSO | |
+ local all_sources | |
+ case $1 in | |
+ get_all_sources_for_arch all_sources | |
+ local aggregate l | |
+ array_build l source | |
+ local dest=l src=source i keys values | |
+ declare -p source | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ eval 'l=()' | |
++ l=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''l[0]'\'' %s "${source[0]}"; printf -v '\''l[1]'\'' %s "${source[1]}"; printf -v '\''l[2]'\'' %s "${source[2]}"; printf -v '\''l[3]'\'' %s "${source[3]}"; printf -v '\''l[4]'\'' %s "${source[4]}"; printf -v '\''l[5]'\'' %s "${source[5]}";' | |
++ printf -v 'l[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'l[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'l[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'l[3]' %s c89 | |
++ printf -v 'l[4]' %s c99 | |
++ printf -v 'l[5]' %s bz84080.patch | |
+ aggregate+=("${l[@]}") | |
+ array_build l source_x86_64 | |
+ local dest=l src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ array_build all_sources aggregate | |
+ local dest=all_sources src=aggregate i keys values | |
+ declare -p aggregate | |
+ eval 'keys=("${!aggregate[@]}")' | |
++ keys=("${!aggregate[@]}") | |
+ eval 'all_sources=()' | |
++ all_sources=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''all_sources[0]'\'' %s "${aggregate[0]}"; printf -v '\''all_sources[1]'\'' %s "${aggregate[1]}"; printf -v '\''all_sources[2]'\'' %s "${aggregate[2]}"; printf -v '\''all_sources[3]'\'' %s "${aggregate[3]}"; printf -v '\''all_sources[4]'\'' %s "${aggregate[4]}"; printf -v '\''all_sources[5]'\'' %s "${aggregate[5]}";' | |
++ printf -v 'all_sources[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'all_sources[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'all_sources[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'all_sources[3]' %s c89 | |
++ printf -v 'all_sources[4]' %s c99 | |
++ printf -v 'all_sources[5]' %s bz84080.patch | |
+ for netfile in "${all_sources[@]}" | |
++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *://* ]] | |
++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf '%s\n' https | |
+ proto=https | |
+ [[ https = git* ]] | |
+ verify_file_signature https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz /tmp/tmp.sGhS0gxgSO | |
+ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz statusfile=/tmp/tmp.sGhS0gxgSO | |
+ local file ext decompress found sourcefile | |
++ get_filename https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *::* ]] | |
+++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
+++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *://* ]] | |
+++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
+++ printf '%s\n' https | |
++ local proto=https | |
++ case $proto in | |
++ filename=gcc-7.3.1-20180406.tar.xz | |
++ printf '%s\n' gcc-7.3.1-20180406.tar.xz | |
+ file=gcc-7.3.1-20180406.tar.xz | |
+ [[ gcc-7.3.1-20180406.tar.xz != *.@(sig?(n)|asc) ]] | |
+ return 1 | |
+ continue | |
+ for netfile in "${all_sources[@]}" | |
++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf '%s\n' https | |
+ proto=https | |
+ [[ https = git* ]] | |
+ verify_file_signature https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig /tmp/tmp.sGhS0gxgSO | |
+ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig statusfile=/tmp/tmp.sGhS0gxgSO | |
+ local file ext decompress found sourcefile | |
++ get_filename https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *::* ]] | |
+++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
+++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ printf '%s\n' https | |
++ local proto=https | |
++ case $proto in | |
++ filename=gcc-7.3.1-20180406.tar.xz.sig | |
++ printf '%s\n' gcc-7.3.1-20180406.tar.xz.sig | |
+ file=gcc-7.3.1-20180406.tar.xz.sig | |
+ [[ gcc-7.3.1-20180406.tar.xz.sig != *.@(sig?(n)|asc) ]] | |
+ printf ' %s ... ' gcc-7.3.1-20180406.tar.xz | |
++ get_filepath https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ get_filename https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *::* ]] | |
++++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
++++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++++ printf '%s\n' https | |
+++ local proto=https | |
+++ case $proto in | |
+++ filename=gcc-7.3.1-20180406.tar.xz.sig | |
+++ printf '%s\n' gcc-7.3.1-20180406.tar.xz.sig | |
++ local file=gcc-7.3.1-20180406.tar.xz.sig | |
+++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
+++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ printf '%s\n' https | |
++ local proto=https | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig ]] | |
++ file=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig | |
+ file=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig | |
+ found=0 | |
+ for ext in "" gz bz2 xz lrz lzo Z | |
++ get_filepath /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
+++ get_filename /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
+++ local netfile=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
+++ [[ /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz = *::* ]] | |
++++ get_protocol /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
++++ [[ /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz = *://* ]] | |
++++ [[ /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=gcc-7.3.1-20180406.tar.xz | |
+++ printf '%s\n' gcc-7.3.1-20180406.tar.xz | |
++ local file=gcc-7.3.1-20180406.tar.xz | |
+++ get_protocol /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
+++ [[ /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz = *://* ]] | |
+++ [[ /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz ]] | |
++ file=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
+ sourcefile=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
+ found=1 | |
+ break | |
+ (( ! found )) | |
+ case "$ext" in | |
+ decompress=cat | |
+ cat | |
+ gpg --quiet --batch --status-file /tmp/tmp.sGhS0gxgSO --verify /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig - | |
+ return 0 | |
+ success=0 | |
+ status= | |
+ pubkey= | |
+ fingerprint= | |
+ trusted= | |
+ parse_gpg_statusfile /tmp/tmp.sGhS0gxgSO | |
+ local type arg1 arg6 arg10 | |
+ read -r _ type arg1 _ _ _ _ arg6 _ _ _ arg10 _ | |
+ case "$type" in | |
+ read -r _ type arg1 _ _ _ _ arg6 _ _ _ arg10 _ | |
+ case "$type" in | |
+ read -r _ type arg1 _ _ _ _ arg6 _ _ _ arg10 _ | |
+ case "$type" in | |
+ read -r _ type arg1 _ _ _ _ arg6 _ _ _ arg10 _ | |
+ case "$type" in | |
+ read -r _ type arg1 _ _ _ _ arg6 _ _ _ arg10 _ | |
+ case "$type" in | |
+ pubkey=BBE43771487328A9 | |
+ success=1 | |
+ status=good | |
+ read -r _ type arg1 _ _ _ _ arg6 _ _ _ arg10 _ | |
+ case "$type" in | |
+ [[ -n F3691687D867B81B51CE07D9BBE43771487328A9 ]] | |
+ fingerprint=F3691687D867B81B51CE07D9BBE43771487328A9 | |
+ read -r _ type arg1 _ _ _ _ arg6 _ _ _ arg10 _ | |
+ case "$type" in | |
+ read -r _ type arg1 _ _ _ _ arg6 _ _ _ arg10 _ | |
+ case "$type" in | |
+ trusted=0 | |
+ read -r _ type arg1 _ _ _ _ arg6 _ _ _ arg10 _ | |
+ case "$type" in | |
+ read -r _ type arg1 _ _ _ _ arg6 _ _ _ arg10 _ | |
+ (( ! 1 )) | |
+ (( 2 == 0 && !trusted )) | |
+ (( 2 > 0 )) | |
+ in_array F3691687D867B81B51CE07D9BBE43771487328A9 F3691687D867B81B51CE07D9BBE43771487328A9 13975A70E63C361C73AE69EF6EEB81F8981C74C7 | |
+ local needle=F3691687D867B81B51CE07D9BBE43771487328A9 | |
+ shift | |
+ local item | |
+ for item in "$@" | |
+ [[ F3691687D867B81B51CE07D9BBE43771487328A9 = \F\3\6\9\1\6\8\7\D\8\6\7\B\8\1\B\5\1\C\E\0\7\D\9\B\B\E\4\3\7\7\1\4\8\7\3\2\8\A\9 ]] | |
+ return 0 | |
++ gettext Passed | |
+ printf %s Passed | |
+ case "$status" in | |
+ printf '\n' | |
+ for netfile in "${all_sources[@]}" | |
++ get_protocol http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ [[ http://isl.gforge.inria.fr/isl-0.18.tar.bz2 = *://* ]] | |
++ local proto=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf '%s\n' http | |
+ proto=http | |
+ [[ http = git* ]] | |
+ verify_file_signature http://isl.gforge.inria.fr/isl-0.18.tar.bz2 /tmp/tmp.sGhS0gxgSO | |
+ local netfile=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 statusfile=/tmp/tmp.sGhS0gxgSO | |
+ local file ext decompress found sourcefile | |
++ get_filename http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ local netfile=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ [[ http://isl.gforge.inria.fr/isl-0.18.tar.bz2 = *::* ]] | |
+++ get_protocol http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
+++ [[ http://isl.gforge.inria.fr/isl-0.18.tar.bz2 = *://* ]] | |
+++ local proto=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
+++ printf '%s\n' http | |
++ local proto=http | |
++ case $proto in | |
++ filename=isl-0.18.tar.bz2 | |
++ printf '%s\n' isl-0.18.tar.bz2 | |
+ file=isl-0.18.tar.bz2 | |
+ [[ isl-0.18.tar.bz2 != *.@(sig?(n)|asc) ]] | |
+ return 1 | |
+ continue | |
+ for netfile in "${all_sources[@]}" | |
++ get_protocol c89 | |
++ [[ c89 = *://* ]] | |
++ [[ c89 = *lp:* ]] | |
++ printf '%s\n' local | |
+ proto=local | |
+ [[ local = git* ]] | |
+ verify_file_signature c89 /tmp/tmp.sGhS0gxgSO | |
+ local netfile=c89 statusfile=/tmp/tmp.sGhS0gxgSO | |
+ local file ext decompress found sourcefile | |
++ get_filename c89 | |
++ local netfile=c89 | |
++ [[ c89 = *::* ]] | |
+++ get_protocol c89 | |
+++ [[ c89 = *://* ]] | |
+++ [[ c89 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ filename=c89 | |
++ printf '%s\n' c89 | |
+ file=c89 | |
+ [[ c89 != *.@(sig?(n)|asc) ]] | |
+ return 1 | |
+ continue | |
+ for netfile in "${all_sources[@]}" | |
++ get_protocol c99 | |
++ [[ c99 = *://* ]] | |
++ [[ c99 = *lp:* ]] | |
++ printf '%s\n' local | |
+ proto=local | |
+ [[ local = git* ]] | |
+ verify_file_signature c99 /tmp/tmp.sGhS0gxgSO | |
+ local netfile=c99 statusfile=/tmp/tmp.sGhS0gxgSO | |
+ local file ext decompress found sourcefile | |
++ get_filename c99 | |
++ local netfile=c99 | |
++ [[ c99 = *::* ]] | |
+++ get_protocol c99 | |
+++ [[ c99 = *://* ]] | |
+++ [[ c99 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ filename=c99 | |
++ printf '%s\n' c99 | |
+ file=c99 | |
+ [[ c99 != *.@(sig?(n)|asc) ]] | |
+ return 1 | |
+ continue | |
+ for netfile in "${all_sources[@]}" | |
++ get_protocol bz84080.patch | |
++ [[ bz84080.patch = *://* ]] | |
++ [[ bz84080.patch = *lp:* ]] | |
++ printf '%s\n' local | |
+ proto=local | |
+ [[ local = git* ]] | |
+ verify_file_signature bz84080.patch /tmp/tmp.sGhS0gxgSO | |
+ local netfile=bz84080.patch statusfile=/tmp/tmp.sGhS0gxgSO | |
+ local file ext decompress found sourcefile | |
++ get_filename bz84080.patch | |
++ local netfile=bz84080.patch | |
++ [[ bz84080.patch = *::* ]] | |
+++ get_protocol bz84080.patch | |
+++ [[ bz84080.patch = *://* ]] | |
+++ [[ bz84080.patch = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ filename=bz84080.patch | |
++ printf '%s\n' bz84080.patch | |
+ file=bz84080.patch | |
+ [[ bz84080.patch != *.@(sig?(n)|asc) ]] | |
+ return 1 | |
+ continue | |
+ rm -f /tmp/tmp.sGhS0gxgSO | |
+ (( errors )) | |
+ (( warnings )) | |
+ (( VERIFYSOURCE )) | |
+ (( CLEANBUILD )) | |
+ extract_sources | |
++ gettext 'Extracting sources...' | |
+ msg 'Extracting sources...' | |
+ local 'mesg=Extracting sources...' | |
+ shift | |
+ printf '==> Extracting sources...\n' | |
+ local netfile all_sources | |
+ get_all_sources_for_arch all_sources | |
+ local aggregate l | |
+ array_build l source | |
+ local dest=l src=source i keys values | |
+ declare -p source | |
+ eval 'keys=("${!source[@]}")' | |
++ keys=("${!source[@]}") | |
+ eval 'l=()' | |
++ l=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''l[0]'\'' %s "${source[0]}"; printf -v '\''l[1]'\'' %s "${source[1]}"; printf -v '\''l[2]'\'' %s "${source[2]}"; printf -v '\''l[3]'\'' %s "${source[3]}"; printf -v '\''l[4]'\'' %s "${source[4]}"; printf -v '\''l[5]'\'' %s "${source[5]}";' | |
++ printf -v 'l[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'l[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'l[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'l[3]' %s c89 | |
++ printf -v 'l[4]' %s c99 | |
++ printf -v 'l[5]' %s bz84080.patch | |
+ aggregate+=("${l[@]}") | |
+ array_build l source_x86_64 | |
+ local dest=l src=source_x86_64 i keys values | |
+ declare -p source_x86_64 | |
+ return 1 | |
+ array_build all_sources aggregate | |
+ local dest=all_sources src=aggregate i keys values | |
+ declare -p aggregate | |
+ eval 'keys=("${!aggregate[@]}")' | |
++ keys=("${!aggregate[@]}") | |
+ eval 'all_sources=()' | |
++ all_sources=() | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ for i in "${keys[@]}" | |
+ values+=("printf -v '$dest[$i]' %s \"\${$src[$i]}\";") | |
+ eval 'printf -v '\''all_sources[0]'\'' %s "${aggregate[0]}"; printf -v '\''all_sources[1]'\'' %s "${aggregate[1]}"; printf -v '\''all_sources[2]'\'' %s "${aggregate[2]}"; printf -v '\''all_sources[3]'\'' %s "${aggregate[3]}"; printf -v '\''all_sources[4]'\'' %s "${aggregate[4]}"; printf -v '\''all_sources[5]'\'' %s "${aggregate[5]}";' | |
++ printf -v 'all_sources[0]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf -v 'all_sources[1]' %s https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf -v 'all_sources[2]' %s http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf -v 'all_sources[3]' %s c89 | |
++ printf -v 'all_sources[4]' %s c99 | |
++ printf -v 'all_sources[5]' %s bz84080.patch | |
+ for netfile in "${all_sources[@]}" | |
++ get_filename https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *::* ]] | |
+++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
+++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *://* ]] | |
+++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
+++ printf '%s\n' https | |
++ local proto=https | |
++ case $proto in | |
++ filename=gcc-7.3.1-20180406.tar.xz | |
++ printf '%s\n' gcc-7.3.1-20180406.tar.xz | |
+ local file=gcc-7.3.1-20180406.tar.xz | |
++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz = *://* ]] | |
++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz | |
++ printf '%s\n' https | |
+ local proto=https | |
+ case "$proto" in | |
+ extract_file gcc-7.3.1-20180406.tar.xz | |
+ local file=gcc-7.3.1-20180406.tar.xz | |
++ get_filepath gcc-7.3.1-20180406.tar.xz | |
+++ get_filename gcc-7.3.1-20180406.tar.xz | |
+++ local netfile=gcc-7.3.1-20180406.tar.xz | |
+++ [[ gcc-7.3.1-20180406.tar.xz = *::* ]] | |
++++ get_protocol gcc-7.3.1-20180406.tar.xz | |
++++ [[ gcc-7.3.1-20180406.tar.xz = *://* ]] | |
++++ [[ gcc-7.3.1-20180406.tar.xz = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=gcc-7.3.1-20180406.tar.xz | |
+++ printf '%s\n' gcc-7.3.1-20180406.tar.xz | |
++ local file=gcc-7.3.1-20180406.tar.xz | |
+++ get_protocol gcc-7.3.1-20180406.tar.xz | |
+++ [[ gcc-7.3.1-20180406.tar.xz = *://* ]] | |
+++ [[ gcc-7.3.1-20180406.tar.xz = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz ]] | |
++ file=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
+ local filepath=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz | |
+ rm -f /tmp/makepkg/gcc7/src/gcc-7.3.1-20180406.tar.xz | |
+ ln -s /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz /tmp/makepkg/gcc7/src/ | |
+ in_array gcc-7.3.1-20180406.tar.xz | |
+ local needle=gcc-7.3.1-20180406.tar.xz | |
+ shift | |
+ local item | |
+ return 1 | |
++ file -bizL -- gcc-7.3.1-20180406.tar.xz | |
+ local 'file_type=application/x-tar; charset=binary compressed-encoding=application/x-xz; charset=binary' | |
+ local ext=xz | |
+ local cmd= | |
+ case "$file_type" in | |
+ cmd=bsdtar | |
+ local ret=0 | |
++ gettext 'Extracting %s with %s' | |
+ msg2 'Extracting %s with %s' gcc-7.3.1-20180406.tar.xz bsdtar | |
+ local 'mesg=Extracting %s with %s' | |
+ shift | |
+ printf ' -> Extracting %s with %s\n' gcc-7.3.1-20180406.tar.xz bsdtar | |
+ [[ bsdtar = \b\s\d\t\a\r ]] | |
+ bsdtar -xf gcc-7.3.1-20180406.tar.xz | |
+ (( ret )) | |
+ (( EUID == 0 )) | |
+ for netfile in "${all_sources[@]}" | |
++ get_filename https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ local netfile=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *::* ]] | |
+++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
+++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
+++ printf '%s\n' https | |
++ local proto=https | |
++ case $proto in | |
++ filename=gcc-7.3.1-20180406.tar.xz.sig | |
++ printf '%s\n' gcc-7.3.1-20180406.tar.xz.sig | |
+ local file=gcc-7.3.1-20180406.tar.xz.sig | |
++ get_protocol https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ [[ https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
++ local proto=https://sources.archlinux.org/other/gcc/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf '%s\n' https | |
+ local proto=https | |
+ case "$proto" in | |
+ extract_file gcc-7.3.1-20180406.tar.xz.sig | |
+ local file=gcc-7.3.1-20180406.tar.xz.sig | |
++ get_filepath gcc-7.3.1-20180406.tar.xz.sig | |
+++ get_filename gcc-7.3.1-20180406.tar.xz.sig | |
+++ local netfile=gcc-7.3.1-20180406.tar.xz.sig | |
+++ [[ gcc-7.3.1-20180406.tar.xz.sig = *::* ]] | |
++++ get_protocol gcc-7.3.1-20180406.tar.xz.sig | |
++++ [[ gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
++++ [[ gcc-7.3.1-20180406.tar.xz.sig = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=gcc-7.3.1-20180406.tar.xz.sig | |
+++ printf '%s\n' gcc-7.3.1-20180406.tar.xz.sig | |
++ local file=gcc-7.3.1-20180406.tar.xz.sig | |
+++ get_protocol gcc-7.3.1-20180406.tar.xz.sig | |
+++ [[ gcc-7.3.1-20180406.tar.xz.sig = *://* ]] | |
+++ [[ gcc-7.3.1-20180406.tar.xz.sig = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig ]] | |
++ file=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig | |
+ local filepath=/home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig | |
+ rm -f /tmp/makepkg/gcc7/src/gcc-7.3.1-20180406.tar.xz.sig | |
+ ln -s /home/josh/aur/gcc7/trunk/gcc-7.3.1-20180406.tar.xz.sig /tmp/makepkg/gcc7/src/ | |
+ in_array gcc-7.3.1-20180406.tar.xz.sig | |
+ local needle=gcc-7.3.1-20180406.tar.xz.sig | |
+ shift | |
+ local item | |
+ return 1 | |
++ file -bizL -- gcc-7.3.1-20180406.tar.xz.sig | |
+ local 'file_type=application/octet-stream; charset=binary' | |
+ local ext=sig | |
+ local cmd= | |
+ case "$file_type" in | |
+ bsdtar -tf gcc-7.3.1-20180406.tar.xz.sig -q '*' | |
+ return 0 | |
+ for netfile in "${all_sources[@]}" | |
++ get_filename http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ local netfile=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ [[ http://isl.gforge.inria.fr/isl-0.18.tar.bz2 = *::* ]] | |
+++ get_protocol http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
+++ [[ http://isl.gforge.inria.fr/isl-0.18.tar.bz2 = *://* ]] | |
+++ local proto=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
+++ printf '%s\n' http | |
++ local proto=http | |
++ case $proto in | |
++ filename=isl-0.18.tar.bz2 | |
++ printf '%s\n' isl-0.18.tar.bz2 | |
+ local file=isl-0.18.tar.bz2 | |
++ get_protocol http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ [[ http://isl.gforge.inria.fr/isl-0.18.tar.bz2 = *://* ]] | |
++ local proto=http://isl.gforge.inria.fr/isl-0.18.tar.bz2 | |
++ printf '%s\n' http | |
+ local proto=http | |
+ case "$proto" in | |
+ extract_file isl-0.18.tar.bz2 | |
+ local file=isl-0.18.tar.bz2 | |
++ get_filepath isl-0.18.tar.bz2 | |
+++ get_filename isl-0.18.tar.bz2 | |
+++ local netfile=isl-0.18.tar.bz2 | |
+++ [[ isl-0.18.tar.bz2 = *::* ]] | |
++++ get_protocol isl-0.18.tar.bz2 | |
++++ [[ isl-0.18.tar.bz2 = *://* ]] | |
++++ [[ isl-0.18.tar.bz2 = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=isl-0.18.tar.bz2 | |
+++ printf '%s\n' isl-0.18.tar.bz2 | |
++ local file=isl-0.18.tar.bz2 | |
+++ get_protocol isl-0.18.tar.bz2 | |
+++ [[ isl-0.18.tar.bz2 = *://* ]] | |
+++ [[ isl-0.18.tar.bz2 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 ]] | |
++ file=/home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 | |
+ local filepath=/home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 | |
+ rm -f /tmp/makepkg/gcc7/src/isl-0.18.tar.bz2 | |
+ ln -s /home/josh/aur/gcc7/trunk/isl-0.18.tar.bz2 /tmp/makepkg/gcc7/src/ | |
+ in_array isl-0.18.tar.bz2 | |
+ local needle=isl-0.18.tar.bz2 | |
+ shift | |
+ local item | |
+ return 1 | |
++ file -bizL -- isl-0.18.tar.bz2 | |
+ local 'file_type=application/x-tar; charset=binary compressed-encoding=application/x-bzip2; charset=binary' | |
+ local ext=bz2 | |
+ local cmd= | |
+ case "$file_type" in | |
+ cmd=bsdtar | |
+ local ret=0 | |
++ gettext 'Extracting %s with %s' | |
+ msg2 'Extracting %s with %s' isl-0.18.tar.bz2 bsdtar | |
+ local 'mesg=Extracting %s with %s' | |
+ shift | |
+ printf ' -> Extracting %s with %s\n' isl-0.18.tar.bz2 bsdtar | |
+ [[ bsdtar = \b\s\d\t\a\r ]] | |
+ bsdtar -xf isl-0.18.tar.bz2 | |
+ (( ret )) | |
+ (( EUID == 0 )) | |
+ for netfile in "${all_sources[@]}" | |
++ get_filename c89 | |
++ local netfile=c89 | |
++ [[ c89 = *::* ]] | |
+++ get_protocol c89 | |
+++ [[ c89 = *://* ]] | |
+++ [[ c89 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ filename=c89 | |
++ printf '%s\n' c89 | |
+ local file=c89 | |
++ get_protocol c89 | |
++ [[ c89 = *://* ]] | |
++ [[ c89 = *lp:* ]] | |
++ printf '%s\n' local | |
+ local proto=local | |
+ case "$proto" in | |
+ extract_file c89 | |
+ local file=c89 | |
++ get_filepath c89 | |
+++ get_filename c89 | |
+++ local netfile=c89 | |
+++ [[ c89 = *::* ]] | |
++++ get_protocol c89 | |
++++ [[ c89 = *://* ]] | |
++++ [[ c89 = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=c89 | |
+++ printf '%s\n' c89 | |
++ local file=c89 | |
+++ get_protocol c89 | |
+++ [[ c89 = *://* ]] | |
+++ [[ c89 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/c89 ]] | |
++ file=/home/josh/aur/gcc7/trunk/c89 | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/c89 | |
+ local filepath=/home/josh/aur/gcc7/trunk/c89 | |
+ rm -f /tmp/makepkg/gcc7/src/c89 | |
+ ln -s /home/josh/aur/gcc7/trunk/c89 /tmp/makepkg/gcc7/src/ | |
+ in_array c89 | |
+ local needle=c89 | |
+ shift | |
+ local item | |
+ return 1 | |
++ file -bizL -- c89 | |
+ local 'file_type=text/x-shellscript; charset=us-ascii' | |
+ local ext=c89 | |
+ local cmd= | |
+ case "$file_type" in | |
+ bsdtar -tf c89 -q '*' | |
+ return 0 | |
+ for netfile in "${all_sources[@]}" | |
++ get_filename c99 | |
++ local netfile=c99 | |
++ [[ c99 = *::* ]] | |
+++ get_protocol c99 | |
+++ [[ c99 = *://* ]] | |
+++ [[ c99 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ filename=c99 | |
++ printf '%s\n' c99 | |
+ local file=c99 | |
++ get_protocol c99 | |
++ [[ c99 = *://* ]] | |
++ [[ c99 = *lp:* ]] | |
++ printf '%s\n' local | |
+ local proto=local | |
+ case "$proto" in | |
+ extract_file c99 | |
+ local file=c99 | |
++ get_filepath c99 | |
+++ get_filename c99 | |
+++ local netfile=c99 | |
+++ [[ c99 = *::* ]] | |
++++ get_protocol c99 | |
++++ [[ c99 = *://* ]] | |
++++ [[ c99 = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=c99 | |
+++ printf '%s\n' c99 | |
++ local file=c99 | |
+++ get_protocol c99 | |
+++ [[ c99 = *://* ]] | |
+++ [[ c99 = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/c99 ]] | |
++ file=/home/josh/aur/gcc7/trunk/c99 | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/c99 | |
+ local filepath=/home/josh/aur/gcc7/trunk/c99 | |
+ rm -f /tmp/makepkg/gcc7/src/c99 | |
+ ln -s /home/josh/aur/gcc7/trunk/c99 /tmp/makepkg/gcc7/src/ | |
+ in_array c99 | |
+ local needle=c99 | |
+ shift | |
+ local item | |
+ return 1 | |
++ file -bizL -- c99 | |
+ local 'file_type=text/x-shellscript; charset=us-ascii' | |
+ local ext=c99 | |
+ local cmd= | |
+ case "$file_type" in | |
+ bsdtar -tf c99 -q '*' | |
+ return 0 | |
+ for netfile in "${all_sources[@]}" | |
++ get_filename bz84080.patch | |
++ local netfile=bz84080.patch | |
++ [[ bz84080.patch = *::* ]] | |
+++ get_protocol bz84080.patch | |
+++ [[ bz84080.patch = *://* ]] | |
+++ [[ bz84080.patch = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ filename=bz84080.patch | |
++ printf '%s\n' bz84080.patch | |
+ local file=bz84080.patch | |
++ get_protocol bz84080.patch | |
++ [[ bz84080.patch = *://* ]] | |
++ [[ bz84080.patch = *lp:* ]] | |
++ printf '%s\n' local | |
+ local proto=local | |
+ case "$proto" in | |
+ extract_file bz84080.patch | |
+ local file=bz84080.patch | |
++ get_filepath bz84080.patch | |
+++ get_filename bz84080.patch | |
+++ local netfile=bz84080.patch | |
+++ [[ bz84080.patch = *::* ]] | |
++++ get_protocol bz84080.patch | |
++++ [[ bz84080.patch = *://* ]] | |
++++ [[ bz84080.patch = *lp:* ]] | |
++++ printf '%s\n' local | |
+++ local proto=local | |
+++ case $proto in | |
+++ filename=bz84080.patch | |
+++ printf '%s\n' bz84080.patch | |
++ local file=bz84080.patch | |
+++ get_protocol bz84080.patch | |
+++ [[ bz84080.patch = *://* ]] | |
+++ [[ bz84080.patch = *lp:* ]] | |
+++ printf '%s\n' local | |
++ local proto=local | |
++ case $proto in | |
++ [[ -f /home/josh/aur/gcc7/trunk/bz84080.patch ]] | |
++ file=/home/josh/aur/gcc7/trunk/bz84080.patch | |
++ printf '%s\n' /home/josh/aur/gcc7/trunk/bz84080.patch | |
+ local filepath=/home/josh/aur/gcc7/trunk/bz84080.patch | |
+ rm -f /tmp/makepkg/gcc7/src/bz84080.patch | |
+ ln -s /home/josh/aur/gcc7/trunk/bz84080.patch /tmp/makepkg/gcc7/src/ | |
+ in_array bz84080.patch | |
+ local needle=bz84080.patch | |
+ shift | |
+ local item | |
+ return 1 | |
++ file -bizL -- bz84080.patch | |
+ local 'file_type=text/x-diff; charset=us-ascii' | |
+ local ext=patch | |
+ local cmd= | |
+ case "$file_type" in | |
+ bsdtar -tf bz84080.patch -q '*' | |
+ return 0 | |
+ (( PREPAREFUNC )) | |
+ run_prepare | |
+ run_function_safe prepare | |
+ local restoretrap restoreset restoreshopt | |
++ shopt -p | |
+ restoreshopt='shopt -u autocd | |
shopt -u cdable_vars | |
shopt -u cdspell | |
shopt -u checkhash | |
shopt -u checkjobs | |
shopt -u checkwinsize | |
shopt -s cmdhist | |
shopt -u compat31 | |
shopt -u compat32 | |
shopt -u compat40 | |
shopt -u compat41 | |
shopt -u compat42 | |
shopt -u compat43 | |
shopt -s complete_fullquote | |
shopt -u direxpand | |
shopt -u dirspell | |
shopt -u dotglob | |
shopt -u execfail | |
shopt -u expand_aliases | |
shopt -u extdebug | |
shopt -s extglob | |
shopt -s extquote | |
shopt -u failglob | |
shopt -s force_fignore | |
shopt -u globasciiranges | |
shopt -u globstar | |
shopt -u gnu_errfmt | |
shopt -u histappend | |
shopt -u histreedit | |
shopt -u histverify | |
shopt -s hostcomplete | |
shopt -u huponexit | |
shopt -u inherit_errexit | |
shopt -s interactive_comments | |
shopt -u lastpipe | |
shopt -u lithist | |
shopt -u login_shell | |
shopt -u mailwarn | |
shopt -u no_empty_cmd_completion | |
shopt -u nocaseglob | |
shopt -u nocasematch | |
shopt -u nullglob | |
shopt -s progcomp | |
shopt -s promptvars | |
shopt -u restricted_shell | |
shopt -u shift_verbose | |
shopt -s sourcepath | |
shopt -u xpg_echo' | |
++ shopt -o -p | |
+ restoreset='set +o allexport | |
set -o braceexpand | |
set +o emacs | |
set +o errexit | |
set +o errtrace | |
set +o functrace | |
set -o hashall | |
set +o histexpand | |
set +o history | |
set +o ignoreeof | |
set -o interactive-comments | |
set +o keyword | |
set +o monitor | |
set +o noclobber | |
set +o noexec | |
set +o noglob | |
set +o nolog | |
set +o notify | |
set +o nounset | |
set +o onecmd | |
set +o physical | |
set +o pipefail | |
set +o posix | |
set +o privileged | |
set +o verbose | |
set +o vi | |
set -o xtrace' | |
+ shopt -o -s errexit errtrace | |
++ trap -p ERR | |
+ restoretrap= | |
+ trap 'error_function '\''prepare'\''' ERR | |
+ run_function prepare | |
+ [[ -z prepare ]] | |
+ local pkgfunc=prepare | |
++ gettext 'Starting %s()...' | |
+ msg 'Starting %s()...' prepare | |
+ local 'mesg=Starting %s()...' | |
+ shift | |
+ printf '==> Starting %s()...\n' prepare | |
+ cd_safe /tmp/makepkg/gcc7/src | |
+ cd /tmp/makepkg/gcc7/src | |
++ shopt -p | |
+ local 'shellopts=shopt -u autocd | |
shopt -u cdable_vars | |
shopt -u cdspell | |
shopt -u checkhash | |
shopt -u checkjobs | |
shopt -u checkwinsize | |
shopt -s cmdhist | |
shopt -u compat31 | |
shopt -u compat32 | |
shopt -u compat40 | |
shopt -u compat41 | |
shopt -u compat42 | |
shopt -u compat43 | |
shopt -s complete_fullquote | |
shopt -u direxpand | |
shopt -u dirspell | |
shopt -u dotglob | |
shopt -u execfail | |
shopt -u expand_aliases | |
shopt -u extdebug | |
shopt -s extglob | |
shopt -s extquote | |
shopt -u failglob | |
shopt -s force_fignore | |
shopt -u globasciiranges | |
shopt -u globstar | |
shopt -u gnu_errfmt | |
shopt -u histappend | |
shopt -u histreedit | |
shopt -u histverify | |
shopt -s hostcomplete | |
shopt -u huponexit | |
shopt -u inherit_errexit | |
shopt -s interactive_comments | |
shopt -u lastpipe | |
shopt -u lithist | |
shopt -u login_shell | |
shopt -u mailwarn | |
shopt -u no_empty_cmd_completion | |
shopt -u nocaseglob | |
shopt -u nocasematch | |
shopt -u nullglob | |
shopt -s progcomp | |
shopt -s promptvars | |
shopt -u restricted_shell | |
shopt -u shift_verbose | |
shopt -s sourcepath | |
shopt -u xpg_echo' | |
+ local ret=0 | |
+ (( LOGGING )) | |
+ prepare | |
+ [[ ! -d gcc ]] | |
+ cd gcc | |
+ patch -p0 -i /tmp/makepkg/gcc7/src/bz84080.patch | |
+ ln -s ../isl-0.18 isl | |
+ sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in | |
+ sed -i /m64=/s/lib64/lib/ gcc/config/i386/t-linux64 | |
+ sed -i '/ac_cpp=/s/$CPPFLAGS/$CPPFLAGS -O2/' libiberty/configure gcc/configure | |
+ mkdir -p /tmp/makepkg/gcc7/src/gcc-build | |
+ eval 'shopt -u autocd | |
shopt -u cdable_vars | |
shopt -u cdspell | |
shopt -u checkhash | |
shopt -u checkjobs | |
shopt -u checkwinsize | |
shopt -s cmdhist | |
shopt -u compat31 | |
shopt -u compat32 | |
shopt -u compat40 | |
shopt -u compat41 | |
shopt -u compat42 | |
shopt -u compat43 | |
shopt -s complete_fullquote | |
shopt -u direxpand | |
shopt -u dirspell | |
shopt -u dotglob | |
shopt -u execfail | |
shopt -u expand_aliases | |
shopt -u extdebug | |
shopt -s extglob | |
shopt -s extquote | |
shopt -u failglob | |
shopt -s force_fignore | |
shopt -u globasciiranges | |
shopt -u globstar | |
shopt -u gnu_errfmt | |
shopt -u histappend | |
shopt -u histreedit | |
shopt -u histverify | |
shopt -s hostcomplete | |
shopt -u huponexit | |
shopt -u inherit_errexit | |
shopt -s interactive_comments | |
shopt -u lastpipe | |
shopt -u lithist | |
shopt -u login_shell | |
shopt -u mailwarn | |
shopt -u no_empty_cmd_completion | |
shopt -u nocaseglob | |
shopt -u nocasematch | |
shopt -u nullglob | |
shopt -s progcomp | |
shopt -s promptvars | |
shopt -u restricted_shell | |
shopt -u shift_verbose | |
shopt -s sourcepath | |
shopt -u xpg_echo' | |
++ shopt -u autocd | |
++ shopt -u cdable_vars | |
++ shopt -u cdspell | |
++ shopt -u checkhash | |
++ shopt -u checkjobs | |
++ shopt -u checkwinsize | |
++ shopt -s cmdhist | |
++ shopt -u compat31 | |
++ shopt -u compat32 | |
++ shopt -u compat40 | |
++ shopt -u compat41 | |
++ shopt -u compat42 | |
++ shopt -u compat43 | |
++ shopt -s complete_fullquote | |
++ shopt -u direxpand | |
++ shopt -u dirspell | |
++ shopt -u dotglob | |
++ shopt -u execfail | |
++ shopt -u expand_aliases | |
++ shopt -u extdebug | |
++ shopt -s extglob | |
++ shopt -s extquote | |
++ shopt -u failglob | |
++ shopt -s force_fignore | |
++ shopt -u globasciiranges | |
++ shopt -u globstar | |
++ shopt -u gnu_errfmt | |
++ shopt -u histappend | |
++ shopt -u histreedit | |
++ shopt -u histverify | |
++ shopt -s hostcomplete | |
++ shopt -u huponexit | |
++ shopt -u inherit_errexit | |
++ shopt -s interactive_comments | |
++ shopt -u lastpipe | |
++ shopt -u lithist | |
++ shopt -u login_shell | |
++ shopt -u mailwarn | |
++ shopt -u no_empty_cmd_completion | |
++ shopt -u nocaseglob | |
++ shopt -u nocasematch | |
++ shopt -u nullglob | |
++ shopt -s progcomp | |
++ shopt -s promptvars | |
++ shopt -u restricted_shell | |
++ shopt -u shift_verbose | |
++ shopt -s sourcepath | |
++ shopt -u xpg_echo | |
+ trap - ERR | |
+ eval '' | |
+ eval 'set +o allexport | |
set -o braceexpand | |
set +o emacs | |
set +o errexit | |
set +o errtrace | |
set +o functrace | |
set -o hashall | |
set +o histexpand | |
set +o history | |
set +o ignoreeof | |
set -o interactive-comments | |
set +o keyword | |
set +o monitor | |
set +o noclobber | |
set +o noexec | |
set +o noglob | |
set +o nolog | |
set +o notify | |
set +o nounset | |
set +o onecmd | |
set +o physical | |
set +o pipefail | |
set +o posix | |
set +o privileged | |
set +o verbose | |
set +o vi | |
set -o xtrace' | |
++ set +o allexport | |
++ set -o braceexpand | |
++ set +o emacs | |
++ set +o errexit | |
++ set +o errtrace | |
++ set +o functrace | |
++ set -o hashall | |
++ set +o histexpand | |
++ set +o history | |
++ set +o ignoreeof | |
++ set -o interactive-comments | |
++ set +o keyword | |
++ set +o monitor | |
++ set +o noclobber | |
++ set +o noexec | |
++ set +o noglob | |
++ set +o nolog | |
++ set +o notify | |
++ set +o nounset | |
++ set +o onecmd | |
++ set +o physical | |
++ set +o pipefail | |
++ set +o posix | |
++ set +o privileged | |
++ set +o verbose | |
++ set +o vi | |
++ set -o xtrace | |
+ eval 'shopt -u autocd | |
shopt -u cdable_vars | |
shopt -u cdspell | |
shopt -u checkhash | |
shopt -u checkjobs | |
shopt -u checkwinsize | |
shopt -s cmdhist | |
shopt -u compat31 | |
shopt -u compat32 | |
shopt -u compat40 | |
shopt -u compat41 | |
shopt -u compat42 | |
shopt -u compat43 | |
shopt -s complete_fullquote | |
shopt -u direxpand | |
shopt -u dirspell | |
shopt -u dotglob | |
shopt -u execfail | |
shopt -u expand_aliases | |
shopt -u extdebug | |
shopt -s extglob | |
shopt -s extquote | |
shopt -u failglob | |
shopt -s force_fignore | |
shopt -u globasciiranges | |
shopt -u globstar | |
shopt -u gnu_errfmt | |
shopt -u histappend | |
shopt -u histreedit | |
shopt -u histverify | |
shopt -s hostcomplete | |
shopt -u huponexit | |
shopt -u inherit_errexit | |
shopt -s interactive_comments | |
shopt -u lastpipe | |
shopt -u lithist | |
shopt -u login_shell | |
shopt -u mailwarn | |
shopt -u no_empty_cmd_completion | |
shopt -u nocaseglob | |
shopt -u nocasematch | |
shopt -u nullglob | |
shopt -s progcomp | |
shopt -s promptvars | |
shopt -u restricted_shell | |
shopt -u shift_verbose | |
shopt -s sourcepath | |
shopt -u xpg_echo' | |
++ shopt -u autocd | |
++ shopt -u cdable_vars | |
++ shopt -u cdspell | |
++ shopt -u checkhash | |
++ shopt -u checkjobs | |
++ shopt -u checkwinsize | |
++ shopt -s cmdhist | |
++ shopt -u compat31 | |
++ shopt -u compat32 | |
++ shopt -u compat40 | |
++ shopt -u compat41 | |
++ shopt -u compat42 | |
++ shopt -u compat43 | |
++ shopt -s complete_fullquote | |
++ shopt -u direxpand | |
++ shopt -u dirspell | |
++ shopt -u dotglob | |
++ shopt -u execfail | |
++ shopt -u expand_aliases | |
++ shopt -u extdebug | |
++ shopt -s extglob | |
++ shopt -s extquote | |
++ shopt -u failglob | |
++ shopt -s force_fignore | |
++ shopt -u globasciiranges | |
++ shopt -u globstar | |
++ shopt -u gnu_errfmt | |
++ shopt -u histappend | |
++ shopt -u histreedit | |
++ shopt -u histverify | |
++ shopt -s hostcomplete | |
++ shopt -u huponexit | |
++ shopt -u inherit_errexit | |
++ shopt -s interactive_comments | |
++ shopt -u lastpipe | |
++ shopt -u lithist | |
++ shopt -u login_shell | |
++ shopt -u mailwarn | |
++ shopt -u no_empty_cmd_completion | |
++ shopt -u nocaseglob | |
++ shopt -u nocasematch | |
++ shopt -u nullglob | |
++ shopt -s progcomp | |
++ shopt -s promptvars | |
++ shopt -u restricted_shell | |
++ shopt -u shift_verbose | |
++ shopt -s sourcepath | |
++ shopt -u xpg_echo | |
+ (( REPRODUCIBLE )) | |
+ (( PKGVERFUNC )) | |
+ (( NOBUILD )) | |
+ [[ -d /tmp/makepkg/gcc7/pkg ]] | |
++ gettext 'Removing existing %s directory...' | |
+ msg 'Removing existing %s directory...' '$pkgdir/' | |
+ local 'mesg=Removing existing %s directory...' | |
+ shift | |
+ printf '==> Removing existing %s directory...\n' '$pkgdir/' | |
+ rm -rf /tmp/makepkg/gcc7/pkg | |
+ mkdir -p /tmp/makepkg/gcc7/pkg | |
+ chmod a-srw /tmp/makepkg/gcc7/pkg | |
+ cd_safe /home/josh/aur/gcc7/trunk | |
+ cd /home/josh/aur/gcc7/trunk | |
+ prepare_buildenv | |
+ check_option buildflags n | |
+ in_opt_array buildflags '!emptydirs' | |
+ local needle=buildflags | |
+ shift | |
+ local i opt | |
+ (( i = 1 )) | |
+ (( i > 0 )) | |
+ opt='!emptydirs' | |
+ [[ !emptydirs = \b\u\i\l\d\f\l\a\g\s ]] | |
+ [[ !emptydirs = \!\b\u\i\l\d\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ return 127 | |
+ case $? in | |
+ in_opt_array buildflags docs '!libtool' '!staticlibs' emptydirs zipman purge '!optipng' '!upx' '!debug' | |
+ local needle=buildflags | |
+ shift | |
+ local i opt | |
+ (( i = 9 )) | |
+ (( i > 0 )) | |
+ opt='!debug' | |
+ [[ !debug = \b\u\i\l\d\f\l\a\g\s ]] | |
+ [[ !debug = \!\b\u\i\l\d\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!upx' | |
+ [[ !upx = \b\u\i\l\d\f\l\a\g\s ]] | |
+ [[ !upx = \!\b\u\i\l\d\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!optipng' | |
+ [[ !optipng = \b\u\i\l\d\f\l\a\g\s ]] | |
+ [[ !optipng = \!\b\u\i\l\d\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=purge | |
+ [[ purge = \b\u\i\l\d\f\l\a\g\s ]] | |
+ [[ purge = \!\b\u\i\l\d\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=zipman | |
+ [[ zipman = \b\u\i\l\d\f\l\a\g\s ]] | |
+ [[ zipman = \!\b\u\i\l\d\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=emptydirs | |
+ [[ emptydirs = \b\u\i\l\d\f\l\a\g\s ]] | |
+ [[ emptydirs = \!\b\u\i\l\d\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!staticlibs' | |
+ [[ !staticlibs = \b\u\i\l\d\f\l\a\g\s ]] | |
+ [[ !staticlibs = \!\b\u\i\l\d\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!libtool' | |
+ [[ !libtool = \b\u\i\l\d\f\l\a\g\s ]] | |
+ [[ !libtool = \!\b\u\i\l\d\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=docs | |
+ [[ docs = \b\u\i\l\d\f\l\a\g\s ]] | |
+ [[ docs = \!\b\u\i\l\d\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ return 127 | |
+ case $? in | |
+ return 127 | |
+ check_option debug y | |
+ in_opt_array debug '!emptydirs' | |
+ local needle=debug | |
+ shift | |
+ local i opt | |
+ (( i = 1 )) | |
+ (( i > 0 )) | |
+ opt='!emptydirs' | |
+ [[ !emptydirs = \d\e\b\u\g ]] | |
+ [[ !emptydirs = \!\d\e\b\u\g ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ return 127 | |
+ case $? in | |
+ in_opt_array debug docs '!libtool' '!staticlibs' emptydirs zipman purge '!optipng' '!upx' '!debug' | |
+ local needle=debug | |
+ shift | |
+ local i opt | |
+ (( i = 9 )) | |
+ (( i > 0 )) | |
+ opt='!debug' | |
+ [[ !debug = \d\e\b\u\g ]] | |
+ [[ !debug = \!\d\e\b\u\g ]] | |
+ return 1 | |
+ case $? in | |
+ [[ y = n ]] | |
+ return | |
+ check_option makeflags n | |
+ in_opt_array makeflags '!emptydirs' | |
+ local needle=makeflags | |
+ shift | |
+ local i opt | |
+ (( i = 1 )) | |
+ (( i > 0 )) | |
+ opt='!emptydirs' | |
+ [[ !emptydirs = \m\a\k\e\f\l\a\g\s ]] | |
+ [[ !emptydirs = \!\m\a\k\e\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ return 127 | |
+ case $? in | |
+ in_opt_array makeflags docs '!libtool' '!staticlibs' emptydirs zipman purge '!optipng' '!upx' '!debug' | |
+ local needle=makeflags | |
+ shift | |
+ local i opt | |
+ (( i = 9 )) | |
+ (( i > 0 )) | |
+ opt='!debug' | |
+ [[ !debug = \m\a\k\e\f\l\a\g\s ]] | |
+ [[ !debug = \!\m\a\k\e\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!upx' | |
+ [[ !upx = \m\a\k\e\f\l\a\g\s ]] | |
+ [[ !upx = \!\m\a\k\e\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!optipng' | |
+ [[ !optipng = \m\a\k\e\f\l\a\g\s ]] | |
+ [[ !optipng = \!\m\a\k\e\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=purge | |
+ [[ purge = \m\a\k\e\f\l\a\g\s ]] | |
+ [[ purge = \!\m\a\k\e\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=zipman | |
+ [[ zipman = \m\a\k\e\f\l\a\g\s ]] | |
+ [[ zipman = \!\m\a\k\e\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=emptydirs | |
+ [[ emptydirs = \m\a\k\e\f\l\a\g\s ]] | |
+ [[ emptydirs = \!\m\a\k\e\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!staticlibs' | |
+ [[ !staticlibs = \m\a\k\e\f\l\a\g\s ]] | |
+ [[ !staticlibs = \!\m\a\k\e\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!libtool' | |
+ [[ !libtool = \m\a\k\e\f\l\a\g\s ]] | |
+ [[ !libtool = \!\m\a\k\e\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=docs | |
+ [[ docs = \m\a\k\e\f\l\a\g\s ]] | |
+ [[ docs = \!\m\a\k\e\f\l\a\g\s ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ return 127 | |
+ case $? in | |
+ return 127 | |
+ export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS MAKEFLAGS CHOST | |
+ local ccache=0 | |
+ check_buildoption ccache y | |
+ in_opt_array ccache '!emptydirs' | |
+ local needle=ccache | |
+ shift | |
+ local i opt | |
+ (( i = 1 )) | |
+ (( i > 0 )) | |
+ opt='!emptydirs' | |
+ [[ !emptydirs = \c\c\a\c\h\e ]] | |
+ [[ !emptydirs = \!\c\c\a\c\h\e ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ return 127 | |
+ case $? in | |
+ in_opt_array ccache '!distcc' color ccache check '!sign' | |
+ local needle=ccache | |
+ shift | |
+ local i opt | |
+ (( i = 5 )) | |
+ (( i > 0 )) | |
+ opt='!sign' | |
+ [[ !sign = \c\c\a\c\h\e ]] | |
+ [[ !sign = \!\c\c\a\c\h\e ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=check | |
+ [[ check = \c\c\a\c\h\e ]] | |
+ [[ check = \!\c\c\a\c\h\e ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=ccache | |
+ [[ ccache = \c\c\a\c\h\e ]] | |
+ return 0 | |
+ case $? in | |
+ [[ y = y ]] | |
+ return | |
+ [[ -d /usr/lib/ccache/bin ]] | |
+ export PATH=/usr/lib/ccache/bin:/usr/lib/ccache/bin/:/tmp/go:/tmp/go/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/emulator:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/opt/cuda/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl | |
+ PATH=/usr/lib/ccache/bin:/usr/lib/ccache/bin/:/tmp/go:/tmp/go/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/emulator:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/opt/cuda/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl | |
+ ccache=1 | |
+ check_buildoption distcc y | |
+ in_opt_array distcc '!emptydirs' | |
+ local needle=distcc | |
+ shift | |
+ local i opt | |
+ (( i = 1 )) | |
+ (( i > 0 )) | |
+ opt='!emptydirs' | |
+ [[ !emptydirs = \d\i\s\t\c\c ]] | |
+ [[ !emptydirs = \!\d\i\s\t\c\c ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ return 127 | |
+ case $? in | |
+ in_opt_array distcc '!distcc' color ccache check '!sign' | |
+ local needle=distcc | |
+ shift | |
+ local i opt | |
+ (( i = 5 )) | |
+ (( i > 0 )) | |
+ opt='!sign' | |
+ [[ !sign = \d\i\s\t\c\c ]] | |
+ [[ !sign = \!\d\i\s\t\c\c ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=check | |
+ [[ check = \d\i\s\t\c\c ]] | |
+ [[ check = \!\d\i\s\t\c\c ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=ccache | |
+ [[ ccache = \d\i\s\t\c\c ]] | |
+ [[ ccache = \!\d\i\s\t\c\c ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt=color | |
+ [[ color = \d\i\s\t\c\c ]] | |
+ [[ color = \!\d\i\s\t\c\c ]] | |
+ (( i-- )) | |
+ (( i > 0 )) | |
+ opt='!distcc' | |
+ [[ !distcc = \d\i\s\t\c\c ]] | |
+ [[ !distcc = \!\d\i\s\t\c\c ]] | |
+ return 1 | |
+ case $? in | |
+ [[ y = n ]] | |
+ return | |
+ (( ! REPKG )) | |
+ (( BUILDFUNC )) | |
+ run_build | |
+ run_function_safe build | |
+ local restoretrap restoreset restoreshopt | |
++ shopt -p | |
+ restoreshopt='shopt -u autocd | |
shopt -u cdable_vars | |
shopt -u cdspell | |
shopt -u checkhash | |
shopt -u checkjobs | |
shopt -u checkwinsize | |
shopt -s cmdhist | |
shopt -u compat31 | |
shopt -u compat32 | |
shopt -u compat40 | |
shopt -u compat41 | |
shopt -u compat42 | |
shopt -u compat43 | |
shopt -s complete_fullquote | |
shopt -u direxpand | |
shopt -u dirspell | |
shopt -u dotglob | |
shopt -u execfail | |
shopt -u expand_aliases | |
shopt -u extdebug | |
shopt -s extglob | |
shopt -s extquote | |
shopt -u failglob | |
shopt -s force_fignore | |
shopt -u globasciiranges | |
shopt -u globstar | |
shopt -u gnu_errfmt | |
shopt -u histappend | |
shopt -u histreedit | |
shopt -u histverify | |
shopt -s hostcomplete | |
shopt -u huponexit | |
shopt -u inherit_errexit | |
shopt -s interactive_comments | |
shopt -u lastpipe | |
shopt -u lithist | |
shopt -u login_shell | |
shopt -u mailwarn | |
shopt -u no_empty_cmd_completion | |
shopt -u nocaseglob | |
shopt -u nocasematch | |
shopt -u nullglob | |
shopt -s progcomp | |
shopt -s promptvars | |
shopt -u restricted_shell | |
shopt -u shift_verbose | |
shopt -s sourcepath | |
shopt -u xpg_echo' | |
++ shopt -o -p | |
+ restoreset='set +o allexport | |
set -o braceexpand | |
set +o emacs | |
set +o errexit | |
set +o errtrace | |
set +o functrace | |
set -o hashall | |
set +o histexpand | |
set +o history | |
set +o ignoreeof | |
set -o interactive-comments | |
set +o keyword | |
set +o monitor | |
set +o noclobber | |
set +o noexec | |
set +o noglob | |
set +o nolog | |
set +o notify | |
set +o nounset | |
set +o onecmd | |
set +o physical | |
set +o pipefail | |
set +o posix | |
set +o privileged | |
set +o verbose | |
set +o vi | |
set -o xtrace' | |
+ shopt -o -s errexit errtrace | |
++ trap -p ERR | |
+ restoretrap= | |
+ trap 'error_function '\''build'\''' ERR | |
+ run_function build | |
+ [[ -z build ]] | |
+ local pkgfunc=build | |
++ gettext 'Starting %s()...' | |
+ msg 'Starting %s()...' build | |
+ local 'mesg=Starting %s()...' | |
+ shift | |
+ printf '==> Starting %s()...\n' build | |
+ cd_safe /tmp/makepkg/gcc7/src | |
+ cd /tmp/makepkg/gcc7/src | |
++ shopt -p | |
+ local 'shellopts=shopt -u autocd | |
shopt -u cdable_vars | |
shopt -u cdspell | |
shopt -u checkhash | |
shopt -u checkjobs | |
shopt -u checkwinsize | |
shopt -s cmdhist | |
shopt -u compat31 | |
shopt -u compat32 | |
shopt -u compat40 | |
shopt -u compat41 | |
shopt -u compat42 | |
shopt -u compat43 | |
shopt -s complete_fullquote | |
shopt -u direxpand | |
shopt -u dirspell | |
shopt -u dotglob | |
shopt -u execfail | |
shopt -u expand_aliases | |
shopt -u extdebug | |
shopt -s extglob | |
shopt -s extquote | |
shopt -u failglob | |
shopt -s force_fignore | |
shopt -u globasciiranges | |
shopt -u globstar | |
shopt -u gnu_errfmt | |
shopt -u histappend | |
shopt -u histreedit | |
shopt -u histverify | |
shopt -s hostcomplete | |
shopt -u huponexit | |
shopt -u inherit_errexit | |
shopt -s interactive_comments | |
shopt -u lastpipe | |
shopt -u lithist | |
shopt -u login_shell | |
shopt -u mailwarn | |
shopt -u no_empty_cmd_completion | |
shopt -u nocaseglob | |
shopt -u nocasematch | |
shopt -u nullglob | |
shopt -s progcomp | |
shopt -s promptvars | |
shopt -u restricted_shell | |
shopt -u shift_verbose | |
shopt -s sourcepath | |
shopt -u xpg_echo' | |
+ local ret=0 | |
+ (( LOGGING )) | |
+ build | |
+ cd gcc-build | |
+ CFLAGS='-march=native -O2 -fstack-protector-strong -fno-plt' | |
+ CXXFLAGS='-march=native -O2 -fstack-protector-strong -fno-plt' | |
+ /tmp/makepkg/gcc7/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,lto --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp | |
+ make | |
++ error_function build | |
++ [[ -p '' ]] | |
++ (( ! BASH_SUBSHELL )) | |
+++ gettext 'A failure occurred in %s().' | |
++ error 'A failure occurred in %s().' build | |
++ local 'mesg=A failure occurred in %s().' | |
++ shift | |
+++ gettext ERROR: | |
++ printf '==> ERROR: A failure occurred in %s().\n' build | |
+++ gettext Aborting... | |
++ plain Aborting... | |
++ local mesg=Aborting... | |
++ shift | |
++ printf ' Aborting...\n' | |
++ exit 4 | |
+ clean_up | |
+ local EXIT_CODE=4 | |
+ (( INFAKEROOT )) | |
+ (( (EXIT_CODE == E_OK || EXIT_CODE == E_INSTALL_FAILED) && CLEANUP )) | |
+ remove_deps | |
+ (( ! RMDEPS )) | |
+ return 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment