Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539832 - sys-devel/gdb[-client,server] should not depend on client-only libs
Summary: sys-devel/gdb[-client,server] should not depend on client-only libs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-11 23:30 UTC by tschwinger
Modified: 2015-02-13 21:53 UTC (History)
1 user (show)

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


Attachments
gdb-7.8.1-r666.ebuild.diff (gdb-7.8.1-r666.ebuild.diff,454 bytes, patch)
2015-02-11 23:32 UTC, tschwinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tschwinger 2015-02-11 23:30:37 UTC
See attached patch.

Reproducible: Always

Steps to Reproduce:
1.Cross compile to a blank environment
2.Observe readline being pulled in
3.Alternatively see the patch and just believe me
Actual Results:  
Building a GDB server does not pull in readline and ncurses.

Expected Results:  
Building a GDB server does pull in readline and ncurses.
Comment 1 tschwinger 2015-02-11 23:32:06 UTC
Created attachment 396216 [details, diff]
gdb-7.8.1-r666.ebuild.diff
Comment 2 tschwinger 2015-02-11 23:34:36 UTC
CC to apparent maintainer of the ebuild. 

See attached patch for exact version.
Comment 3 tschwinger 2015-02-12 01:31:11 UTC
Correction:

Actual Results:  
Building a GDB server only does pull in readline and ncurses.

Expected Results:  
Building a GDB server only does not pull in readline and ncurses.
Comment 4 SpanKY gentoo-dev 2015-02-13 21:40:39 UTC
pretty sure this applies to most of the deps
Comment 5 SpanKY gentoo-dev 2015-02-13 21:53:13 UTC
should be all set now in the tree; thanks for the report!

Commit message: Put deps behind USE=server and USE=client as appropriate
http://sources.gentoo.org/sys-devel/gdb/gdb-7.8.1.ebuild?r1=1.2&r2=1.3
http://sources.gentoo.org/sys-devel/gdb/gdb-9999.ebuild?r1=1.30&r2=1.31