From nobody Fri Dec 02 12:01:33 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NNs3y2LfYz4jGQZ for ; Fri, 2 Dec 2022 12:01:34 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NNs3y0hHkz4N2K for ; Fri, 2 Dec 2022 12:01:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669982494; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/V7wxUbkKFFk3Ank28auOV4BL0iXihT9vDqfSqCNHIc=; b=Zu0MZLgehzIYD3X6pj9so0eVWWh46RNDnfWUHPTKB4VAUEmn3LiioibfnFKF8/x5qQ4+Eb rtL1foo9R7L9GoB8wFwJFmAEc+mNoh+NsYljuc5nfhsO8dX5kKq8A9ppq+4AmFgLihbgIr 0bAob/QGQczdBKp9v3D6A91HcMbpzUd6mJCBCHodaDIjJd8OmvxjmQeB9VkOi93NkA5Ckv A0gqUHYFXE7q3RWqKx8JSobeolj484tnrxgbNZSg7Eh0cabU0Mgxs9aXPrEPNn+e0mtC1z but32ZcO0DFQFqo03E426fArUugVYwqjFXM1us4CJQDCLSNskGHB/MKcverP9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669982494; a=rsa-sha256; cv=none; b=sdZK7sAB1u7I9gGA5auKixc2gUHCIY7Q98FNLCJdn93Puvu6PXYg+xuMC8ldSB2oMMHyDp LOdWnGt3Gi2QwE0FTvQ4m6GF7mGCB8eqphMzN/HqhTBet0wmNRnMPH7sBtAd9aQy+zFGkM rysPQq1c9pn+LawgYlhQi5OgXsRveaAHg1Ir00JSxg9A7v5vgH2I86z+EQHh/E4x8zZq6S LseiGrNEp/CWnAkjdiW9HFmPgJXQ6UN7zAesb781JbRKxKse17Ex4xZaAB+ltoegBB9dsV 6MTmhau8od4ll75oMr0EtnzdpxQoUXkVPaLpJWA/ryvfeVn3bynUQasOW9N+Hg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NNs3x6v84zFQ3 for ; Fri, 2 Dec 2022 12:01:33 +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 2B2C1Xbk017494 for ; Fri, 2 Dec 2022 12:01:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2B2C1XAx017493 for ports-bugs@FreeBSD.org; Fri, 2 Dec 2022 12:01:33 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 268125] print/hplip: Staging fails to remove nonexistant data/images with no-X11 Date: Fri, 02 Dec 2022 12:01:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: stewart+FreeBSD-BugZilla@arnos-vale.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tijl@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status 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 List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268125 Bug ID: 268125 Summary: print/hplip: Staging fails to remove nonexistant data/images with no-X11 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: tijl@FreeBSD.org Reporter: stewart+FreeBSD-BugZilla@arnos-vale.net Flags: maintainer-feedback?(tijl@FreeBSD.org) Assignee: tijl@FreeBSD.org Created attachment 238488 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D238488&action= =3Dedit Patch to conditionally remove data/images Hello, With X11-off, I get a build failure due to the data/images directory missin= g: /bin/rmdir /wrkdirs/usr/ports/print/hplip/work/stage/usr/local/share/hplip/data/images= /*=20 /wrkdirs/usr/ports/print/hplip/work/stage/usr/local/share/hplip/data/images rmdir: /wrkdirs/usr/ports/print/hplip/work/stage/usr/local/share/hplip/data/images= /*: No such file or directory rmdir: /wrkdirs/usr/ports/print/hplip/work/stage/usr/local/share/hplip/data/images= : No such file or directory *** Error code 1 The attached patch simply wraps this in an "if exists" test and builds, so = hope that helps somebody; but perhaps the correct fix would be forceful removal = (rm -rf), or to simply remove the whole post-install-X11-off make target? (I've tested neither of those options). Thanks, Stewart. --=20 You are receiving this mail because: You are the assignee for the bug.=