Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352636 - app-text/dbacl: automatic dependency on slang/readline/ncurses
Summary: app-text/dbacl: automatic dependency on slang/readline/ncurses
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-24 21:55 UTC by SpanKY
Modified: 2012-12-31 18:55 UTC (History)
1 user (show)

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


Attachments
build.log (app-text:dbacl-1.13:20110124-215246.log,39.04 KB, text/plain)
2011-01-24 22:00 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2011-01-24 21:55:57 UTC
the dbacl ebuild does not have any DEPEND set.  yet after emerging it, the mailinspect binary is linked against slang, readline, and ncurses.

$ lddtree /usr/bin/mailinspect
mailinspect => /usr/bin/mailinspect (interpreter => /lib64/ld-linux-x86-64.so.2)
    libslang.so.2 => /usr/lib/libslang.so.2
        libdl.so.2 => /lib/libdl.so.2
    libreadline.so.6 => /lib/libreadline.so.6
    libncurses.so.5 => /lib/libncurses.so.5
    libm.so.6 => /lib/libm.so.6
    libc.so.6 => /lib/libc.so.6

further, linking against slang and ncurses seems a bit weird ...s
Comment 1 SpanKY gentoo-dev 2011-01-24 22:00:55 UTC
Created attachment 260615 [details]
build.log
Comment 2 Steev Klimaszewski (RETIRED) gentoo-dev 2011-07-31 20:52:13 UTC
Hey Mike, finally getting a chance to look at this.  slang is used to enable the interactive mailinspect ability. 

Though there isn't a real way to disable it, so I'm not sure how to handle that.  Initially (and what I have locally) I have a USE of interactive, added to metadata as well, but I'm not sure that's the proper fix.

The correct way should be something like

interactive? ( sys-libs/slang )
sys-libs/readline
sys-libs/ncurses

If you think that looks okay, I'll go ahead and commit it, but it's been a while since I've done work, so I'd appreciate if you gave it a quick glance before I commit.
Comment 3 SpanKY gentoo-dev 2011-09-18 20:28:28 UTC
i think you want all 3 deps behind USE=interactive

you can control them with:
export ac_cv_lib_ncurses_initscr=$(usex interactive)
export ac_cv_lib_readline_readline=$(usex interactive)
export ac_cv_lib_slang_SLsmg_init_smg=$(usex interactive)
Comment 4 Pacho Ramos gentoo-dev 2012-12-31 18:55:21 UTC
+*dbacl-1.14 (31 Dec 2012)
+
+  31 Dec 2012; Pacho Ramos <pacho@gentoo.org> +dbacl-1.14.ebuild,
+  -dbacl-1.13.ebuild, metadata.xml:
+  Version bump, also fixes automagic deps (#352636 by SpanKY), remove old.
+