Bug 168076 - media-libs/aalib-1.4_rc5 should RDEPEND on sys-libs/slang
Bug#: 168076 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: maintainer-needed@gentoo.org Reported By: cslycord@gmail.com
Component: Ebuilds
URL: 
Summary: media-libs/aalib-1.4_rc5 should RDEPEND on sys-libs/slang
Keywords:  
Status Whiteboard: 
Opened: 2007-02-23 01:09 0000
Description:   Opened: 2007-02-23 01:09 0000
I have media-libs/aalib-1.4_rc5 installed with USE=slang. Therefore,
sys-libs/slang is a dependency. But it's only needed for building aalib, not
for running it so slang isn't in the RDEPEND. So when I do "emerge --depclean
--with-bdeps n" sys-libs/slang is removed.

And if I do "revdep-rebuild -p" I get
Checking dynamic linking consistency...
  broken /usr/bin/aafire (requires  libslang-utf8.so.1)
  broken /usr/bin/aainfo (requires  libslang-utf8.so.1)
  broken /usr/bin/aasavefont (requires  libslang-utf8.so.1)
  broken /usr/bin/aatest (requires  libslang-utf8.so.1)
  broken /usr/lib/libaa.so.1.0.4 (requires  libslang-utf8.so.1)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot -p =media-libs/aalib-1.4_rc5 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-libs/slang-1.4.9-r2  USE="unicode -cjk" 
[ebuild   R   ] media-libs/aalib-1.4_rc5


Reproducible: Always

Steps to Reproduce:
1. Install aalib with USE=slang
2. Do "emerge --depclean --with-bdeps n"
3. Run "revdep-rebuild"

Actual Results:  
Broken links are found and aalib is reinstalled

Expected Results:  
No broken links.

------- Comment #1 From Chris Slycord 2007-02-23 01:10:17 0000 -------
Created an attachment (id=111017) [details]
Output of emerge --info

------- Comment #2 From jieryn 2007-02-24 03:25:51 0000 -------
Created an attachment (id=111107) [details]
emerge --info

------- Comment #3 From Charlie Shepherd (RETIRED) 2007-02-24 10:30:39 0000 -------
Do the aalib binaries actually fail without slang installed?

------- Comment #4 From Santiago M. Mola 2007-09-09 15:42:34 0000 -------
Yes, binaries fail when libslang is not present.
Fixed in CVS.