Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tatt-9999: emerge: error: Invalid Atom(s) in --usepkg-exclude parameter ... #72

Closed
ernsteiswuerfel opened this issue Mar 4, 2021 · 0 comments
Assignees

Comments

@ernsteiswuerfel
Copy link

With current tatt-9999 I get errors like these on ppc64 with e.g.

 # ./tpm2-tss-773337-useflags.sh 
Calculating dependencies... done!
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
usage: emerge [--prune] [--check-news] [--list-sets] [--config] [--moo] [--sync] [--version]
              [--search] [--regen] [--info] [--clean] [--metadata] [--unmerge] [--help] [--depclean]
              [--rage-clean] [--alphabetical] [--ask-enter-invalid] [--buildpkgonly] [--changed-use]
              [--columns] [--debug] [--digest] [--emptytree] [--verbose-conflicts] [--fetchonly]
              [--fetch-all-uri] [--ignore-default-opts] [--noconfmem] [--newrepo] [--newuse]
              [--nodeps] [--noreplace] [--nospinner] [--oneshot] [--onlydeps] [--pretend]
              [--quiet-repo-display] [--quiet-unmerge-warn] [--resume] [--searchdesc] [--skipfirst]
              [--tree] [--unordered-display] [--update] [-1] [-B] [-c] [-C] [-d] [-e] [-f] [-F] [-h]
              [-n] [-N] [-o] [-O] [-p] [-P] [-r] [-s] [-S] [-t] [-u] [-U] [-V] [--cols] [--skip-first]
              [--alert {True,y,n}] [--ask {True,y,n}] [--autounmask {True,y,n}]
              [--autounmask-backtrack {y,n}] [--autounmask-continue {True,y,n}]
              [--autounmask-only {True,y,n}] [--autounmask-license {y,n}]
              [--autounmask-unrestricted-atoms {True,y,n}] [--autounmask-use {y,n}]
              [--autounmask-keep-keywords {True,y,n}] [--autounmask-keep-masks {True,y,n}]
              [--autounmask-write {True,y,n}] [--accept-properties ACCEPT_PROPERTIES]
              [--accept-restrict ACCEPT_RESTRICT] [--backtrack BACKTRACK]
              [--binpkg-changed-deps {True,y,n}] [--buildpkg {True,y,n}]
              [--buildpkg-exclude BUILDPKG_EXCLUDE] [--changed-deps {True,y,n}]
              [--changed-deps-report {True,y,n}] [--changed-slot {True,y,n}]
              [--config-root CONFIG_ROOT] [--color {y,n}] [--complete-graph {True,y,n}]
              [--complete-graph-if-new-use {y,n}] [--complete-graph-if-new-ver {y,n}] [--deep DEEP]
              [--depclean-lib-check {True,y,n}] [--deselect {True,y,n}] [--dynamic-deps {y,n}]
              [--exclude EXCLUDE] [--fail-clean {True,y,n}] [--fuzzy-search {True,y,n}]
              [--ignore-built-slot-operator-deps {y,n}] [--ignore-soname-deps {y,n}]
              [--ignore-world {True,y,n}] [--implicit-system-deps {y,n}] [--jobs JOBS]
              [--keep-going {True,y,n}] [--load-average LOAD_AVERAGE] [--misspell-suggestions {y,n}]
              [--with-bdeps {y,n}] [--with-bdeps-auto {y,n}] [--reinstall {changed-use}]
              [--reinstall-atoms REINSTALL_ATOMS] [--binpkg-respect-use {True,y,n}]
              [--getbinpkg {True,y,n}] [--getbinpkgonly {True,y,n}] [--usepkg-exclude USEPKG_EXCLUDE]
              [--onlydeps-with-rdeps {True,y,n}] [--rebuild-exclude REBUILD_EXCLUDE]
              [--rebuild-ignore REBUILD_IGNORE] [--package-moves {True,y,n}] [--prefix PREFIX]
              [--pkg-format PKG_FORMAT] [--quickpkg-direct {y,n}]
              [--quickpkg-direct-root QUICKPKG_DIRECT_ROOT] [--quiet {True,y,n}]
              [--quiet-build {True,y,n}] [--quiet-fail {True,y,n}] [--read-news {True,y,n}]
              [--rebuild-if-new-slot {True,y,n}] [--rebuild-if-new-rev {True,y,n}]
              [--rebuild-if-new-ver {True,y,n}] [--rebuild-if-unbuilt {True,y,n}]
              [--rebuilt-binaries {True,y,n}]
              [--rebuilt-binaries-timestamp REBUILT_BINARIES_TIMESTAMP] [--regex-search-auto {y,n}]
              [--root ROOT] [--root-deps {True,rdeps}] [--search-index {y,n}]
              [--search-similarity SEARCH_SIMILARITY] [--select {True,y,n}] [--selective {True,y,n}]
              [--sync-submodule {glsa,news,profiles}] [--sysroot SYSROOT]
              [--use-ebuild-visibility {True,y,n}] [--useoldpkg-atoms USEOLDPKG_ATOMS]
              [--usepkg {True,y,n}] [--usepkgonly {True,y,n}] [--verbose {True,y,n}]
              [--verbose-slot-rebuilds {True,y,n}] [--with-test-deps {True,y,n}]
              [positional_args [positional_args ...]]
