Move GLOBAL_WRITABLE_FILES & USER_SETTINGS_FILES before PROVIDES. BTW, adding TEST_REQUIRES="cmd:diff" would have helped #2417.