Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883143 - net-wireless/gnuradio now depends on LLVM.
Summary: net-wireless/gnuradio now depends on LLVM.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Radio project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-26 11:35 UTC by Laszlo
Modified: 2022-12-19 19:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laszlo 2022-11-26 11:35:50 UTC
Would it be possible to make LLVM an optional build flag?
Comment 1 Nils Freydank 2022-11-27 13:25:49 UTC
Hi,

if I understand you correctly your bug is a request to make the dep to llvm (or clang) optional. However, from the ebuild itself I don't see a dependency on llvm/clang:
https://gitweb.gentoo.org/repo/gentoo.git/tree/net-wireless/gnuradio/gnuradio-3.10.4.0.ebuild

Can you please add the output of the following two commands on your system to this bug (e.g. as attachments)?
 - 'emerge -pvt net-wireless/gnuradio'
 - 'emerge --info'

Thanks,
Nils
Comment 2 Laszlo 2022-11-27 23:08:43 UTC
Hi Nils,

gnuradio depends on pygccxml, which depends on castxml, which in turn depends on clang/llvm. I guess the question should be if it is possible to make pygccxml optional for gnuradio.

Regards, Laszlo
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2022-12-19 18:59:14 UTC
I noticed this bug today while bumping gnuradio and I've asked the gnuradio team about it.  No promises on what comes of this, but I'm exploring.
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2022-12-19 19:27:54 UTC
Thus far I have confirmed that modtool requires this, and it breaks without it, so gentoo seems to be doing things "right" by requiring llvm here
https://github.com/gnuradio/gnuradio/issues/5329

Since pygccxml is only used for modtool, I'm moving the dep under the modtool use flag.  Based on conversations in #gnuradio, if pygccxml isn't installed, modtool will sometimes work, and sometimes not work.  As such, I'm keeping it as a requirement for modtool and have opened an upstream bug to maybe have a more useful "you should install pygccxml" instead of just failing with no obvious recourse.
Comment 5 Larry the Git Cow gentoo-dev 2022-12-19 19:32:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8d732e10e7cc0564e13c6d1d39a5dc383029128

commit c8d732e10e7cc0564e13c6d1d39a5dc383029128
Author:     Rick Farina <zerochaos@gentoo.org>
AuthorDate: 2022-12-19 19:31:56 +0000
Commit:     Rick Farina <zerochaos@gentoo.org>
CommitDate: 2022-12-19 19:32:25 +0000

    net-wireless/gnuradio: adjust deps more correctly
    
    Closes: https://bugs.gentoo.org/883143
    Signed-off-by: Rick Farina <zerochaos@gentoo.org>

 .../gnuradio/{gnuradio-3.10.5.0.ebuild => gnuradio-3.10.5.0-r1.ebuild}  | 2 +-
 net-wireless/gnuradio/gnuradio-9999.ebuild                              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 6 Rick Farina (Zero_Chaos) gentoo-dev 2022-12-19 19:33:22 UTC
To be super explicit, right now USE=modtool still needs llvm, but you can disable modtool to avoid the dep if you like.  I'll do better depending on upstream's resolution of https://github.com/gnuradio/gnuradio/issues/6441