Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#55299 closed defect (fixed)

ports with qt5 dependancies fail to build "because conflicting ports are active: qt58-qtbase"

Reported by: tehcog (tehcog) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Mavericks Cc: ryandesign@…, michaelld@…
Port: gqrx mkvtoolnix

Description

Nov 11 13:29:37 NerdCenter --->  Computing dependencies for qt5-qtsvg
Nov 11 13:29:37 NerdCenter Error: Can't install qt5-qtsvg because conflicting ports are active: qt58-qtbase
Nov 11 13:29:37 NerdCenter Error: Problem while installing qt5-qtsvg
Nov 11 13:29:37 NerdCenter --->  Computing dependencies for qt5-qtxmlpatterns
Nov 11 13:29:37 NerdCenter Error: Can't install qt5-qtxmlpatterns because conflicting ports are active: qt58-qtbase
Nov 11 13:29:37 NerdCenter Error: Problem while installing qt5-qtxmlpatterns
Nov 11 13:29:37 NerdCenter --->  Computing dependencies for qt5-qtdeclarative
Nov 11 13:29:37 NerdCenter Error: Can't install qt5-qtdeclarative because conflicting ports are active: qt58-qtbase
Nov 11 13:29:37 NerdCenter Error: Problem while installing qt5-qtdeclarative
Nov 11 13:29:37 NerdCenter --->  Computing dependencies for qt5-qtmultimedia
Nov 11 13:29:37 NerdCenter Error: Can't install qt5-qtmultimedia because conflicting ports are active: qt58-qtbase
Nov 11 13:29:37 NerdCenter Error: Problem while installing qt5-qtmultimedia
Nov 11 13:29:37 NerdCenter --->  Computing dependencies for mkvtoolnix
Nov 11 13:29:37 NerdCenter Error: Can't install qt5-qtmultimedia because conflicting ports are active: qt58-qtbase

Cannot install qt5-qtbase due to incompatible OS:

Warning: Deactivate forced.  Proceeding despite dependencies.
--->  Deactivating qt58-qtbase @5.8.0_4+openssl
--->  Cleaning qt58-qtbase
NerdCenter { ~ }-> sudo port install qt5-qtbase
--->  Computing dependencies for qt5-qtbase
--->  Fetching distfiles for qt5-qtbase
Error: qt5-qtbase requires OS X 10.10 or later
Error: Failed to fetch qt5-qtbase: incompatible OS version
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtbase/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port qt5-qtbase failed

Change History (7)

comment:1 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: set to MarcusCalhoun-Lopez
Status: newaccepted

In the future, please CC the port maintainer (port info --maintainers [port]).

comment:2 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Qt version 5.9 (qt5-qtbase, qt5-qtsvg, qt5-qtxmlpatterns, etc.) will not install on Mavericks.
Qt 5.9 relies on functionality that does not exists on older OSs.
On Mavericks, Qt version 5.8 should be used instead.

If some port is trying to depend on Qt version 5.9, then that is an issue we can address.
If you are just trying to install qt5-XXX, please install qt58-XXX instead.

What port are you trying to install?

comment:3 Changed 7 years ago by tehcog (tehcog)

Marcus,

Thanks for taking this on. You are correct, it appears to be a dependency issue. I already have qt58-qtbase installed. gqrx and mkvtoolnix are the ports that are out of date. I am simply trying to update those ports, which I believe is resulting in the errors. I am basing this assumption on the following output:

Nov 11 19:18:45 NerdCenter --->  Computing dependencies for qt5-qtmultimedia
Nov 11 19:18:45 NerdCenter Error: Can't install qt5-qtmultimedia because conflicting ports are active: qt58-qtbase
Nov 11 19:18:45 NerdCenter Error: Problem while installing qt5-qtmultimedia
Nov 11 19:18:46 NerdCenter --->  Computing dependencies for mkvtoolnix
Nov 11 19:18:46 NerdCenter Error: Can't install qt5-qtmultimedia because conflicting ports are active: qt58-qtbase

I will double check which qt58 elements taht I already have installed and compare them with what is required for the upgrades.

comment:4 Changed 7 years ago by tehcog (tehcog)

It looks like gqrx is having an issue with py27-pyqt4, which I have already written another ticket for. However, it looks as if mkvtoolnix is complaining about qt5-qtsvg, and I already have qt58-qtsvg @5.8.0_0 installed. SEE BELOW:

