tatt: /root/.config/pkgdev/pkgdev.conf seems somewhat ignored when running pkgdev tatt as root
I have:
[DEFAULT]
tatt.ignore-prefixes = elibc_,video_cards_,linguas_,python_targets_,python_single_target_,kdeenablefinal,test,debug,qemu_user_,qemu_softmmu_,libressl,static-libs,systemd,sdjournal,doc,ruby_targets
in /root/.config/pkgdev/pkgdev.conf, but the use flag debug is constantly enabled when running pkgdev tatt.
If I call pkgdev tatt --emerge-opts="--verbose" --ignore-prefixes debug from command like it never gets enabled.
I suspect an issue in finding the config file. I think we can try to debug it in 2 ways:
- Add some option which is clearly invalid, for example
tatt.arthur = invalidand runpkgdev tattand see if it explodes. - Let's try to find the place it looks for. In practice I use in priority place:
$XDG_CONFIG_HOME/pkgdevand then "~/.config/pkgdev" - can youechoboth in the same shell where you triggerpkgdev tattwhich ignores it.
When /root/.config/pkgdev/pkgdev.conf exists with the line you gave:
pkgdev tatt: failed loading config: unknown arguments: --arthur=invalid
But still, with the config line above: pkgdev tatt --emerge-opts="--autounmask=y --verbose" --use-combos 6 --extra-env-file test.conf -t -p =dev-libs/nspr-4.35-r2 -j tatt-nspr
# grep debug tatt-nspr.sh
TUSE="debug " tatt_test_pkg '=dev-libs/nspr-4.35-r2' || test_ret=1
TUSE="debug ABI_X86: x32" tatt_test_pkg '=dev-libs/nspr-4.35-r2' || test_ret=1
TUSE="debug ABI_X86: 32" tatt_test_pkg '=dev-libs/nspr-4.35-r2' || test_ret=1
Even with:
# cat /root/.config/pkgdev/pkgdev.conf
[DEFAULT]
tatt.ignore-prefixes = debug
it'll add +debug to be tested.
echo $XDG_CONFIG_HOME
gives no output (container)