[MacPorts] #53789: qt5 can't upgrade

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[MacPorts] #53789: qt5 can't upgrade

MacPorts
#53789: qt5 can't upgrade
---------------------+-----------------
 Reporter:  dershow  |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  qt5
---------------------+-----------------
 qt5 just upgraded from 5.6.2_1 to  5.7.1_0, along with subports.  It seems
 that one of the subports is causing a problem:


 {{{
 --->  Computing dependencies for qt5-qtdeclarative
 --->  Fetching archive for qt5-qtdeclarative
 --->  Attempting to fetch qt5-qtdeclarative-5.7.1_0.darwin_16.x86_64.tbz2
 from https://packages.macports.org/qt5-qtdeclarative
 --->  Attempting to fetch
 qt5-qtdeclarative-5.7.1_0.darwin_16.x86_64.tbz2.rmd160 from
 https://packages.macports.org/qt5-qtdeclarative
 --->  Installing qt5-qtdeclarative @5.7.1_0
 --->  Cleaning qt5-qtdeclarative
 --->  Computing dependencies for qt5-qtdeclarative
 --->  Deactivating qt5-qtdeclarative @5.6.2_1
 --->  Cleaning qt5-qtdeclarative
 --->  Activating qt5-qtdeclarative @5.7.1_0
 Error: Failed to activate qt5-qtdeclarative: Image error:
 /opt/local/libexec/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.dylib is
 being used by the active qt5-qtquickcontrols port.  Please deactivate this
 port first, or use 'port -f activate qt5-qtdeclarative' to force the
 activation.
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtdeclarative/main.log
 for details.
 --->  Uninstalling qt5-qtdeclarative @5.6.2_1
 --->  Cleaning qt5-qtdeclarative
 --->  Computing dependencies for qt5-qtserialport
 --->  Fetching archive for qt5-qtserialport
 --->  Attempting to fetch qt5-qtserialport-5.7.1_0.darwin_16.x86_64.tbz2
 from https://packages.macports.org/qt5-qtserialport
 --->  Attempting to fetch
 qt5-qtserialport-5.7.1_0.darwin_16.x86_64.tbz2.rmd160 from
 https://packages.macports.org/qt5-qtserialport
 --->  Installing qt5-qtserialport @5.7.1_0
 --->  Cleaning qt5-qtserialport
 --->  Computing dependencies for qt5-qtserialport
 --->  Deactivating qt5-qtserialport @5.6.2_1
 --->  Cleaning qt5-qtserialport
 --->  Activating qt5-qtserialport @5.7.1_0
 --->  Cleaning qt5-qtserialport
 --->  Uninstalling qt5-qtserialport @5.6.2_1
 --->  Cleaning qt5-qtserialport
 --->  Computing dependencies for qt5-qtsensors
 The following dependencies will be installed:  qt5-qtdeclarative
 Continue? [Y/n]: Y
 --->  Activating qt5-qtdeclarative @5.7.1_0
 Error: Failed to activate qt5-qtdeclarative: Image error:
 /opt/local/libexec/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.dylib is
 being used by the active qt5-qtquickcontrols port.  Please deactivate this
 port first, or use 'port -f activate qt5-qtdeclarative' to force the
 activation.
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtdeclarative/main.log
 for details.

 }}}

 It is not clear if force activation will break other subports, so I'm not
 sure how to proceed?  Or should some other port be uninstalled before
 doing the upgrade?

--
Ticket URL: <https://trac.macports.org/ticket/53789>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53789: qt5 can't upgrade

MacPorts
#53789: qt5 can't upgrade
----------------------+--------------------
  Reporter:  dershow  |      Owner:
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:  invalid  |   Keywords:
      Port:  qt5      |
----------------------+--------------------
Changes (by mf2k):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Trac is not for tech support. Follow-up on the
 [https://lists.macosforge.org/mailman/listinfo/macports-users Macports
 Users mailing list] instead.

--
Ticket URL: <https://trac.macports.org/ticket/53789#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53789: qt5 can't upgrade

MacPorts
In reply to this post by MacPorts
#53789: qt5 can't upgrade
----------------------+--------------------
  Reporter:  dershow  |      Owner:
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:  invalid  |   Keywords:
      Port:  qt5      |
----------------------+--------------------

Comment (by dershow):

 If a user installs a port.  Then, upgrades the port, and it fails, it is
 likely due to a bug in the port file.  So, I would think that should be
 reported as such.

--
Ticket URL: <https://trac.macports.org/ticket/53789#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict (was: qt5 can't upgrade)

MacPorts
In reply to this post by MacPorts
#53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict
----------------------------------------------------+----------------------
  Reporter:  dershow                                |      Owner:
      Type:  defect                                 |     Status:  reopened
  Priority:  Normal                                 |  Milestone:
 Component:  ports                                  |    Version:
Resolution:                                         |   Keywords:
      Port:  qt5-qtdeclarative qt5-qtquickcontrols  |
