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

Bug 655932

Summary: media-libs/freetype-2.9.1-r{1,2}[static-libs] does not install libfreetype.a
Product: Gentoo Linux Reporter: Sora Lee <soleera>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: fonts
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 2.9.1-r1 build log

Description Sora Lee 2018-05-17 04:37:27 UTC
Created attachment 531876 [details]
2.9.1-r1 build log

libfreetype.a is successfully created during src_compile and the build log shows that it was installed to ${D}, however after the ebuild command finishes the file is gone. On the other hand, if I manually enter the src_install commands myself, the file is installed to ${D} and does not disappear.

Note that versions 2.8 and 2.9 both install libfreetype.a as expected; this issue only occurs with version 2.9.1 and its revisions.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-05-17 06:08:25 UTC
Caused by:
-       prune_libtool_files --all
+       find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
Comment 2 Larry the Git Cow gentoo-dev 2018-05-17 07:28:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d9a68ef8e502f06fc968430038c3877112aef40

commit 7d9a68ef8e502f06fc968430038c3877112aef40
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-05-17 07:26:42 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-05-17 07:28:32 +0000

    media-libs/freetype: Revbumps to fix installation of static libs
    
    Closes: https://bugs.gentoo.org/655932
    Package-Manager: Portage-2.3.36, Repoman-2.3.9

 .../freetype/{freetype-2.9.1-r1.ebuild => freetype-2.9.1-r3.ebuild}  | 5 ++++-
 .../freetype/{freetype-2.9.1-r2.ebuild => freetype-2.9.1-r4.ebuild}  | 5 ++++-
 media-libs/freetype/freetype-9999.ebuild                             | 5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)