From owner-freebsd-ports-bugs@freebsd.org Sun Nov 3 11:48:29 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1EDD71B1A24 for ; Sun, 3 Nov 2019 11:48:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 475Z250nMKz41vL for ; Sun, 3 Nov 2019 11:48:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1AE311B1A23; Sun, 3 Nov 2019 11:48:29 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1AA8C1B1A22 for ; Sun, 3 Nov 2019 11:48:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 475Z250c0Wz41vK for ; Sun, 3 Nov 2019 11:48:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ED836B3B8 for ; Sun, 3 Nov 2019 11:48:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xA3BmSKK069352 for ; Sun, 3 Nov 2019 11:48:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xA3BmSda069351 for ports-bugs@FreeBSD.org; Sun, 3 Nov 2019 11:48:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 240788] [NEW PORT] sysutils/ansible-sysrc: Ansible module to set sysvars in rc.conf Date: Sun, 03 Nov 2019 11:48:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rakuco@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2019 11:48:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240788 Raphael Kubo da Costa changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rakuco@FreeBSD.org --- Comment #16 from Raphael Kubo da Costa --- Hi. I've tried building this port on Poudriere, and the ANSIBLE_MOD/PLIST_F= ILES lines fail: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> Staging for py36-ansible-sysrc-0.1 =3D=3D=3D> py36-ansible-sysrc-0.1 depends on package: py36-ansible>0 - fo= und =3D=3D=3D> py36-ansible-sysrc-0.1 depends on file: /usr/local/bin/python3= .6 - found =3D=3D=3D> 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 =3D 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 =3D ensure_type(value, defs[config].get('type'), origin=3Dorigin) 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 =3D 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 =3D ensure_type(value, defs[config].get('type'), origin=3Dorigin) 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 import ansible.constants as C File "/usr/local/lib/python3.6/site-packages/ansible/constants.py", line = 189, in config =3D 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=3De) ansible.errors.AnsibleError: Invalid settings supplied for DEFAULT_LOCAL_TM= P: 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 du= mp | /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 =3D 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 =3D ensure_type(value, defs[config].get('type'), origin=3Dorigin) 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 =3D 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 =3D ensure_type(value, defs[config].get('type'), origin=3Dorigin) 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 import ansible.constants as C File "/usr/local/lib/python3.6/site-packages/ansible/constants.py", line = 189, in config =3D 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=3De) ansible.errors.AnsibleError: Invalid settings supplied for DEFAULT_LOCAL_TM= P: 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-cf37= fc1e16fc03852abc8933e7959b22b51a5c90/library/sysrc /wrkdirs/usr/ports/sysutils/ansible-sysrc/work/stage$(ansible-config-3.6 du= mp | /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 =3D 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 =3D ensure_type(value, defs[config].get('type'), origin=3Dorigin) 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 =3D 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 =3D ensure_type(value, defs[config].get('type'), origin=3Dorigin) 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 import ansible.constants as C File "/usr/local/lib/python3.6/site-packages/ansible/constants.py", line = 189, in config =3D 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=3De) ansible.errors.AnsibleError: Invalid settings supplied for DEFAULT_LOCAL_TM= P: Unable to create local directories(/nonexistent/.ansible/tmp): [Errno 13] Permission denied: b'/nonexistent' Switching to USES_PYTHON=3Dautoplist, it fails with: =3D=3D=3D> 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-cf37= fc1e16fc03852abc8933e7959b22b51a5c90/library/sysrc /wrkdirs/usr/ports/sysutils/ansible-sysrc/work/stage/sysrc =3D=3D=3D=3D> Compressing man pages (compress-man) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D> Running Q/A tests (stage-qa) =3D=3D=3D=3D> Checking for pkg-plist issues (check-plist) =3D=3D=3D> Parsing plist =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: /sysrc =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR =3D=3D=3D> Error: Plist issues found. *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=