Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631710 - dev-libs/tinyxml with USE="static-libs" doesn't install tinyxml.a
Summary: dev-libs/tinyxml with USE="static-libs" doesn't install tinyxml.a
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-22 08:03 UTC by Marat Radchenko
Modified: 2017-09-30 07:19 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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"