https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240788
Raphael Kubo da Costa <rak...@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rak...@freebsd.org --- Comment #16 from Raphael Kubo da Costa <rak...@freebsd.org> --- Hi. I've tried building this port on Poudriere, and the ANSIBLE_MOD/PLIST_FILES lines fail: =======================<phase: stage >============================ ===> Staging for py36-ansible-sysrc-0.1 ===> py36-ansible-sysrc-0.1 depends on package: py36-ansible>0 - found ===> py36-ansible-sysrc-0.1 depends on file: /usr/local/bin/python3.6 - found ===> Generating temporary packing list Unhandled error: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/ansible/utils/path.py", line 77, in makedirs_safe os.makedirs(b_rpath, mode) File "/usr/local/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/local/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/local/lib/python3.6/os.py", line 220, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: b'/nonexistent' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 523, in update_config_data value, origin = self.get_config_value_and_origin(config, configfile) File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 467, in get_config_value_and_origin value = ensure_type(value, defs[config].get('type'), origin=origin) File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 110, in ensure_type makedirs_safe(value, 0o700) File "/usr/local/lib/python3.6/site-packages/ansible/utils/path.py", line 82, in makedirs_safe raise AnsibleError("Unable to create local directories(%s): %s" % (to_native(rpath), to_native(e))) ansible.errors.AnsibleError: Unable to create local directories(/nonexistent/.ansible/tmp): [Errno 13] Permission denied: b'/nonexistent' Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/ansible/utils/path.py", line 77, in makedirs_safe os.makedirs(b_rpath, mode) File "/usr/local/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/local/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/local/lib/python3.6/os.py", line 220, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: b'/nonexistent' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 523, in update_config_data value, origin = self.get_config_value_and_origin(config, configfile) File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 467, in get_config_value_and_origin value = ensure_type(value, defs[config].get('type'), origin=origin) File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 110, in ensure_type makedirs_safe(value, 0o700) File "/usr/local/lib/python3.6/site-packages/ansible/utils/path.py", line 82, in makedirs_safe raise AnsibleError("Unable to create local directories(%s): %s" % (to_native(rpath), to_native(e))) ansible.errors.AnsibleError: Unable to create local directories(/nonexistent/.ansible/tmp): [Errno 13] Permission denied: b'/nonexistent' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/ansible-config-3.6", line 60, in <module> import ansible.constants as C File "/usr/local/lib/python3.6/site-packages/ansible/constants.py", line 189, in <module> config = ConfigManager() File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 263, in __init__ self.update_config_data() File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 535, in update_config_data raise AnsibleError("Invalid settings supplied for %s: %s\n" % (config, to_native(e)), orig_exc=e) ansible.errors.AnsibleError: Invalid settings supplied for DEFAULT_LOCAL_TMP: Unable to create local directories(/nonexistent/.ansible/tmp): [Errno 13] Permission denied: b'/nonexistent' /bin/mkdir -p /wrkdirs/usr/ports/sysutils/ansible-sysrc/work/stage$(ansible-config-3.6 dump | /usr/bin/egrep -o '/usr/local/share/py36-ansible/plugins/modules') Unhandled error: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/ansible/utils/path.py", line 77, in makedirs_safe os.makedirs(b_rpath, mode) File "/usr/local/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/local/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/local/lib/python3.6/os.py", line 220, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: b'/nonexistent' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 523, in update_config_data value, origin = self.get_config_value_and_origin(config, configfile) File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 467, in get_config_value_and_origin value = ensure_type(value, defs[config].get('type'), origin=origin) File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 110, in ensure_type makedirs_safe(value, 0o700) File "/usr/local/lib/python3.6/site-packages/ansible/utils/path.py", line 82, in makedirs_safe raise AnsibleError("Unable to create local directories(%s): %s" % (to_native(rpath), to_native(e))) ansible.errors.AnsibleError: Unable to create local directories(/nonexistent/.ansible/tmp): [Errno 13] Permission denied: b'/nonexistent' Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/ansible/utils/path.py", line 77, in makedirs_safe os.makedirs(b_rpath, mode) File "/usr/local/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/local/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/local/lib/python3.6/os.py", line 220, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: b'/nonexistent' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 523, in update_config_data value, origin = self.get_config_value_and_origin(config, configfile) File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 467, in get_config_value_and_origin value = ensure_type(value, defs[config].get('type'), origin=origin) File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 110, in ensure_type makedirs_safe(value, 0o700) File "/usr/local/lib/python3.6/site-packages/ansible/utils/path.py", line 82, in makedirs_safe raise AnsibleError("Unable to create local directories(%s): %s" % (to_native(rpath), to_native(e))) ansible.errors.AnsibleError: Unable to create local directories(/nonexistent/.ansible/tmp): [Errno 13] Permission denied: b'/nonexistent' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/ansible-config-3.6", line 60, in <module> import ansible.constants as C File "/usr/local/lib/python3.6/site-packages/ansible/constants.py", line 189, in <module> config = ConfigManager() File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 263, in __init__ self.update_config_data() File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 535, in update_config_data raise AnsibleError("Invalid settings supplied for %s: %s\n" % (config, to_native(e)), orig_exc=e) ansible.errors.AnsibleError: Invalid settings supplied for DEFAULT_LOCAL_TMP: Unable to create local directories(/nonexistent/.ansible/tmp): [Errno 13] Permission denied: b'/nonexistent' install -m 555 /wrkdirs/usr/ports/sysutils/ansible-sysrc/work/ansible-freebsd-modules-cf37fc1e16fc03852abc8933e7959b22b51a5c90/library/sysrc /wrkdirs/usr/ports/sysutils/ansible-sysrc/work/stage$(ansible-config-3.6 dump | /usr/bin/egrep -o '/usr/local/share/py36-ansible/plugins/modules')/sysrc Unhandled error: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/ansible/utils/path.py", line 77, in makedirs_safe os.makedirs(b_rpath, mode) File "/usr/local/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/local/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/local/lib/python3.6/os.py", line 220, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: b'/nonexistent' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 523, in update_config_data value, origin = self.get_config_value_and_origin(config, configfile) File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 467, in get_config_value_and_origin value = ensure_type(value, defs[config].get('type'), origin=origin) File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 110, in ensure_type makedirs_safe(value, 0o700) File "/usr/local/lib/python3.6/site-packages/ansible/utils/path.py", line 82, in makedirs_safe raise AnsibleError("Unable to create local directories(%s): %s" % (to_native(rpath), to_native(e))) ansible.errors.AnsibleError: Unable to create local directories(/nonexistent/.ansible/tmp): [Errno 13] Permission denied: b'/nonexistent' Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/ansible/utils/path.py", line 77, in makedirs_safe os.makedirs(b_rpath, mode) File "/usr/local/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/local/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/local/lib/python3.6/os.py", line 220, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: b'/nonexistent' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 523, in update_config_data value, origin = self.get_config_value_and_origin(config, configfile) File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 467, in get_config_value_and_origin value = ensure_type(value, defs[config].get('type'), origin=origin) File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 110, in ensure_type makedirs_safe(value, 0o700) File "/usr/local/lib/python3.6/site-packages/ansible/utils/path.py", line 82, in makedirs_safe raise AnsibleError("Unable to create local directories(%s): %s" % (to_native(rpath), to_native(e))) ansible.errors.AnsibleError: Unable to create local directories(/nonexistent/.ansible/tmp): [Errno 13] Permission denied: b'/nonexistent' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/ansible-config-3.6", line 60, in <module> import ansible.constants as C File "/usr/local/lib/python3.6/site-packages/ansible/constants.py", line 189, in <module> config = ConfigManager() File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 263, in __init__ self.update_config_data() File "/usr/local/lib/python3.6/site-packages/ansible/config/manager.py", line 535, in update_config_data raise AnsibleError("Invalid settings supplied for %s: %s\n" % (config, to_native(e)), orig_exc=e) ansible.errors.AnsibleError: Invalid settings supplied for DEFAULT_LOCAL_TMP: Unable to create local directories(/nonexistent/.ansible/tmp): [Errno 13] Permission denied: b'/nonexistent' Switching to USES_PYTHON=autoplist, it fails with: ===> Generating temporary packing list /bin/mkdir -p /wrkdirs/usr/ports/sysutils/ansible-sysrc/work/stage install -m 555 /wrkdirs/usr/ports/sysutils/ansible-sysrc/work/ansible-freebsd-modules-cf37fc1e16fc03852abc8933e7959b22b51a5c90/library/sysrc /wrkdirs/usr/ports/sysutils/ansible-sysrc/work/stage/sysrc ====> Compressing man pages (compress-man) =========================================================================== ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: /sysrc ===> Checking for items in pkg-plist which are not in STAGEDIR ===> Error: Plist issues found. *** Error code 1 -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"