Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnuradio 3.8.0.0 #49733

Closed
wants to merge 1 commit into from
Closed

gnuradio 3.8.0.0 #49733

wants to merge 1 commit into from

Conversation

iMichka
Copy link
Member

@iMichka iMichka commented Feb 3, 2020

  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

@iMichka iMichka requested a review from jonchang February 3, 2020 06:57
@iMichka iMichka self-assigned this Feb 3, 2020
@iMichka
Copy link
Member Author

iMichka commented Feb 3, 2020

python modules have explicit framework links
    These python extension modules were linked directly to a Python
    framework binary. They should be linked with -undefined dynamic_lookup
    instead of -lpython or -framework Python.

@stale
Copy link

stale bot commented Feb 24, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale No recent activity label Feb 24, 2020
@stale stale bot removed the stale No recent activity label Feb 25, 2020
@Bo98 Bo98 mentioned this pull request Mar 3, 2020
@Bo98
Copy link
Member

Bo98 commented Mar 7, 2020

Upstream did handle that but they removed it in 3.8.0.0: gnuradio/gnuradio@ab2fb35#diff-45856d0ec64e3d28b38f044024648892L163

@chenrui333
Copy link
Member

FYI, also there is a new release on Feb 15
https://github.com/gnuradio/gnuradio/tree/v3.7.14.0

@iMichka
Copy link
Member Author

iMichka commented Mar 24, 2020

I opened an issue upstream: gnuradio/gnuradio#3279

@stale
Copy link

stale bot commented Apr 14, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale No recent activity label Apr 14, 2020
@iMichka
Copy link
Member Author

iMichka commented Apr 14, 2020

Upstream is looking at this, let's give them a few more days.

@stale stale bot removed the stale No recent activity label Apr 14, 2020
@stale
Copy link

stale bot commented May 6, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale No recent activity label May 6, 2020
@iMichka iMichka removed the stale No recent activity label May 6, 2020
@iMichka iMichka mentioned this pull request May 22, 2020
5 tasks
@mikemorris mikemorris mentioned this pull request May 27, 2020
5 tasks
@stale
Copy link

stale bot commented May 30, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale No recent activity label May 30, 2020
@stale stale bot closed this Jun 6, 2020
@warnes
Copy link

warnes commented Jun 11, 2020

Any news on this?

@iMichka
Copy link
Member Author

iMichka commented Jun 12, 2020

As long as gnuradio/gnuradio#3279 is not fixed, we can not do the upgrade. This is an upstream regression.

@icpz
Copy link
Contributor

icpz commented Jun 17, 2020

For people who wants to use brewed gnuradio temporarily, you can ship this formulae to your own tap gnuradio.rb

This formulae patches the cmake/Modules/GrPython.cmake to add dynamic_lookup ldflags.

@iMichka
Copy link
Member Author

iMichka commented Jun 17, 2020

@icpz: can you submit this patch upstream? I bet they will accept it. I can also try to add your patch here: if it works we can have it directly updated here; no need for a tap.

The issues is that nobody provided a patch before, so we where waiting for anybody to fix this.

@icpz
Copy link
Contributor

icpz commented Jun 17, 2020

Here is the patch

diff --git a/cmake/Modules/GrPython.cmake b/cmake/Modules/GrPython.cmake
index fd9b7583a..388da7371 100644
--- a/cmake/Modules/GrPython.cmake
+++ b/cmake/Modules/GrPython.cmake
@@ -56,7 +56,12 @@ set(QA_PYTHON_EXECUTABLE ${QA_PYTHON_EXECUTABLE} CACHE FILEPATH "python interpre
 add_library(Python::Python INTERFACE IMPORTED)
 # Need to handle special cases where both debug and release
 # libraries are available (in form of debug;A;optimized;B) in PYTHON_LIBRARIES
-if(PYTHON_LIBRARY_DEBUG AND PYTHON_LIBRARY_RELEASE)
+if(APPLE)
+    set_target_properties(Python::Python PROPERTIES
+      INTERFACE_INCLUDE_DIRECTORIES "${PYTHON_INCLUDE_DIRS}"
+      INTERFACE_LINK_LIBRARIES "-undefined dynamic_lookup"
+      )
+elseif(PYTHON_LIBRARY_DEBUG AND PYTHON_LIBRARY_RELEASE)
     set_target_properties(Python::Python PROPERTIES
       INTERFACE_INCLUDE_DIRECTORIES "${PYTHON_INCLUDE_DIRS}"
       INTERFACE_LINK_LIBRARIES "$<$<NOT:$<CONFIG:Debug>>:${PYTHON_LIBRARY_RELEASE}>;$<$<CONFIG:Debug>:${PYTHON_LIBRARY_DEBUG}>"

I think it's a little dirty work... But I don't have time to find a better solution.

Also, there's a new audit error that I have no idea:

icpz/collection/gnuradio:
  * Files were found with references to the Homebrew shims directory.
    The offending files are:
      lib/libgnuradio-runtime.3.8.1.0.dylib
      lib/libvolk.2.0.dylib
Error: 1 problem in 1 formula detected

Seems that these dylibs links with path under /usr/local/opt

warnes pushed a commit to warnes/homebrew-core that referenced this pull request Jun 17, 2020
Improves upon PR Homebrew#49733 by
- Update to latest gnuradio release. (3.8.1.0)
- Build complete gnuradio installlation, including native Qt5 gnuradio-companion
- Add all dependencies needed for full installation
- Update all dependencies to latest versions
@iMichka iMichka mentioned this pull request Jun 21, 2020
5 tasks
@iMichka iMichka deleted the gnuradio branch July 30, 2020 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale No recent activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants