From owner-freebsd-python@freebsd.org  Sun Nov  3 11:48:28 2019
Return-Path: <owner-freebsd-python@freebsd.org>
Delivered-To: freebsd-python@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 D1BC61B1A1D
 for <freebsd-python@mailman.nyi.freebsd.org>;
 Sun,  3 Nov 2019 11:48:28 +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 475Z245sG3z41vH
 for <freebsd-python@freebsd.org>; Sun,  3 Nov 2019 11:48:28 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: by mailman.nyi.freebsd.org (Postfix)
 id C914A1B1A1C; Sun,  3 Nov 2019 11:48:28 +0000 (UTC)
Delivered-To: python@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 C8D0D1B1A1B
 for <python@mailman.nyi.freebsd.org>; Sun,  3 Nov 2019 11:48:28 +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 475Z245Z05z41vG
 for <python@FreeBSD.org>; Sun,  3 Nov 2019 11:48:28 +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 A2854B3B6
 for <python@FreeBSD.org>; 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 xA3BmS6a069343
 for <python@FreeBSD.org>; 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 xA3BmSG7069342
 for python@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: python@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: CC
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: <bug-240788-21822-EoushkXHdW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240788-21822@https.bugs.freebsd.org/bugzilla/>
References: <bug-240788-21822@https.bugs.freebsd.org/bugzilla/>
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-python@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, 
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Nov 2019 11:48:28 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240788

Raphael Kubo da Costa <rakuco@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakuco@FreeBSD.org

--- Comment #16 from Raphael Kubo da Costa <rakuco@FreeBSD.org> ---
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<phase=
: stage          >=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 <module>
    import ansible.constants as C
  File "/usr/local/lib/python3.6/site-packages/ansible/constants.py", line =
189,
in <module>
    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 <module>
    import ansible.constants as C
  File "/usr/local/lib/python3.6/site-packages/ansible/constants.py", line =
189,
in <module>
    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 <module>
    import ansible.constants as C
  File "/usr/local/lib/python3.6/site-packages/ansible/constants.py", line =
189,
in <module>
    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 on the CC list for the bug.=