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

Bug 704514

Summary: sys-cluster/libqb-1.0.5 installs non-elf (text file) and cannot be linked against
Product: Gentoo Linux Reporter: Sebastian Pipping <sping>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---

Description Sebastian Pipping gentoo-dev 2020-01-01 23:39:37 UTC
# file /usr/lib64/
/usr/lib64/ ASCII text

This breaks linking in other software, e.g.:

/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: //usr/lib64/ contains output sections; did you forget -T?
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /var/tmp/portage/sys-cluster/libqb-1.0.5/work/libqb-1.0.5/lib/qblog_script.ld: No such file or directory
collect2: error: ld returned 1 exit status

For a workaround, I tried:

# sudo rm /usr/lib64/
# sudo ln -s /usr/lib64/

Still gets me the qblog_script.ld error quoted above.
Comment 1 Sebastian Pipping gentoo-dev 2020-01-01 23:56:58 UTC
sys-cluster/libqb-1.0.1 does not seem to have this problem.
Comment 2 Zdravko Spoljar 2020-01-02 19:26:04 UTC
i think this is problem which prevents me to emerge sys-cluster/pacemaker.
Comment 3 Larry the Git Cow gentoo-dev 2020-01-02 21:44:24 UTC
The bug has been referenced in the following commit(s):

commit 7e5e69bf829c1d7972ad069d415f24937417ffa4
Author:     Sebastian Pipping <>
AuthorDate: 2020-01-02 21:38:41 +0000
Commit:     Sebastian Pipping <>
CommitDate: 2020-01-02 21:44:12 +0000

    sys-cluster/libqb: 1.9.0
    Signed-off-by: Sebastian Pipping <>
    Package-Manager: Portage-2.3.84, Repoman-2.3.20

 sys-cluster/libqb/Manifest           |  1 +
 sys-cluster/libqb/libqb-1.9.0.ebuild | 62 ++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
Comment 4 Sebastian Pipping gentoo-dev 2020-01-02 21:49:14 UTC
For the record, 1.9.0 does not have this problem and has CVE-2019-12779 fixed (in contrast to 1.0.1).

What should we do about 1.0.5?
Comment 5 Zdravko Spoljar 2020-01-03 16:13:33 UTC
with libqb-1.9 emerged, emerge of pacemaker is now correct.

maybe to declare 1.9 stable? (and remove 1.5 from portage)