Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#63127 closed defect (fixed)

gnuradio: add patch for segfault in pkg-config with gnuradio-qtgui.pc

Reported by: mouse07410 (Mouse) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ra1nb0w
Port: gnuradio

Description

This is about [Segmentation fault in pkg-config for gnuradio-qtgui.pc]https://github.com/gnuradio/gnuradio/issues/3969 that was submitted in Dec 2020 and fixed in Feb 2021.

One symptom of this problem:

$ pkg-config gnuradio-qtgui --cflags

Variable 'PC_LIBS_STR' not defined in '/usr/local/lib/pkgconfig/gnuradio-qtgui.pc'

Here's the patch (which hasn't been applied to this port): https://github.com/hordenengineering/gnuradio/commit/b84488162663cacb3c391dd6b627b4cd1b77c933

Speaking of which, this patch does not fix the apparently-now-undefined QT_HEADERS_DIR variable, so it probably should be changed in guradio-qtgui.pc.in to something like QT5_HEADERS_DIR. I leave this to somebody who understands what variables Qt5 sets.

Change History (5)

comment:1 Changed 3 years ago by mouse07410 (Mouse)

Summary: guradip misses an important patchgnuradio misses an important patch

comment:2 Changed 3 years ago by reneeotten (Renee Otten)

Cc: michaelld removed
Owner: set to michaelld
Status: newassigned
Summary: gnuradio misses an important patchgnuradio: add patch for segfault in pkg-config with gnuradio-qtgui.pc

instead of patching the current port, I guess the port should just be updated to its latest version (which appears to be 3.9.2.0), presumably the problem is fixed there.

comment:3 Changed 3 years ago by mouse07410 (Mouse)

Sure, especially if the QT_HEADERS_DIR is taken care of there too.

comment:4 Changed 3 years ago by Davide Gerhard <ra1nb0w@…>

Resolution: fixed
Status: assignedclosed

In bef567a91e615d361f4ebbff3738b97f1320ae7c/macports-ports (master):

gnuradio: fix pkg-config gnuradio-qtgui --cflags

Closes: #63127

comment:5 Changed 3 years ago by ra1nb0w

GNURadio 3.9 moves from Swig to PyBind11 and that was not supported a lot from out of tree gr modules.

Note: See TracTickets for help on using tickets.