Bug 233003 - ports-mgmt/portmaster: Investigate improvements for "ports merged" case (Eg: x11-toolkits/qt5-quick|lang/qt5-qml -> x11-toolkits/qt5-declarative)
Summary: ports-mgmt/portmaster: Investigate improvements for "ports merged" case (Eg: ...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Stefan Eßer
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2018-11-05 20:27 UTC by mikhail.rokhin
Modified: 2018-11-25 20:22 UTC (History)
4 users (show)

See Also:
koobs: maintainer-feedback? (se)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mikhail.rokhin 2018-11-05 20:27:06 UTC
Recently, they've changed it in the ports tree from split of qt5-quick & qt5-qml into one port qt5-declarative.

Portmaster detects it when checks ports tree for updates, but fails to remove qt5-quick & qt5-qml before installing newly compiled qt5-declarative, leading to error from pkg-static:
qt5-declarative conflicts with qt5-quick & qt5-qml (installs files into the same place) ...

So, it needs manual 
 pkg del -f of qt5-quick & qt5-qml 
 make install qt5-declarative
to succeed.

That is common problem for portmaster for some other cases, when it fails auto removal of existing packages before installing new one, leading to ports conflict. Seems like portmaster can't detect such conflicts properly.

Also there's warning from pkg-static that @exec is deprecated.

Thank you for development.
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-11-05 20:53:14 UTC
You have remove qt5-quick & qt5-qml per hand. It's not a portmaster problem, it is more the problem, there was no /usr/ports/UPDATING message.
Comment 2 mikhail.rokhin 2018-11-06 23:25:11 UTC
(In reply to w.schwarzenfeld from comment #1)

Auto-removing in such cases, Portmaster could be more intelligent.
Comment 3 Walter Schwarzenfeld freebsd_triage 2018-11-07 01:31:04 UTC
The exit "installs in the same place" did not come from portmaster it comes from the port.
Portmaster did not know if there is any file installs in the same place (it had to check the whole
stagedir and search each file if it is anywhere installed....).

And I think  portmaster should not remove any installed package automatically.

Maybe the maintainer find a way, but I doubt.
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2018-11-07 01:44:48 UTC
MOVED entries were added in ports r484140
Comment 5 commit-hook freebsd_committer freebsd_triage 2018-11-25 20:11:54 UTC
A commit references this bug:

Author: arved
Date: Sun Nov 25 20:10:58 UTC 2018
New revision: 485899
URL: https://svnweb.freebsd.org/changeset/ports/485899

Log:
  Unbreak build

  PR:		233003
  Submitted by:	w.schwarzenfeld@utanet.at

Changes:
  head/graphics/inventor/Makefile
  head/graphics/inventor/files/patch-SbTime.c++
  head/graphics/inventor/files/patch-src__so_nodes-SoText2.c++
  head/graphics/inventor/files/patch-src__so_nodes-SoText3.c++
Comment 6 Walter Schwarzenfeld freebsd_triage 2018-11-25 20:21:06 UTC
@arved: the commit reference is in the wrong PR.
Comment 7 Walter Schwarzenfeld freebsd_triage 2018-11-25 20:22:56 UTC
It is a typo the right PR Number is 233002.