From owner-freebsd-ports-bugs@freebsd.org Sun Nov 3 14:02:41 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 378B21B5EF4 for ; Sun, 3 Nov 2019 14:02:41 +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 475d0x0hGZz49tT for ; Sun, 3 Nov 2019 14:02:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1781C1B5EF3; Sun, 3 Nov 2019 14:02:41 +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 174601B5EF2 for ; Sun, 3 Nov 2019 14:02:41 +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 475d0w6pZJz49tR for ; Sun, 3 Nov 2019 14:02:40 +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 CD08FCE7A for ; Sun, 3 Nov 2019 14:02:40 +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 xA3E2eZh078827 for ; Sun, 3 Nov 2019 14:02:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xA3E2e43078826 for ports-bugs@FreeBSD.org; Sun, 3 Nov 2019 14:02:40 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 14:02:41 +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: vulcan@wired.sh 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: 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 14:02:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240788 --- Comment #17 from Lewis Cook --- (In reply to Raphael Kubo da Costa from comment #16) Thanks for your report. That's odd. I don't think the problem stems from the port itself, but rather the value of 'DEFAULT_LOCAL_TMP' as it doesn't seem to have permission to w= rite to the directory, referring to the error below: Unable to create local directories(/nonexistent/.ansible/tmp): [Errno 13] Permission denied: b'/nonexistent'. I'm unable to reproduce this error within Poudriere or on my local machine = too. When running stage-qa I was prompted to add the shebang fix: =3D=3D=3D=3D> Running Q/A tests (stage-qa) Error: '/usr/bin/python' is an invalid shebang you need USES=3Dshebangfix f= or 'share/py36-ansible/plugins/modules/sysrc'. Which I have now reflected in the Makefile, now it doesn't use a hard-coded path to Python in the sysrc Ansible module, instead patched with the Python version used to build the port. Upon making this change I no longer am prom= pted with changes to be made. 'USES_PYTHON=3Dautoplist' I believe isn't _needed_ either in this particula= r case as PLIST_FILES will resolve the 'sysrc' module. Which is more than likely causing the stage-qa error. >From what I've extrapolated from the errors posted it's more of a permission issue and the inability to write to the value of 'DEFAULT_LOCAL_TMP' in the Ansible configuration. Cheers. * On another note, replaced ${EGREP} with ${GREP} as extended regex isn't necessary. Also have formatted the Makefile with portfmt. --=20 You are receiving this mail because: You are the assignee for the bug.=