Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2018 01:16:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 226134] ports-mgmt/portmaster: portmaster -a fails when a port has been moved.
Message-ID:  <bug-226134-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226134

            Bug ID: 226134
           Summary: ports-mgmt/portmaster: portmaster -a fails when a port
                    has been moved.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: se@FreeBSD.org
          Reporter: robbak@gmail.com
          Assignee: se@FreeBSD.org
             Flags: maintainer-feedback?(se@FreeBSD.org)

When a port has been moved, Portmaster identifies this, but fails to do
anything about it. For instance, with today's mass moving of many KDE ports,
Portmaster fails as follows:

portmaster: All^G=3D=3D=3D>>> Starting check of installed ports for availab=
le updates

        =3D=3D=3D>>> The x11-themes/kde4-wallpapers-freebsd port moved to
x11-themes/wallpapers-freebsd-kde4
        =3D=3D=3D>>> Reason: Make room for KDE updates

=3D=3D=3D>>> Launching child to update kde4-wallpapers-freebsd-1.0 to
wallpapers-freebsd-kde4-1.0_1

=3D=3D=3D>>> All >> kde4-wallpapers-freebsd-1.0 (1/1)
ESC]0;portmaster: All >> kde4-wallpapers-freebsd-1.0 (1/1)^G
        =3D=3D=3D>>> The x11-themes/kde4-wallpapers-freebsd port moved to
x11-themes/wallpapers-freebsd-kde4
        =3D=3D=3D>>> Reason: Make room for KDE updates


=3D=3D=3D>>> Currently installed version: kde4-wallpapers-freebsd-1.0
=3D=3D=3D>>> Port directory: /usr/ports/x11-themes/wallpapers-freebsd-kde4

=3D=3D=3D>>> Launching 'make checksum' for x11-themes/wallpapers-freebsd-kd=
e4 in
background
ESC]0;portmaster: All (1)^G=3D=3D=3D>>> Returning to update check of instal=
led ports


        =3D=3D=3D>>> The sysutils/ksysguardd port moved to sysutils/ksysgua=
rdd-kde4
        =3D=3D=3D>>> Reason: Make room for KDE updates
......

=3D=3D=3D>  Installing for wallpapers-freebsd-kde4-1.0_1
=3D=3D=3D>  Checking if wallpapers-freebsd-kde4 already installed
=3D=3D=3D>   Registering installation for wallpapers-freebsd-kde4-1.0_1 as =
automatic
Installing wallpapers-freebsd-kde4-1.0_1...
pkg-static: wallpapers-freebsd-kde4-1.0_1 conflicts with
kde4-wallpapers-freebsd-1.0 (installs files into the same
 place).  Problematic file:
/usr/local/share/apps/plasma-desktop/init/05-freebsdWallpaper.js
*** Error code 70

Often times when a port has been moved, it first installs some other port,
which tries to install the moved port as a dependency, which fails because =
the
moved port conflicts with the original.

When port(s) have been moved, portmaster should upgrade them in the appropr=
iate
order using the method used for -o. With the recent mass moves of KDE ports,
the lack of an automated way to do this is a problem.

--=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-226134-13>