Date: Fri, 19 Aug 2022 15:29:56 +0000 From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 265943] editors/libreoffice: upgrading via portmaster leads to conflict with existing installed port Message-ID: <bug-265943-25061-xeEAGL8wlC@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-265943-25061@https.bugs.freebsd.org/bugzilla/> References: <bug-265943-25061@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265943 --- Comment #5 from Martin Birgmeier <d8zNeCFG@aon.at> --- 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265943-25061-xeEAGL8wlC>