dleece::NerdCenter { ~ }-> sudo portupgrade
Nov 11 19:42:42 NerdCenter === Update MacPorts
Nov 11 19:42:42 NerdCenter --->  Updating MacPorts base sources using rsync
Nov 11 19:42:47 NerdCenter MacPorts base version 2.4.2 installed,
Nov 11 19:42:47 NerdCenter MacPorts base version 2.4.2 downloaded.
Nov 11 19:42:47 NerdCenter --->  MacPorts base is already the latest version
Nov 11 19:42:47 NerdCenter === Update Portfiles
Nov 11 19:42:47 NerdCenter --->  Updating the ports tree
Nov 11 19:42:53 NerdCenter
Nov 11 19:42:53 NerdCenter === List Outdated Ports
Nov 11 19:42:53 NerdCenter gqrx                           @2.8_0
Nov 11 19:42:53 NerdCenter kdevplatform                   @1.7.4_0
Nov 11 19:42:53 NerdCenter mkvtoolnix                     @13.0.0_1+qtgui
Nov 11 19:42:53 NerdCenter openvrml                       @0.18.9_3+opengl+x11
Nov 11 19:42:53 NerdCenter py27-pyqt4                     @4.12.1_0
Nov 11 19:42:53 NerdCenter
Nov 11 19:42:53 NerdCenter === Clean Outdated Ports
Nov 11 19:42:54 NerdCenter --->  Cleaning gqrx
Nov 11 19:42:54 NerdCenter --->  Cleaning kdevplatform
Nov 11 19:42:54 NerdCenter --->  Cleaning mkvtoolnix
Nov 11 19:42:54 NerdCenter --->  Cleaning openvrml
Nov 11 19:42:54 NerdCenter --->  Cleaning py27-pyqt4
Nov 11 19:42:54 NerdCenter
Nov 11 19:42:54 NerdCenter === Fetch Outdated Ports
Nov 11 19:42:55 NerdCenter --->  Fetching distfiles for gqrx
Nov 11 19:42:55 NerdCenter --->  Fetching distfiles for kdevplatform
Nov 11 19:42:55 NerdCenter --->  Fetching distfiles for mkvtoolnix
Nov 11 19:42:55 NerdCenter --->  Fetching distfiles for openvrml
Nov 11 19:42:55 NerdCenter --->  Fetching distfiles for py27-pyqt4
Nov 11 19:42:55 NerdCenter
Nov 11 19:42:55 NerdCenter === Upgrade Outdated Ports (port -p upgrade --enforce-variants outdated)
Nov 11 19:43:02 NerdCenter --->  Computing dependencies for py27-pyqt4
Nov 11 19:43:02 NerdCenter --->  Fetching archive for py27-pyqt4
Nov 11 19:43:02 NerdCenter --->  Attempting to fetch py27-pyqt4-4.12.1_1.darwin_13.x86_64.tbz2 from https://packages.macports.org/py27-pyqt4
Nov 11 19:43:03 NerdCenter --->  Attempting to fetch py27-pyqt4-4.12.1_1.darwin_13.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/py27-pyqt4
Nov 11 19:43:03 NerdCenter --->  Attempting to fetch py27-pyqt4-4.12.1_1.darwin_13.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/py27-pyqt4
Nov 11 19:43:04 NerdCenter --->  Verifying checksums for py27-pyqt4
Nov 11 19:43:04 NerdCenter --->  Extracting py27-pyqt4
Nov 11 19:43:04 NerdCenter --->  Applying patches to py27-pyqt4
Nov 11 19:43:04 NerdCenter --->  Configuring py27-pyqt4
Nov 11 19:43:52 NerdCenter --->  Building py27-pyqt4
Nov 11 19:44:10 NerdCenter Error: Failed to build py27-pyqt4: command execution failed
Nov 11 19:44:10 NerdCenter Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/main.log for details.
Nov 11 19:44:12 NerdCenter --->  Computing dependencies for qt5-qtsvg
Nov 11 19:44:12 NerdCenter Error: Can't install qt5-qtsvg because conflicting ports are active: qt58-qtbase
Nov 11 19:44:12 NerdCenter Error: Problem while installing qt5-qtsvg
Nov 11 19:44:12 NerdCenter --->  Computing dependencies for gqrx
Nov 11 19:44:12 NerdCenter Error: Can't install qt5-qtsvg because conflicting ports are active: qt58-qtbase
Nov 11 19:44:15 NerdCenter --->  Computing dependencies for kdevplatform
Nov 11 19:44:15 NerdCenter --->  Fetching archive for kdevplatform
Nov 11 19:44:15 NerdCenter --->  Attempting to fetch kdevplatform-1.7.4_1.darwin_13.x86_64.tbz2 from https://packages.macports.org/kdevplatform
Nov 11 19:44:16 NerdCenter --->  Attempting to fetch kdevplatform-1.7.4_1.darwin_13.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/kdevplatform
Nov 11 19:44:16 NerdCenter --->  Attempting to fetch kdevplatform-1.7.4_1.darwin_13.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/kdevplatform
Nov 11 19:44:17 NerdCenter --->  Verifying checksums for kdevplatform
Nov 11 19:44:17 NerdCenter --->  Extracting kdevplatform
Nov 11 19:44:17 NerdCenter --->  Applying patches to kdevplatform
Nov 11 19:44:17 NerdCenter --->  Configuring kdevplatform
Nov 11 19:44:24 NerdCenter --->  Building kdevplatform
Nov 11 19:44:45 NerdCenter Error: Failed to build kdevplatform: command execution failed
Nov 11 19:44:45 NerdCenter Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/main.log for details.
Nov 11 19:44:48 NerdCenter --->  Computing dependencies for qt5-qtsvg
Nov 11 19:44:48 NerdCenter Error: Can't install qt5-qtsvg because conflicting ports are active: qt58-qtbase
Nov 11 19:44:48 NerdCenter Error: Problem while installing qt5-qtsvg
Nov 11 19:44:49 NerdCenter --->  Computing dependencies for qt5-qtxmlpatterns
Nov 11 19:44:49 NerdCenter Error: Can't install qt5-qtxmlpatterns because conflicting ports are active: qt58-qtbase
Nov 11 19:44:49 NerdCenter Error: Problem while installing qt5-qtxmlpatterns
Nov 11 19:44:49 NerdCenter --->  Computing dependencies for qt5-qtdeclarative
Nov 11 19:44:49 NerdCenter Error: Can't install qt5-qtdeclarative because conflicting ports are active: qt58-qtbase
Nov 11 19:44:49 NerdCenter Error: Problem while installing qt5-qtdeclarative
Nov 11 19:44:49 NerdCenter --->  Computing dependencies for qt5-qtmultimedia
Nov 11 19:44:49 NerdCenter Error: Can't install qt5-qtmultimedia because conflicting ports are active: qt58-qtbase
Nov 11 19:44:49 NerdCenter Error: Problem while installing qt5-qtmultimedia
Nov 11 19:44:49 NerdCenter --->  Computing dependencies for mkvtoolnix
Nov 11 19:44:49 NerdCenter Error: Can't install qt5-qtmultimedia because conflicting ports are active: qt58-qtbase
Nov 11 19:44:50 NerdCenter --->  Computing dependencies for openvrml
Nov 11 19:44:50 NerdCenter --->  Fetching archive for openvrml
Nov 11 19:44:50 NerdCenter --->  Attempting to fetch openvrml-0.18.9_4+opengl+x11.darwin_13.x86_64.tbz2 from https://packages.macports.org/openvrml
Nov 11 19:44:51 NerdCenter --->  Attempting to fetch openvrml-0.18.9_4+opengl+x11.darwin_13.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/openvrml
Nov 11 19:44:51 NerdCenter --->  Attempting to fetch openvrml-0.18.9_4+opengl+x11.darwin_13.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/openvrml
Nov 11 19:44:51 NerdCenter --->  Verifying checksums for openvrml
Nov 11 19:44:52 NerdCenter --->  Extracting openvrml
Nov 11 19:44:52 NerdCenter --->  Applying patches to openvrml
Nov 11 19:44:52 NerdCenter --->  Configuring openvrml
Nov 11 19:45:02 NerdCenter --->  Building openvrml
Nov 11 19:45:14 NerdCenter Error: Failed to build openvrml: command execution failed
Nov 11 19:45:14 NerdCenter Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_openvrml/openvrml/main.log for details.
Nov 11 19:45:14 NerdCenter Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Nov 11 19:45:14 NerdCenter
Nov 11 19:45:14 NerdCenter === List Inactive Duplicate Ports
Nov 11 19:45:14 NerdCenter
Nov 11 19:45:14 NerdCenter === Uninstall Inactive Duplicate Ports
Nov 11 19:45:14 NerdCenter Error: No ports matched the given expression
Nov 11 19:45:14 NerdCenter
Nov 11 19:45:14 NerdCenter === Upgrade Done


