Skip to content

Instantly share code, notes, and snippets.

@raku-cat raku-cat/xtrace.log
Created Aug 14, 2018

Embed
What would you like to do?
+ 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[@]}