Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669484 - dev-libs/hiredis USE=static-libs removes static libraries
Summary: dev-libs/hiredis USE=static-libs removes static libraries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-10-24 08:12 UTC by Daniel Maxime
Modified: 2018-12-10 14:06 UTC (History)
1 user (show)

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 Daniel Maxime 2018-10-24 08:12:59 UTC
On the hiredis ebuild, the install seems wrong:

src_install() {
	_build PREFIX="${ED%/}/usr" install
	if use static-libs; then
		rm "${ED%/}/usr/$(get_libdir)/libhiredis.a" || die
	fi

        ....
}

When the 'static-libs' USE flag is enabled, the static library is removed.
Comment 1 Larry the Git Cow gentoo-dev 2018-10-26 09:50:07 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35a31490e10134dfacead33b97686749e61c6652

commit 35a31490e10134dfacead33b97686749e61c6652
Author:     Tomas Mozes <hydrapolic@gmail.com>
AuthorDate: 2018-10-25 07:16:54 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-10-26 09:50:00 +0000

    dev-libs/hiredis: bump to 0.14.0
    
    Bug: https://bugs.gentoo.org/669484
    Closes: https://bugs.gentoo.org/669554
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11
    Closes: https://github.com/gentoo/gentoo/pull/10223
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-libs/hiredis/Manifest              |  1 +
 dev-libs/hiredis/hiredis-0.14.0.ebuild | 78 ++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)