emerge: error: Invalid Atom(s) in --usepkg-exclude parameter: '=app-crypt/tpm2-tss-2.4.5' (only package names and slot atoms (with wildcards) allowed)

This is the generated script from tatt -b 773337:

#!/bin/bash
#USE-Flag build tests for job tpm2-tss-773337

trap "echo 'signal captured, exiting the entire script...'; exit" SIGHUP SIGINT SIGTERM

export TATT_TEST_TYPE="use"
export TATT_REPORTFILE="tpm2-tss-773337.report"
export TATT_BUILDLOGDIR=""
export TATT_EMERGEOPTS=""

source "/usr/share/tatt/templates/tatt_functions.sh"

echo -e "USE tests started on $(date)\n" >> tpm2-tss-773337.report

test_ret=0

# Code for =app-crypt/tpm2-tss-2.4.5
 tatt_test_pkg --test "=app-crypt/tpm2-tss-2.4.5" || test_ret=1
USE='-doc -fapi gcrypt -openssl -static-libs' tatt_test_pkg "=app-crypt/tpm2-tss-2.4.5" || test_ret=1
USE='doc -fapi gcrypt -openssl -static-libs' tatt_test_pkg "=app-crypt/tpm2-tss-2.4.5" || test_ret=1
USE='-doc -fapi -gcrypt openssl -static-libs' tatt_test_pkg "=app-crypt/tpm2-tss-2.4.5" || test_ret=1
USE='doc -fapi -gcrypt openssl -static-libs' tatt_test_pkg "=app-crypt/tpm2-tss-2.4.5" || test_ret=1
USE='-doc fapi -gcrypt openssl -static-libs' tatt_test_pkg "=app-crypt/tpm2-tss-2.4.5" || test_ret=1
USE='doc fapi -gcrypt openssl -static-libs' tatt_test_pkg "=app-crypt/tpm2-tss-2.4.5" || test_ret=1
USE='-doc -fapi gcrypt -openssl static-libs' tatt_test_pkg "=app-crypt/tpm2-tss-2.4.5" || test_ret=1
USE='doc -fapi gcrypt -openssl static-libs' tatt_test_pkg "=app-crypt/tpm2-tss-2.4.5" || test_ret=1
USE='-doc -fapi -gcrypt openssl static-libs' tatt_test_pkg "=app-crypt/tpm2-tss-2.4.5" || test_ret=1
USE='doc -fapi -gcrypt openssl static-libs' tatt_test_pkg "=app-crypt/tpm2-tss-2.4.5" || test_ret=1
USE='-doc fapi -gcrypt openssl static-libs' tatt_test_pkg "=app-crypt/tpm2-tss-2.4.5" || test_ret=1
USE='doc fapi -gcrypt openssl static-libs' tatt_test_pkg "=app-crypt/tpm2-tss-2.4.5" || test_ret=1

echo >> tpm2-tss-773337.report

exit ${test_ret}
gentoo-bot pushed a commit that referenced this issue Mar 4, 2021
See: 96a8755
Bug: #72
Signed-off-by: Sam James <sam@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants