Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 566990

Summary: app-misc/tmux-2.1 installs /usr/bin/tmux linked against /usr/lib64/libutempter.so.0 but lacks dependency on sys-libs/libutempter.
Product: Gentoo Linux Reporter: achromaticmetaphor
Component: Current packagesAssignee: Alex Alexander (RETIRED) <wired>
Status: RESOLVED FIXED    
Severity: normal CC: chutz+bugs.gentoo.org, shell-tools, tamiko
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=560652
Whiteboard:
Package list:
Runtime testing required: ---

Description achromaticmetaphor 2015-11-27 15:27:25 UTC
tmux's configure script detects the presence of utempter if present.
If sys-libs/libutempter is later depcleaned, tmux fails to exec.

Reproducible: Always

Steps to Reproduce:
1. emerge sys-libs/libutempter
2. emerge app-misc/tmux
3. unmerge sys-libs/libutempter
4. exec tmux
Actual Results:  
ld.so fails to locate libutempter.so.0.

Expected Results:  
tmux executes normally.

There doesn't seem to be a configure flag to control this behaviour.
Comment 1 Patrice Clement gentoo-dev 2015-12-15 09:37:10 UTC
Indeed. I should have set up a USE flag instead of a blocker. Not sure there's one for this particular library (utempter).
Comment 3 Patrice Clement gentoo-dev 2016-02-21 08:39:32 UTC
Thanks for fixing this up Jason. I forgot about this bug and didn't get round to looking at it again.