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

Bug 631710

Summary: dev-libs/tinyxml with USE="static-libs" doesn't install tinyxml.a
Product: Gentoo Linux Reporter: Marat Radchenko <marat>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marat Radchenko 2017-09-22 08:03:26 UTC
Way to reproduce:

USE=static-libs emerge tinyxml

Expected: /usr/lib/tinyxml.a is installed
Actual: no static lib is installed.

This bug was already reported long time ago as #408239, however even though it is claimed to be fixed, no logic to install .a was added to src_install:

src_install() {
        dolib.so *$(get_libname)*

        insinto /usr/include
        doins *.h

        dodoc {changes,readme}.txt

        use doc && dohtml -r docs/*
}

I guess a fix should something simple like:

use static-libs && dolib.a libtinyxml.a
Comment 1 Marat Radchenko 2017-09-22 08:04:16 UTC
Sorry, "expected" should say "/usr/lib/libtinyxml.a" instead of "/usr/lib/tinyxml.a"