Re: [MacPorts] #53049: gqrx dependency missing

2016-12-16 Thread Ryan Schmidt

On Dec 11, 2016, at 8:49 AM, Michael Dickens wrote:

> It -is- true that, if you are installing 'port' from scratch, then
> doxygen almost always fails to build the first time (I don't recall why;
> nor if I've looked into this issue; nor if anybody has tried to fix this
> issue). The solution is to do:
> {{{
> sudo port clean doxygen
> sudo port install doxygen
> }}}
> and, then go back to the original install, which should now work (seems
> to be 100% reliable in user testing for people working with me in this
> regard). In particular, this happens when installing any GNU Radio port,
> which would include Gqrx.

Given that gnuradio has almost 300 dependencies, the cause of this problem is 
probably:

https://trac.macports.org/ticket/50986




Re: [MacPorts] #53049: gqrx dependency missing

2016-12-11 Thread Michael Dickens
Hi Wilhelm - Thanks for the reply.

doxygen has no dependency on qt5. "doxygen +wizard" depends on qt4-mac,
and that's the only Qt dependency for doxygen, according to 'port', of
course. It is certainly possible that doxygen has been updated to find
and require Qt5 & that "stealth" change has not been picked up by anyone
including the primary port maintainer, but I'd doubt it.

It -is- true that, if you are installing 'port' from scratch, then
doxygen almost always fails to build the first time (I don't recall why;
nor if I've looked into this issue; nor if anybody has tried to fix this
issue). The solution is to do:
{{{
sudo port clean doxygen
sudo port install doxygen
}}}
and, then go back to the original install, which should now work (seems
to be 100% reliable in user testing for people working with me in this
regard). In particular, this happens when installing any GNU Radio port,
which would include Gqrx.

If I had to guess, I'd guess that this doxygen weirdness is your issue,
rather than that Gqrx or doxygen has a missing dependency. You can test
this directly by looking at the contents of the doxygen port install
("port contents doxygen"), then using "otool -L" on any binaries
(executables and libraries) therein.

For me, "contents" is just "/opt/local/bin/doxygen", and the otool
command returns 'port' dependency on just libiconv & 3 system libraries
-- so, no Qt there.

For me, "Gqrx" is primarily
"/opt/local/Applications/Qt5/Gqrx.app/Contents/MacOS/Gqrx", with
symlinks in common paths to this binary executable. "otool" returns some
Qt5 framework libraries:
{{{
/opt/local/libexec/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets
/opt/local/libexec/qt5/lib/QtGui.framework/Versions/5/QtGui
/opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore
/opt/local/libexec/qt5/lib/QtNetwork.framework/Versions/5/QtNetwork
}}}
Each of these is part of "port contents qt5-qtbase", which you can
discover either directly via "port contents qt5-qtbase | grep QtWidgets"
(etc), or via the automated way:
{{{
for tf in $(otool -L
/opt/local/Applications/Qt5/Gqrx.app/Contents/MacOS/Gqrx | sed -e 1d |
grep Qt | awk '{ print $1 }'); do port provides "$tf"; done
}}}

Hope this helps ... my US$0.02 worth. - MLD

On Sun, Dec 11, 2016, at 08:17 AM, Wilhelm Speck wrote:
> thanks for your feedback.
> 
> When installing the port it began building the oxygen package, which
> failed until I installed qt5 first.
> 
> The gqrx is the first port I installed after installing macports.


Re: [MacPorts] #53049: gqrx dependency missing

2016-12-11 Thread Wilhelm Speck
Hi,

thanks for your feedback.

When installing the port it began building the oxygen package, which
failed until I installed qt5 first.

The gqrx is the first port I installed after installing macports.

Thanks


Wilhelm

Am 10.12.16 um 21:53 schrieb MacPorts:
> #53049: gqrx dependency missing
> -+---
>   Reporter:  umtauscher  |  Owner:  michaelld
>   Type:  defect  | Status:  assigned
>   Priority:  Normal  |  Milestone:
>  Component:  ports   |Version:
> Resolution:  |   Keywords:
>   Port:  gqrx|
> -+---
> Changes (by ryandesign):
>
>  * owner:   => michaelld
>  * status:  new => assigned
>  * keywords:  qt5, gqrx =>
>  * milestone:  MacPorts 2.3.6 =>
>
>
> Comment:
>
>  gqrx already has a dependency on qt5-qtbase:
>
>  {{{
>  $ port deps gqrx
>  Full Name: gqrx @2.6_1
>  Build Dependencies:   pkgconfig
>  Library Dependencies: qt5-qtbase, gr-osmosdr, gnuradio
>  }}}
>
>  Is that not sufficient? What problem are you seeing? Can you show us a
>  terminal transcript or attach a log file?
>
> --
> Ticket URL: <https://trac.macports.org/ticket/53049#comment:1>
> MacPorts <https://www.macports.org/>
> Ports system for macOS