----------------------------------------------------+----------------------
Changes (by mf2k):

 * status:  closed => reopened
 * resolution:  invalid =>
 * port:  qt5 => qt5-qtdeclarative qt5-qtquickcontrols


Comment:

 You are right. This is a port conflict.

--
Ticket URL: <https://trac.macports.org/ticket/53789#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict

MacPorts
In reply to this post by MacPorts
#53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict
-------------------------------------------------+-------------------------
  Reporter:  dershow                             |      Owner:
                                                 |  MarcusCalhoun-Lopez
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  qt5-qtdeclarative                   |
  qt5-qtquickcontrols                            |
-------------------------------------------------+-------------------------
Changes (by mf2k):

 * status:  reopened => assigned
 * owner:   => MarcusCalhoun-Lopez
 * cc: mcalhoun@… (removed)


--
Ticket URL: <https://trac.macports.org/ticket/53789#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict

MacPorts
In reply to this post by MacPorts
#53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict
-------------------------------------------------+-------------------------
  Reporter:  dershow                             |      Owner:
                                                 |  MarcusCalhoun-Lopez
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  qt5-qtdeclarative                   |
  qt5-qtquickcontrols                            |
-------------------------------------------------+-------------------------

Comment (by mf2k):

 What is weird is that they both installed without error for me when
 installing qt5 just now.

 {{{
 f$ port installed qt5-qtdeclarative qt5-qtquickcontrols
 The following ports are currently installed:
   qt5-qtdeclarative @5.7.1_0 (active)
   qt5-qtquickcontrols @5.7.1_0 (active)
 }}}

 Why do you see the conflict?

--
Ticket URL: <https://trac.macports.org/ticket/53789#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict

MacPorts
In reply to this post by MacPorts
#53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict
-------------------------------------------------+-------------------------
  Reporter:  dershow                             |      Owner:
                                                 |  MarcusCalhoun-Lopez
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  qt5-qtdeclarative                   |
  qt5-qtquickcontrols                            |
-------------------------------------------------+-------------------------

Comment (by jjstickel):

 I just encountered the same problem. Apparently
 libqquicklayoutsplugin.dylib moved from package qt5-qtquickcontrols to
 qt5-qtdeclarative in version 5.7.1. Updating causes a problem because
 qt5-qtdeclarative is earlier in the dependency tree and wants to install
 before qt5-qtquickcontrols, but the already installed
 qt5-qtquickcontrols-5.6.2 still owns the file.

 Workaround is to force uninstall qt5-qtquickcontrols, then reinstall it
 (at the updated version). qt5-qtdeclarative will get updated in the
 process. I have no idea how to resolve the issue in the Portfiles to allow
 for a seamless update.

--
Ticket URL: <https://trac.macports.org/ticket/53789#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict

MacPorts
In reply to this post by MacPorts
#53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict
-------------------------------------------------+-------------------------
  Reporter:  dershow                             |      Owner:
                                                 |  MarcusCalhoun-Lopez
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  qt5-qtdeclarative                   |
  qt5-qtquickcontrols                            |
-------------------------------------------------+-------------------------

Comment (by neverpanic):

 This is a classic case for the "deactivate hack", see
 wiki:PortfileRecipes#deactivatehack. qt5-qtdeclarative needs to force-
 deactivate the old version of qt5-qtquickcontrols.

--
Ticket URL: <https://trac.macports.org/ticket/53789#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict

MacPorts
In reply to this post by MacPorts
#53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict
-------------------------------------------------+-------------------------
  Reporter:  dershow                             |      Owner:
                                                 |  MarcusCalhoun-Lopez
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  qt5-qtdeclarative                   |
  qt5-qtquickcontrols                            |
-------------------------------------------------+-------------------------

Comment (by neverpanic):

 The same probably applies for qt5-qtenginio and the qt5 port; instead of
 telling the user to manually uninstall qt5-qtenginio, the qt5 port should
 just force-deactivate it.

--
Ticket URL: <https://trac.macports.org/ticket/53789#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict

MacPorts
In reply to this post by MacPorts
#53789: qt5-qtdeclarative and qt5-qtquickcontrols conflict
-------------------------------------------------+-------------------------
  Reporter:  dershow                             |      Owner:
                                                 |  MarcusCalhoun-Lopez
      Type:  defect                              |     Status:  closed
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:  fixed                               |   Keywords:
      Port:  qt5-qtdeclarative                   |
  qt5-qtquickcontrols                            |
-------------------------------------------------+-------------------------
Changes (by MarcusCalhoun-Lopez):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"74be8493959b1f2b3a68b277ee66217e4f880014/macports-ports"
 74be8493/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="74be8493959b1f2b3a68b277ee66217e4f880014"
 qt5-qtdeclarative: fix upgrade procedure

 Fixes https://trac.macports.org/ticket/53789
 See https://trac.macports.org/wiki/PortfileRecipes#deactivatehack
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53789#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...