From nobody Fri Aug 19 15:29:56 2022 X-Original-To: office@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 4M8Qfr5Ms5z4ZP3m for ; Fri, 19 Aug 2022 15:29:56 +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 4M8Qfr3rTxz4PKk for ; Fri, 19 Aug 2022 15:29: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 4M8Qfr2gwzzxwZ for ; Fri, 19 Aug 2022 15:29: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 27JFTu8E098776 for ; Fri, 19 Aug 2022 15:29:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27JFTuLL098775 for office@FreeBSD.org; Fri, 19 Aug 2022 15:29: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: office@FreeBSD.org Subject: [Bug 265943] editors/libreoffice: upgrading via portmaster leads to conflict with existing installed port Date: Fri, 19 Aug 2022 15:29: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: d8zNeCFG@aon.at X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@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 List-Id: Office applications on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-office List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-office@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660922996; 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=MVrmTbbf5ASkmu7DcaPjJmaoAspUwKZUxLmBdMdDj5g=; b=iiicwKyQeBO1SRTkTuQZPmBfTYUJf1jqU0fzPwBjCahnEj0Z9/iCS9ST9aLC2HwByZp0fp 1k/rAnEvuHdgxP8DLLBB3lweRTIEmI4lSekDI/5D6cd9bUlAdfxgfLj8/lfAuOi+1PKUna v4/1+/sHryeHVUoDFpfshNBaDU0jkho1xmgme/17vSL5cQNBPIDG/PWofM+m0oihCIxbsy abTdRtPwKoUZ61GidRWCBJhYaaKI2b7HIkwBjEMO7kZBnhz//7g7X8wmCCSZUM4+E9cnya wdZI3OiJcTIUMGzEr09eKTE9jCX7ldhTqlDX5cwAXOgNDoKc4vN3k4M8XNaDfw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660922996; a=rsa-sha256; cv=none; b=px+3i4kRSpN0uq2y349aPC+HvSB2GoysgfEyGha21WN8QWOhMCdnL8uauj57TrKvUIgbqm cOLAQiJ9AxYbzCTIdxE5r13wMBVfFYw3CdDmle/LACE0Jb0Yssgr5iNIHP/1aZSl0MIp44 Q88XFEddqgjoWs+MeaofyxzP0Jg3ne0vul7GwK+s3s4UGt4wAd5SXWtIKPKLaJZj+BSe8k npybbG4SGNOQe/RTVIV8r3XT0DyScCISKoeemqdg3M7l0MbS7ADQBOqbOiaF6qUUaaHBDu aHmvyVnHbVPQExP9oJoh7gnIrVjQDFHYuDwcpYx/zD0ZOyZZjK9uSxSB7Zgk1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265943 --- Comment #5 from Martin Birgmeier --- Thank you for the detailed explanation, even though I must admit to not ful= ly understanding it. Something must have changed in either portmaster or the libreoffice ports a= few months ago, resulting in the behavior described in this ticket and also in = bug #265936. I have noticed that for the libreoffice ports I am using, portmaster first builds, e.g., german/libreoffice, then uninstalls the old version of this p= ort, then notices that it needs to upgrade editors/libreoffice as a (presumably runtime) dependency, then builds that one and tries to install it. But that fails because the old version is already installed. The result is that german/libreoffice remains deinstalled after this failure, the old editors/libreoffice remains installed, and the build directory contains a readily built new editors/libreoffice. It seems to me that if portmaster detects such a kind of runtime dependency where the depended-on port needs to be upgraded, it should first perform the upgrade of that port before proceeding to the upgrade of the depending port= (in this case, german/libreoffice). This seemingly inverted dependency order is also visible in the output of t= he first scan portmaster performs, before it is asking whether to continue (if= not using --no-confirm): The depended-on ports are listed after the depending p= orts when it would seem more logical to invert this. -- Martin p.s. It is also visible in the following command I am using to watch the progress of portmaster: ps -axuewww | sed -n 's/.*PM_NEEDS_UPDATE=3D //p' | sort -u | tail -1 | sed= 's/ /\ /g' | sed '/^$/,$ d' | less Not fully functional but still helpful. --=20 You are receiving this mail because: You are the assignee for the bug.=