dleece::NerdCenter { ~ }-> sudo port upgrade gqrx
--->  Computing dependencies for py27-pyqt4
--->  Building py27-pyqt4
Error: Failed to build py27-pyqt4: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
dleece::NerdCenter { ~ }-> sudo port upgrade kdevplatform
--->  Computing dependencies for kdevplatform
--->  Building kdevplatform
Error: Failed to build kdevplatform: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
dleece::NerdCenter { ~ }-> sudo port upgrade mkvtoolnix
--->  Computing dependencies for qt5-qtsvg
Error: Can't install qt5-qtsvg because conflicting ports are active: qt58-qtbase
Error: Problem while installing qt5-qtsvg
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
dleece::NerdCenter { ~ }-> sudo port deactivate qt58-qtbase
Note: It is not recommended to uninstall/deactivate a port that has dependents as it breaks the dependents.
The following ports will break:
 qt58-qtsvg @5.8.0_0
 qt58-qtxmlpatterns @5.8.0_0
 qt58-qtdeclarative @5.8.0_0
 qt58-qtgraphicaleffects @5.8.0_0
 qt58-qtquickcontrols2 @5.8.0_0
 qt58-qtserialport @5.8.0_0
 qt58-qtsensors @5.8.0_0
 qt58-qtwebsockets @5.8.0_0
 qt58-qtwebchannel @5.8.0_0
 qt58-qtimageformats @5.8.0_0
 qt58-qtmacextras @5.8.0_0
 qt58-qtquickcontrols @5.8.0_0
 qt58-qtlocation @5.8.0_0
 qt58-qtserialbus @5.8.0_0
 qt58-qtmultimedia @5.8.0_0
 qt58-qtcanvas3d @5.8.0_0
 qt58-qtscxml @5.8.0_0
 qt58-qtgamepad @5.8.0_0
 qt58-qt3d @5.8.0_0
 qt58-qtconnectivity @5.8.0_0
 qt58-qttools @5.8.0_0
 qt58-qttranslations @5.8.0_0
 qt58-sqlite-plugin @5.8.0_0
 qt58 @5.8.0_0
 qt58-qtdeclarative-docs @5.8.0_0
 qt58-qtserialport-docs @5.8.0_0
 qt58-qtsensors-docs @5.8.0_0
 qt58-qtwebchannel-docs @5.8.0_0
 qt58-qtimageformats-docs @5.8.0_0
 qt58-qtsvg-docs @5.8.0_0
 qt58-qtmacextras-docs @5.8.0_0
 qt58-qtlocation-docs @5.8.0_0
 qt58-qtxmlpatterns-docs @5.8.0_0
 qt58-qtserialbus-docs @5.8.0_0
 qt58-qtmultimedia-docs @5.8.0_0
 qt58-qtcanvas3d-docs @5.8.0_0
 qt58-qtgraphicaleffects-docs @5.8.0_0
 qt58-qtscxml-docs @5.8.0_0
 qt58-qt3d-docs @5.8.0_0
 qt58-qtconnectivity-docs @5.8.0_0
 qt58-qttools-docs @5.8.0_0
 qt58-qtquickcontrols-docs @5.8.0_0
 qt58-qtwebsockets-docs @5.8.0_0
 qt58-qtquickcontrols2-docs @5.8.0_0
Continue? [y/N]: y
Warning: Deactivate forced.  Proceeding despite dependencies.
--->  Deactivating qt58-qtbase @5.8.0_4+openssl
--->  Cleaning qt58-qtbase
dleece::NerdCenter { ~ }-> sudo port activate qt58-qtbase
--->  Computing dependencies for qt58-qtbase
--->  Activating qt58-qtbase @5.8.0_4+openssl
--->  Cleaning qt58-qtbase

comment:5 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: ryandesign@… michaelld@… added
Port: gqrx mkvtoolnix added

I am CC'ing the maintainer of the affected ports, but it seems that the problem is that each depends on the latest version of Qt.

comment:6 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: acceptedclosed

In 02e74d13ff0c3b8e3a6332038e199e34dd572509/macports-ports:

mkvtoolnix,gqrx: do not depend on specific Qt version

qt5.depends_component instead determines the most recent version of Qt
that runs on the current OS.

Fixes #55299

comment:7 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Hopefully, the problem is fixed.
In about ninety minutes, please try again.

sudo port selfupdate
sudo port upgrade outdated

If things are still not working, please feel free to reopen.

Note: See TracTickets for help on using tickets.