FS#75819 - [gnuradio] FTBFS

Attached to Project: Community Packages
Opened by Letu Ren (FantasqueX) - Tuesday, 06 September 2022, 05:37 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 20 September 2022, 13:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Fail to build from source

When buildings with `extra-x86_64-build`, it fails due to
```
-- Configuring gr-qtgui support...
-- Dependency QT_FOUND = 1
-- Dependency QWT_FOUND = TRUE
-- Dependency ENABLE_GNURADIO_RUNTIME = ON
-- Dependency ENABLE_GR_FFT = ON
-- Dependency ENABLE_GR_FILTER = ON
-- Dependency PYTHONLIBS_FOUND = TRUE
-- Dependency PYQT5_FOUND = FALSE
CMake Error at cmake/Modules/GrComponent.cmake:63 (message):
user force-enabled gr-qtgui but configuration checked failed
Call Stack (most recent call first):
gr-qtgui/CMakeLists.txt:32 (GR_REGISTER_COMPONENT)


-- Configuring incomplete, errors occurred!
```

The problem is that lacking dependency `python-packaging`. Because in cmake/Modules/GrPython.cmake
```
macro(GR_PYTHON_CHECK_MODULE desc mod cmd have)
GR_PYTHON_CHECK_MODULE_RAW(
"${desc}" "
#########################################
from packaging.version import Version as LooseVersion
try:
import ${mod}
assert ${cmd}
except (ImportError, AssertionError): exit(-1)
except: pass
#########################################"
"${have}")
endmacro(GR_PYTHON_CHECK_MODULE)
```
there is use of python-packaging. I've tested that if adding python-packaging to dependencies, build will be successful.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 20 September 2022, 13:00 GMT
Reason for closing:  Fixed
Comment by Letu Ren (FantasqueX) - Tuesday, 20 September 2022, 12:39 GMT
Seems it has been fixed in https://github.com/archlinux/svntogit-community/commit/4eb21b07288e7bdf74c24e48ff1330d61976298d

Although this issue is still open and the maintainer doesn't respond to this issue :(
Comment by Antonio Rojas (arojas) - Tuesday, 20 September 2022, 12:59 GMT
The maintainer hasn't responded to any report in years.

Loading...