From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 25 13:31:40 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F18315BD for ; Thu, 25 Sep 2014 13:31:40 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BCDC9DBC for ; Thu, 25 Sep 2014 13:31:40 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s8PDVe1R088868 for ; Thu, 25 Sep 2014 13:31:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 193923] New: security/vuxml: |make validate| fails if ${.OBJDIR} already exists Date: Thu, 25 Sep 2014 13:31:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@vfemail.net X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-secteam@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: 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.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 13:31:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193923 Bug ID: 193923 Summary: security/vuxml: |make validate| fails if ${.OBJDIR} already exists Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-secteam@FreeBSD.org Reporter: jbeich@vfemail.net Assignee: ports-secteam@FreeBSD.org Flags: maintainer-feedback?(ports-secteam@FreeBSD.org) Created attachment 147669 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D147669&action= =3Dedit incomplete fix According to make(1) manpage Since make will chdir(2) to =E2=80=98.OBJDIR=E2=80=99 before executing= any targets, each child process starts with that as its current working directory. and absolute paths are more commonplace in ports without an explicit |cd|. $ export MAKEOBJDIRPREFIX=3D$HOME/.cache $ export WRKDIRPREFIX=3D$HOME/.cache $ make -V .OBJDIR /home/foo/.cache/p/security/vuxml $ mkdir /home/foo/.cache/p/security/vuxml $ make validate /bin/sh /p/security/vuxml/files/tidy.sh "/p/security/vuxml/files/tidy.xsl" "/p/security/vuxml/vuln.xml" > "/p/security/vuxml/vuln.xml.tidy" >>> Validating... /usr/local/bin/xmllint --valid --noout /p/security/vuxml/vuln.xml >>> Successful. Checking if tidy differs... ... seems okay Checking for space/tab... ... seems okay /usr/local/bin/python2.7 /p/security/vuxml/files/extra-validation.py Traceback (most recent call last): File "/p/security/vuxml/files/extra-validation.py", line 8, in tree =3D ET.parse('vuln.xml') File "/usr/local/lib/python2.7/xml/etree/ElementTree.py", line 1182, in p= arse tree.parse(source, parser) File "/usr/local/lib/python2.7/xml/etree/ElementTree.py", line 647, in pa= rse source =3D open(source, "rb") IOError: [Errno 2] No such file or directory: 'vuln.xml' *** Error code 1 Stop. --- Comment #1 from Bugzilla Automation --- Auto-assigned to maintainer ports-secteam@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.=