From nobody Fri May 20 20:45:56 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 4A43B1B39369 for ; Fri, 20 May 2022 20:45:57 +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 4L4dzS3zP7z3lQ0 for ; Fri, 20 May 2022 20:45:56 +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.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 5AF9C193A2 for ; Fri, 20 May 2022 20:45:56 +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 24KKjuH8027785 for ; Fri, 20 May 2022 20:45:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24KKju8H027784 for ports-bugs@FreeBSD.org; Fri, 20 May 2022 20:45:56 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 264084] shells/rc missing files when upgrading Date: Fri, 20 May 2022 20:45:56 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: portmaster@bsdforge.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created 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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653079556; 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: in-reply-to:in-reply-to:references:references; bh=jXSdT+ijE2VDWEsJcGF3xpdNcSlry6A4T1k7eicKyVc=; b=EwT847BDIB+5MjPWCxPFXDz122KeQQQ8stkg6+1Pl10AQ9O6rLNNK3vRYExkUSEP8Ac1Mv nXi+3576zAaKFERs3SRFZ4x9H04UAd1DlF+JcAL1cLjeYrwFM8iSA1f9ilpRm1i2brPGT9 O69Cr2cPn4Rwkw1WLvdr72GArt7JZRHp6WYQzsyr3SGARdP0/f/06abf734awbxoia/P3I P3IvIjjOhyKPYS+n5NBpRSFQ4toYjsdvsMAXgBf1h1xRVYU3A5XEWfZEIHDNi1DbKtU3Fd DLJ6c4uz+KNN4Vyy8mhStUwSwyoX2g1VPGLe4hnSuBdXYoCgjCaLj93S354YeQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653079556; a=rsa-sha256; cv=none; b=M1z34QXG7WX2sj1WuAhbTR6/ULQsNqJflshtNGB47AgFa0rxcz2FSoMstp6hOdEego+/Uy IAs7EGfE0LTRd7f52m6PLOoKYeh+WDxb45zNWNSMvD7nrh6XmUUdkGxA4Wrz/jnvKc3lN8 OJbd/RjlRT0xUphVOt4hXi13RDPEGt6az4kIinMMmupEy9vW5/dKVuKwvt0Nho9ZgHxdRe G/VSou4vsLth7mYx3DvCNlAESokFFTKWsMm+SP7weK821k/vzJdNBArrORaptxwPKfR8DE 6AU9Q/HBNNgNc89gvLjX3E6BDQ0wemfRHLkeS6ofJmVQVKHSMjwzUgtdsbe+5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264084 Chris Hutchinson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |portmaster@bsdforge.com --- Comment #2 from Chris Hutchinson --- Created attachment 234067 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234067&action= =3Dedit patch to deinstallation problem for shells/rc The error(s) reported are harmless. While I'm not the Maintainer. I was the last one to touch this. The changes I made largely carried the previous policies forward. However, now that you report these errors. I took a closer look and discovered that one of those policies was wrong. It's effectively the same error. Just repeated for every missing link. Problem: The patch file used with this port hard links [ln(1)] one file to several additional files by other names. Which means once the target is removed all the links (correctly) complain. Solution: While I probably could have created Soft links instead. I simply chose to make literal copies for each of the needed named files. This is what the attached diff provides. It also replaces the previous patch. Sample output after patching and installing 1.7.4_2. Then patching 1.7.4_3 and attempting an upgrade: dev@portsdev $ make -DBATCH deinstall && make -DBATCH install =3D=3D=3D> Deinstalling for rc =3D=3D=3D> Deinstalling rc-1.7.4_2 Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packag= es in the universe): Installed packages to be REMOVED: rc: 1.7.4_2 Number of packages to be removed: 1 The operation will free 3 MiB. [portsdev.localhost] [1/1] Deinstalling rc-1.7.4_2... [portsdev.localhost] [1/1] Deleting files for rc-1.7.4_2: 100% =3D=3D=3D> Installing for rc-1.7.4_3 =3D=3D=3D> Checking if rc is already installed =3D=3D=3D> Registering installation for rc-1.7.4_3 [portsdev.localhost] Installing rc-1.7.4_3... dev@portsdev $ Problem solved. @Maintainer/committer If the Maintainer is no longer able/willing to continue maintaining this port. Feel free to name me as Maintainer. That's it. Thanks! Chris --=20 You are receiving this mail because: You are the assignee for the bug.=