Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659946 - net-wireless/gnuradio-3.7.13.3 "USE=wxwidgets" does not add support for wxWidgets/wxGTK GUI toolkit, but it should
Summary: net-wireless/gnuradio-3.7.13.3 "USE=wxwidgets" does not add support for wxWid...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Radio project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-07-03 13:38 UTC by Philipp Psurek
Modified: 2018-07-11 20:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-wireless~gnuradio-3.7.13.3.build.log.xz (net-wireless~gnuradio-3.7.13.3.build.log.xz,103.73 KB, application/x-xz)
2018-07-03 13:38 UTC, Philipp Psurek
Details
net-wireless~gnuradio-3.7.13.3.ebuild.patch (net-wireless~gnuradio-3.7.13.3.ebuild.patch,666 bytes, patch)
2018-07-03 13:38 UTC, Philipp Psurek
Details | Diff
net-wireless~gnuradio-3.7.13.3.build.log.xz (net-wireless~gnuradio-3.7.13.3.build2.log.xz,137.85 KB, application/x-xz)
2018-07-03 13:39 UTC, Philipp Psurek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Psurek 2018-07-03 13:38:17 UTC
Created attachment 538156 [details]
net-wireless~gnuradio-3.7.13.3.build.log.xz

It seems that you are using a wrong template for version bump. Please review all ebuilds to prevent future mistakes, as removed wxWidgets support was very often a bug in the past. If you remove wxWidgets then also remove the USE-flag. But Gnuradio 3.7 supports wxWidgets, so there is no reason for removing.

# emerge -qvp gnuradio
[ebuild   R   ] net-wireless/gnuradio-3.7.13.3  USE="alsa analog atsc audio channels digital dtv examples fcd fec filter grc log noaa pager performance-counters portaudio qt5 sdl trellis utils vocoder wavelet wxwidgets zeromq -doc -jack -oss {-test} -uhd" PYTHON_TARGETS="python2_7" 

>>> Emerging (XX of XX) net-wireless/gnuradio-3.7.13.3::gentoo
[…]
-- Python checking for wx >= 2.8
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
-- Python checking for wx >= 2.8 - found
[…]
-- Configuring gr-wxgui support...
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_GR_FFT = ON
--   Dependency ENABLE_GR_FILTER = yes
--   Dependency ENABLE_GR_ANALOG = yes
--   Dependency ENABLE_PYTHON = ON
--   Dependency NUMPY_FOUND = TRUE
--   Dependency WX_FOUND = TRUE
--   Disabling gr-wxgui support.
--   Override with -DENABLE_GR_WXGUI=ON/OFF
[…]
-- ######################################################
-- # Gnuradio enabled components                         
-- ######################################################
[…]
-- ######################################################
-- # Gnuradio disabled components                        
-- ######################################################
[…]
--   * gr-wxgui
[…]

Please apply the provided patch or review the ebuilds for yourselfs.
Comment 1 Philipp Psurek 2018-07-03 13:38:55 UTC
Created attachment 538158 [details, diff]
net-wireless~gnuradio-3.7.13.3.ebuild.patch
Comment 2 Philipp Psurek 2018-07-03 13:39:55 UTC
Created attachment 538160 [details]
net-wireless~gnuradio-3.7.13.3.build.log.xz

after applying the patch:

# emerge -v gnuradio
[…]
[ebuild   R    ] net-wireless/gnuradio-3.7.13.3:0/3.7.13.3::gentoo  USE="alsa analog atsc audio channels digital dtv examples fcd fec filter grc log noaa pager performance-counters portaudio qt5 sdl trellis utils vocoder wavelet wxwidgets zeromq -doc -jack -oss {-test} -uhd" PYTHON_TARGETS="python2_7" 0 KiB
[…]
-- Python checking for wx >= 2.8
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
-- Python checking for wx >= 2.8 - found
[…]
-- Configuring gr-wxgui support...
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_GR_FFT = ON
--   Dependency ENABLE_GR_FILTER = yes
--   Dependency ENABLE_GR_ANALOG = yes
--   Dependency ENABLE_PYTHON = ON
--   Dependency NUMPY_FOUND = TRUE
--   Dependency WX_FOUND = TRUE
--   Enabling gr-wxgui support.
--   Override with -DENABLE_GR_WXGUI=ON/OFF
[…]
-- ######################################################
-- # Gnuradio enabled components                         
-- ######################################################
[…]
--   * gr-wxgui
[…]
[see build.log]




this patch triggers the following QA issue. Please review the ebuild.
[…]
 * Updating .desktop files database ...                                                                                                                                            [ ok ]
/var/tmp/portage/net-wireless/gnuradio-3.7.13.3/temp/environment: line 3220: xdg_mime_database_update: command not found
 * QA Notice: mime-info files were found installed but mime-info
 * cache has not been updated:
 *   /usr/share/mime/packages/gnuradio-grc.xml
 * Please make sure to call xdg_mimeinfo_database_update()
 * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
[…]
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2018-07-11 20:48:32 UTC
fixed e1423683bb320596509f383d6b6226939362c486

For general reference, since gnuradio 3.7 only supports qt4, this is a hybrid frankenstein patched release which is a lot closer to 3.8 ebuild than 3.7, which is how this mistake happened.