Changes between Initial Version and Version 1 of Ticket #68866


Ignore:
Timestamp:
Dec 10, 2023, 5:05:22 PM (6 months ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

The log says:

:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_SDRangel/SDRangel/work/sdrangel-7.13.0/devices/usrp/deviceusrp.cpp:19:
:info:build In file included from /opt/local/libexec/qt5/lib/QtCore.framework/Headers/QDebug:1:
:info:build /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qdebug.h:162:37: error: unknown type name 'QStringRef'; did you mean 'CFStringRef'?
:info:build     inline QDebug &operator<<(const QStringRef & t) { putString(t.constData(), uint(t.length())); return maybeSpace(); }
:info:build                                     ^
:info:build /opt/homebrew/include/QtCore/qstring.h:36:1: note: 'CFStringRef' declared here
:info:build Q_FORWARD_DECLARE_CF_TYPE(CFString);
:info:build ^
:info:build /opt/homebrew/include/QtCore/qdarwinhelpers.h:24:77: note: expanded from macro 'Q_FORWARD_DECLARE_CF_TYPE'
:info:build #  define Q_FORWARD_DECLARE_CF_TYPE(type) typedef const struct __ ## type * type ## Ref
:info:build                                                                             ^
:info:build <scratch space>:192:1: note: expanded from here
:info:build CFStringRef
:info:build ^

So the problem is that you have Homebrew's Qt installed and it is conflicting with MacPorts' Qt (possibly due to #64111).

Using multiple package managers at once is not supported; pick one. If you pick MacPorts, then please remove Homebrew, then sudo port clean SDRangel, then try again.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #68866

    • Property Status changed from new to assigned
    • Property Cc michaelld added
    • Property Summary changed from SDRangel 7.13.0_0 install failure on M1 Mac with OSX 14.1.2 to SDRangel @7.13.0_0: error: unknown type name 'QStringRef'; did you mean 'CFStringRef'?
    • Property Milestone changed from MacPorts Future to
    • Property Owner set to ra1nb0w
    • Property Port SDRangel added; sdrangel removed
  • Ticket #68866 – Description

    initial v1  
    11sdrangel fails to install on M1 Mac with OSX 14.1.2
    22
     3{{{
    34sudo port install -v sdrangel
    45Password:
     
    1314Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
    1415Error: Processing of port sdrangel failed
     16}}}