[MacPorts] #54306: installing gnuradio-devel with +debug option

MacPorts noreply at macports.org
Sun Jun 11 19:06:57 UTC 2017


#54306: installing gnuradio-devel with +debug option
-----------------------------+-----------------------
  Reporter:  vamsi765        |      Owner:  michaelld
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  gnuradio-devel  |
-----------------------------+-----------------------

Comment (by michaelld):

 Qt4 wants you to install it using +debug, in order to use its debug
 libraries with GNU Radio. This requirement seems a little over the top to
 me: Why not allows dependent ports to use the debug libraries if installed
 and not otherwise?

 Can you do a test? Edit the file "$(port dir
 gnuradio)/../../_resources/port1.0group/qt4-1.0.tcl" (maybe with sudo),
 and remove the initial chunk of code:
 {{{
 # check for +debug variant of this port, and make sure Qt was
 # installed with +debug as well; if not, error out.
 platform darwin {
     pre-extract {
         if {[variant_exists debug] && \
             [variant_isset debug] && \
            ![info exists building_qt4]} {
             if {![file exists
 ${qt_frameworks_dir}/QtCore.framework/QtCore_debug]} {
                 return -code error "\n\nERROR:\n\
 In order to install this port as +debug,
 Qt4 must also be installed with +debug.\n"
             }
         }
     }
 }
 }}}
 Then try:
 {{{
 sudo port clean gnuradio-devel
 sudo port install gnuradio-devel +debug
 }}}
 and see if that works.

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


More information about the macports-tickets mailing list