Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765757 - net-misc/asterisk pulls ncurses into RDEPENDS
Summary: net-misc/asterisk pulls ncurses into RDEPENDS
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jaco Kroon
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-01-17 14:14 UTC by Ed Wildgoose
Modified: 2021-01-17 15:19 UTC (History)
2 users (show)

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


Attachments
move ncurses into RDEPENDS (asterisk-rdepend-ncurses.patch,761 bytes, patch)
2021-01-17 14:14 UTC, Ed Wildgoose
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Wildgoose 2021-01-17 14:14:39 UTC
Created attachment 683320 [details, diff]
move ncurses into RDEPENDS

Hi, I can't see any evidence that asterisk needs ncurses at runtime? It seems to be needed only for the menuselect tool at build time?

The patch here moves ncurses into build deps only. Grateful if you could test and apply (use case is an embedded system which needs minimal libs)
Comment 1 Ionen Wolkens gentoo-dev 2021-01-17 14:37:20 UTC
Does indeed seem unneeded in RDEPEND from a quick look.
Comment 2 Ed Wildgoose 2021-01-17 14:56:34 UTC
I'm sorry. I should test things better before posting...

The dependency is on libedit (which in turn depends on ncurses). The build fails without libedit (tried using --without-libedit). So I don't think this can in fact be built to not depend on ncurses

The /usr/sbin/{rasterisk,asterisk} utilities both link to libedit

I would welcome suggestions to avoid this dep, but I think otherwise this can be closed as invalid. Sorry for the noise
Comment 3 Ed Wildgoose 2021-01-17 15:19:25 UTC
Hmm, I've had a bit of a stab at this. It doesn't seem like libedit is used in so many places, however, it requires more thought than I'm prepared to put into it right now. Closing as invalid. Apologies for the noise